]> err.no Git - linux-2.6/commit
libata: ignore SIMG4726 config pseudo device
authorTejun Heo <htejun@gmail.com>
Sun, 18 May 2008 16:15:14 +0000 (01:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:51:48 +0000 (17:51 -0400)
commit50af2fa1e18d0ab411d06bf727ecadb7e01721e9
tree16f2b3b74c51a02ee182f29e9de5752088aaadbe
parent906c1ff44a81aaad96a9feb40ea13d73bbf3662a
libata: ignore SIMG4726 config pseudo device

I was hoping ATA_HORKAGE_NODMA | ATA_HORKAGE_SKIP_PM could keep it
happy but no even this doesn't work under certain configurations and
it's not like we can do anything useful with the cofig device anyway.
Replace ATA_HORKAGE_SKIP_PM with ATA_HORKAGE_DISABLE and use it for
the config device.  This makes the device completely ignored by
libata.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
include/linux/libata.h