Browse Source

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

tags/v0.9.3
Marty Connor 18 years ago
parent
commit
b88aa51b07
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      src/drivers/net/skel.c

+ 2
- 5
src/drivers/net/skel.c View File

10
  * your option) any later version.
10
  * your option) any later version.
11
  */
11
  */
12
 
12
 
13
-/* to get some global routines like printf */
14
 #include "etherboot.h"
13
 #include "etherboot.h"
15
-/* to get the interface to the body of the program */
16
 #include "nic.h"
14
 #include "nic.h"
17
-/* Drag in support for whichever bus(es) we want for this NIC */
18
 #include <gpxe/pci.h>
15
 #include <gpxe/pci.h>
16
+#include <gpxe/ethernet.h>
19
 #include "isa.h"
17
 #include "isa.h"
20
 #include "eisa.h"
18
 #include "eisa.h"
21
 #include "isapnp.h"
19
 #include "isapnp.h"
211
 	return 1;
209
 	return 1;
212
 }
210
 }
213
 
211
 
214
-static void skel_pci_disable ( struct nic *nic __unused,
215
-			       struct pci_device *pci __unused ) {
212
+static void skel_pci_disable ( struct nic *nic __unused ) {
216
 	/* Reset the card to its initial state, disable DMA and
213
 	/* Reset the card to its initial state, disable DMA and
217
 	 * interrupts
214
 	 * interrupts
218
 	 */
215
 	 */

Loading…
Cancel
Save