Files
ubports_kernel_google_msm/include/linux
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 15:04:30 -08:00
2005-04-16 15:20:36 -07:00
2008-02-01 11:34:49 +01:00
2005-04-16 15:20:36 -07:00
2008-01-31 19:26:46 -08:00
2008-01-31 19:28:20 -08:00
2008-02-01 15:04:30 -08:00
2008-02-01 15:04:31 -08:00
2008-02-02 02:44:34 +03:00
2008-01-31 19:28:36 -08:00
2008-01-31 19:26:46 -08:00
2008-01-31 19:28:30 -08:00
2008-01-31 22:05:48 +01:00
2008-02-01 17:45:14 +01:00