[PATCH] sata_sil: convert to new probing mechanism and add hotplug support
commite573890b00426189e1e223967a2c46fb758bf06e
authorTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:28:16 +0000 (31 18:28 +0900)
committerTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:28:16 +0000 (31 18:28 +0900)
tree0ab6f7f0c5561a9886cacafbb68ae0fce7e4bee0
parentccc4672aff1861a9c80ed9e8ec11dc304b31d307
[PATCH] sata_sil: convert to new probing mechanism and add hotplug support

Convert to new probing mechanism and add hotplug support by enabling
SATA IRQ for SError.N, marking ehi for hotplug and scheduling EH on
SATA IRQs.

Sil3112/3512/3114 family of controllers use COMRESET as TF clearing
point and can reliably wait for D2H FIS after COMRESET whether the FIS
is the first D2H FIS after POR or in response to the COMRESET.  Thus,
setting ATA_FLAG_HRST_TO_RESUME is enough for device detection after
hotplug.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/sata_sil.c