taglinefilesource code
base_io2826drivers/block/cdu31a.cget_drive_configuration(unsigned short base_io,
base_io2834drivers/block/cdu31a.ccdu31a_port = base_io;
base_io114drivers/scsi/aha1542.cstatic void setup_mailboxes(int base_io, struct Scsi_Host * shpnt);
base_io715drivers/scsi/aha1542.cstatic int aha1542_getconfig(int base_io, unsigned char * irq_level, unsigned char * dma_chan, unsigned char * scsi_id)
base_io720drivers/scsi/aha1542.ci = inb(STATUS(base_io));
base_io722drivers/scsi/aha1542.ci = inb(DATA(base_io));
base_io724drivers/scsi/aha1542.caha1542_out(base_io, inquiry_cmd, 1);
base_io725drivers/scsi/aha1542.caha1542_in(base_io, inquiry_result, 3);
base_io726drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io731drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io816drivers/scsi/aha1542.cstatic int aha1542_query(int base_io, int * transl)
base_io821drivers/scsi/aha1542.ci = inb(STATUS(base_io));
base_io823drivers/scsi/aha1542.ci = inb(DATA(base_io));
base_io825drivers/scsi/aha1542.caha1542_out(base_io, inquiry_cmd, 1);
base_io826drivers/scsi/aha1542.caha1542_in(base_io, inquiry_result, 4);
base_io827drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io832drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io850drivers/scsi/aha1542.c*transl = aha1542_mbenable(base_io);
base_io923drivers/scsi/aha1542.cunsigned int base_io;
base_io946drivers/scsi/aha1542.cbase_io = bases[indx];
base_io959drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io960drivers/scsi/aha1542.caha1542_out(base_io, oncmd, 2);
base_io961drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io962drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io963drivers/scsi/aha1542.caha1542_out(base_io, offcmd, 2);
base_io964drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io969drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io970drivers/scsi/aha1542.caha1542_out(base_io, dmacmd, 2);
base_io971drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io977drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io979drivers/scsi/aha1542.cif(aha1542_query(base_io, &trans))  goto unregister;
base_io981drivers/scsi/aha1542.cif (aha1542_getconfig(base_io, &irq_level, &dma_chan, &scsi_id) == -1)  goto unregister;
base_io983drivers/scsi/aha1542.cprintk("Configuring Adaptec (SCSI-ID %d) at IO:%x, IRQ %d", scsi_id, base_io, irq_level);
base_io989drivers/scsi/aha1542.csetup_mailboxes(base_io, shpnt);
base_io1015drivers/scsi/aha1542.cshpnt->unique_id = base_io;
base_io1016drivers/scsi/aha1542.cshpnt->io_port = base_io;