]>
Commit | Line | Data |
---|---|---|
748534f4 JP |
1 | #define ETH_ALEN 6 |
2 | ||
3 | struct dev { | |
4 | void (*disable) (struct dev *dev); | |
5 | }; | |
6 | ||
7 | struct nic { | |
8 | char * packet; | |
9 | int packetlen; | |
10 | ||
11 | unsigned int ioaddr; | |
12 | unsigned int irqno; | |
13 | ||
14 | int (*poll) (struct nic *nic, int retrieve); | |
15 | void (*transmit) (const char *dest_addr, unsigned int proto, unsigned int size, const char *pkt); | |
16 | }; | |
17 | ||
18 | #define virt_to_bus(x) ((unsigned long)x) |