Lines Matching refs:config_2
364 struct config_2 { in ultrastor_14f_detect() struct
369 } config_2; in ultrastor_14f_detect() local
456 *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); in ultrastor_14f_detect()
462 config.ha_scsi_id = config_2.ha_scsi_id; in ultrastor_14f_detect()
463 config.heads = mapping_table[config_2.mapping_mode].heads; in ultrastor_14f_detect()
464 config.sectors = mapping_table[config_2.mapping_mode].sectors; in ultrastor_14f_detect()
465 config.bios_drive_number = config_2.bios_drive_number; in ultrastor_14f_detect()
481 if (!config.dma_channel || !(config_2.tfr_port & 0x2)) { in ultrastor_14f_detect()
548 unsigned char config_1, config_2; in ultrastor_24f_detect() local
595 config_2 = inb(addr + 7); in ultrastor_24f_detect()
596 config.ha_scsi_id = config_2 & 7; in ultrastor_24f_detect()
597 config.heads = mapping_table[(config_2 >> 3) & 3].heads; in ultrastor_24f_detect()
598 config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; in ultrastor_24f_detect()