Ondrej Zary
57e5568fda
sata_via: Implement hotplug for VT6421
Enable IRQ on hotplug and add an interrupt handler to handle it.
This allows hotplug to work:
ata5: exception Emask 0x10 SAct 0x0 SErr 0x70000 action 0xe frozen
ata5: SError: { PHYRdyChg PHYInt CommWake }
ata5: hard resetting link
ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata5.00: LPM support broken, forcing max_power
ata5.00: ATA-7: WDC WD800JD-75MSA3, 10.01E04, max UDMA/133
ata5.00: 156250000 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata5.00: LPM support broken, forcing max_power
ata5.00: configured for UDMA/133
ata5: EH complete
scsi 4:0:0:0: Direct-Access ATA WDC WD800JD-75MS 1E04 PQ: 0 ANSI: 5
sd 4:0:0:0: [sdb] 156250000 512-byte logical blocks: (80.0 GB/74.5 GiB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 4:0:0:0: Attached scsi generic sg1 type 0
sd 4:0:0:0: [sdb] Attached SCSI disk
And also hot unplug:
ata5: exception Emask 0x10 SAct 0x0 SErr 0x1b0000 action 0xe frozen
ata5: SError: { PHYRdyChg PHYInt 10B8B Dispar }
ata5: hard resetting link
ata5: SATA link down (SStatus 0 SControl 310)
ata5: hard resetting link
ata5: SATA link down (SStatus 0 SControl 310)
ata5: hard resetting link
ata5: SATA link down (SStatus 0 SControl 310)
ata5.00: disabled
ata5: EH complete
ata5.00: detaching (SCSI 4:0:0:0)
sd 4:0:0:0: [sdb] Synchronizing SCSI cache
sd 4:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
sd 4:0:0:0: [sdb] Stopping disk
sd 4:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
2016-02-25 13:22:16 -05:00
..
2016-01-22 17:02:18 -08:00
2016-02-25 13:22:16 -05:00
2015-12-29 15:32:24 -05:00
2016-01-22 18:04:28 -05:00
2016-01-17 12:32:01 -08:00
2016-01-24 12:34:13 -08:00
2016-01-06 16:37:14 +01:00
2016-01-20 18:42:30 -08:00
2016-01-06 08:25:24 -05:00
2016-01-23 12:24:56 -08:00
2016-01-20 18:16:29 -08:00
2016-01-20 17:55:20 -08:00
2016-01-04 21:46:45 -05:00
2016-01-15 13:18:47 -08:00
2016-01-20 19:06:49 -08:00
2016-01-22 11:58:43 -08:00
2016-01-13 17:30:33 +09:00
2016-01-20 10:15:21 -08:00
2016-01-01 18:31:34 +01:00
2016-01-20 17:09:18 -08:00
2016-01-20 18:03:56 -08:00
2016-01-22 17:02:18 -08:00
2016-01-20 17:30:20 -08:00
2016-01-07 16:07:54 +01:00
2016-01-13 10:23:36 -08:00
2016-01-17 12:15:38 -08:00
2016-01-14 11:25:37 -08:00
2016-01-18 14:12:33 -05:00
2016-01-21 12:32:08 -08:00
2016-01-23 18:45:06 -08:00
2016-01-22 17:20:30 -08:00
2016-01-19 09:35:06 -08:00
2016-01-24 12:50:56 -08:00
2016-01-11 23:55:43 -05:00
2016-01-17 12:32:01 -08:00
2016-01-12 12:17:28 +01:00
2016-01-12 08:21:18 -07:00
2016-01-21 18:19:38 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 18:42:30 -08:00
2016-01-20 17:09:18 -08:00
2016-01-17 12:32:01 -08:00
2016-01-21 12:32:08 -08:00
2016-01-22 12:04:21 -08:00
2016-01-24 12:50:56 -08:00
2016-01-23 18:45:06 -08:00
2015-12-29 19:06:23 +01:00
2016-01-21 19:53:10 -05:00
2016-01-15 17:56:32 -08:00
2016-01-21 19:58:02 -08:00
2016-01-14 11:13:28 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
2016-01-21 11:52:16 -08:00
2015-12-26 17:01:18 -08:00
2016-01-17 12:32:01 -08:00
2016-01-24 10:15:01 -08:00
2016-01-04 22:12:42 +01:00
2016-01-14 01:03:18 +01:00
2016-01-12 01:12:40 +01:00
2016-01-21 15:04:59 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-12 20:47:06 +02:00
2016-01-12 20:47:06 +02:00
2016-01-18 12:10:45 -08:00
2016-01-18 16:44:24 -08:00
2016-01-04 10:26:58 -05:00
2016-02-19 10:52:45 -05:00
2016-01-22 17:30:52 -08:00
2016-01-15 13:18:47 -08:00
2016-01-23 18:45:06 -08:00
2016-01-21 19:58:02 -08:00
2016-01-24 12:43:06 -08:00
2016-01-20 18:42:30 -08:00
2016-01-23 12:24:56 -08:00
2016-01-04 12:55:44 -07:00
2016-01-22 18:04:28 -05:00
2016-01-12 20:47:06 +02:00
2016-01-11 22:48:05 +01:00
2016-01-18 16:44:24 -08:00