taglinefilesource code
SDp1107drivers/scsi/sd.cstatic int sd_detect(Scsi_Device * SDp){
SDp1110drivers/scsi/sd.cif(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0;
SDp1114drivers/scsi/sd.cSDp->host->host_no , SDp->id, SDp->lun); 
SDp1120drivers/scsi/sd.cstatic void sd_attach(Scsi_Device * SDp){
SDp1126drivers/scsi/sd.cif(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return;
SDp1136drivers/scsi/sd.cSDp->scsi_request_fn = do_sd_request;
SDp1137drivers/scsi/sd.crscsi_disks[i].device = SDp;
SDp336drivers/scsi/sg.cstatic int sg_detect(Scsi_Device * SDp){
SDp378drivers/scsi/sg.cstatic void sg_attach(Scsi_Device * SDp)
SDp394drivers/scsi/sg.cscsi_generics[i].device=SDp;
SDp794drivers/scsi/sr.cstatic int sr_detect(Scsi_Device * SDp){
SDp798drivers/scsi/sr.cif(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0;
SDp802drivers/scsi/sr.cSDp->host->host_no , SDp->id, SDp->lun); 
SDp807drivers/scsi/sr.cstatic void sr_attach(Scsi_Device * SDp){
SDp814drivers/scsi/sr.cif(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return;
SDp824drivers/scsi/sr.cSDp->scsi_request_fn = do_sr_request;
SDp825drivers/scsi/sr.cscsi_CDs[i].device = SDp;
SDp1826drivers/scsi/st.cstatic void st_attach(Scsi_Device * SDp){
SDp1832drivers/scsi/st.cif(SDp->type != TYPE_TAPE) return;
SDp1842drivers/scsi/st.cscsi_tapes[i].device = SDp;
SDp1846drivers/scsi/st.cstatic int st_detect(Scsi_Device * SDp){
SDp1850drivers/scsi/st.cif(SDp->type != TYPE_TAPE) return 0;
SDp1854drivers/scsi/st.cSDp->host->host_no , SDp->id, SDp->lun); 
SDp1864drivers/scsi/st.cScsi_Device * SDp;
SDp1889drivers/scsi/st.cfor (i=0, SDp = scsi_devices; i < st_template.dev_noticed; ++i) {
SDp1911drivers/scsi/st.cfor (; SDp; SDp = SDp->next)
SDp1912drivers/scsi/st.cif (SDp->type == TYPE_TAPE)
SDp1914drivers/scsi/st.cif (!SDp)
SDp1917drivers/scsi/st.cif (SDp->scsi_level <= 2)
SDp1922drivers/scsi/st.cSDp = SDp->next;