ide: use ide_find_port() in legacy VLB host drivers (take 2)
* Add IDE_HFLAG_QD_2ND_PORT host flag to indicate the need of skipping first ide_hwifs[] slot for the second port of QD65xx controller. * Handle this new host flag in ide_find_port_slot(). * Convert legacy VLB host drivers to use ide_find_port(). While at it: * Fix couple of printk()-s in qd65xx host driver to not use hwif->name. v2: * Fix qd65xx. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@ -1033,6 +1033,8 @@ enum {
|
||||
IDE_HFLAG_SINGLE = (1 << 1),
|
||||
/* don't use legacy PIO blacklist */
|
||||
IDE_HFLAG_PIO_NO_BLACKLIST = (1 << 2),
|
||||
/* set for the second port of QD65xx */
|
||||
IDE_HFLAG_QD_2ND_PORT = (1 << 3),
|
||||
/* use PIO8/9 for prefetch off/on */
|
||||
IDE_HFLAG_ABUSE_PREFETCH = (1 << 4),
|
||||
/* use PIO6/7 for fast-devsel off/on */
|
||||
|
Reference in New Issue
Block a user