Clear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware.

Some amd64 laptops fail to boot with these flags.

PR: kern/75482
This commit is contained in:
Hidetoshi Shimokawa 2005-01-06 07:40:34 +00:00
parent fded756e72
commit e726a7e116

View File

@ -239,8 +239,9 @@ fwohci_pci_init(device_t self)
cmd = pci_read_config(self, PCIR_COMMAND, 2);
cmd |= PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MWRICEN |
PCIM_CMD_SERRESPEN | PCIM_CMD_PERRESPEN;
#if 1
#if 1 /* for broken hardware */
cmd &= ~PCIM_CMD_MWRICEN;
cmd &= ~(PCIM_CMD_SERRESPEN | PCIM_CMD_PERRESPEN);
#endif
pci_write_config(self, PCIR_COMMAND, cmd, 2);