linux/drivers
Tejun Heo 75683fe715 libata: clean up horkage handling
Horkage handling had the following problems.

* dev->horkage was positioned after ATA_DEVICE_CLEAR_OFFSET, so it was
  cleared before the device is configured.  This broke
  HORKAGE_DIAGNOSTIC.

* Some used dev->horkage while others called ata_device_blacklisted()
  directly.  This was at best confusing.

This patch moves dev->horkage right after dev->flags and set the field
according to the blacklist during device configuration.  All users
test against dev->horkage.  ata_device_blacklisted() now has only one
user, make it static.  While at it, rename it to ata_dev_blacklisted()
for consistency.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-10 21:30:33 -04:00
..
acorn [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
acpi
amba
ata libata: clean up horkage handling 2007-07-10 21:30:33 -04:00
atm
auxdisplay
base
block Merge branch 'splice-2.6.23' of git://git.kernel.dk/data/git/linux-2.6-block 2007-07-10 13:51:06 -07:00
bluetooth
cdrom Remove legacy CDROM drivers 2007-07-10 08:03:34 +02:00
char Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-07-10 14:48:43 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firewire firewire: fw-sbp2: fix DMA mapping of management ORBs 2007-07-10 00:07:49 +02:00
firmware
hid Merge branches 'debug-module-param' and 'upstream' into for-linus 2007-07-09 14:23:37 +02:00
hwmon
i2c
ide [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
ieee1394 ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
infiniband
input Input: tsdev - fix broken usec-to-millisecs conversion 2007-07-10 00:43:06 -04:00
isdn
kvm
leds
macintosh
mca
md
media
message
mfd
misc eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
mmc mmc: at91_mci: fix hanging and rework to match flowcharts 2007-07-09 21:29:07 +02:00
mtd [MIPS] remove LASAT Networks platforms support 2007-07-10 17:33:04 +01:00
net Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2007-07-10 14:56:22 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
power [BATTERY] One Laptop Per Child power/battery driver 2007-07-10 11:28:22 +01:00
ps3
rapidio
rtc
s390 [S390] vmlogrdr function annotation. 2007-07-10 11:24:54 +02:00
sbus
scsi
serial
sh
sn
spi
tc [MIPS] DEC: Fix modpost warning. 2007-07-10 17:33:05 +01:00
telephony
usb
video
w1 [BATTERY] ds2760 W1 slave 2007-07-10 11:28:31 +01:00
zorro
Kconfig Merge git://git.infradead.org/~dwmw2/battery-2.6 2007-07-10 14:47:59 -07:00
Makefile [BATTERY] Universal power supply class (was: battery class) 2007-07-10 11:25:44 +01:00