]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - net/etherboot-compat.h
Fix parameters for outputf in text.c.
[netwatch.git] / net / etherboot-compat.h
... / ...
CommitLineData
1#ifndef _ETHERBOOT_COMPAT_H
2#define _ETHERBOOT_COMPAT_H
3
4#include <paging.h>
5#include "lwip/pbuf.h"
6
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;
19
20 unsigned char hwaddr[6];
21
22 int (*recv) (struct nic *nic);
23 void (*transmit) (struct nic *nic, struct pbuf *p);
24};
25
26#define virt_to_bus(x) memory_v2p((void *)(x))
27
28#endif
This page took 0.026797 seconds and 4 git commands to generate.