Lines Matching defs:devpath
474 char *devpath;
484 devpath = kmem_alloc(MAXPATHLEN+2, KM_SLEEP);
490 if (prom_ihandle_to_path(ihdls[i], devpath, MAXPATHLEN) == 0)
499 if (strrchr(devpath, ':') == NULL)
500 (void) strcat(devpath, ":a"); /* assume :a ! */
502 if ((cn = get_aconsole(ms, devpath)) == 0) {
504 " consoles - ignoring %s\n", devpath);
515 cn->sm_path = kmem_alloc(strlen(devpath) + 1, KM_SLEEP);
516 (void) strcpy(cn->sm_path, devpath);
520 kmem_free(devpath, MAXPATHLEN + 2);