Lines Matching refs:hosts
219 static host hosts[MAXHOSTS] = {
551 printk(KERN_WARNING "sym53c416: Too many hosts defined\n");
561 if(hosts[i].base == ints[1])
565 hosts[host_index].base = ints[1];
566 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0;
683 if (!request_region(hosts[i].base, IO_RANGE, ID))
685 if (!sym53c416_test(hosts[i].base)) {
686 printk(KERN_WARNING "No sym53c416 found at address 0x%03x\n", hosts[i].base);
691 if (!hosts[i].irq)
692 hosts[i].irq = sym53c416_probeirq(hosts[i].base, hosts[i].scsi_id);
693 if (!hosts[i].irq)
700 if (request_irq(hosts[i].irq, sym53c416_intr_handle, 0, ID, shpnt))
704 shpnt->unique_id = hosts[i].base;
705 shpnt->io_port = hosts[i].base;
707 shpnt->irq = hosts[i].irq;
708 shpnt->this_id = hosts[i].scsi_id;
709 sym53c416_init(hosts[i].base, hosts[i].scsi_id);
717 release_region(hosts[i].base, IO_RANGE);
731 if(hosts[i].base == base)
732 scsi_id = hosts[i].scsi_id;
776 if(hosts[i].base == base)
777 scsi_id = hosts[i].scsi_id;