diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-02-10 03:33:09 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-02-10 03:33:09 +0000 |
commit | 2f8cc80faf6883b991bb322727317c2ea10d29b5 (patch) | |
tree | 296d2f5e4da8fe8e2574130b53193fa6b055a81b /sys/dev/isp | |
parent | ed4315282ae9bac73c7a5902ab16a419f8c48c27 (diff) | |
download | FreeBSD-src-2f8cc80faf6883b991bb322727317c2ea10d29b5.zip FreeBSD-src-2f8cc80faf6883b991bb322727317c2ea10d29b5.tar.gz |
Putative untested 2432 (PCI-E) support.
Diffstat (limited to 'sys/dev/isp')
-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 652e4dc..3a3b56e 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -259,6 +259,10 @@ static struct ispmdvec mdvec_2400 = { #define PCI_PRODUCT_QLOGIC_ISP2422 0x2422 #endif +#ifndef PCI_PRODUCT_QLOGIC_ISP2432 +#define PCI_PRODUCT_QLOGIC_ISP2432 0x2432 +#endif + #ifndef PCI_PRODUCT_QLOGIC_ISP6312 #define PCI_PRODUCT_QLOGIC_ISP6312 0x6312 #endif @@ -304,6 +308,9 @@ static struct ispmdvec mdvec_2400 = { #define PCI_QLOGIC_ISP2422 \ ((PCI_PRODUCT_QLOGIC_ISP2422 << 16) | PCI_VENDOR_QLOGIC) +#define PCI_QLOGIC_ISP2432 \ + ((PCI_PRODUCT_QLOGIC_ISP2432 << 16) | PCI_VENDOR_QLOGIC) + #define PCI_QLOGIC_ISP6312 \ ((PCI_PRODUCT_QLOGIC_ISP6312 << 16) | PCI_VENDOR_QLOGIC) @@ -400,6 +407,9 @@ isp_pci_probe(device_t dev) case PCI_QLOGIC_ISP2422: device_set_desc(dev, "Qlogic ISP 2422 PCI FC-AL Adapter"); break; + case PCI_QLOGIC_ISP2432: + device_set_desc(dev, "Qlogic ISP 2432 PCI FC-AL Adapter"); + break; case PCI_QLOGIC_ISP6312: device_set_desc(dev, "Qlogic ISP 6312 PCI FC-AL Adapter"); break; @@ -957,7 +967,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_ISP2422) { + if (pci_get_devid(dev) == PCI_QLOGIC_ISP2422 || + pci_get_devid(dev) == PCI_QLOGIC_ISP2432) { mdvp = &mdvec_2400; basetype = ISP_HA_FC_2400; psize = sizeof (fcparam); |