Home
last modified time | relevance | path

Searched refs:current_override (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dpas16.c348 static int current_override = 0; in pas16_detect() local
373 for (count = 0; current_override < NO_OVERRIDES; ++current_override) { in pas16_detect()
376 if (overrides[current_override].io_port) { in pas16_detect()
377 io_port = overrides[current_override].io_port; in pas16_detect()
378 enable_board(current_override, io_port); in pas16_detect()
379 init_board(io_port, overrides[current_override].irq, 1); in pas16_detect()
402 if (overrides[current_override].irq != IRQ_AUTO) in pas16_detect()
403 instance->irq = overrides[current_override].irq; in pas16_detect()
431 ++current_override; in pas16_detect()
Dt128.c197 static int current_override = 0, current_base = 0; in t128_detect() local
205 for (count = 0; current_override < NO_OVERRIDES; ++current_override) in t128_detect()
209 if (overrides[current_override].address) in t128_detect()
210 base = overrides[current_override].address; in t128_detect()
235 if (overrides[current_override].irq != IRQ_AUTO) in t128_detect()
236 instance->irq = overrides[current_override].irq; in t128_detect()
261 ++current_override; in t128_detect()
Dg_NCR5380.c290 static int current_override = 0; in generic_NCR5380_detect() local
317 if (!current_override && isapnp_present()) { in generic_NCR5380_detect()
349 for (count = 0; current_override < NO_OVERRIDES; ++current_override) { in generic_NCR5380_detect()
350 if (!(overrides[current_override].NCR5380_map_name)) in generic_NCR5380_detect()
354 switch (overrides[current_override].board) { in generic_NCR5380_detect()
383 if (overrides[current_override].NCR5380_map_name != PORT_AUTO) in generic_NCR5380_detect()
385 if (overrides[current_override].NCR5380_map_name == ports[i]) in generic_NCR5380_detect()
403 overrides[current_override].NCR5380_map_name = ports[i]; in generic_NCR5380_detect()
408 request_region(overrides[current_override].NCR5380_map_name, NCR5380_region_size, "ncr5380"); in generic_NCR5380_detect()
410 if (check_mem_region(overrides[current_override].NCR5380_map_name, NCR5380_region_size)) in generic_NCR5380_detect()
[all …]
Ddtc.c217 static int current_override = 0, current_base = 0; in dtc_detect() local
225 for (count = 0; current_override < NO_OVERRIDES; ++current_override) in dtc_detect()
229 if (overrides[current_override].address) in dtc_detect()
230 base = overrides[current_override].address; in dtc_detect()
256 if (overrides[current_override].irq != IRQ_AUTO) in dtc_detect()
257 instance->irq = overrides[current_override].irq; in dtc_detect()
289 ++current_override; in dtc_detect()
D53c7,8xx.c1533 int current_override; in NCR53c7xx_detect() local
1540 for (current_override = count = 0; current_override < OVERRIDE_LIMIT; in NCR53c7xx_detect()
1541 ++current_override) { in NCR53c7xx_detect()
1542 if (overrides[current_override].pci ? in NCR53c7xx_detect()
1543 !ncr_pci_init (tpnt, overrides[current_override].board, in NCR53c7xx_detect()
1544 overrides[current_override].chip, in NCR53c7xx_detect()
1545 (unsigned char) overrides[current_override].data.pci.bus, in NCR53c7xx_detect()
1546 (((overrides[current_override].data.pci.device in NCR53c7xx_detect()
1547 << 3) & 0xf8)|(overrides[current_override].data.pci.function & in NCR53c7xx_detect()
1548 7)), overrides[current_override].options): in NCR53c7xx_detect()
[all …]