]> git.baikalelectronics.ru Git - 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)
commitc7d3f0e35a63583b99b41367a1fd230e1c71034e
tree79418db8c437a57d771ae12e3e4cc052fa827c5e
parent896a6ec6147540cc479ad695d3c6d0130ea79cd4
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