[forcedeth] Add support for 10de:054c nforce 630a, MCP 67
authorThomas Horsten <thomas@horsten.com>
Wed, 6 Jan 2010 20:12:11 +0000 (20:12 +0000)
committerMarty Connor <mdc@etherboot.org>
Thu, 14 Jan 2010 15:15:35 +0000 (10:15 -0500)
Tested-by: Boudhayan Gupta <bg13.ina@gmail.com>
Signed-off-by: Thomas Horsten <thomas@horsten.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
src/drivers/net/forcedeth.c

index 73c44c4..3d44d86 100644 (file)
@@ -1321,6 +1321,7 @@ static int forcedeth_probe ( struct nic *nic, struct pci_device *pci ) {
 
        switch (pci->device) {
        case 0x01C3:            // nforce
 
        switch (pci->device) {
        case 0x01C3:            // nforce
+       case 0x054C:
                // DEV_IRQMASK_1|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
                np->irqmask = NVREG_IRQMASK_WANTED_2 | NVREG_IRQ_TIMER;
                //              np->need_linktimer = 1;
                // DEV_IRQMASK_1|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
                np->irqmask = NVREG_IRQMASK_WANTED_2 | NVREG_IRQ_TIMER;
                //              np->need_linktimer = 1;
@@ -1426,6 +1427,7 @@ PCI_ROM(0x10de, 0x0038, "nforce11", "nForce NVENET_11 Ethernet Controller", 0),
 PCI_ROM(0x10de, 0x0373, "nforce15", "nForce NVENET_15 Ethernet Controller", 0),
 PCI_ROM(0x10de, 0x0269, "nforce16", "nForce NVENET_16 Ethernet Controller", 0),
 PCI_ROM(0x10de, 0x0760, "nforce17", "nForce NVENET_17 Ethernet Controller", MAC_ADDR_CORRECT),
 PCI_ROM(0x10de, 0x0373, "nforce15", "nForce NVENET_15 Ethernet Controller", 0),
 PCI_ROM(0x10de, 0x0269, "nforce16", "nForce NVENET_16 Ethernet Controller", 0),
 PCI_ROM(0x10de, 0x0760, "nforce17", "nForce NVENET_17 Ethernet Controller", MAC_ADDR_CORRECT),
+PCI_ROM(0x10de, 0x054c, "nforce67", "nForce NVENET_67 Ethernet Controller", MAC_ADDR_CORRECT),
 };
 
 PCI_DRIVER ( forcedeth_driver, forcedeth_nics, PCI_NO_CLASS );
 };
 
 PCI_DRIVER ( forcedeth_driver, forcedeth_nics, PCI_NO_CLASS );