]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - net/etherboot-compat.h
escape handling; send_reboot
[netwatch.git] / net / etherboot-compat.h
... / ...
CommitLineData
1#ifndef _ETHERBOOT_COMPAT_H
2#define _ETHERBOOT_COMPAT_H
3
4#define ETH_ALEN 6
5
6struct dev {
7 void (*disable) (struct dev *dev);
8};
9
10struct 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.02493 seconds and 4 git commands to generate.