mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Restore revision 1.126 that got accidentally nuked.
This commit is contained in:
parent
805e1f828c
commit
06cacb29ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165338
@ -1055,6 +1055,7 @@ isp_pci_attach(device_t dev)
|
||||
cmd &= ~PCIM_CMD_INTX_DISABLE;
|
||||
}
|
||||
|
||||
#ifdef WE_KNEW_WHAT_WE_WERE_DOING
|
||||
if (IS_24XX(isp)) {
|
||||
int reg;
|
||||
|
||||
@ -1086,6 +1087,11 @@ isp_pci_attach(device_t dev)
|
||||
pci_write_config(dev, reg, 2, pectl);
|
||||
}
|
||||
}
|
||||
#else
|
||||
if (IS_24XX(isp)) {
|
||||
cmd &= ~PCIM_CMD_INTX_DISABLE;
|
||||
}
|
||||
#endif
|
||||
|
||||
pci_write_config(dev, PCIR_COMMAND, cmd, 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user