mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 23:59:22 +00:00
19 lines
418 B
C
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 */
|
|
};
|