diff options
author | mjacob <mjacob@FreeBSD.org> | 2005-01-23 06:23:55 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2005-01-23 06:23:55 +0000 |
commit | 78752eeb8a50e51bb81672db78952df7d7ad6ce1 (patch) | |
tree | 90b9ad9284ac5fcc1f9d0df3f9a88a88b6809e79 /sys/dev/isp/isp_pci.c | |
parent | 5779c8e6f2381426979505dec7ab5fecf85a2691 (diff) | |
download | FreeBSD-src-78752eeb8a50e51bb81672db78952df7d7ad6ce1.zip FreeBSD-src-78752eeb8a50e51bb81672db78952df7d7ad6ce1.tar.gz |
Support the DELL OEM 2312 cards (1077,6312).
Many thanks to Stormweb for making the h/w available for testing.
MFC after: 2 days
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 8fe9ba3..be92b96 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -221,6 +221,10 @@ static struct ispmdvec mdvec_2300 = { #define PCI_PRODUCT_QLOGIC_ISP2312 0x2312 #endif +#ifndef PCI_PRODUCT_QLOGIC_ISP6312 +#define PCI_PRODUCT_QLOGIC_ISP6312 0x6312 +#endif + #define PCI_QLOGIC_ISP1020 \ ((PCI_PRODUCT_QLOGIC_ISP1020 << 16) | PCI_VENDOR_QLOGIC) @@ -251,6 +255,9 @@ static struct ispmdvec mdvec_2300 = { #define PCI_QLOGIC_ISP2312 \ ((PCI_PRODUCT_QLOGIC_ISP2312 << 16) | PCI_VENDOR_QLOGIC) +#define PCI_QLOGIC_ISP6312 \ + ((PCI_PRODUCT_QLOGIC_ISP6312 << 16) | PCI_VENDOR_QLOGIC) + /* * Odd case for some AMI raid cards... We need to *not* attach to this. */ @@ -330,6 +337,9 @@ isp_pci_probe(device_t dev) case PCI_QLOGIC_ISP2312: device_set_desc(dev, "Qlogic ISP 2312 PCI FC-AL Adapter"); break; + case PCI_QLOGIC_ISP6312: + device_set_desc(dev, "Qlogic ISP 6312 PCI FC-AL Adapter"); + break; default: return (ENXIO); } @@ -517,7 +527,8 @@ isp_pci_attach(device_t dev) pcs->pci_poff[MBOX_BLOCK >> _BLK_REG_SHFT] = PCI_MBOX_REGS2300_OFF; } - if (pci_get_devid(dev) == PCI_QLOGIC_ISP2312) { + if (pci_get_devid(dev) == PCI_QLOGIC_ISP2312 || + pci_get_devid(dev) == PCI_QLOGIC_ISP6312) { mdvp = &mdvec_2300; basetype = ISP_HA_FC_2312; psize = sizeof (fcparam); |