]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - net/etherboot-compat.h
Tweak MSS up.
[netwatch.git] / net / etherboot-compat.h
... / ...
CommitLineData
1#ifndef _ETHERBOOT_COMPAT_H
2#define _ETHERBOOT_COMPAT_H
3
4#include <paging.h>
5
6#define ETH_ALEN 6
7
8struct dev {
9 void (*disable) (struct dev *dev);
10};
11
12struct nic {
13 char * packet;
14 int packetlen;
15
16 unsigned int ioaddr;
17 unsigned int irqno;
18
19 unsigned char hwaddr[6];
20
21 int (*poll) (struct nic *nic, int retrieve);
22 void (*transmit) (unsigned int size, const char *pkt);
23};
24
25#define virt_to_bus(x) memory_v2p((void *)(x))
26
27#endif
This page took 0.021003 seconds and 4 git commands to generate.