tag | line | file | source code |
sh | 767 | drivers/scsi/atari_scsi.c | int atari_scsi_release (struct Scsi_Host *sh) |
sh | 321 | drivers/scsi/eata.c | static struct Scsi_Host * sh[MAX_BOARDS + 1]; |
sh | 325 | drivers/scsi/eata.c | #define HD(board) ((struct hostdata *) &sh[board]->hostdata) |
sh | 482 | drivers/scsi/eata.c | sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); |
sh | 484 | drivers/scsi/eata.c | if (sh[j] == NULL) { |
sh | 494 | drivers/scsi/eata.c | sh[j]->io_port = *port_base; |
sh | 495 | drivers/scsi/eata.c | sh[j]->n_io_port = REGION_SIZE; |
sh | 496 | drivers/scsi/eata.c | sh[j]->dma_channel = dma_channel; |
sh | 497 | drivers/scsi/eata.c | sh[j]->irq = irq; |
sh | 498 | drivers/scsi/eata.c | sh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size); |
sh | 499 | drivers/scsi/eata.c | sh[j]->this_id = (ushort) info.host_addr[3]; |
sh | 500 | drivers/scsi/eata.c | sh[j]->can_queue = (ushort) ntohs(info.queue_size); |
sh | 501 | drivers/scsi/eata.c | sh[j]->cmd_per_lun = MAX_CMD_PER_LUN; |
sh | 504 | drivers/scsi/eata.c | request_region(sh[j]->io_port, REGION_SIZE, driver_name); |
sh | 513 | drivers/scsi/eata.c | sh[j]->unchecked_isa_dma = FALSE; |
sh | 515 | drivers/scsi/eata.c | sh[j]->wish_block = TRUE; |
sh | 516 | drivers/scsi/eata.c | sh[j]->unchecked_isa_dma = TRUE; |
sh | 527 | drivers/scsi/eata.c | sh[j]->this_id, sh[j]->io_port, sh[j]->irq, sh[j]->dma_channel, |
sh | 528 | drivers/scsi/eata.c | sh[j]->sg_tablesize, sh[j]->can_queue, sh[j]->cmd_per_lun); |
sh | 531 | drivers/scsi/eata.c | if (sh[j]->sg_tablesize > MAX_SGLIST || sh[j]->sg_tablesize < 2) { |
sh | 533 | drivers/scsi/eata.c | sh[j]->sg_tablesize = MAX_SGLIST; |
sh | 537 | drivers/scsi/eata.c | if (sh[j]->can_queue > MAX_MAILBOXES || sh[j]->can_queue < 2) { |
sh | 539 | drivers/scsi/eata.c | sh[j]->can_queue = MAX_MAILBOXES; |
sh | 577 | drivers/scsi/eata.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
sh | 630 | drivers/scsi/eata.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
sh | 632 | drivers/scsi/eata.c | if (i >= sh[j]->can_queue) i = 0; |
sh | 640 | drivers/scsi/eata.c | if (k == sh[j]->can_queue) { |
sh | 705 | drivers/scsi/eata.c | if (do_dma(sh[j]->io_port, (unsigned int) cpp, SEND_CP_DMA)) { |
sh | 738 | drivers/scsi/eata.c | if (i >= sh[j]->can_queue) |
sh | 741 | drivers/scsi/eata.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 799 | drivers/scsi/eata.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 809 | drivers/scsi/eata.c | for (i = 0; i < sh[j]->can_queue; i++) { |
sh | 839 | drivers/scsi/eata.c | if (do_dma(sh[j]->io_port, 0, RESET_PIO)) { |
sh | 858 | drivers/scsi/eata.c | for (i = 0; i < sh[j]->can_queue; i++) { |
sh | 910 | drivers/scsi/eata.c | for (j = 0; sh[j] != NULL; j++) { |
sh | 912 | drivers/scsi/eata.c | if (sh[j]->irq != irq) continue; |
sh | 917 | drivers/scsi/eata.c | while (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) { |
sh | 925 | drivers/scsi/eata.c | inb(sh[j]->io_port + REG_STATUS); |
sh | 928 | drivers/scsi/eata.c | for (i = 0; i < sh[j]->can_queue; i++) { |
sh | 1090 | drivers/scsi/eata.c | for (j = 0; sh[j] != NULL; j++) |
sh | 1092 | drivers/scsi/eata.c | calls[(sh[j]->irq)], HD(j)->iocount, HD(j)->multicount); |
sh | 138 | drivers/scsi/eata_dma.c | int eata_release(struct Scsi_Host *sh) |
sh | 141 | drivers/scsi/eata_dma.c | if (sh->irq && reg_IRQ[sh->irq] == 1) free_irq(sh->irq, NULL); |
sh | 142 | drivers/scsi/eata_dma.c | else reg_IRQ[sh->irq]--; |
sh | 146 | drivers/scsi/eata_dma.c | for (i = 0; i < sh->can_queue; i++){ /* Free all SG arrays */ |
sh | 147 | drivers/scsi/eata_dma.c | if(SD(sh)->ccb[i].sg_list != NULL) |
sh | 148 | drivers/scsi/eata_dma.c | scsi_init_free((void *) SD(sh)->ccb[i].sg_list, |
sh | 149 | drivers/scsi/eata_dma.c | sh->sg_tablesize * sizeof(struct eata_sg_list)); |
sh | 152 | drivers/scsi/eata_dma.c | if (SD(sh)->channel == 0) { |
sh | 153 | drivers/scsi/eata_dma.c | if (sh->dma_channel != BUSMASTER) free_dma(sh->dma_channel); |
sh | 154 | drivers/scsi/eata_dma.c | if (sh->io_port && sh->n_io_port) |
sh | 155 | drivers/scsi/eata_dma.c | release_region(sh->io_port, sh->n_io_port); |
sh | 249 | drivers/scsi/eata_dma.c | struct Scsi_Host *sh; |
sh | 254 | drivers/scsi/eata_dma.c | for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->next) { |
sh | 255 | drivers/scsi/eata_dma.c | if (sh->irq != irq) |
sh | 258 | drivers/scsi/eata_dma.c | while(inb((uint)sh->base + HA_RAUXSTAT) & HA_AIRQ) { |
sh | 262 | drivers/scsi/eata_dma.c | sp = &SD(sh)->sp; |
sh | 266 | drivers/scsi/eata_dma.c | eata_stat = inb((uint)sh->base + HA_RSTATUS); |
sh | 449 | drivers/scsi/eata_dma.c | struct Scsi_Host *sh; |
sh | 459 | drivers/scsi/eata_dma.c | sh = cmd->host; |
sh | 471 | drivers/scsi/eata_dma.c | for (y = hd->last_ccb + 1, x = 0; x < sh->can_queue; x++, y++) { |
sh | 472 | drivers/scsi/eata_dma.c | if (y >= sh->can_queue) |
sh | 480 | drivers/scsi/eata_dma.c | if (x >= sh->can_queue) { |
sh | 526 | drivers/scsi/eata_dma.c | if (cmd->target == sh->this_id) |
sh | 532 | drivers/scsi/eata_dma.c | ccb->sg_list = kmalloc(sh->sg_tablesize * sizeof(struct eata_sg_list), |
sh | 569 | drivers/scsi/eata_dma.c | if(eata_send_command((u32) ccb, (u32) sh->base, EATA_CMD_DMA_SEND_CP) == FALSE) { |
sh | 580 | drivers/scsi/eata_dma.c | "slot %d irq %d\n", (s32)sh->base, cmd->pid, |
sh | 581 | drivers/scsi/eata_dma.c | cmd->target, cmd->lun, y, sh->irq)); |
sh | 991 | drivers/scsi/eata_dma.c | struct Scsi_Host *sh; |
sh | 1107 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
sh | 1109 | drivers/scsi/eata_dma.c | if(sh != NULL) { |
sh | 1111 | drivers/scsi/eata_dma.c | hd = SD(sh); |
sh | 1115 | drivers/scsi/eata_dma.c | sh->select_queue_depths = eata_select_queue_depths; |
sh | 1125 | drivers/scsi/eata_dma.c | sh->sg_tablesize = SG_SIZE_BIG; |
sh | 1127 | drivers/scsi/eata_dma.c | sh->sg_tablesize = ntohs(gc->SGsiz); |
sh | 1128 | drivers/scsi/eata_dma.c | if (sh->sg_tablesize > SG_SIZE || sh->sg_tablesize == 0) { |
sh | 1129 | drivers/scsi/eata_dma.c | if (sh->sg_tablesize == 0) |
sh | 1133 | drivers/scsi/eata_dma.c | sh->sg_tablesize = SG_SIZE; |
sh | 1136 | drivers/scsi/eata_dma.c | hd->sgsize = sh->sg_tablesize; |
sh | 1139 | drivers/scsi/eata_dma.c | if(sh != NULL) { |
sh | 1140 | drivers/scsi/eata_dma.c | sh->can_queue = hd->queuesize = ntohs(gc->queuesiz); |
sh | 1141 | drivers/scsi/eata_dma.c | sh->cmd_per_lun = 0; |
sh | 1144 | drivers/scsi/eata_dma.c | if(sh == NULL) { |
sh | 1147 | drivers/scsi/eata_dma.c | scsi_unregister(sh); |
sh | 1205 | drivers/scsi/eata_dma.c | sh->max_id = gc->MAX_ID + 1; |
sh | 1206 | drivers/scsi/eata_dma.c | sh->max_lun = gc->MAX_LUN + 1; |
sh | 1208 | drivers/scsi/eata_dma.c | sh->max_id = 8; |
sh | 1209 | drivers/scsi/eata_dma.c | sh->max_lun = 8; |
sh | 1212 | drivers/scsi/eata_dma.c | hd->HBA_number = sh->host_no; |
sh | 1214 | drivers/scsi/eata_dma.c | sh->max_channel = gc->MAX_CHAN; |
sh | 1215 | drivers/scsi/eata_dma.c | sh->unique_id = base; |
sh | 1216 | drivers/scsi/eata_dma.c | sh->base = (char *) base; |
sh | 1217 | drivers/scsi/eata_dma.c | sh->io_port = base; |
sh | 1218 | drivers/scsi/eata_dma.c | sh->n_io_port = 9; |
sh | 1219 | drivers/scsi/eata_dma.c | sh->irq = gc->IRQ; |
sh | 1220 | drivers/scsi/eata_dma.c | sh->dma_channel = dma_channel; |
sh | 1225 | drivers/scsi/eata_dma.c | sh->this_id = gc->scsi_id[3]; |
sh | 1232 | drivers/scsi/eata_dma.c | sh->wish_block = FALSE; |
sh | 1235 | drivers/scsi/eata_dma.c | sh->unchecked_isa_dma = FALSE; |
sh | 1237 | drivers/scsi/eata_dma.c | sh->unchecked_isa_dma = TRUE; /* We're doing ISA DMA */ |
sh | 1249 | drivers/scsi/eata_dma.c | SD(hd->prev)->next = sh; |
sh | 1250 | drivers/scsi/eata_dma.c | last_HBA = sh; |
sh | 1252 | drivers/scsi/eata_dma.c | first_HBA = sh; |
sh | 100 | drivers/scsi/eata_pio.c | int eata_pio_release(struct Scsi_Host *sh) |
sh | 102 | drivers/scsi/eata_pio.c | if (sh->irq && reg_IRQ[sh->irq] == 1) free_irq(sh->irq, NULL); |
sh | 103 | drivers/scsi/eata_pio.c | else reg_IRQ[sh->irq]--; |
sh | 104 | drivers/scsi/eata_pio.c | if (SD(sh)->channel == 0) { |
sh | 105 | drivers/scsi/eata_pio.c | if (sh->io_port && sh->n_io_port) |
sh | 106 | drivers/scsi/eata_pio.c | release_region(sh->io_port, sh->n_io_port); |
sh | 136 | drivers/scsi/eata_pio.c | struct Scsi_Host *sh; |
sh | 143 | drivers/scsi/eata_pio.c | for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->prev) { |
sh | 144 | drivers/scsi/eata_pio.c | if (sh->irq != irq) |
sh | 146 | drivers/scsi/eata_pio.c | if (inb((uint)sh->base + HA_RSTATUS) & HA_SBUSY) |
sh | 151 | drivers/scsi/eata_pio.c | hd=SD(sh); |
sh | 288 | drivers/scsi/eata_pio.c | struct Scsi_Host *sh; |
sh | 297 | drivers/scsi/eata_pio.c | sh = cmd->host; |
sh | 298 | drivers/scsi/eata_pio.c | base = (uint) sh->base; |
sh | 307 | drivers/scsi/eata_pio.c | sh->can_queue,x,y)); |
sh | 397 | drivers/scsi/eata_pio.c | "lun: %x slot %d irq %d\n", (long)sh->base, cmd->pid, |
sh | 398 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, y, sh->irq)); |
sh | 688 | drivers/scsi/eata_pio.c | struct Scsi_Host *sh; |
sh | 737 | drivers/scsi/eata_pio.c | sh = scsi_register(tpnt, size); |
sh | 738 | drivers/scsi/eata_pio.c | hd = SD(sh); |
sh | 743 | drivers/scsi/eata_pio.c | strncpy(SD(sh)->vendor, &buff[8], 8); |
sh | 744 | drivers/scsi/eata_pio.c | SD(sh)->vendor[8] = 0; |
sh | 745 | drivers/scsi/eata_pio.c | strncpy(SD(sh)->name, &buff[16], 17); |
sh | 746 | drivers/scsi/eata_pio.c | SD(sh)->name[17] = 0; |
sh | 747 | drivers/scsi/eata_pio.c | SD(sh)->revision[0] = buff[32]; |
sh | 748 | drivers/scsi/eata_pio.c | SD(sh)->revision[1] = buff[33]; |
sh | 749 | drivers/scsi/eata_pio.c | SD(sh)->revision[2] = buff[34]; |
sh | 750 | drivers/scsi/eata_pio.c | SD(sh)->revision[3] = '.'; |
sh | 751 | drivers/scsi/eata_pio.c | SD(sh)->revision[4] = buff[35]; |
sh | 752 | drivers/scsi/eata_pio.c | SD(sh)->revision[5] = 0; |
sh | 756 | drivers/scsi/eata_pio.c | SD(sh)->EATA_revision = 'a'; |
sh | 759 | drivers/scsi/eata_pio.c | SD(sh)->EATA_revision = 'b'; |
sh | 762 | drivers/scsi/eata_pio.c | SD(sh)->EATA_revision = 'c'; |
sh | 765 | drivers/scsi/eata_pio.c | SD(sh)->EATA_revision = 'z'; |
sh | 767 | drivers/scsi/eata_pio.c | SD(sh)->EATA_revision = '?'; |
sh | 786 | drivers/scsi/eata_pio.c | SD(sh)->cplen=cplen; |
sh | 787 | drivers/scsi/eata_pio.c | SD(sh)->cppadlen=cppadlen; |
sh | 788 | drivers/scsi/eata_pio.c | SD(sh)->hostid=gc->scsi_id[3]; |
sh | 789 | drivers/scsi/eata_pio.c | SD(sh)->devflags=1<<gc->scsi_id[3]; |
sh | 790 | drivers/scsi/eata_pio.c | SD(sh)->moresupport=gc->MORE_support; |
sh | 791 | drivers/scsi/eata_pio.c | sh->unique_id = base; |
sh | 792 | drivers/scsi/eata_pio.c | sh->base = (char *) base; |
sh | 793 | drivers/scsi/eata_pio.c | sh->io_port = base; |
sh | 794 | drivers/scsi/eata_pio.c | sh->n_io_port = 8; |
sh | 795 | drivers/scsi/eata_pio.c | sh->irq = gc->IRQ; |
sh | 796 | drivers/scsi/eata_pio.c | sh->dma_channel = PIO; |
sh | 797 | drivers/scsi/eata_pio.c | sh->this_id = gc->scsi_id[3]; |
sh | 798 | drivers/scsi/eata_pio.c | sh->can_queue = 1; |
sh | 799 | drivers/scsi/eata_pio.c | sh->cmd_per_lun = 1; |
sh | 800 | drivers/scsi/eata_pio.c | sh->sg_tablesize = SG_ALL; |
sh | 804 | drivers/scsi/eata_pio.c | sh->max_id = 8; |
sh | 805 | drivers/scsi/eata_pio.c | sh->max_lun = 8; |
sh | 812 | drivers/scsi/eata_pio.c | sh->unchecked_isa_dma = FALSE; /* We can only do PIO */ |
sh | 817 | drivers/scsi/eata_pio.c | SD(hd->prev)->next = sh; |
sh | 818 | drivers/scsi/eata_pio.c | last_HBA = sh; |
sh | 820 | drivers/scsi/eata_pio.c | first_HBA = sh; |
sh | 312 | drivers/scsi/hosts.c | scsi_unregister(struct Scsi_Host * sh){ |
sh | 315 | drivers/scsi/hosts.c | if(scsi_hostlist == sh) |
sh | 316 | drivers/scsi/hosts.c | scsi_hostlist = sh->next; |
sh | 319 | drivers/scsi/hosts.c | while(shpnt->next != sh) shpnt = shpnt->next; |
sh | 330 | drivers/scsi/hosts.c | scsi_init_free((char *) sh, sizeof(struct Scsi_Host) + sh->extra_bytes); |
sh | 319 | drivers/scsi/scsi.c | struct Scsi_Host * sh[128], * shpnt; |
sh | 354 | drivers/scsi/scsi.c | if (shpnt->wish_block) sh[block_count++] = shpnt; |
sh | 357 | drivers/scsi/scsi.c | if (block_count == 1) sh[0]->block = NULL; |
sh | 362 | drivers/scsi/scsi.c | sh[index]->block = sh[index + 1]; |
sh | 364 | drivers/scsi/scsi.c | sh[index]->host_no); |
sh | 367 | drivers/scsi/scsi.c | sh[block_count - 1]->block = sh[0]; |
sh | 369 | drivers/scsi/scsi.c | sh[index]->host_no); |
sh | 291 | drivers/scsi/u14-34f.c | static struct Scsi_Host * sh[MAX_BOARDS + 1]; |
sh | 295 | drivers/scsi/u14-34f.c | #define HD(board) ((struct hostdata *) &sh[board]->hostdata) |
sh | 323 | drivers/scsi/u14-34f.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 331 | drivers/scsi/u14-34f.c | outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); |
sh | 334 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |
sh | 337 | drivers/scsi/u14-34f.c | outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); |
sh | 430 | drivers/scsi/u14-34f.c | sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); |
sh | 432 | drivers/scsi/u14-34f.c | if (sh[j] == NULL) { |
sh | 442 | drivers/scsi/u14-34f.c | sh[j]->io_port = *port_base; |
sh | 443 | drivers/scsi/u14-34f.c | sh[j]->n_io_port = REGION_SIZE; |
sh | 444 | drivers/scsi/u14-34f.c | sh[j]->base = bios_segment_table[config_1.bios_segment]; |
sh | 445 | drivers/scsi/u14-34f.c | sh[j]->irq = irq; |
sh | 446 | drivers/scsi/u14-34f.c | sh[j]->sg_tablesize = MAX_SGLIST; |
sh | 447 | drivers/scsi/u14-34f.c | sh[j]->this_id = config_2.ha_scsi_id; |
sh | 448 | drivers/scsi/u14-34f.c | sh[j]->can_queue = MAX_MAILBOXES; |
sh | 449 | drivers/scsi/u14-34f.c | sh[j]->cmd_per_lun = MAX_CMD_PER_LUN; |
sh | 455 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
sh | 456 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
sh | 462 | drivers/scsi/u14-34f.c | if (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK); |
sh | 465 | drivers/scsi/u14-34f.c | request_region(sh[j]->io_port, REGION_SIZE, driver_name); |
sh | 477 | drivers/scsi/u14-34f.c | sh[j]->sg_tablesize = MAX_SAFE_SGLIST; |
sh | 480 | drivers/scsi/u14-34f.c | sh[j]->dma_channel = NO_DMA; |
sh | 481 | drivers/scsi/u14-34f.c | sh[j]->unchecked_isa_dma = FALSE; |
sh | 485 | drivers/scsi/u14-34f.c | sh[j]->wish_block = TRUE; |
sh | 488 | drivers/scsi/u14-34f.c | sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; |
sh | 489 | drivers/scsi/u14-34f.c | sh[j]->sg_tablesize = MAX_SAFE_SGLIST; |
sh | 492 | drivers/scsi/u14-34f.c | sh[j]->dma_channel = dma_channel; |
sh | 493 | drivers/scsi/u14-34f.c | sh[j]->unchecked_isa_dma = TRUE; |
sh | 508 | drivers/scsi/u14-34f.c | sh[j]->hostt->use_clustering = DISABLE_CLUSTERING; |
sh | 509 | drivers/scsi/u14-34f.c | sh[j]->sg_tablesize = MAX_SAFE_SGLIST; |
sh | 514 | drivers/scsi/u14-34f.c | "Mbox %d, CmdLun %d, C%d.\n", BN(j), sh[j]->io_port, |
sh | 515 | drivers/scsi/u14-34f.c | (int)sh[j]->base, sh[j]->irq, |
sh | 516 | drivers/scsi/u14-34f.c | sh[j]->dma_channel, sh[j]->sg_tablesize, |
sh | 517 | drivers/scsi/u14-34f.c | sh[j]->can_queue, sh[j]->cmd_per_lun, |
sh | 518 | drivers/scsi/u14-34f.c | sh[j]->hostt->use_clustering); |
sh | 541 | drivers/scsi/u14-34f.c | for (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL; |
sh | 595 | drivers/scsi/u14-34f.c | for (k = 0; k < sh[j]->can_queue; k++, i++) { |
sh | 597 | drivers/scsi/u14-34f.c | if (i >= sh[j]->can_queue) i = 0; |
sh | 605 | drivers/scsi/u14-34f.c | if (k == sh[j]->can_queue) { |
sh | 660 | drivers/scsi/u14-34f.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 671 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |
sh | 674 | drivers/scsi/u14-34f.c | outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); |
sh | 699 | drivers/scsi/u14-34f.c | if (i >= sh[j]->can_queue) |
sh | 702 | drivers/scsi/u14-34f.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 760 | drivers/scsi/u14-34f.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 770 | drivers/scsi/u14-34f.c | for (i = 0; i < sh[j]->can_queue; i++) { |
sh | 800 | drivers/scsi/u14-34f.c | if (wait_on_busy(sh[j]->io_port)) { |
sh | 806 | drivers/scsi/u14-34f.c | outb(CMD_RESET, sh[j]->io_port + REG_LCL_INTR); |
sh | 820 | drivers/scsi/u14-34f.c | for (i = 0; i < sh[j]->can_queue; i++) { |
sh | 881 | drivers/scsi/u14-34f.c | for (j = 0; sh[j] != NULL; j++) { |
sh | 883 | drivers/scsi/u14-34f.c | if (sh[j]->irq != irq) continue; |
sh | 888 | drivers/scsi/u14-34f.c | while (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) { |
sh | 895 | drivers/scsi/u14-34f.c | spp = (struct mscp *)inl(sh[j]->io_port + REG_ICM); |
sh | 898 | drivers/scsi/u14-34f.c | outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); |
sh | 902 | drivers/scsi/u14-34f.c | if (i >= sh[j]->can_queue) |
sh | 1053 | drivers/scsi/u14-34f.c | for (j = 0; sh[j] != NULL; j++) |
sh | 1055 | drivers/scsi/u14-34f.c | calls[(sh[j]->irq)], HD(j)->iocount, HD(j)->multicount); |
sh | 170 | drivers/scsi/wd7000.c | struct Scsi_Host *sh; /* Pointer to Scsi_Host structure */ |
sh | 1112 | drivers/scsi/wd7000.c | struct Scsi_Host *sh; |
sh | 1145 | drivers/scsi/wd7000.c | sh = scsi_register(tpnt, sizeof(Adapter) ); |
sh | 1146 | drivers/scsi/wd7000.c | host = (Adapter *) sh->hostdata; |
sh | 1152 | drivers/scsi/wd7000.c | host->sh = sh; |
sh | 1159 | drivers/scsi/wd7000.c | scsi_unregister (sh); |
sh | 1177 | drivers/scsi/wd7000.c | if (host->rev1 < 6) sh->sg_tablesize = SG_NONE; |