1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Don't mess with PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN.

This will fix 'NMI RAM parity error' while booting on some machines.

PR: kern/95077
MFC after: 3 days
This commit is contained in:
Hidetoshi Shimokawa 2007-03-15 14:11:46 +00:00
parent f84b2d6998
commit 4813ecc362
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167602

View File

@ -241,11 +241,9 @@ fwohci_pci_init(device_t self)
uint16_t cmd;
cmd = pci_read_config(self, PCIR_COMMAND, 2);
cmd |= PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MWRICEN |
PCIM_CMD_SERRESPEN | PCIM_CMD_PERRESPEN;
cmd |= PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MWRICEN;
#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);