]> Joshua Wise's Git repositories - netwatch.git/blob - net/etherboot-compat.h
6c9645817bb1893ff8e55ad59357a3b0a9631d74
[netwatch.git] / net / etherboot-compat.h
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)
This page took 0.018129 seconds and 2 git commands to generate.