taglinefilesource code
SDp1061drivers/scsi/sd.cstatic int sd_detect(Scsi_Device * SDp){
SDp1064drivers/scsi/sd.cif(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0;
SDp1068drivers/scsi/sd.cSDp->host->host_no , SDp->id, SDp->lun); 
SDp1074drivers/scsi/sd.cstatic void sd_attach(Scsi_Device * SDp){
SDp1080drivers/scsi/sd.cif(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return;
SDp1090drivers/scsi/sd.cSDp->scsi_request_fn = do_sd_request;
SDp1091drivers/scsi/sd.crscsi_disks[i].device = SDp;
SDp306drivers/scsi/sg.cstatic int sg_detect(Scsi_Device * SDp){
SDp348drivers/scsi/sg.cstatic void sg_attach(Scsi_Device * SDp)
SDp364drivers/scsi/sg.cscsi_generics[i].device=SDp;
SDp650drivers/scsi/sr.cstatic int sr_detect(Scsi_Device * SDp){
SDp654drivers/scsi/sr.cif(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0;
SDp658drivers/scsi/sr.cSDp->host->host_no , SDp->id, SDp->lun); 
SDp663drivers/scsi/sr.cstatic void sr_attach(Scsi_Device * SDp){
SDp670drivers/scsi/sr.cif(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return;
SDp680drivers/scsi/sr.cSDp->scsi_request_fn = do_sr_request;
SDp681drivers/scsi/sr.cscsi_CDs[i].device = SDp;
SDp1688drivers/scsi/st.cstatic void st_attach(Scsi_Device * SDp){
SDp1694drivers/scsi/st.cif(SDp->type != TYPE_TAPE) return;
SDp1704drivers/scsi/st.cscsi_tapes[i].device = SDp;
SDp1708drivers/scsi/st.cstatic int st_detect(Scsi_Device * SDp){
SDp1712drivers/scsi/st.cif(SDp->type != TYPE_TAPE) return 0;
SDp1716drivers/scsi/st.cSDp->host->host_no , SDp->id, SDp->lun); 
SDp1726drivers/scsi/st.cScsi_Device * SDp;
SDp1751drivers/scsi/st.cfor (i=0, SDp = scsi_devices; i < st_template.dev_noticed; ++i) {
SDp1772drivers/scsi/st.cfor (; SDp; SDp = SDp->next)
SDp1773drivers/scsi/st.cif (SDp->type == TYPE_TAPE)
SDp1775drivers/scsi/st.cif (!SDp)
SDp1778drivers/scsi/st.cif (SDp->scsi_level <= 2)
SDp1783drivers/scsi/st.cSDp = SDp->next;