david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

warnings cleanup (still gives lots of compilation warnings from unused functions and missing legacy support)

This commit is contained in:
Marty Connor 2006-09-26 22:09:03 +00:00
parent 9588e20828
commit b88aa51b07
1 changed files with 2 additions and 5 deletions

View File

@ -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 "isa.h"
#include "eisa.h" #include "eisa.h"
#include "isapnp.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, static void skel_pci_disable ( struct nic *nic __unused ) {
struct pci_device *pci __unused ) {
/* Reset the card to its initial state, disable DMA and /* Reset the card to its initial state, disable DMA and
* interrupts * interrupts
*/ */