(Too fast again and forgot to cc the lists. If anyone replies to this mail, please cc [EMAIL PROTECTED] Thanks.) ----- Forwarded message from Rasmus Andersen <[EMAIL PROTECTED]> ----- Hi. The following patch makes drivers/scsi/u14-35f.c drop check_region in favour of checking the return code from request_region. It applies cleanly against ac10 and 241p9. Comments? --- linux-ac10-clean/drivers/scsi/u14-34f.c Tue Nov 28 02:49:00 2000 +++ linux-ac10/drivers/scsi/u14-34f.c Mon Jan 22 00:01:10 2001 @@ -729,7 +729,9 @@ sprintf(name, "%s%d", driver_name, j); - if(check_region(port_base, REGION_SIZE)) { + /* Register the I/O space that we use */ + + if(!request_region(port_base, REGION_SIZE, driver_name)) { #if defined(DEBUG_DETECT) printk("%s: address 0x%03lx in use, skipping probe.\n", name, port_base); #endif @@ -804,9 +806,6 @@ /* If BIOS is disabled, force enable interrupts */ if (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK); - - /* Register the I/O space that we use */ - request_region(sh[j]->io_port, sh[j]->n_io_port, driver_name); memset(HD(j), 0, sizeof(struct hostdata)); HD(j)->heads = mapping_table[config_2.mapping_mode].heads; -- Regards, Rasmus([EMAIL PROTECTED]) Good judgement comes from experience. Experience comes from bad judgement. -- Jim Horning ----- End forwarded message ----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/