]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Include errno.h in the few drivers which use it, rather than in nic.h
authorMichael Brown <mcb30@etherboot.org>
Tue, 24 Jul 2007 13:05:32 +0000 (14:05 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 24 Jul 2007 13:05:32 +0000 (14:05 +0100)
src/drivers/net/3c509.c
src/drivers/net/bnx2.c
src/drivers/net/cs89x0.c
src/drivers/net/eepro.c
src/drivers/net/smc9000.c
src/drivers/net/tg3.c
src/include/nic.h

index 12cf77402a2eb360748dd65b78b6137b34af212b..e704cfca1e14d19381d41cde4437e5db7ef8a0da 100644 (file)
@@ -7,6 +7,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
+#include <errno.h>
 #include <io.h>
 #include <timer.h>
 #include <gpxe/device.h>
index 8d4b0176afd504e9503dbebc1286a05a5f01bdf1..105e9c3f467f252208af68d4c381728754aac4e1 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "etherboot.h"
 #include "nic.h"
+#include <errno.h>
 #include <gpxe/pci.h>
 #include <gpxe/ethernet.h>
 #include "timer.h"
index ecb632f9b48b6f579bfcd72aee0116fc9b8574fc..ce1eef5dc1bbcc5a7af7c6479010c53826efcb85 100644 (file)
@@ -66,6 +66,7 @@
 
   */
 
+#include <errno.h>
 #include <gpxe/ethernet.h>
 #include "etherboot.h"
 #include "nic.h"
index 2ea4b0006e20a03a46c10e3c1b5a686e1d5eca75..4d5a798e6bbe19772c9b6a9320c7fb2fe0839d46 100644 (file)
@@ -32,6 +32,7 @@ has 34 pins, the top row of 2 are not used.
  */
 
 #include "etherboot.h"
+#include <errno.h>
 #include "nic.h"
 #include <gpxe/isa.h>
 #include "timer.h"
index c7893e6f901ccdfa4026be704dd5a43d76c4de00..a623b77ecfedc8d57df6c27150162424b015ed84 100644 (file)
@@ -36,6 +36,7 @@
 #endif
 
 #include <gpxe/ethernet.h>
+#include <errno.h>
 #include "etherboot.h"
 #include "nic.h"
 #include <gpxe/isa.h>
index b59e848a0efe71bc2cea3bd159d80b71edbe14f6..1b4d793b303b417480584caf5dc52054acef0115 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "etherboot.h"
 #include "nic.h"
+#include <errno.h>
 #include <gpxe/pci.h>
 #include <gpxe/ethernet.h>
 #include "timer.h"
index 0f4822529cb88b56cbb2b99c6e92814309591415..9d8efd8a2040a6841d14677f65af2e47c9256bfd 100644 (file)
@@ -11,7 +11,6 @@
 #include <stdint.h>
 #include <string.h>
 #include <stdio.h>
-#include <errno.h>
 #include <byteswap.h>
 #include <gpxe/pci.h>
 #include <gpxe/isapnp.h>