]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Fix up more strange byte writes to the PCI_ROM_ADDRESS config word
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 14:59:34 +0000 (07:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 14:59:34 +0000 (07:59 -0700)
commit299cc3c166f7a11f6cc3b66aafbaf75c2aa0e0e2
tree79418db8c437a57d771ae12e3e4cc052fa827c5e
parent2f4ba45a75d6383b4a1201169a808ffea416ffa0
Fix up more strange byte writes to the PCI_ROM_ADDRESS config word

It's a dword thing, and the value we write is a dword.  Doing a byte
write to it is nonsensical, and writes only the low byte, which only
contains the enable bit.  So we enable a nonsensical address (usually
zero), which causes the controller no end of problems.

Trivial fix, but nasty to find.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/cmd64x.c
drivers/ide/pci/hpt34x.c