diff options
author | simokawa <simokawa@FreeBSD.org> | 2007-03-15 14:11:46 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2007-03-15 14:11:46 +0000 |
commit | 659d1590e4a752f60d10bf9e9ccd42caff22a25f (patch) | |
tree | ec013a7909c8051aecbdeb1ca55f9da0367c2531 | |
parent | c9ba410fa3fb4c9365f0f4c30498295d99453882 (diff) | |
download | FreeBSD-src-659d1590e4a752f60d10bf9e9ccd42caff22a25f.zip FreeBSD-src-659d1590e4a752f60d10bf9e9ccd42caff22a25f.tar.gz |
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
-rw-r--r-- | sys/dev/firewire/fwohci_pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 37bb2d8..56baf87 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -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); |