Bartlomiej Zolnierkiewicz
bfa14b42a3
ide: add ->cable_detect method to ide_hwif_t
...
* Add ->cable_detect method to ide_hwif_t.
* Call the new method in ide_init_port() if:
- the host supports UDMA modes > UDMA2 ('hwif->ultra_mask & 78')
- DMA initialization was successful (if hwif->dma_base is not set
ide_init_port() sets hwif->ultra_mask to zero)
- "idex=ata66" is not used ('hwif->cbl != ATA_CBL_PATA40_SHORT')
* Convert PCI host drivers to use ->cable_detect method.
While at it:
* Factor out cable detection to separate functions (if not already done).
* hpt366.c/it8213.c/slc90e66.c:
- don't check cable type if "idex=ata66" is used
* pdc202xx_new.c:
- add __devinit tag to pdcnew_cable_detect()
* pdc202xx_old.c:
- rename pdc202xx_old_cable_detect() to pdc2026x_old_cable_detect()
- add __devinit tag to pdc2026x_old_cable_detect()
Reviewed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com >
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com >
2008-02-02 19:56:31 +01:00
..
2008-02-01 16:42:02 -05:00
2008-01-31 19:28:09 -08:00
2008-01-31 19:27:40 -08:00
2008-01-31 19:27:36 -08:00
2008-01-31 19:27:39 -08:00
2008-02-01 16:42:06 -05:00
2008-01-28 15:09:52 -08:00
2008-02-01 16:42:15 -05:00
2008-02-01 14:35:07 -08:00
2008-01-30 13:30:18 +01:00
2008-02-01 15:04:30 -08:00
2008-01-28 15:00:14 -08:00
2008-01-28 15:00:12 -08:00
2008-02-01 14:23:55 -05:00
2008-02-01 11:34:49 +01:00
2008-01-29 21:55:15 +01:00
2008-01-28 23:58:26 -05:00
2008-02-01 23:09:24 +01:00
2008-01-30 13:30:02 +01:00
2008-01-30 13:31:48 +01:00
2008-01-28 15:00:40 -08:00
2008-01-30 13:32:42 +01:00
2008-01-30 13:31:10 +01:00
2008-01-28 14:57:51 -08:00
2008-01-30 13:31:56 +01:00
2008-01-28 23:58:27 -05:00
2008-01-29 00:19:52 -05:00
2008-01-29 00:19:52 -05:00
2008-01-29 00:19:52 -05:00
2005-04-16 15:20:36 -07:00
2008-01-28 23:58:27 -05:00
2008-02-01 17:45:14 +01:00
2008-02-01 23:09:34 +01:00
2008-01-30 13:30:27 +01:00
2008-02-02 19:56:31 +01:00
2008-01-28 15:10:45 -08:00
2008-01-28 15:08:27 -08:00
2008-01-28 15:07:58 -08:00
2008-01-28 14:56:28 -08:00
2008-01-28 15:07:57 -08:00
2008-01-28 14:55:09 -08:00
2008-01-28 15:08:32 -08:00
2008-01-28 14:55:09 -08:00
2008-01-28 15:08:44 -08:00
2008-01-31 19:28:31 -08:00
2008-01-30 13:34:11 +01:00
2008-02-01 14:06:51 -05:00
2008-01-31 19:26:46 -08:00
2008-01-30 13:30:32 +01:00
2008-01-31 19:28:20 -08:00
2008-01-28 23:58:27 -05:00
2008-02-01 18:30:53 -05:00
2008-01-30 13:33:06 +01:00
2008-01-30 13:32:53 +01:00
2008-01-30 18:01:22 +02:00
2008-01-30 18:01:22 +02:00
2008-01-30 18:01:18 +02:00
2008-01-30 18:01:22 +02:00
2008-01-30 13:33:13 +01:00
2007-02-11 10:51:17 -08:00
2008-01-30 13:33:58 +01:00
2008-01-29 22:46:14 +11:00
2008-01-28 14:56:29 -08:00
2008-01-31 19:28:24 -08:00
2008-01-28 15:02:22 -08:00
2008-01-31 19:28:23 -08:00
2008-01-30 02:06:07 -05:00
2008-02-01 11:45:47 +11:00
2008-01-30 02:05:24 -05:00
2008-01-30 02:06:08 -05:00
2008-02-01 16:42:05 -05:00
2008-01-28 14:59:52 -08:00
2008-02-01 18:30:53 -05:00
2005-05-05 16:36:31 -07:00
2008-01-30 13:33:36 +01:00
2008-02-01 15:04:30 -08:00
2008-02-01 15:04:29 -08:00
2008-02-01 15:04:31 -08:00
2008-01-28 15:00:35 -08:00
2008-02-02 02:44:34 +03:00
2008-01-30 23:27:58 +01:00
2008-01-31 19:27:03 -08:00
2008-01-31 19:28:36 -08:00
2008-01-31 19:28:35 -08:00
2008-02-02 02:43:00 +03:00
2008-01-28 15:01:36 -08:00
2008-01-30 13:30:53 +01:00
2008-01-30 13:31:47 +01:00
2008-01-31 19:26:46 -08:00
2008-02-01 14:06:51 -05:00
2008-01-30 08:17:26 +11:00
2008-01-28 14:54:28 -08:00
2008-01-31 19:27:29 -08:00
2008-01-30 13:33:17 +01:00
2008-01-31 19:28:30 -08:00
2008-01-28 14:56:57 -08:00
2008-01-30 13:31:20 +01:00
2008-01-30 13:31:20 +01:00
2008-01-30 13:31:20 +01:00
2008-02-01 18:30:53 -05:00
2008-02-01 18:30:58 -05:00
2008-01-31 22:05:48 +01:00
2008-01-31 19:28:27 -08:00
2008-02-01 17:45:14 +01:00
2008-02-01 17:45:14 +01:00
2008-02-01 17:45:13 +01:00
2008-01-30 13:30:00 +01:00
2008-01-31 19:27:30 -08:00
2008-02-01 14:34:49 -08:00
2008-02-01 14:35:07 -08:00
2008-02-01 14:34:58 -08:00
2008-01-28 14:58:25 -08:00
2008-01-31 19:27:03 -08:00