|
@@ -10,12 +10,10 @@ Skeleton NIC driver for Etherboot
|
10
|
10
|
* your option) any later version.
|
11
|
11
|
*/
|
12
|
12
|
|
13
|
|
-/* to get some global routines like printf */
|
14
|
13
|
#include "etherboot.h"
|
15
|
|
-/* to get the interface to the body of the program */
|
16
|
14
|
#include "nic.h"
|
17
|
|
-/* Drag in support for whichever bus(es) we want for this NIC */
|
18
|
15
|
#include <gpxe/pci.h>
|
|
16
|
+#include <gpxe/ethernet.h>
|
19
|
17
|
#include "isa.h"
|
20
|
18
|
#include "eisa.h"
|
21
|
19
|
#include "isapnp.h"
|
|
@@ -211,8 +209,7 @@ static int skel_pci_probe ( struct nic *nic, struct pci_device *pci ) {
|
211
|
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
|
213
|
/* Reset the card to its initial state, disable DMA and
|
217
|
214
|
* interrupts
|
218
|
215
|
*/
|