Lines Matching refs:hosts
218 static host hosts[MAXHOSTS] = {
550 printk(KERN_WARNING "sym53c416: Too many hosts defined\n");
560 if(hosts[i].base == ints[1])
564 hosts[host_index].base = ints[1];
565 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0;
682 if (!request_region(hosts[i].base, IO_RANGE, ID))
684 if (!sym53c416_test(hosts[i].base)) {
685 printk(KERN_WARNING "No sym53c416 found at address 0x%03x\n", hosts[i].base);
690 if (!hosts[i].irq)
691 hosts[i].irq = sym53c416_probeirq(hosts[i].base, hosts[i].scsi_id);
692 if (!hosts[i].irq)
699 if (request_irq(hosts[i].irq, sym53c416_intr_handle, 0, ID, shpnt))
703 shpnt->unique_id = hosts[i].base;
704 shpnt->io_port = hosts[i].base;
706 shpnt->irq = hosts[i].irq;
707 shpnt->this_id = hosts[i].scsi_id;
708 sym53c416_init(hosts[i].base, hosts[i].scsi_id);
716 release_region(hosts[i].base, IO_RANGE);
730 if(hosts[i].base == base)
731 scsi_id = hosts[i].scsi_id;
778 if(hosts[i].base == base)
779 scsi_id = hosts[i].scsi_id;