Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / common / boot / grub / netboot / nic.h
blob7a235fb3ceca939738f3411ba5a2473e19d78250
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2, or (at
5 * your option) any later version.
6 */
8 #ifndef NIC_H
9 #define NIC_H
12 * Structure returned from eth_probe and passed to other driver
13 * functions.
16 struct nic
18 void (*reset)P((struct nic *));
19 int (*poll)P((struct nic *));
20 void (*transmit)P((struct nic *, const char *d,
21 unsigned int t, unsigned int s, const char *p));
22 void (*disable)P((struct nic *));
23 int flags; /* driver specific flags */
24 struct rom_info *rom_info; /* -> rom_info from main */
25 unsigned char *node_addr;
26 char *packet;
27 unsigned int packetlen;
28 void *priv_data; /* driver can hang private data here */
31 #endif /* NIC_H */