diff options
| author | Michael Brown | 2006-04-24 17:42:49 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-04-24 17:42:49 +0200 |
| commit | 824d6ffa7f3d52ce165419356bfe28eaaf36a81b (patch) | |
| tree | c00a6a1cf46de5248259afd51fe64147e4b311d0 /src/drivers/net | |
| parent | Network API now allows for multiple network devices (although the (diff) | |
| download | ipxe-824d6ffa7f3d52ce165419356bfe28eaaf36a81b.tar.gz ipxe-824d6ffa7f3d52ce165419356bfe28eaaf36a81b.tar.xz ipxe-824d6ffa7f3d52ce165419356bfe28eaaf36a81b.zip | |
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
Diffstat (limited to 'src/drivers/net')
33 files changed, 33 insertions, 33 deletions
diff --git a/src/drivers/net/3c595.c b/src/drivers/net/3c595.c index ab10bc9d..b6f531d1 100644 --- a/src/drivers/net/3c595.c +++ b/src/drivers/net/3c595.c @@ -27,7 +27,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "3c595.h" #include "timer.h" diff --git a/src/drivers/net/3c90x.c b/src/drivers/net/3c90x.c index c544381c..54dcc40d 100644 --- a/src/drivers/net/3c90x.c +++ b/src/drivers/net/3c90x.c @@ -39,7 +39,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" static struct nic_operations a3c90x_operations; diff --git a/src/drivers/net/amd8111e.c b/src/drivers/net/amd8111e.c index 611cbc85..e3b93dc5 100644 --- a/src/drivers/net/amd8111e.c +++ b/src/drivers/net/amd8111e.c @@ -31,7 +31,7 @@ #include "etherboot.h" #include "nic.h" #include "mii.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #include "string.h" #include "stdint.h" diff --git a/src/drivers/net/davicom.c b/src/drivers/net/davicom.c index d087e29e..0f1a78cc 100644 --- a/src/drivers/net/davicom.c +++ b/src/drivers/net/davicom.c @@ -43,7 +43,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #undef DAVICOM_DEBUG #undef DAVICOM_DEBUG_WHERE diff --git a/src/drivers/net/dmfe.c b/src/drivers/net/dmfe.c index e1ff44ec..4cfb69bd 100644 --- a/src/drivers/net/dmfe.c +++ b/src/drivers/net/dmfe.c @@ -41,7 +41,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" /* #define EDEBUG 1 */ diff --git a/src/drivers/net/e1000.c b/src/drivers/net/e1000.c index 2eb6b333..a13a7271 100644 --- a/src/drivers/net/e1000.c +++ b/src/drivers/net/e1000.c @@ -52,7 +52,7 @@ Drivers are port from Intel's Linux driver e1000-4.3.15 /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" typedef unsigned char *dma_addr_t; diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c index d97b1b18..27576a61 100644 --- a/src/drivers/net/eepro100.c +++ b/src/drivers/net/eepro100.c @@ -105,7 +105,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" static int ioaddr; diff --git a/src/drivers/net/epic100.c b/src/drivers/net/epic100.c index 574f094b..babcf6b3 100644 --- a/src/drivers/net/epic100.c +++ b/src/drivers/net/epic100.c @@ -5,7 +5,7 @@ #define LINUX_OUT_MACROS #include "etherboot.h" -#include "pci.h" +#include <gpxe/pci.h> #include "nic.h" #include "timer.h" #include "console.h" diff --git a/src/drivers/net/etherfabric.c b/src/drivers/net/etherfabric.c index bd64cf5e..05239d68 100644 --- a/src/drivers/net/etherfabric.c +++ b/src/drivers/net/etherfabric.c @@ -18,7 +18,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #define dma_addr_t unsigned long #include "etherfabric.h" diff --git a/src/drivers/net/forcedeth.c b/src/drivers/net/forcedeth.c index 63773836..08ddbcd9 100644 --- a/src/drivers/net/forcedeth.c +++ b/src/drivers/net/forcedeth.c @@ -48,7 +48,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> /* Include timer support functions */ #include "timer.h" #include "mii.h" diff --git a/src/drivers/net/mlx_ipoib/ib_mt23108.c b/src/drivers/net/mlx_ipoib/ib_mt23108.c index 0291f46c..ca3abb10 100644 --- a/src/drivers/net/mlx_ipoib/ib_mt23108.c +++ b/src/drivers/net/mlx_ipoib/ib_mt23108.c @@ -21,7 +21,7 @@ #include "mt23108.h" #include "ib_driver.h" -#include "pci.h" +#include <gpxe/pci.h> struct device_buffers_st { union recv_wqe_u mads_qp_rcv_queue[NUM_MADS_RCV_WQES] diff --git a/src/drivers/net/mlx_ipoib/ib_mt25218.c b/src/drivers/net/mlx_ipoib/ib_mt25218.c index 11b25d49..f16577f1 100644 --- a/src/drivers/net/mlx_ipoib/ib_mt25218.c +++ b/src/drivers/net/mlx_ipoib/ib_mt25218.c @@ -21,7 +21,7 @@ #include "mt25218.h" #include "ib_driver.h" -#include "pci.h" +#include <gpxe/pci.h> #define MOD_INC(counter, max_count) (counter) = ((counter)+1) & ((max_count) - 1) diff --git a/src/drivers/net/mlx_ipoib/mt23108.c b/src/drivers/net/mlx_ipoib/mt23108.c index 157995d7..06d63f39 100644 --- a/src/drivers/net/mlx_ipoib/mt23108.c +++ b/src/drivers/net/mlx_ipoib/mt23108.c @@ -15,7 +15,7 @@ Skeleton NIC driver for Etherboot /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> /* to get the ISA support functions, if this is an ISA NIC */ #include "isa.h" diff --git a/src/drivers/net/mlx_ipoib/mt25218.c b/src/drivers/net/mlx_ipoib/mt25218.c index 7866bf60..38b32dc5 100644 --- a/src/drivers/net/mlx_ipoib/mt25218.c +++ b/src/drivers/net/mlx_ipoib/mt25218.c @@ -15,7 +15,7 @@ Skeleton NIC driver for Etherboot /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> /* to get the ISA support functions, if this is an ISA NIC */ #include "isa.h" diff --git a/src/drivers/net/mtd80x.c b/src/drivers/net/mtd80x.c index c7754a94..21db5640 100644 --- a/src/drivers/net/mtd80x.c +++ b/src/drivers/net/mtd80x.c @@ -28,7 +28,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> /* Condensed operations for readability. */ #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) diff --git a/src/drivers/net/natsemi.c b/src/drivers/net/natsemi.c index e8f6d81c..951195f1 100644 --- a/src/drivers/net/natsemi.c +++ b/src/drivers/net/natsemi.c @@ -55,7 +55,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> /* defines */ diff --git a/src/drivers/net/ns83820.c b/src/drivers/net/ns83820.c index df9eec5a..30bf0c1c 100755 --- a/src/drivers/net/ns83820.c +++ b/src/drivers/net/ns83820.c @@ -40,7 +40,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #if ARCH == ia64 /* Support 64-bit addressing */ #define USE_64BIT_ADDR diff --git a/src/drivers/net/ns8390.c b/src/drivers/net/ns8390.c index 6a950114..134e52ab 100644 --- a/src/drivers/net/ns8390.c +++ b/src/drivers/net/ns8390.c @@ -33,7 +33,7 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02 #include "nic.h" #include "ns8390.h" #ifdef INCLUDE_NS8390 -#include "pci.h" +#include <gpxe/pci.h> #else #include "isa.h" #endif diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c index 569912ee..74fea5a9 100644 --- a/src/drivers/net/pcnet32.c +++ b/src/drivers/net/pcnet32.c @@ -44,7 +44,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> /* Include the time functions */ #include "timer.h" #include "mii.h" diff --git a/src/drivers/net/prism2.c b/src/drivers/net/prism2.c index 64cce88e..7ad390ff 100644 --- a/src/drivers/net/prism2.c +++ b/src/drivers/net/prism2.c @@ -18,7 +18,7 @@ $Id$ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> /* * Hard-coded SSID diff --git a/src/drivers/net/prism2_pci.c b/src/drivers/net/prism2_pci.c index 19ab74a0..f0dd9f12 100644 --- a/src/drivers/net/prism2_pci.c +++ b/src/drivers/net/prism2_pci.c @@ -14,7 +14,7 @@ $Id$ * your option) any later version. */ -#include "pci.h" +#include <gpxe/pci.h> #include "nic.h" #define WLAN_HOSTIF WLAN_PCI diff --git a/src/drivers/net/prism2_plx.c b/src/drivers/net/prism2_plx.c index bf6fb626..64432c87 100644 --- a/src/drivers/net/prism2_plx.c +++ b/src/drivers/net/prism2_plx.c @@ -14,7 +14,7 @@ $Id$ * your option) any later version. */ -#include "pci.h" +#include <gpxe/pci.h> #include "nic.h" #define WLAN_HOSTIF WLAN_PLX diff --git a/src/drivers/net/r8169.c b/src/drivers/net/r8169.c index af2ea06b..c11b8271 100644 --- a/src/drivers/net/r8169.c +++ b/src/drivers/net/r8169.c @@ -49,7 +49,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #define drv_version "v1.6" diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c index 10ca1365..9a155048 100644 --- a/src/drivers/net/rtl8139.c +++ b/src/drivers/net/rtl8139.c @@ -64,7 +64,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #define RTL_TIMEOUT (1*TICKS_PER_SEC) diff --git a/src/drivers/net/sis900.c b/src/drivers/net/sis900.c index c2cb94e8..1a79b1d4 100644 --- a/src/drivers/net/sis900.c +++ b/src/drivers/net/sis900.c @@ -45,7 +45,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #include "sis900.h" diff --git a/src/drivers/net/skel.c b/src/drivers/net/skel.c index 5f5fd0ba..e05239b6 100644 --- a/src/drivers/net/skel.c +++ b/src/drivers/net/skel.c @@ -15,7 +15,7 @@ Skeleton NIC driver for Etherboot /* 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 "pci.h" +#include <gpxe/pci.h> #include "isa.h" #include "eisa.h" #include "isapnp.h" diff --git a/src/drivers/net/sundance.c b/src/drivers/net/sundance.c index 701f922a..9c660b9b 100644 --- a/src/drivers/net/sundance.c +++ b/src/drivers/net/sundance.c @@ -45,7 +45,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #include "mii.h" diff --git a/src/drivers/net/tg3.c b/src/drivers/net/tg3.c index ace2dfec..cad3bdff 100644 --- a/src/drivers/net/tg3.c +++ b/src/drivers/net/tg3.c @@ -14,7 +14,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #include "string.h" #include "tg3.h" diff --git a/src/drivers/net/tlan.c b/src/drivers/net/tlan.c index 3c773b6a..25d66d82 100644 --- a/src/drivers/net/tlan.c +++ b/src/drivers/net/tlan.c @@ -43,7 +43,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" #include "tlan.h" diff --git a/src/drivers/net/tulip.c b/src/drivers/net/tulip.c index 864e32af..7ac02d7b 100644 --- a/src/drivers/net/tulip.c +++ b/src/drivers/net/tulip.c @@ -108,7 +108,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> /* User settable parameters */ diff --git a/src/drivers/net/via-rhine.c b/src/drivers/net/via-rhine.c index 15e5ca9b..e95d9323 100644 --- a/src/drivers/net/via-rhine.c +++ b/src/drivers/net/via-rhine.c @@ -48,7 +48,7 @@ static const char *version = "rhine.c v1.0.2 2004-10-29\n"; #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" /* define all ioaddr */ diff --git a/src/drivers/net/via-velocity.c b/src/drivers/net/via-velocity.c index 82751905..c6a15e26 100644 --- a/src/drivers/net/via-velocity.c +++ b/src/drivers/net/via-velocity.c @@ -43,7 +43,7 @@ /* to get the interface to the body of the program */ #include "nic.h" /* to get the PCI support functions, if this is a PCI NIC */ -#include "pci.h" +#include <gpxe/pci.h> #include "via-velocity.h" diff --git a/src/drivers/net/w89c840.c b/src/drivers/net/w89c840.c index c3f03f9f..8d8a6ded 100644 --- a/src/drivers/net/w89c840.c +++ b/src/drivers/net/w89c840.c @@ -79,7 +79,7 @@ #include "etherboot.h" #include "nic.h" -#include "pci.h" +#include <gpxe/pci.h> #include "timer.h" static const char *w89c840_version = "driver Version 0.94 - December 12, 2003"; |
