Searched refs:es_nports (Results 1 - 7 of 7) sorted by relevance

/freebsd-10-stable/sys/dev/etherswitch/
H A Detherswitch.h40 int es_nports; member in struct:etherswitch_info
/freebsd-10-stable/sbin/etherswitchcfg/
H A Detherswitchcfg.c301 if (v < 0 || v >= cfg->info.es_nports)
302 errx(EX_USAGE, "Member port must be between 0 and %d", cfg->info.es_nports-1);
485 for (i=0; i<cfg->info.es_nports; i++) {
513 cfg->info.es_name, cfg->info.es_nports,
521 for (i=0; i<cfg->info.es_nports; i++) {
625 if (cfg.unit < 0 || cfg.unit >= cfg.info.es_nports)
626 errx(EX_USAGE, "port unit must be between 0 and %d", cfg.info.es_nports - 1);
/freebsd-10-stable/sys/dev/etherswitch/ip17x/
H A Dip175c.c91 for (i = 0; i < sc->info.es_nports; i++) {
H A Dip17x.c161 sc->info.es_nports = port + 1;
/freebsd-10-stable/sys/dev/etherswitch/arswitch/
H A Darswitch.c263 sc->info.es_nports = 5; /* XXX technically 6, but 6th not used */
/freebsd-10-stable/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c144 sc->info.es_nports = port + 1;
/freebsd-10-stable/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c74 .es_nports = RTL8366RB_NUM_PORTS,

Completed in 229 milliseconds