Lines Matching refs:ndrives
677 static int ndrives; variable
3756 ndrives=0; in check_drives()
3759 D_S[ndrives].drv_id=j; in check_drives()
3760 if (sbpro_type==1) D_S[ndrives].drv_sel=(j&0x01)<<1|(j&0x02)>>1; in check_drives()
3761 else D_S[ndrives].drv_sel=j; in check_drives()
3762 switch_drive(ndrives); in check_drives()
3763 msg(DBG_INI,"check_drives: drive %d (ID=%d) activated.\n",ndrives,j); in check_drives()
3764 msg(DBG_000,"check_drives: drive %d (ID=%d) activated.\n",ndrives,j); in check_drives()
3778 ndrives++; in check_drives()
3781 for (j=ndrives;j<NR_SBPCD;j++) D_S[j].drv_id=-1; in check_drives()
3782 if (ndrives==0) return (-1); in check_drives()
5774 if (ndrives==0) in __SBPCD_INIT()