Lines Matching refs:node
40 static int ln_minor_name(di_minor_t minor, di_node_t node);
41 static int lp(di_minor_t minor, di_node_t node);
42 static int serial_dialout(di_minor_t minor, di_node_t node);
43 static int serial(di_minor_t minor, di_node_t node);
44 static int diskette(di_minor_t minor, di_node_t node);
45 static int vt00(di_minor_t minor, di_node_t node);
46 static int kdmouse(di_minor_t minor, di_node_t node);
47 static int ipmi(di_minor_t minor, di_node_t node);
48 static int mc_node(di_minor_t minor, di_node_t node);
49 static int vmmctl(di_minor_t minor, di_node_t node);
50 static int ppt(di_minor_t minor, di_node_t node);
146 ln_minor_name(di_minor_t minor, di_node_t node) in ln_minor_name() argument
148 (void) devfsadm_mklink(di_minor_name(minor), node, minor, 0); in ln_minor_name()
160 vt00(di_minor_t minor, di_node_t node) in vt00() argument
173 diskette(di_minor_t minor, di_node_t node) in diskette() argument
178 char *addr = di_bus_addr(node); in diskette()
186 (void) devfsadm_mklink("diskette", node, minor, flags); in diskette()
188 (void) devfsadm_mklink("rdiskette", node, minor, flags); in diskette()
199 (void) devfsadm_mklink(link, node, minor, in diskette()
204 (void) devfsadm_mklink(link, node, minor, in diskette()
219 lp(di_minor_t minor, di_node_t node) in lp() argument
221 char *addr = di_bus_addr(node); in lp()
227 (void) devfsadm_mklink("lp0", node, minor, 0); in lp()
230 (void) devfsadm_mklink("lp1", node, minor, 0); in lp()
233 (void) devfsadm_mklink("lp2", node, minor, 0); in lp()
236 if (strcmp(di_driver_name(node), "ecpp") != 0) { in lp()
240 if ((buf = di_devfs_path(node)) == NULL) { in lp()
255 (void) devfsadm_mklink(path, node, minor, 0); in lp()
266 serial(di_minor_t minor, di_node_t node) in serial() argument
274 (void) devfsadm_mklink(link, node, minor, 0); in serial()
277 (void) devfsadm_mklink("tty00", node, minor, 0); in serial()
280 (void) devfsadm_mklink("tty01", node, minor, 0); in serial()
283 (void) devfsadm_mklink("tty02", node, minor, 0); in serial()
286 (void) devfsadm_mklink("tty03", node, minor, 0); in serial()
298 serial_dialout(di_minor_t minor, di_node_t node) in serial_dialout() argument
303 (void) devfsadm_mklink("ttyd0", node, minor, 0); in serial_dialout()
304 (void) devfsadm_mklink("cua0", node, minor, 0); in serial_dialout()
307 (void) devfsadm_mklink("ttyd1", node, minor, 0); in serial_dialout()
308 (void) devfsadm_mklink("cua1", node, minor, 0); in serial_dialout()
311 (void) devfsadm_mklink("ttyd2", node, minor, 0); in serial_dialout()
312 (void) devfsadm_mklink("cua2", node, minor, 0); in serial_dialout()
315 (void) devfsadm_mklink("ttyd3", node, minor, 0); in serial_dialout()
316 (void) devfsadm_mklink("cua3", node, minor, 0); in serial_dialout()
322 kdmouse(di_minor_t minor, di_node_t node) in kdmouse() argument
324 (void) devfsadm_mklink("kdmouse", node, minor, 0); in kdmouse()
329 ipmi(di_minor_t minor, di_node_t node) in ipmi() argument
335 (void) devfsadm_mklink("ipmi0", node, minor, 0); in ipmi()
343 mc_node(di_minor_t minor, di_node_t node) in mc_node() argument
346 const char *busaddr = di_bus_addr(node); in mc_node()
369 (void) devfsadm_mklink(linkpath, node, minor, 0); in mc_node()
377 vmmctl(di_minor_t minor, di_node_t node) in vmmctl() argument
380 (void) devfsadm_mklink("vmmctl", node, minor, 0); in vmmctl()
385 ppt(di_minor_t minor, di_node_t node) in ppt() argument
390 di_instance(node)); in ppt()
392 (void) devfsadm_mklink(linkpath, node, minor, 0); in ppt()