]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] Fix up more strange byte writes to the PCI_ROM_ADDRESS config word
authorLinus Torvalds <torvalds@osdl.org>
Tue, 13 Sep 2005 15:01:49 +0000 (08:01 -0700)
committerChris Wright <chrisw@osdl.org>
Sat, 17 Sep 2005 01:01:58 +0000 (18:01 -0700)
commitd6d47af4c90009c465c7a465dd201a7115af456a
tree36c5bc0e26f640483176aa5642c4954dc1027262
parent9c053068c7b8158850d680d8c96f3f11f5804367
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@osdl.org>
drivers/ide/pci/cmd64x.c
drivers/ide/pci/hpt34x.c