tag | line | file | source code |
ndrives | 136 | drivers/cdrom/gscd.c | static int ndrives; |
ndrives | 895 | drivers/cdrom/gscd.c | ndrives = drvnum; |
ndrives | 603 | drivers/cdrom/sbpcd.c | static int ndrives=0; |
ndrives | 3440 | drivers/cdrom/sbpcd.c | ndrives=0; |
ndrives | 3443 | drivers/cdrom/sbpcd.c | D_S[ndrives].drv_id=j; |
ndrives | 3444 | drivers/cdrom/sbpcd.c | if (sbpro_type==1) D_S[ndrives].drv_sel=(j&0x01)<<1|(j&0x02)>>1; |
ndrives | 3445 | drivers/cdrom/sbpcd.c | else D_S[ndrives].drv_sel=j; |
ndrives | 3446 | drivers/cdrom/sbpcd.c | switch_drive(ndrives); |
ndrives | 3447 | drivers/cdrom/sbpcd.c | msg(DBG_INI,"check_drives: drive %d (ID=%d) activated.\n",ndrives,j); |
ndrives | 3448 | drivers/cdrom/sbpcd.c | msg(DBG_000,"check_drives: drive %d (ID=%d) activated.\n",ndrives,j); |
ndrives | 3462 | drivers/cdrom/sbpcd.c | ndrives++; |
ndrives | 3465 | drivers/cdrom/sbpcd.c | for (j=ndrives;j<NR_SBPCD;j++) D_S[j].drv_id=-1; |
ndrives | 3466 | drivers/cdrom/sbpcd.c | if (ndrives==0) return (-1); |
ndrives | 5221 | drivers/cdrom/sbpcd.c | if (ndrives==0) |