Lines Matching refs:index
97 int index = -1; in macide_init() local
105 index = ide_register_hw(&hw, NULL); in macide_init()
112 index = ide_register_hw(&hw, NULL); in macide_init()
119 index = ide_register_hw(&hw, NULL); in macide_init()
120 if (index == -1) break; in macide_init()
128 ide_drive_t *drive = &ide_hwifs[index].drives[0]; in macide_init()
143 if (index != -1) { in macide_init()
145 printk(KERN_INFO "ide%d: Macintosh Quadra IDE interface\n", index); in macide_init()
147 printk(KERN_INFO "ide%d: Macintosh Powerbook IDE interface\n", index); in macide_init()
149 printk(KERN_INFO "ide%d: Macintosh Powerbook Baboon IDE interface\n", index); in macide_init()
151 printk(KERN_INFO "ide%d: Unknown Macintosh IDE interface\n", index); in macide_init()