mirror of https://github.com/ipxe/ipxe.git
warnings cleanup (still gives lots of compilation warnings from unused functions and missing legacy support)
parent
9588e20828
commit
b88aa51b07
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue