Home
last modified time | relevance | path

Searched refs:typestr (Results 1 – 25 of 45) sorted by relevance

12

/netbsd/src/sys/arch/prep/pnpbus/
Dif_we_pnpbus.c154 const char *typestr; in we_pnpbus_attach() local
177 typestr = we_params(asict, asich, &wsc->sc_type, &memsize, in we_pnpbus_attach()
179 if (typestr == NULL) { in we_pnpbus_attach()
217 if (we_config(self, wsc, typestr)) in we_pnpbus_attach()
259 const char *typestr; in we_params() local
270 typestr = "WD8003S"; in we_params()
273 typestr = "WD8003E"; in we_params()
276 typestr = "WD8003EB"; in we_params()
279 typestr = "WD8003W"; in we_params()
282 typestr = "WD8013EBT"; in we_params()
[all …]
/netbsd/src/sys/dev/isa/
Dif_we_isa.c267 const char *typestr; in we_isa_attach() local
287 typestr = we_params(asict, asich, &wsc->sc_type, NULL, in we_isa_attach()
289 if (typestr == NULL) { in we_isa_attach()
319 if (we_config(self, wsc, typestr)) in we_isa_attach()
334 typestr); in we_isa_attach()
349 const char *typestr; in we_params() local
360 typestr = "WD8003S"; in we_params()
363 typestr = "WD8003E"; in we_params()
366 typestr = "WD8003EB"; in we_params()
369 typestr = "WD8003W"; in we_params()
[all …]
Dif_ne_isa.c141 const char *typestr; in ne_isa_attach() local
173 typestr = "NE1000"; in ne_isa_attach()
177 typestr = "NE2000"; in ne_isa_attach()
181 typestr = "NE2000 (RTL8019)"; in ne_isa_attach()
189 aprint_normal_dev(self, "%s Ethernet\n", typestr); in ne_isa_attach()
Dif_ate.c356 const char *typestr; in ate_attach() local
374 typestr = "AT-1700T/RE2001"; in ate_attach()
377 typestr = "AT-1700BT/RE2003"; in ate_attach()
380 typestr = "AT-1700FT/RE2009"; in ate_attach()
383 typestr = "AT-1700AT/RE2005"; in ate_attach()
386 typestr = "unknown AT-1700/RE2000"; in ate_attach()
395 aprint_normal(": %s Ethernet\n", typestr); in ate_attach()
/netbsd/src/sys/dev/ic/
Dfmv.c110 const char *typestr; in fmv_attach() local
121 typestr = "FMV-181"; in fmv_attach()
124 typestr = "FMV-181A"; in fmv_attach()
127 typestr = "FMV-182"; in fmv_attach()
130 typestr = "FMV-182A"; in fmv_attach()
133 typestr = "FMV-183"; in fmv_attach()
136 typestr = "FMV-184"; in fmv_attach()
144 aprint_normal(": %s Ethernet\n", typestr); in fmv_attach()
/netbsd/src/sys/arch/macppc/macppc/
Ddisksubr.c170 char typestr[32], *s; in whichType() local
181 strncpy(typestr, (char *)part->pmPartType, sizeof(typestr)); in whichType()
182 typestr[sizeof(typestr) - 1] = '\0'; in whichType()
183 for (s = typestr; *s; s++) in whichType()
187 if (strncmp(PART_TYPE_DRIVER, typestr, strlen(PART_TYPE_DRIVER)) == 0 || in whichType()
188 strcmp(PART_TYPE_DRIVER43, typestr) == 0 || in whichType()
189 strcmp(PART_TYPE_DRIVERATA, typestr) == 0 || in whichType()
190 strcmp(PART_TYPE_DRIVERIOKIT, typestr) == 0 || in whichType()
191 strcmp(PART_TYPE_FWDRIVER, typestr) == 0 || in whichType()
192 strcmp(PART_TYPE_FWB_COMPONENT, typestr) == 0 || in whichType()
[all …]
/netbsd/src/external/bsd/tmux/dist/
Dcmd-show-prompt-history.c56 const char *typestr = args_get(args, 'T'); in cmd_show_prompt_history_exec() local
61 if (typestr == NULL) { in cmd_show_prompt_history_exec()
68 type = status_prompt_type(typestr); in cmd_show_prompt_history_exec()
70 cmdq_error(item, "invalid type: %s", typestr); in cmd_show_prompt_history_exec()
81 if (typestr == NULL) { in cmd_show_prompt_history_exec()
93 type = status_prompt_type(typestr); in cmd_show_prompt_history_exec()
95 cmdq_error(item, "invalid type: %s", typestr); in cmd_show_prompt_history_exec()
/netbsd/src/share/examples/rump/ukbd_read/
Dkbd.c66 const char *typestr; in main() local
73 typestr = "up"; in main()
78 typestr = "down"; in main()
83 typestr = "unknown"; in main()
86 printf("event type: %d (%s)\n", wev->type, typestr); in main()
/netbsd/src/sys/arch/mac68k/mac68k/
Ddisksubr.c129 char typestr[32], *s; in whichType() local
135 strncpy(typestr, (char *)part->pmPartType, sizeof(typestr)); in whichType()
136 typestr[sizeof(typestr) - 1] = '\0'; in whichType()
137 for (s = typestr; *s; s++) in whichType()
141 if (strcmp(PART_TYPE_DRIVER, typestr) == 0 || in whichType()
142 strcmp(PART_TYPE_DRIVER43, typestr) == 0 || in whichType()
143 strcmp(PART_TYPE_DRIVERATA, typestr) == 0 || in whichType()
144 strcmp(PART_TYPE_FWB_COMPONENT, typestr) == 0 || in whichType()
145 strcmp(PART_TYPE_PARTMAP, typestr) == 0) in whichType()
147 else if (strcmp(PART_TYPE_UNIX, typestr) == 0) { in whichType()
[all …]
/netbsd/src/sys/dev/isapnp/
Dif_ne_isapnp.c101 const char *typestr; in ne_isapnp_attach() local
137 typestr = "NE1000"; in ne_isapnp_attach()
141 typestr = "NE2000"; in ne_isapnp_attach()
145 typestr = "NE2000 (RTL8019)"; in ne_isapnp_attach()
153 aprint_normal_dev(self, "%s Ethernet\n", typestr); in ne_isapnp_attach()
/netbsd/src/sys/arch/x68k/dev/
Dif_ne_neptune.c124 const char *typestr; in ne_neptune_attach() local
155 typestr = "NE1000"; in ne_neptune_attach()
159 typestr = "NE2000"; in ne_neptune_attach()
163 typestr = "NE2000 (RTL8019)"; in ne_neptune_attach()
171 aprint_normal_dev(self, "%s Ethernet\n", typestr); in ne_neptune_attach()
Dif_ne_intio.c141 const char *typestr; in ne_intio_attach() local
175 typestr = "NE1000"; in ne_intio_attach()
179 typestr = "NE2000"; in ne_intio_attach()
183 typestr = "NE2000 (RTL8019)"; in ne_intio_attach()
191 aprint_normal_dev(self, "%s Ethernet\n", typestr); in ne_intio_attach()
/netbsd/src/sys/arch/emips/emips/
Dsysconf.c87 const char *typestr = NULL; in platform_not_supported() local
90 typestr = sysinit[systype].option; in platform_not_supported()
94 (typestr) ? typestr : "???"); in platform_not_supported()
/netbsd/src/sys/arch/evbsh3/t_sh7706lan/
Dif_ne_mainbus.c118 const char *typestr; in ne_mainbus_attach() local
152 typestr = "NE1000"; in ne_mainbus_attach()
156 typestr = "NE2000"; in ne_mainbus_attach()
160 typestr = "NE2000 (RTL8019)"; in ne_mainbus_attach()
169 aprint_normal_dev(self, "%s Ethernet\n", typestr); in ne_mainbus_attach()
/netbsd/src/sys/arch/pmax/pmax/
Dsysconf.c144 const char *typestr; in platform_not_supported() local
147 typestr = "???"; in platform_not_supported()
149 typestr = sysinit[systype].option; in platform_not_supported()
153 typestr); in platform_not_supported()
/netbsd/src/tests/fs/puffs/h_dtfs/
Ddtfs_vfsops.c122 dtfs_domount(struct puffs_usermount *pu, const char *typestr) in dtfs_domount() argument
147 if (!typestr) { in dtfs_domount()
151 if (strncmp(rtypes[i].tstr, typestr, in dtfs_domount()
153 if (rtypes[i].pfunc(pu, typestr, in dtfs_domount()
156 "\"%s\"\n", typestr); in dtfs_domount()
163 fprintf(stderr, "no matching type for %s\n", typestr); in dtfs_domount()
/netbsd/src/sys/arch/macppc/stand/ofwboot/
Dofdev.c149 char typestr[32], *s; in check_apm_root() local
157 strncpy(typestr, (char *)part->pmPartType, sizeof(typestr)); in check_apm_root()
158 typestr[sizeof(typestr) - 1] = '\0'; in check_apm_root()
159 for (s = typestr; *s; s++) in check_apm_root()
163 if (strcmp(PART_TYPE_NBSD_PPCBOOT, typestr) == 0) { in check_apm_root()
169 } else if (strcmp(PART_TYPE_UNIX, typestr) == 0 && in check_apm_root()
/netbsd/src/sys/arch/ia64/stand/efi/libefi/
Defifs_ls.c82 static const char *const typestr[] = { variable
185 if (dp->d_type >= NELEM(typestr) || in efifs_ls()
186 !(t = typestr[dp->d_type])) { in efifs_ls()
224 n->e_ino, n->e_name, typestr[n->e_type]); in efifs_ls()
/netbsd/src/sys/arch/ofppc/ofppc/
Dmachdep.c464 char typestr[32]; in copy_disp_props() local
466 memset(typestr, 0, sizeof(typestr)); in copy_disp_props()
467 OF_getprop(console_node, "device_type", typestr, sizeof(typestr)); in copy_disp_props()
468 if (strcmp(typestr, "serial") != 0) { in copy_disp_props()
/netbsd/src/sys/arch/mmeye/dev/
Dif_ne_mainbus.c106 const char *typestr; in ne_mainbus_attach() local
139 typestr = "NE2000 (RTL8019)"; in ne_mainbus_attach()
149 aprint_normal_dev(self, "%s Ethernet\n", typestr); in ne_mainbus_attach()
/netbsd/src/sys/arch/ia64/stand/common/
Dls.c54 static char typestr[] = "?fc?d?b? ?l?s?w"; variable
117 snprintf(lbuf, sizeof(lbuf), " %c %8d %s\n", typestr[d->d_type], in command_ls()
120 snprintf(lbuf, sizeof(lbuf), " %c %s\n", typestr[d->d_type], in command_ls()
/netbsd/src/sys/dev/i2o/
Dld_iop.c123 const char *typestr, *fixedstr; in ld_iop_attach() local
202 typestr = "direct access"; in ld_iop_attach()
206 typestr = "WORM"; in ld_iop_attach()
210 typestr = "CD-ROM"; in ld_iop_attach()
214 typestr = "optical"; in ld_iop_attach()
218 typestr = "unknown"; in ld_iop_attach()
231 printf(" %s, %s", typestr, fixedstr); in ld_iop_attach()
/netbsd/src/sys/dev/pci/
Dld_twe.c99 const char *typestr, *stripestr, *statstr; in ld_twe_attach() local
118 typestr = twe_describe_code(twe_table_unittype, td->td_type); in ld_twe_attach()
119 if (typestr == NULL) { in ld_twe_attach()
121 typestr = unktype; in ld_twe_attach()
153 aprint_normal(": %s%s, status: %s\n", stripebuf, typestr, statstr); in ld_twe_attach()
/netbsd/src/sys/dev/mca/
Dif_le_mca.c136 const char *typestr; in le_mca_attach() local
176 typestr = "Personal MC2"; in le_mca_attach()
183 typestr = "MC2+"; in le_mca_attach()
225 ma->ma_slot + 1, irq, typestr); in le_mca_attach()
/netbsd/src/sys/arch/atari/dev/
Dif_ne_mb.c187 const char *typestr; in ne_mb_attach() local
233 typestr = "NE1000"; in ne_mb_attach()
237 typestr = "NE2000"; in ne_mb_attach()
241 typestr = "NE2000 (RTL8019)"; in ne_mb_attach()
249 aprint_normal_dev(self, "%s Ethernet (8-bit)\n", typestr); in ne_mb_attach()

12