mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
[phantom] Allow for PXE boot to be enabled/disabled on a per-port basis
This is something of an ugly hack to accommodate an OEM requirement. The NIC has only one expansion ROM BAR, rather than one per port. To allow individual ports to be selectively enabled/disabled for PXE boot (as required), we must therefore leave the expansion ROM always enabled, and place the per-port enable/disable logic within the gPXE driver.
This commit is contained in:
@@ -109,6 +109,7 @@ enum unm_reg_blocks {
|
||||
#define UNM_CAM_RAM_CLP_STATUS_DONE 0x00000002UL
|
||||
#define UNM_CAM_RAM_CLP_STATUS_ERROR 0x0000ff00UL
|
||||
#define UNM_CAM_RAM_CLP_STATUS_UNINITIALISED 0xffffffffUL
|
||||
#define UNM_CAM_RAM_BOOT_ENABLE ( UNM_CAM_RAM + 0x000fc )
|
||||
#define UNM_CAM_RAM_WOL_PORT_MODE ( UNM_CAM_RAM + 0x00198 )
|
||||
#define UNM_CAM_RAM_MAC_ADDRS ( UNM_CAM_RAM + 0x001c0 )
|
||||
#define UNM_CAM_RAM_COLD_BOOT ( UNM_CAM_RAM + 0x001fc )
|
||||
|
||||
Reference in New Issue
Block a user