Add support for a new device id (9). Mxge NICs with the new

device id support MSI-X.

Approved by: re (bmah)
This commit is contained in:
Andrew Gallatin 2007-09-13 21:29:02 +00:00
parent 5f1e4878bd
commit f15444982b
2 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,8 @@ static int
mxge_probe(device_t dev)
{
if ((pci_get_vendor(dev) == MXGE_PCI_VENDOR_MYRICOM) &&
(pci_get_device(dev) == MXGE_PCI_DEVICE_Z8E)) {
((pci_get_device(dev) == MXGE_PCI_DEVICE_Z8E) ||
(pci_get_device(dev) == MXGE_PCI_DEVICE_Z8E_9))) {
device_set_desc(dev, "Myri10G-PCIE-8A");
return 0;
}

View File

@ -207,6 +207,7 @@ typedef struct {
#define MXGE_PCI_VENDOR_MYRICOM 0x14c1
#define MXGE_PCI_DEVICE_Z8E 0x0008
#define MXGE_PCI_DEVICE_Z8E_9 0x0009
#define MXGE_XFP_COMPLIANCE_BYTE 131
#define MXGE_HIGHPART_TO_U32(X) \