mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
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.
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user