| /netbsd/src/sys/arch/prep/pnpbus/ |
| D | if_we_pnpbus.c | 154 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/ |
| D | if_we_isa.c | 267 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 …]
|
| D | if_ne_isa.c | 141 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()
|
| D | if_ate.c | 356 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/ |
| D | fmv.c | 110 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/ |
| D | disksubr.c | 170 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/ |
| D | cmd-show-prompt-history.c | 56 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/ |
| D | kbd.c | 66 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/ |
| D | disksubr.c | 129 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/ |
| D | if_ne_isapnp.c | 101 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/ |
| D | if_ne_neptune.c | 124 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()
|
| D | if_ne_intio.c | 141 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/ |
| D | sysconf.c | 87 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/ |
| D | if_ne_mainbus.c | 118 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/ |
| D | sysconf.c | 144 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/ |
| D | dtfs_vfsops.c | 122 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/ |
| D | ofdev.c | 149 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/ |
| D | efifs_ls.c | 82 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/ |
| D | machdep.c | 464 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/ |
| D | if_ne_mainbus.c | 106 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/ |
| D | ls.c | 54 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/ |
| D | ld_iop.c | 123 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/ |
| D | ld_twe.c | 99 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/ |
| D | if_le_mca.c | 136 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/ |
| D | if_ne_mb.c | 187 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()
|