Lines Matching +full:auto +full:- +full:detect
1 // SPDX-License-Identifier: GPL-2.0-only
11 * Adapted from code developed by derekn@vw.ece.cmu.edu. -ml
26 * 95-sep-26
28 * Update 96-jul-13:
30 * I've since upgraded to two disks and a CD-ROM, with no trouble, and
36 * mode 4 for a while now with no trouble.) -Derek
54 /* port addresses for auto-detection */
86 /*------------------------------------------------------------------------*/
120 const u8 pio = drive->pio_mode - XFER_PIO_0; in ali14xx_set_pio_mode()
125 time2 = t->active; in ali14xx_set_pio_mode()
127 param4 = param2 = (time1 * bus_speed + 999) / 1000 - param1; in ali14xx_set_pio_mode()
133 drive->name, pio, time1, time2, param1, param2, param3, param4); in ali14xx_set_pio_mode()
136 driveNum = (drive->hwif->index << 1) + (drive->dn & 1); in ali14xx_set_pio_mode()
148 * Auto-detect the IDE controller port.
190 for (p = initData; p->reg != 0; ++p) in initRegisters()
191 outReg(p->data, p->reg); in initRegisters()
235 /* auto-detect IDE controller port */ in ali14xx_init()
238 return -ENODEV; in ali14xx_init()
243 return -ENODEV; in ali14xx_init()