From 4813ecc362910b66d70c8cc072af681dc9935197 Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Thu, 15 Mar 2007 14:11:46 +0000 Subject: [PATCH] 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 --- sys/dev/firewire/fwohci_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 37bb2d848f1..56baf872b6e 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);