Searched refs:devtype (Results 1 - 25 of 66) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sys/arch/newsmips/stand/boot/
H A Dpromdev.h3 int devtype; member in struct:romdev
H A Ddevopen.c95 romdev.devtype = DT_NET;
97 romdev.devtype = DT_BLOCK;
103 if (romdev.devtype == DT_BLOCK) {
/netbsd-6-1-5-RELEASE/sys/arch/arc/stand/boot/
H A Ddevopen.c49 char devtype[16]; local
73 strcpy(devtype, "disk");
104 strcpy(devtype, "disk");
106 strcpy(devtype, "disk");
121 printf("devopen: %s type %s file %s\n", namebuf, devtype, cp);
126 if (dp->dv_name && strcmp(devtype, dp->dv_name) == 0)
128 printf("Unknown device '%s'\nKnown devices are:", devtype);
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/stand/common/
H A Ddevopen.c52 char devtype[16]; local
82 strcpy(devtype, "scsi");
84 strcpy(devtype, "dksc");
99 printf("devopen: %s type %s file %s\n", namebuf, devtype, cp);
104 if (dp->dv_name && strcmp(devtype, dp->dv_name) == 0)
106 printf("Unknown device '%s'\nKnown devices are:", devtype);
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/common/
H A Dpromdev.h37 int devtype; /* Kind of device we're booting from */ member in struct:promdata
H A Dpromdev.c194 pd->devtype = DT_BLOCK;
196 pd->devtype = getdevtype(fd, prom_bootdevice);
198 if (pd->devtype != DT_BYTE)
201 if (pd->devtype == DT_NET) {
316 if (pd->devtype != DT_BLOCK) {
350 if (pd->devtype == DT_BLOCK)
416 if (pd->devtype == DT_NET)
429 if (pd->devtype == DT_NET)
/netbsd-6-1-5-RELEASE/usr.sbin/btattach/
H A Dbtattach.h33 struct devtype { struct
/netbsd-6-1-5-RELEASE/usr.bin/eject/
H A Deject.c130 int devtype; local
135 devtype = -1;
169 devtype = devtypes[n].type;
173 if (devtype == -1)
198 if (devtype == -1)
199 devtype = guess_devtype(dev_name);
200 if (devtype == -1)
204 if ((devtype & TYPEMASK) == TAPE)
213 if ((devtype & TYPEMASK) == TAPE)
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/netboot/
H A Dconfig.h58 u_short devtype; member in struct:brdid
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpvfs/
H A Ddevnodes.c44 rump_vfs_makeonedevnode(dev_t devtype, const char *devname, argument
50 error = do_sys_mknod(curlwp, devname, 0666 | devtype,
59 rump_vfs_makedevnodes(dev_t devtype, const char *basename, char minchar, argument
76 if ((error = do_sys_mknod(curlwp, devname, 0666 | devtype,
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/
H A Dofdev.c70 char devtype[16]; local
73 devtype[0] = 0;
93 if (!strcmp(devtype, "block")) {
115 if (OF_getprop(dhandle, "device_type", devtype,
116 sizeof devtype) < 0)
117 devtype[0] = 0;
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/
H A Dofdev.c69 char devtype[16]; local
72 devtype[0] = 0;
85 if (!strcmp(devtype, "block")) {
98 } else if (OF_getprop(dhandle, "device_type", devtype, sizeof devtype) < 0)
99 devtype[0] = 0;
/netbsd-6-1-5-RELEASE/sys/arch/hp700/dev/
H A Dsti_sgc.c147 u_char devtype; local
179 devtype = bus_space_read_1(ca->ca_iot, romh, 3);
181 DPRINTF(("%s: devtype=%d\n", __func__, devtype));
183 switch (devtype) {
198 DPRINTF(("%s: unknown type (%x)\n", __func__, devtype));
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/
H A Dofdev.c77 char devtype[16]; local
80 devtype[0] = 0;
97 if (!strcmp(devtype, "block")) {
124 } else if (_prom_getprop(dhandle, "device_type", devtype,
125 sizeof devtype) < 0)
126 devtype[0] = 0;
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/
H A Dofdev.c296 char devtype[16]; local
300 devtype[0] = '\0';
327 if (OF_getprop(dhandle, "device_type", devtype,
328 sizeof devtype) < 0)
329 devtype[0] = '\0';
339 if (strcmp(devtype, "block") == 0) {
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dupc.c208 upc_found(struct upc_softc *sc, char const *devtype, int offset, int size, argument
214 ua.ua_devtype = devtype;
227 upc_found2(struct upc_softc *sc, char const *devtype, int offset, int size, argument
233 ua.ua_devtype = devtype;
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/wps/
H A Dwps.c457 char devtype[WPS_DEV_TYPE_BUFSIZE]; local
461 devtype,
462 sizeof(devtype)));
H A Dwps_dev_attr.c288 char devtype[WPS_DEV_TYPE_BUFSIZE]; local
298 wps_dev_type_bin2str(dev->pri_dev_type, devtype,
299 sizeof(devtype)));
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/
H A Dprototype.c135 prototype_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused)
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/
H A Dpci_machdep.c411 char devtype[30]; local
438 prom_getpropstringA(node, "device_type", devtype, sizeof(devtype));
440 if (strcmp(intrmap[len].in_class, devtype) == 0) {
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/
H A Dbmd.c212 bmdopen(dev_t dev, int oflags, int devtype, struct lwp *l) argument
222 switch (devtype) {
237 bmdclose(dev_t dev, int fflag, int devtype, struct lwp *l) argument
243 switch (devtype) {
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/ap/
H A Dwps_hostapd.c114 char devtype[WPS_DEV_TYPE_BUFSIZE]; local
123 wps_dev_type_bin2str(dev->pri_dev_type, devtype,
124 sizeof(devtype)));
140 wps_dev_type_bin2str(dev->pri_dev_type, devtype,
141 sizeof(devtype)));
171 char devtype[WPS_DEV_TYPE_BUFSIZE]; local
179 wps_dev_type_bin2str(pri_dev_type, devtype,
180 sizeof(devtype)),
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/g42xxeb/
H A Dg42xxeb_lcd.c302 lcdopen(dev_t dev, int oflags, int devtype, struct lwp *l) argument
321 lcdclose(dev_t dev, int fflag, int devtype, struct lwp *l) argument
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/lubbock/
H A Dlubbock_lcd.c270 lcdopen( dev_t dev, int oflags, int devtype, struct lwp *l ) argument
276 lcdclose( dev_t dev, int fflag, int devtype, struct lwp *l ) argument
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/smdk2xx0/
H A Dsmdk2410_lcd.c265 lcdopen( dev_t dev, int oflags, int devtype, struct proc *p ) argument
271 lcdclose( dev_t dev, int fflag, int devtype, struct proc *p ) argument

Completed in 346 milliseconds

123