Searched refs:promdev (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | openprom.c | 55 static char *promdev; variable 118 promdev = "/dev/openprom"; in main() 130 promdev = optarg; in main() 346 if ((prom_fd = open(promdev, oflag)) < 0) { in promopen() 352 exit(_error(PERROR, "cannot open %s", promdev)); in promopen() 363 exit(_error(PERROR, "close error on %s", promdev)); in promclose()
|
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 35 static char *promdev = "/dev/openprom"; variable 246 if ((prom_fd = open(promdev, O_RDONLY)) < 0) { in get_kbenv()
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 50 extern char *promdev; 239 if ((prom_fd = open(promdev, oflag)) < 0) { in promopen() 247 promdev)); in promopen() 259 promdev)); in promclose()
|
H A D | pdevinfo_sun4u.c | 54 char *promdev = "/dev/openprom"; variable
|
H A D | pdevinfo_sun4v.c | 53 char *promdev = "/dev/openprom"; variable
|
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 970 char *promdev = "/dev/openprom"; in utop() local 973 if ((fd = open(promdev, O_RDONLY)) == -1) { in utop() 974 mesg(MERR, open_fmt, promdev, strerror(errno)); in utop()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 662 static char *promdev = "/dev/openprom"; variable 724 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) in dlist_find() 771 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) in dlist_update()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 1518 char *promdev = "/dev/openprom"; in prom_open() local 1521 if ((prom_fd = open(promdev, oflag)) < 0) { in prom_open()
|