/freebsd/sys/dev/mii/ |
H A D | miidevs | 3 /*- 35 * For a complete list see http://standards-oui.ieee.org/ 39 * IEEE 802.3u-1995, subclause 22.2.4.3.1, figure 22-12, depicts the right 40 * mapping; the bit positions are defined in IEEE 802-1990, figure 5.2. 41 * (There is a formal 802.3 interpretation, number 1-07/98 of July 09 1998, 68 oui PMCSIERRA 0x00e004 PMC-Sierra 105 /* Don't know what's going on here. */ 109 oui xxPMCSIERRA 0x0009c0 PMC-Sierra 110 oui xxPMCSIERRA2 0x009057 PMC-Sierra 120 model AGERE ET1011 0x0001 ET1011 10/100/1000baseT PHY [all …]
|
H A D | mii.h | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 64 #define BMCR_S1000 BMCR_SPEED1 /* 1000 Mb/s */ 69 #define BMSR_100T4 0x8000 /* 100 base T4 capable */ 70 #define BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 71 #define BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 72 #define BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 73 #define BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ 74 #define BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */ 75 #define BMSR_100T2HDX 0x0200 /* 100 base T2 half duplex capable */ [all …]
|
H A D | rgephyreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 18 * 4. Neither the name of the author nor the names of any co-contributors 59 #define RGEPHY_S1000 RGEPHY_BMCR_SPD1 /* 1000mbps */ 64 #define RGEPHY_BMSR_100T4 0x8000 /* 100 base T4 capable */ 65 #define RGEPHY_BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 66 #define RGEPHY_BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 67 #define RGEPHY_BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 68 #define RGEPHY_BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ 69 #define RGEPHY_BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */ [all …]
|
H A D | ciphyreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 18 * 4. Neither the name of the author nor the names of any co-contributors 39 * Register definitions for the Cicada CS8201 10/100/1000 gigE copper 55 #define CIPHY_S1000 CIPHY_BMCR_SPD1 /* 1000mbps */ 61 #define CIPHY_BMSR_100T4 0x8000 /* 100 base T4 capable */ 62 #define CIPHY_BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 63 #define CIPHY_BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 64 #define CIPHY_BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 65 #define CIPHY_BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ [all …]
|
H A D | mii_physubr.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 77 u_int mm_gtcr; /* 100base-T2 or 1000base-T CR */ 87 /* 10baseT-FDX */ 99 /* 100baseTX-FDX */ 103 /* 1000baseX */ 107 /* 1000baseX-FDX */ 111 /* 1000baseT */ 115 /* 1000baseT-FDX */ 123 struct mii_data *mii = sc->mii_pdata; in mii_phy_setmedia() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 2 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 27 #include "event2/event-config.h" 28 #include "evconfig-private.h" 62 #include "util-internal.h" 63 #include "log-internal.h" 64 #include "mm-internal.h" 82 * an unaligned (!) 64-bit value containing the number of in evutil_gettimeofday() 83 * 100-nanosecond intervals since 1 January 1601 UTC. */ in evutil_gettimeofday() 94 return -1; in evutil_gettimeofday() 115 return -1; in evutil_gettimeofday() [all …]
|
/freebsd/contrib/libevent/ |
H A D | evutil_time.c | 2 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 27 #include "event2/event-config.h" 28 #include "evconfig-private.h" 62 #include "util-internal.h" 63 #include "log-internal.h" 64 #include "mm-internal.h" 82 * an unaligned (!) 64-bit value containing the number of in evutil_gettimeofday() 83 * 100-nanosecond intervals since 1 January 1601 UTC. */ in evutil_gettimeofday() 94 return -1; in evutil_gettimeofday() 115 return -1; in evutil_gettimeofday() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-phy.yaml# 14 - Andrew Davis <afd@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 23 the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX [all …]
|
H A D | qcom,qca807x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Marangi <ansuelsmth@gmail.com> 11 - Robert Marko <robert.marko@sartura.hr> 15 IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and 16 1000BASE-T PHY-s. 21 Both models have a combo port that supports 1000BASE-X and 22 100BASE-FX fiber. 25 output only pins that natively drive LED-s for up to 2 attached [all …]
|
/freebsd/sys/net/ |
H A D | if_media.h | 3 /*- 4 * SPDX-License-Identifier: BSD-4-Clause 43 * Prototypes and definitions for BSD/OS-compatible network interface 48 * shouldn't notice any difference. 67 * In-kernel representation of a single supported media type. 72 int ifm_data; /* for driver-specific use */ 73 void *ifm_aux; /* for driver-specific use */ 81 int ifm_mask; /* mask of changes we don't care about */ 82 int ifm_media; /* current user-set media word */ 118 * ---- ------- [all …]
|
/freebsd/share/man/man4/ |
H A D | bce.4 | 1 .\" Copyright (c) 2006-2014 QLogic Corporation 35 .Bd -ragged -offset indent 43 .Bd -literal -offset indent 62 .Bl -item -offset indent -compact 72 10/100/1000Mbps operation in full-duplex mode 74 10/100Mbps operation in half-duplex mode 80 .Bl -tag -width ".Cm 10baseT/UTP" 92 .Cm full-duplex 94 .Cm half-duplex 102 .Cm full-duplex [all …]
|
H A D | ure.4 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 4 .\" Copyright (c) 2015-2016 Kevin Lo <kevlo@FreeBSD.org> 38 .Bd -ragged -offset indent 50 .Bd -literal -offset indent 64 are capable of 10, 100, and 1000Mbps. 65 NICs based on the RTL8156 are capable of 10, 100, 1000, and 2500Mbps operation. 70 .Bl -tag -width "10baseT/UTP" 82 .Cm full-duplex 84 .Cm half-duplex [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | test-ratelim.c | 2 * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson 26 #include "../util-internal.h" 66 static int cfg_tick_msec = 1000; 67 static int cfg_min_share = -1; 70 static int cfg_connlimit_tolerance = -1; 71 static int cfg_grouplimit_tolerance = -1; 72 static int cfg_stddev_tolerance = -1; 78 static struct timeval cfg_tick = { 0, 500*1000 }; 93 * - cfg_connlimit_tolerance (--check-connlimit) 94 * - cfg_grouplimit_tolerance (--check-grouplimit) [all …]
|
H A D | regress.c | 2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 27 #include "util-internal.h" 34 #include "event2/event-config.h" 66 #include "event-internal.h" 67 #include "evthread-internal.h" 68 #include "log-internal.h" 69 #include "time-internal.h" 116 if (event_add(arg, NULL) == -1) in simple_read_cb() 137 switch (arg->callcount++) { in basic_read_cb() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | test-ratelim.c | 2 * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson 26 #include "../util-internal.h" 66 static int cfg_tick_msec = 1000; 67 static int cfg_min_share = -1; 70 static int cfg_connlimit_tolerance = -1; 71 static int cfg_grouplimit_tolerance = -1; 72 static int cfg_stddev_tolerance = -1; 78 static struct timeval cfg_tick = { 0, 500*1000 }; 93 * - cfg_connlimit_tolerance (--check-connlimit) 94 * - cfg_grouplimit_tolerance (--check-grouplimit) [all …]
|
H A D | regress.c | 2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 27 #include "util-internal.h" 34 #include "event2/event-config.h" 66 #include "event-internal.h" 67 #include "evthread-internal.h" 68 #include "log-internal.h" 69 #include "time-internal.h" 116 if (event_add(arg, NULL) == -1) in simple_read_cb() 137 switch (arg->callcount++) { in basic_read_cb() [all …]
|
/freebsd/lib/libifconfig/ |
H A D | sfp.lua | 2 -- ex: sw=4 et: 3 --[[ 4 /*- 31 -- Try to put the template.lua library in the package search path. 34 -- Render the template named by the first argument to this script. 35 require("template").render(arg[1], { -- This table is the template's context. 37 -- The table `enums' is accessible in the template. It is a list of strings 38 -- and tables that describe the various enum types we are generating and the 39 -- ancillary metadata for generating other related code. 42 -- Strings at this level are rendered as block comments for convenience. [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_munin_ | 5 # and use munin-node-configure (--suggest, --shell). 9 # To install; enable statistics and unbound-control in unbound.conf 10 # server: extended-statistics: yes 11 # statistics-cumulative: no 12 # statistics-interval: 0 13 # remote-control: control-enable: yes 14 # Run the command unbound-control-setup to generate the key files. 17 # unbound_conf - where the unbound.conf file is located. 18 # unbound_control - where to find unbound-control executable. 19 # spoof_warn - what level to warn about spoofing [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | mediatek,mt8188-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hui Liu <hui.liu@mediatek.com> 17 const: mediatek,mt8188-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 25 are defined in <dt-bindings/gpio/gpio.h>. 28 gpio-ranges: [all …]
|
H A D | mediatek,mt8186-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8186-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8186-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: 31 gpio-line-names: true [all …]
|
H A D | pinctrl-mt8186.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8186.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8186-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: 31 gpio-line-names: true [all …]
|
H A D | mediatek,mt8195-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8195-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8195-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: 32 gpio-line-names: true [all …]
|
H A D | pinctrl-mt8195.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8195.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8195-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: 32 gpio-line-names: true [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-lldp.c | 2 * Copyright (c) 1998-2007 The TCPDUMP project 24 #include "netdissect-stdinc.h" 197 { LLDP_PRIVATE_TIA_SUBTYPE_CAPABILITIES, "LLDP-MED Capabilities" }, 200 { LLDP_PRIVATE_TIA_SUBTYPE_EXTENDED_POWER_MDI, "Extended power-via-MDI" }, 201 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_HARDWARE_REV, "Inventory - hardware revision" }, 202 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_FIRMWARE_REV, "Inventory - firmware revision" }, 203 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_SOFTWARE_REV, "Inventory - software revision" }, 204 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_SERIAL_NUMBER, "Inventory - serial number" }, 205 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_MANUFACTURER_NAME, "Inventory - manufacturer name" }, 206 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_MODEL_NAME, "Inventory - model name" }, [all …]
|
/freebsd/contrib/unbound/util/ |
H A D | winsock_event.c | 2 * util/winsock_event.c - implementation of the unbound winsock event handler. 55 if(e->ev_timeout.tv_sec < f->ev_timeout.tv_sec) in mini_ev_cmp() 56 return -1; in mini_ev_cmp() 57 if(e->ev_timeout.tv_sec > f->ev_timeout.tv_sec) in mini_ev_cmp() 59 if(e->ev_timeout.tv_usec < f->ev_timeout.tv_usec) in mini_ev_cmp() 60 return -1; in mini_ev_cmp() 61 if(e->ev_timeout.tv_usec > f->ev_timeout.tv_usec) in mini_ev_cmp() 64 return -1; in mini_ev_cmp() 72 settime(struct event_base* base) in settime() argument 74 if(gettimeofday(base->time_tv, NULL) < 0) { in settime() [all …]
|