mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-31 05:17:34 +00:00
warnings cleanup (still gives lots of compilation warnings from unused functions and missing legacy support)
This commit is contained in:
parent
9588e20828
commit
b88aa51b07
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user