http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9588e20
)
warnings cleanup (still gives lots of compilation warnings from unused functions...
author
Marty Connor
<mdc@etherboot.org>
Tue, 26 Sep 2006 22:09:03 +0000
(22:09 +0000)
committer
Marty Connor
<mdc@etherboot.org>
Tue, 26 Sep 2006 22:09:03 +0000
(22:09 +0000)
src/drivers/net/skel.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/skel.c
b/src/drivers/net/skel.c
index
882a38e
..
d784f7c
100644
(file)
--- a/
src/drivers/net/skel.c
+++ b/
src/drivers/net/skel.c
@@
-10,12
+10,10
@@
Skeleton NIC driver for Etherboot
* your option) any later version.
*/
* your option) any later version.
*/
-/* to get some global routines like printf */
#include "etherboot.h"
#include "etherboot.h"
-/* to get the interface to the body of the program */
#include "nic.h"
#include "nic.h"
-/* Drag in support for whichever bus(es) we want for this NIC */
#include <gpxe/pci.h>
#include <gpxe/pci.h>
+#include <gpxe/ethernet.h>
#include "isa.h"
#include "eisa.h"
#include "isapnp.h"
#include "isa.h"
#include "eisa.h"
#include "isapnp.h"
@@
-211,8
+209,7
@@
static int skel_pci_probe ( struct nic *nic, struct pci_device *pci ) {
return 1;
}
return 1;
}
-static void skel_pci_disable ( struct nic *nic __unused,
- struct pci_device *pci __unused ) {
+static void skel_pci_disable ( struct nic *nic __unused ) {
/* Reset the card to its initial state, disable DMA and
* interrupts
*/
/* Reset the card to its initial state, disable DMA and
* interrupts
*/