diff options
| author | Michael Brown | 2007-07-31 04:32:22 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-07-31 04:32:22 +0200 |
| commit | 79691961bae9a0eaf261615aeff472b5d186dfc0 (patch) | |
| tree | 3f6c6a68144b837b668d1af2b5625828316f6ee1 /src/include | |
| parent | Centralise construction of the DHCP request and response packets. (diff) | |
| download | ipxe-79691961bae9a0eaf261615aeff472b5d186dfc0.tar.gz ipxe-79691961bae9a0eaf261615aeff472b5d186dfc0.tar.xz ipxe-79691961bae9a0eaf261615aeff472b5d186dfc0.zip | |
Add identifier for the network device into the DHCP request.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/dhcp.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index a7cac228d..863227867 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -168,6 +168,19 @@ struct job_interface; */ #define DHCP_EB_SIADDR DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 3 ) +/** Network device descriptor + * + * Byte 0 is the bus type ID; remaining bytes depend on the bus type. + * + * PCI devices: + * Byte 0 : 1 (PCI) + * Byte 1 : PCI vendor ID MSB + * Byte 2 : PCI vendor ID LSB + * Byte 3 : PCI device ID MSB + * Byte 4 : PCI device ID LSB + */ +#define DHCP_EB_BUS_ID DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xb1 ) + /** BIOS drive number * * This is the drive number for a drive emulated via INT 13. 0x80 is |
