/freebsd/sys/dev/mii/ |
H A D | miidevs | 124 model ALTIMA ACXXX 0x0001 ACXXX 10/100 media interface 125 model ALTIMA AC101L 0x0012 AC101L 10/100 media interface 126 model ALTIMA AC101 0x0021 AC101 10/100 media interface 128 model ALTIMA Am79C875 0x0014 Am79C875 10/100 media interface 129 model ALTIMA Am79C874 0x0021 Am79C874 10/100 media interface 134 model yyAMD 79c973phy 0x0036 Am79C973 internal 10/100 media interface 150 model xxBROADCOM BCM5201 0x0021 BCM5201 10/100 media interface 151 model xxBROADCOM BCM5214 0x0028 BCM5214 Quad 10/100 media interface 152 model xxBROADCOM BCM5221 0x001e BCM5221 10/100 media interface 153 model xxBROADCOM BCM5222 0x0032 BCM5222 Dual 10/100 media interface [all …]
|
/freebsd/libexec/nuageinit/tests/ |
H A D | nuageinit.sh | 32 mkdir -p media/nuageinit 33 …match:"nuageinit: error parsing nocloud.*" /usr/libexec/nuageinit "${PWD}"/media/nuageinit/ nocloud 34 printf "instance-id: iid-local01\nlocal-hostname: cloudimg\n" > "${PWD}"/media/nuageinit/meta-data 35 atf_check -s exit:0 /usr/libexec/nuageinit "${PWD}"/media/nuageinit nocloud 37 cat > media/nuageinit/meta-data << EOF 41 atf_check -s exit:0 /usr/libexec/nuageinit "${PWD}"/media/nuageinit nocloud 47 mkdir -p media/nuageinit 48 printf "instance-id: iid-local01\n" > "${PWD}"/media/nuageinit/meta-data 49 printf "#!/bin/sh\necho yeah\n" > "${PWD}"/media/nuageinit/user-data 50 chmod 755 "${PWD}"/media/nuageinit/user-data [all …]
|
/freebsd/usr.sbin/fstyp/ |
H A D | hammer2.c | 70 hammer2_media_data_t *media; in read_media() local 98 warnx("failed to seek media"); in read_media() 101 media = read_buf(fp, io_base, io_bytes); in read_media() 102 if (media == NULL) { in read_media() 103 warnx("failed to read media"); in read_media() 107 memcpy(media, (char *)media + boff, bytes); in read_media() 109 return (media); in read_media() 115 hammer2_media_data_t *media; in find_pfs() local 121 media in find_pfs() 207 hammer2_media_data_t *vols[HAMMER2_NUM_VOLHDRS], *media; read_label() local [all...] |
/freebsd/sbin/ifconfig/ |
H A D | ifmedia.c | 286 get_media_subtype(ifmedia_t media, const char *val) in get_media_subtype() argument 290 subtype = ifconfig_media_lookup_subtype(media, val); in get_media_subtype() 295 errx(EXIT_FAILURE, "unknown media type 0x%x", media); in get_media_subtype() 305 get_media_mode(ifmedia_t media, const char *val) in get_media_mode() argument 309 mode = ifconfig_media_lookup_mode(media, val); in get_media_mode() 314 errx(EXIT_FAILURE, "unknown media type 0x%x", media); in get_media_mode() 324 get_media_options(ifmedia_t media, const char *val) in get_media_options() argument 361 options = ifconfig_media_lookup_options(media, optnames, nopts); in get_media_options() 377 print_media(ifmedia_t media, bool print_toptype) in print_media() argument 381 val = ifconfig_media_get_type(media); in print_media() [all …]
|
/freebsd/libexec/rc/rc.d/ |
H A D | nuageinit | 19 cd /media/nuageinit/openstack/latest 50 mkdir -p /media/nuageinit 52 mount -t $fs $drive /media/nuageinit 57 mkdir -p /media/nuageinit/openstack/latest 76 dir=/media/nuageinit/$d/latest 84 /usr/libexec/nuageinit /media/nuageinit $citype 88 umount /media/nuageinit 89 rmdir /media/nuageinit 91 rm -rf /media/nuageinit
|
/freebsd/lib/libifconfig/ |
H A D | libifconfig_media.c | 219 get_toptype_ttos(ifmedia_t media) in get_toptype_ttos() argument 226 if (IFM_TYPE(media) == desc->ifmt_word) in get_toptype_ttos() 234 ifconfig_media_get_type(ifmedia_t media) in ifconfig_media_get_type() argument 239 if (IFM_TYPE(media) == desc->ifmt_word) in ifconfig_media_get_type() 256 ifconfig_media_get_subtype(ifmedia_t media) in ifconfig_media_get_subtype() argument 261 ttos = get_toptype_ttos(media); in ifconfig_media_get_subtype() 272 if (IFM_SUBTYPE(media) == desc->ifmt_word) in ifconfig_media_get_subtype() 281 ifconfig_media_lookup_subtype(ifmedia_t media, const char *name) in ifconfig_media_lookup_subtype() argument 286 ttos = get_toptype_ttos(media); in ifconfig_media_lookup_subtype() 302 ifconfig_media_get_mode(ifmedia_t media) in ifconfig_media_get_mode() argument [all …]
|
H A D | libifconfig.h | 215 const char *ifconfig_media_get_type(ifmedia_t media); 227 const char *ifconfig_media_get_subtype(ifmedia_t media); 234 ifmedia_t ifconfig_media_lookup_subtype(ifmedia_t media, const char *name); 240 const char *ifconfig_media_get_mode(ifmedia_t media); 247 ifmedia_t ifconfig_media_lookup_mode(ifmedia_t media, const char *name); 256 const char **ifconfig_media_get_options(ifmedia_t media); 269 ifmedia_t *ifconfig_media_lookup_options(ifmedia_t media, const char **opts,
|
/freebsd/usr.sbin/bsdconfig/share/media/ |
H A D | any.subr | 32 f_dprintf "%s: loading includes..." media/any.subr 34 f_include $BSDCFG_SHARE/media/cdrom.subr 35 f_include $BSDCFG_SHARE/media/directory.subr 36 f_include $BSDCFG_SHARE/media/dos.subr 37 f_include $BSDCFG_SHARE/media/http.subr 38 f_include $BSDCFG_SHARE/media/httpproxy.subr 39 f_include $BSDCFG_SHARE/media/nfs.subr 40 f_include $BSDCFG_SHARE/media/options.subr 41 f_include $BSDCFG_SHARE/media/ufs.subr 42 f_include $BSDCFG_SHARE/media/usb.subr [all …]
|
H A D | common.subr | 32 f_dprintf "%s: loading includes..." media/common.subr 34 f_include $BSDCFG_SHARE/media/any.subr 40 # Where to mount media 45 # Media probe values to use for `f_media_get_TYPE media $file $PROBE' or 56 # Returms success if able to initialize the media device. 60 f_dprintf "f_media_open: Verifying and initiliazing media device" 61 { # Verify and initialize device media if-defined 70 # Shuts down the media device, see f_device_shutdown() from device.subr for 75 f_dprintf "f_media_close: Shutting down media device" 83 # Returns success if the media device is available, and if not, prompts the [all …]
|
H A D | cdrom.subr | 32 f_dprintf "%s: loading includes..." media/cdrom.subr 35 f_include $BSDCFG_SHARE/media/common.subr 52 # Return success if we both found and set the media type to be a CD. 86 # Initializes the CDROM media device. Returns success if able to mount the CD 135 # No other CDROM media validation at this time 188 # Eject the media from the CDROM device. Returns success. 214 f_dprintf "%s: Successfully loaded." media/cdrom.subr
|
H A D | usb.subr | 32 f_dprintf "%s: loading includes..." media/usb.subr 35 f_include $BSDCFG_SHARE/media/common.subr 50 # Attempt to use USB as the media type. Return success if we both found and set 51 # the media type to be a USB drive. 94 # Initializes the USB media device. Returns success if able to mount the USB 173 f_dprintf "%s: Successfully loaded." media/usb.subr
|
H A D | directory.subr | 32 f_dprintf "%s: loading includes..." media/directory.subr 35 f_include $BSDCFG_SHARE/media/common.subr 50 # Return success if we both found and set the media type to be a local 85 # Initializes the Directory media device. Returns success if the directory path 148 f_dprintf "%s: Successfully loaded." media/directory.subr
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_diskstorage_tbl.c | 84 int32_t media; /* enum hrDiskStrorageMedia*/ member 259 .media = DSM_HARDDISK, in disk_OS_get_ATA_disks() 264 .media = DSM_OTHER, in disk_OS_get_ATA_disks() 269 .media = DSM_OPTICALDISKROM, in disk_OS_get_ATA_disks() 274 .media = DSM_FLOPPYDISK, in disk_OS_get_ATA_disks() 279 .media = DSM_OTHER, in disk_OS_get_ATA_disks() 283 { .media = DSM_UNKNOWN } in disk_OS_get_ATA_disks() 291 for (found = lookup; found->media != DSM_UNKNOWN; found++) { in disk_OS_get_ATA_disks() 319 disk_entry->media = found->media; in disk_OS_get_ATA_disks() 384 disk_entry->media = DSM_RAMDISK; in disk_OS_get_MD_disks() [all …]
|
/freebsd/usr.sbin/bsdconfig/share/ |
H A D | script.subr | 34 f_include $BSDCFG_SHARE/media/any.subr 35 f_include $BSDCFG_SHARE/media/tcpip.subr 165 # media/common.subr 169 # media includes 170 f_resword_new mediaGetType f_media_get_type # media/any.subr 171 f_resword_new mediaSetCDROM f_media_set_cdrom # media/cdrom.subr 172 f_resword_new mediaSetDOS f_media_set_dos # media/dos.subr 173 f_resword_new mediaSetDirectory f_media_set_directory # media/directory.subr 174 f_resword_new mediaSetNFS f_media_set_nfs # media/nfs.subr 175 f_resword_new mediaSetUFS f_media_set_ufs # media/ufs.subr [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | pc88 | 15 >>>>>>>>0x1B ubyte 0 \b, media=2D 16 >>>>>>>>0x1B ubyte 0x10 \b, media=2DD 17 >>>>>>>>0x1B ubyte 0x20 \b, media=2HD 18 >>>>>>>>0x1B ubyte 0x30 \b, media=1D 19 >>>>>>>>0x1B ubyte 0x40 \b, media=1DD
|
/freebsd/sys/netgraph/ |
H A D | ng_eiface.c | 83 struct ifmedia media; /* (fake) media information */ member 181 error = ifmedia_ioctl(ifp, ifr, &priv->media, command); in ng_eiface_ioctl() 347 struct ifmedia *ifm = &priv->media; in ng_eiface_mediachange() 363 struct ifmedia *ifm = &priv->media; in ng_eiface_mediastatus() 413 ifmedia_init(&priv->media, 0, ng_eiface_mediachange, in ng_eiface_constructor() 415 ifmedia_add(&priv->media, IFM_ETHER | IFM_10_T, 0, NULL); in ng_eiface_constructor() 416 ifmedia_add(&priv->media, IFM_ETHER | IFM_10_T | IFM_FDX, 0, NULL); in ng_eiface_constructor() 417 ifmedia_add(&priv->media, IFM_ETHER | IFM_100_TX, 0, NULL); in ng_eiface_constructor() 418 ifmedia_add(&priv->media, IFM_ETHER | IFM_100_TX | IFM_FDX, 0, NULL); in ng_eiface_constructor() 419 ifmedia_add(&priv->media, IFM_ETHER | IFM_1000_T, 0, NULL); in ng_eiface_constructor() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/ |
H A D | zpool_iostat_-c_disable.ksh | 46 log_mustnot zpool iostat -c media 49 log_must zpool iostat -c media 52 log_must zpool iostat -c media
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_status/ |
H A D | zpool_status_-c_disable.ksh | 46 log_mustnot zpool status -c media 49 log_must zpool status -c media 52 log_must zpool status -c media
|
/freebsd/sys/dev/my/ |
H A D | if_my.c | 388 u_int16_t phy_sts = 0, media, advert, ability; in my_autoneg_mii() local 461 media = my_phy_readreg(sc, PHY_BMCR); in my_autoneg_mii() 482 media &= ~PHY_BMCR_SPEEDSEL; in my_autoneg_mii() 483 media |= PHY_BMCR_1000; in my_autoneg_mii() 484 media |= PHY_BMCR_DUPLEX; in my_autoneg_mii() 494 media &= ~PHY_BMCR_SPEEDSEL; in my_autoneg_mii() 495 media &= ~PHY_BMCR_DUPLEX; in my_autoneg_mii() 496 media |= PHY_BMCR_1000; in my_autoneg_mii() 502 media |= PHY_BMCR_SPEEDSEL; in my_autoneg_mii() 503 media &= ~PHY_BMCR_DUPLEX; in my_autoneg_mii() [all …]
|
/freebsd/usr.sbin/bsdconfig/include/ |
H A D | tcp.hlp | 19 If you're dealing with an ethernet adaptor with multiple media 23 "media 10base5/AUI" - Select the AUI port. 24 "media 10baseT/UTP" - Select the twisted pair port. 25 "media 10base2/BNC" - Select the BNC connector. 26 "media 100baseTX" - Select 100BaseT on a 100/10 dual adaptor.
|
/freebsd/usr.sbin/bsdconfig/networking/share/ |
H A D | media.subr | 32 f_dprintf "%s: loading includes..." networking/media.subr 81 # Returns list of supported media for $interface. 92 ( $1 $2 == "supported" "media:" ) \ 149 # Display a menu of additional media options for the given network interface. 155 # Not all network interfaces support additional media options, but 162 # media options are changed while NFS-exported directories are mounted, 174 # Build list of additional media options 244 f_dprintf "%s: Successfully loaded." networking/media.subr
|
/freebsd/sys/net/ |
H A D | if_media.c | 192 compat_media(int media) in compat_media() argument 195 if (IFM_TYPE(media) == IFM_ETHER && IFM_SUBTYPE(media) > IFM_OTHER) { in compat_media() 196 media &= ~(IFM_ETH_XTYPE|IFM_TMASK); in compat_media() 197 media |= IFM_OTHER; in compat_media() 199 return (media); in compat_media()
|
/freebsd/sbin/devd/ |
H A D | dhclient.conf | 10 media-type "ethernet"; 17 media-type "802.11";
|
H A D | devd.hh | 102 class media : public eps class 105 media(config &, const char *var, const char *type); 106 virtual ~media();
|
/freebsd/usr.sbin/autofs/ |
H A D | auto_master | 5 #/media -media -nosuid,noatime,autoro
|