Support the DELL OEM 2312 cards (1077,6312).
Many thanks to Stormweb for making the h/w available for testing. MFC after: 2 days
This commit is contained in:
parent
c802ad89a8
commit
0281ee642f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user