Dont attach a Promise chip located behind a i960 bridge/chip.
This makes it possible to run a Promise SuperTrak SX6000 with OS type set to "Other" as well as "Linux".
This commit is contained in:
parent
15e90ad4c5
commit
fb02f8eeb8
@ -287,10 +287,22 @@ ata_pci_match(device_t dev)
|
||||
}
|
||||
return "Promise TX2 ATA100 controller";
|
||||
|
||||
case 0x4d69105a:
|
||||
case 0x5275105a:
|
||||
case 0x6269105a:
|
||||
case 0x7275105a:
|
||||
{
|
||||
uintptr_t devid = 0;
|
||||
|
||||
/* if we are on a SuperTrak SX6000 dont attach */
|
||||
if (!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
|
||||
GRANDPARENT(dev), PCI_IVAR_DEVID, &devid) &&
|
||||
devid == 0x09628086 &&
|
||||
pci_get_class(GRANDPARENT(dev)) == PCIC_BRIDGE)
|
||||
break;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case 0x4d69105a:
|
||||
case 0x6269105a:
|
||||
return "Promise TX2 ATA133 controller";
|
||||
|
||||
case 0x00041103:
|
||||
|
Loading…
Reference in New Issue
Block a user