Files
grub/netboot/nic.h
T
1999-09-14 06:55:57 +00:00

19 lines
418 B
C

/*
* Structure returned from eth_probe and passed to other driver
* functions.
*/
struct nic
{
void (*reset)P((struct nic *));
int (*poll)P((struct nic *));
void (*transmit)P((struct nic *, char *d,
unsigned int t, unsigned int s, char *p));
void (*disable)P((struct nic *));
char aui;
char *node_addr;
char *packet;
int packetlen;
void *priv_data; /* driver can hang private data here */
};