Lines Matching refs:config_2
363 struct config_2 {
368 } config_2;
455 *(char *)&config_2 = inb(CONFIG(config.port_address + 1));
461 config.ha_scsi_id = config_2.ha_scsi_id;
462 config.heads = mapping_table[config_2.mapping_mode].heads;
463 config.sectors = mapping_table[config_2.mapping_mode].sectors;
464 config.bios_drive_number = config_2.bios_drive_number;
480 if (!config.dma_channel || !(config_2.tfr_port & 0x2)) {
543 unsigned char config_1, config_2;
590 config_2 = inb(addr + 7);
591 config.ha_scsi_id = config_2 & 7;
592 config.heads = mapping_table[(config_2 >> 3) & 3].heads;
593 config.sectors = mapping_table[(config_2 >> 3) & 3].sectors;