taglinefilesource code
base_io2700drivers/block/cdu31a.cget_drive_configuration(unsigned short base_io,
base_io2708drivers/block/cdu31a.csony_cd_base_io = 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)
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_io815drivers/scsi/aha1542.cstatic int aha1542_query(int base_io, int * transl)
base_io820drivers/scsi/aha1542.ci = inb(STATUS(base_io));
base_io822drivers/scsi/aha1542.ci = inb(DATA(base_io));
base_io824drivers/scsi/aha1542.caha1542_out(base_io, inquiry_cmd, 1);
base_io825drivers/scsi/aha1542.caha1542_in(base_io, inquiry_result, 4);
base_io826drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io831drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io849drivers/scsi/aha1542.c*transl = aha1542_mbenable(base_io);
base_io921drivers/scsi/aha1542.cunsigned int base_io;
base_io944drivers/scsi/aha1542.cbase_io = bases[indx];
base_io957drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io958drivers/scsi/aha1542.caha1542_out(base_io, oncmd, 2);
base_io959drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io960drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io961drivers/scsi/aha1542.caha1542_out(base_io, offcmd, 2);
base_io962drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io967drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io968drivers/scsi/aha1542.caha1542_out(base_io, dmacmd, 2);
base_io969drivers/scsi/aha1542.cWAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
base_io975drivers/scsi/aha1542.caha1542_intr_reset(base_io);
base_io977drivers/scsi/aha1542.cif(aha1542_query(base_io, &trans))  goto unregister;
base_io979drivers/scsi/aha1542.cif (aha1542_getconfig(base_io, &irq_level, &dma_chan) == -1)  goto unregister;
base_io981drivers/scsi/aha1542.cprintk("Configuring Adaptec at IO:%x, IRQ %d",base_io, irq_level);
base_io987drivers/scsi/aha1542.csetup_mailboxes(base_io, shpnt);
base_io1012drivers/scsi/aha1542.cshpnt->io_port = base_io;