Re: [PATCH 8/8] ide: add ->cable_detect method to ide_hwif_t

2008-01-12 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: * 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

Re: [PATCH 8/8] ide: add -cable_detect method to ide_hwif_t

2008-01-12 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: * 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

[PATCH 8/8] ide: add ->cable_detect method to ide_hwif_t

2008-01-06 Thread Bartlomiej Zolnierkiewicz
* 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

[PATCH 8/8] ide: add -cable_detect method to ide_hwif_t

2008-01-06 Thread Bartlomiej Zolnierkiewicz
* 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