summaryrefslogtreecommitdiffstats
path: root/src/drivers/net
diff options
context:
space:
mode:
authorMarty Connor2006-09-27 00:09:03 +0200
committerMarty Connor2006-09-27 00:09:03 +0200
commitb88aa51b0738562b37eb831c272ad8bd725124c8 (patch)
tree4a69c94fce13bebdf70a28429b9ae95565aad09c /src/drivers/net
parentwarnings cleanup (diff)
downloadipxe-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/drivers/net')
-rw-r--r--src/drivers/net/skel.c7
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
*/