[ipxe-devel] i350 igbvf.rom virtual function support

Erik Jacobson ejacobson at ddn.com
Thu Apr 5 16:31:57 UTC 2012


We need to PXE-boot igb virtual function interfaces. I was happy to find
the igbvf.rom available for this use and it worked great on the 82576
family.

However, we also need to be able to PXE-boot igb virtual function
interfaces hosted on an I350.

The following change made this work for me. I was hoping you would consider
including it in ipxe. If this change is incorrect and you have a different
version you'd like me to test, I'd be happy to do that.

PS: I don't have a network driver / boot rom background. So look
carefully :)


diff --git a/src/drivers/net/igbvf/igbvf_main.c b/src/drivers/net/igbvf/igbvf_main.c
index 1f7e1df..ba4d255 100644
--- a/src/drivers/net/igbvf/igbvf_main.c
+++ b/src/drivers/net/igbvf/igbvf_main.c
@@ -942,7 +942,8 @@ void igbvf_remove ( struct pci_device *pdev )
 }
 
 static struct pci_device_id igbvf_pci_tbl[] = {
-	PCI_ROM(0x8086, 0x10CA, "igbvf", "E1000_DEV_ID_82576_VF", 0)
+	PCI_ROM(0x8086, 0x10CA, "igbvf", "E1000_DEV_ID_82576_VF", 0),
+	PCI_ROM(0x8086, 0x1520, "igbvf", "E1000_DEV_ID_I350_VF", 0)
 };
 
 
diff --git a/src/drivers/net/igbvf/igbvf_vf.h b/src/drivers/net/igbvf/igbvf_vf.h
index ce8ad79..8d8963f 100644
--- a/src/drivers/net/igbvf/igbvf_vf.h
+++ b/src/drivers/net/igbvf/igbvf_vf.h
@@ -54,6 +54,7 @@ FILE_LICENCE ( GPL2_ONLY );
 struct e1000_hw;
 
 #define E1000_DEV_ID_82576_VF                 0x10CA
+#define E1000_DEV_ID_I350_VF                  0x1520
 
 #define E1000_VF_INIT_TIMEOUT 200 /* Number of retries to clear RSTI */
 



More information about the ipxe-devel mailing list