]> Joshua Wise's Git repositories - netwatch.git/blame - net/etherboot-compat.h
Fix parameters for outputf in text.c.
[netwatch.git] / net / etherboot-compat.h
CommitLineData
42125f27
JP
1#ifndef _ETHERBOOT_COMPAT_H
2#define _ETHERBOOT_COMPAT_H
3
68beefa8 4#include <paging.h>
54d4b877 5#include "lwip/pbuf.h"
68beefa8 6
748534f4
JP
7#define ETH_ALEN 6
8
9struct dev {
10 void (*disable) (struct dev *dev);
11};
12
13struct nic {
14 char * packet;
15 int packetlen;
16
17 unsigned int ioaddr;
18 unsigned int irqno;
47c41031
JW
19
20 unsigned char hwaddr[6];
748534f4 21
bec09bd1 22 int (*recv) (struct nic *nic);
6d6494e4 23 void (*transmit) (struct nic *nic, struct pbuf *p);
748534f4
JP
24};
25
68beefa8 26#define virt_to_bus(x) memory_v2p((void *)(x))
42125f27
JP
27
28#endif
This page took 0.023505 seconds and 4 git commands to generate.