Lines Matching defs:devno
198 userconf_pdev(short devno)
207 if (devno > userconf_maxdev) {
208 printf("Unknown devno (max is %d)\n", userconf_maxdev);
212 cd = &cfdata[devno];
214 printf("[%3d] ", devno);
215 userconf_pdevnam(devno);
380 userconf_change(int devno)
390 if (devno <= userconf_maxdev) {
392 userconf_pdev(devno);
404 /* XXX add cmd 'c' <devno> */
406 userconf_hist_int(devno);
408 cd = &cfdata[devno];
425 printf("[%3d] ", devno);
426 userconf_pdevnam(devno);
428 userconf_pdev(devno);
435 printf("Unknown devno (max is %d)\n", userconf_maxdev);
440 userconf_disable(int devno)
444 if (devno <= userconf_maxdev) {
445 switch (cfdata[devno].cf_fstate) {
447 cfdata[devno].cf_fstate = FSTATE_DNOTFOUND;
450 cfdata[devno].cf_fstate = FSTATE_DSTAR;
461 printf("[%3d] ", devno);
462 userconf_pdevnam(devno);
466 /* XXX add cmd 'd' <devno> eoc */
468 userconf_hist_int(devno);
473 printf("Unknown devno (max is %d)\n", userconf_maxdev);
478 userconf_enable(int devno)
482 if (devno <= userconf_maxdev) {
483 switch (cfdata[devno].cf_fstate) {
485 cfdata[devno].cf_fstate = FSTATE_NOTFOUND;
488 cfdata[devno].cf_fstate = FSTATE_STAR;
499 printf("[%3d] ", devno);
500 userconf_pdevnam(devno);
504 /* XXX add cmd 'e' <devno> eoc */
506 userconf_hist_int(devno);
511 printf("Unknown devno (max is %d)\n", userconf_maxdev);
536 printf("devno|dev change devices");
539 printf("devno|dev disable devices");
542 printf("devno|dev enable devices");
545 printf("devno|dev find devices");
668 printf("Unknown devno (max is %d)\n",