]> Joshua Wise's Git repositories - netwatch.git/blob - net/etherboot-compat.h
add paging fork of aseg; totally not working yet.
[netwatch.git] / net / etherboot-compat.h
1 #ifndef _ETHERBOOT_COMPAT_H
2 #define _ETHERBOOT_COMPAT_H
3
4 #define ETH_ALEN        6
5
6 struct dev {
7         void (*disable) (struct dev *dev);
8 };
9
10 struct nic {
11         char * packet;
12         int packetlen;
13
14         unsigned int ioaddr;
15         unsigned int irqno;
16
17         int (*poll) (struct nic *nic, int retrieve);
18         void (*transmit) (const char *dest_addr, unsigned int proto, unsigned int size, const char *pkt);
19 };
20
21 #define virt_to_bus(x) ((unsigned long)x)
22
23 #endif
This page took 0.029553 seconds and 4 git commands to generate.