diff options
| author | Marty Connor | 2006-09-27 00:09:03 +0200 |
|---|---|---|
| committer | Marty Connor | 2006-09-27 00:09:03 +0200 |
| commit | b88aa51b0738562b37eb831c272ad8bd725124c8 (patch) | |
| tree | 4a69c94fce13bebdf70a28429b9ae95565aad09c /src | |
| parent | warnings cleanup (diff) | |
| download | ipxe-b88aa51b0738562b37eb831c272ad8bd725124c8.tar.gz ipxe-b88aa51b0738562b37eb831c272ad8bd725124c8.tar.xz ipxe-b88aa51b0738562b37eb831c272ad8bd725124c8.zip | |
warnings cleanup (still gives lots of compilation warnings from unused functions and missing legacy support)
Diffstat (limited to 'src')
| -rw-r--r-- | src/drivers/net/skel.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/drivers/net/skel.c b/src/drivers/net/skel.c index 882a38e59..d784f7c2a 100644 --- 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. */ -/* to get some global routines like printf */ #include "etherboot.h" -/* to get the interface to the body of the program */ #include "nic.h" -/* Drag in support for whichever bus(es) we want for this NIC */ #include <gpxe/pci.h> +#include <gpxe/ethernet.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; } -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 */ |
