[ipxe-devel] [Mohon Peak] Add support for internal SGMII controller

Patrick Agrain patrick.agrain at alcatel-lucent.com
Thu Mar 12 13:05:11 UTC 2015


Hello everybody,

Sorry to bring this patch like this, but we are hosted behind a proxy, 
which forbid any 'git' transactions.

igb.tar is a tar file of the source code (it's only located in one 
single directory).
ipxe.tar is a tar file of the patch to be applied to the ipxe source tree.
As I don't know what should be delivered (and how), I preferred provide 
both.

The patch is quite easy to apply. It adds a directory 'igb' in 
./src/drivers/net
Strangely, the Makefile is already good, as 'SRCDIRS        += 
drivers/net/igb' is already included in this file.

Test performed on the Mohon Peak CRB:
- PXE boot: OK.

Note: Only 8086:1f41 has been tested. Meaby it would be better to 
comment out the other controllers until successful tests are performed.
static struct pci_device_id igb_82575_nics[] = {
         PCI_ROM(0x8086, 0x10C9, "E1000_DEV_ID_82576", 
"E1000_DEV_ID_82576", 0),
         PCI_ROM(0x8086, 0x150A, "E1000_DEV_ID_82576_NS", 
"E1000_DEV_ID_82576_NS", 0),
         PCI_ROM(0x8086, 0x1518, "E1000_DEV_ID_82576_NS_SERDES", 
"E1000_DEV_ID_82576_NS_SERDES", 0),
         PCI_ROM(0x8086, 0x10E6, "E1000_DEV_ID_82576_FIBER", 
"E1000_DEV_ID_82576_FIBER", 0),
         PCI_ROM(0x8086, 0x10E7, "E1000_DEV_ID_82576_SERDES", 
"E1000_DEV_ID_82576_SERDES", 0),
         PCI_ROM(0x8086, 0x150D, "E1000_DEV_ID_82576_SERDES_QUAD", 
"E1000_DEV_ID_82576_SERDES_QUAD", 0),
         PCI_ROM(0x8086, 0x10E8, "E1000_DEV_ID_82576_QUAD_COPPER", 
"E1000_DEV_ID_82576_QUAD_COPPER", 0),
         PCI_ROM(0x8086, 0x10A7, "E1000_DEV_ID_82575EB_COPPER", 
"E1000_DEV_ID_82575EB_COPPER", 0),
         PCI_ROM(0x8086, 0x10A9, "E1000_DEV_ID_82575EB_FIBER_SERDES", 
"E1000_DEV_ID_82575EB_FIBER_SERDES", 0),
         PCI_ROM(0x8086, 0x10D6, "E1000_DEV_ID_82575GB_QUAD_COPPER", 
"E1000_DEV_ID_82575GB_QUAD_COPPER", 0),
         PCI_ROM(0x8086, 0x1F41, "E1000_DEV_ID_I354_SGMII", 
"E1000_DEV_ID_I354_SGMII", 0 ),
};

TODO:
- Manage the DHCP option 'vendor-encapsulated-options', which does not 
seem to be taken in account.

Note: the DHCP server we used for the test is:
Starting DHCP services: Internet Software Consortium DHCP Server 2.1.31
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Regards,
Patrick Agrain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: igb.tar
Type: application/x-tar
Size: 481280 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150312/be6f4cae/attachment.tar>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe.tar
Type: application/x-tar
Size: 482304 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150312/be6f4cae/attachment-0001.tar>


More information about the ipxe-devel mailing list