Searched refs:xd_drives (Results 1 – 1 of 1) sorted by relevance
149 static u8 xd_drives, xd_irq = 5, xd_dma = 3, xd_maxsectors; variable236 xd_drives = xd_initdrives(xd_sigs[controller].init_drive); in xd_geninit()239 xd_drives,xd_drives == 1 ? "" : "s",xd_irq,xd_dma); in xd_geninit()240 for (i = 0; i < xd_drives; i++) in xd_geninit()246 if (xd_drives) { in xd_geninit()261 for (i = 0; i < xd_drives; i++) { in xd_geninit()268 xd_gendisk.nr_real = xd_drives; in xd_geninit()277 if (dev < xd_drives) { in xd_open()299 …if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd_struct[MINOR(CURRENT->r… in do_xd_request()327 if (dev >= xd_drives) return -EINVAL; in xd_ioctl()[all …]