diff options
author | simokawa <simokawa@FreeBSD.org> | 2005-01-06 07:40:34 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2005-01-06 07:40:34 +0000 |
commit | c76c089dc2a9994403b8714bd06432ec4e3050a3 (patch) | |
tree | 5823e275bec42c55496a5eab9c3ecfb0871d1517 /sys/dev/firewire | |
parent | 6494b2d4b08c4e29a29c6c0c16eb0b3633b5e1ac (diff) | |
download | FreeBSD-src-c76c089dc2a9994403b8714bd06432ec4e3050a3.zip FreeBSD-src-c76c089dc2a9994403b8714bd06432ec4e3050a3.tar.gz |
Clear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware.
Some amd64 laptops fail to boot with these flags.
PR: kern/75482
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/fwohci_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index b38f38b..154f0df 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -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); |