mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
update the network support to etherboot-4.5.8.
This commit is contained in:
1 parent
26fef18cb8
commit
5ff25f9b8f
51 files changed
+5395
-3479
No files matched your search
+10
-5
@@ -1,10 +1,13 @@
|
||||
/*
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2, or (at
|
||||
* your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef NIC_H
|
||||
#define NIC_H
|
||||
|
||||
/*
|
||||
* Structure returned from eth_probe and passed to other driver
|
||||
* functions.
|
||||
@@ -14,12 +17,14 @@ 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 (*transmit)P((struct nic *, const char *d,
|
||||
unsigned int t, unsigned int s, const char *p));
|
||||
void (*disable)P((struct nic *));
|
||||
char aui;
|
||||
char *node_addr;
|
||||
unsigned char *node_addr;
|
||||
char *packet;
|
||||
int packetlen;
|
||||
unsigned int packetlen;
|
||||
void *priv_data; /* driver can hang private data here */
|
||||
};
|
||||
|
||||
#endif /* NIC_H */
|
||||
Reference in new issue
Block a user