tag | line | file | source code |
shost | 115 | drivers/scsi/aha1542.c | static int aha1542_restart(struct Scsi_Host * shost); |
shost | 358 | drivers/scsi/aha1542.c | struct Scsi_Host * shost; |
shost | 365 | drivers/scsi/aha1542.c | shost = aha_host[irq - 9]; |
shost | 366 | drivers/scsi/aha1542.c | if(!shost) panic("Splunge!"); |
shost | 368 | drivers/scsi/aha1542.c | mb = HOSTDATA(shost)->mb; |
shost | 369 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shost)->ccb; |
shost | 373 | drivers/scsi/aha1542.c | flag = inb(INTRFLAGS(shost->io_port)); |
shost | 380 | drivers/scsi/aha1542.c | printk("status %02x\n", inb(STATUS(shost->io_port))); |
shost | 387 | drivers/scsi/aha1542.c | flag = inb(INTRFLAGS(shost->io_port)); |
shost | 402 | drivers/scsi/aha1542.c | aha1542_intr_reset(shost->io_port); |
shost | 406 | drivers/scsi/aha1542.c | mbi = HOSTDATA(shost)->aha1542_last_mbi_used + 1; |
shost | 413 | drivers/scsi/aha1542.c | } while (mbi != HOSTDATA(shost)->aha1542_last_mbi_used); |
shost | 422 | drivers/scsi/aha1542.c | if(needs_restart) aha1542_restart(shost); |
shost | 429 | drivers/scsi/aha1542.c | HOSTDATA(shost)->aha1542_last_mbi_used = mbi; |
shost | 446 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(shost)->SCint[mbo]; |
shost | 499 | drivers/scsi/aha1542.c | HOSTDATA(shost)->SCint[mbo] = NULL; /* This effectively frees up the mailbox slot, as |
shost | 1068 | drivers/scsi/aha1542.c | static int aha1542_restart(struct Scsi_Host * shost) |
shost | 1077 | drivers/scsi/aha1542.c | if(HOSTDATA(shost)->SCint[i] && |
shost | 1078 | drivers/scsi/aha1542.c | !(HOSTDATA(shost)->SCint[i]->device->soft_reset)) |
shost | 1081 | drivers/scsi/aha1542.c | HOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */ |
shost | 1089 | drivers/scsi/aha1542.c | if (count) aha1542_out(shost->io_port, &ahacmd, 1); |