Home
last modified time | relevance | path

Searched full:media (Results 1 – 25 of 1375) sorted by relevance

12345678910>>...55

/freebsd/sys/dev/mii/
H A Dmiidevs124 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 Dnuageinit.sh33 mkdir -p media/nuageinit
34 …match:"nuageinit: error parsing nocloud.*" /usr/libexec/nuageinit "${PWD}"/media/nuageinit/ nocloud
35 printf "instance-id: iid-local01\nlocal-hostname: cloudimg\n" > "${PWD}"/media/nuageinit/meta-data
36 atf_check -s exit:0 /usr/libexec/nuageinit "${PWD}"/media/nuageinit nocloud
38 cat > media/nuageinit/meta-data << EOF
42 atf_check -s exit:0 /usr/libexec/nuageinit "${PWD}"/media/nuageinit nocloud
48 mkdir -p media/nuageinit
49 printf "instance-id: iid-local01\n" > "${PWD}"/media/nuageinit/meta-data
50 printf "#!/bin/sh\necho yeah\n" > "${PWD}"/media/nuageinit/user-data
51 chmod 755 "${PWD}"/media/nuageinit/user-data
[all …]
/freebsd/lib/libifconfig/
H A Dlibifconfig.h196 /** Retrieve the interface media information
211 /** Retrieve the name of a media type
212 * @param media The media to be named
213 * @return A pointer to the media type name, or NULL on failure
215 const char *ifconfig_media_get_type(ifmedia_t media);
217 /** Retrieve a media type by its name
218 * @param name The name of a media type
219 * @return The media type value, or INVALID_IFMEDIA on failure
223 /** Retrieve the name of a media subtype
224 * @param media The media subtype to be named
[all …]
H A Dlibifconfig_media.c219 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 …]
/freebsd/usr.sbin/fstyp/
H A Dhammer2.c70 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 Difmedia.c108 warnx("%s: no media types?", ctx->ifname); in media_status()
147 printf("\tsupported media:\n"); in media_status()
171 errx(1, "%s: no media types?", ctx->ifname); in ifmedia_getstate()
186 err(1, "SIOCSIFMEDIA (media)"); in setifmediacallback()
206 * (I'm assuming that all supported media types for a given in setmedia()
263 errx(1, "invalid media instance: %s", val); in setmediainst()
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()
297 errx(EXIT_FAILURE, "unknown media subtype: %s", val); in get_media_subtype()
[all …]
/freebsd/bin/chio/
H A Dchio.199 Move the media unit from
105 is specified, the media unit will be inverted before insertion.
112 Perform a media unit exchange operation.
113 The media unit in
117 and the media unit previously in
130 specify whether the media units are to be inverted before insertion into
143 Return the media unit to its source element.
144 This command will query the status of the specified media unit, and
146 This is a convenient way to return media from a drive or portal
156 is specified, the media unit will be inverted before insertion.
[all …]
/freebsd/stand/efi/libefi/
H A Defipart.c250 if (blkio->Media->BlockSize < 512 || in efipart_ignore_device()
251 blkio->Media->BlockSize > (1 << 16) || in efipart_ignore_device()
252 !powerof2(blkio->Media->BlockSize)) { in efipart_ignore_device()
258 if (blkio->Media->IoAlign > 1 && in efipart_ignore_device()
259 !powerof2(blkio->Media->IoAlign)) { in efipart_ignore_device()
277 * In above exmple only Unit(0x3) has media, all other nodes are in efipart_ignore_device()
278 * missing media and should not be used. in efipart_ignore_device()
280 * No media does not always mean there is no device, but in above in efipart_ignore_device()
283 * direct parent is USB and we have no media, we will ignore this in efipart_ignore_device()
294 * Here above the SCSI luns 1,2 and 4 have no media. in efipart_ignore_device()
[all …]
/freebsd/usr.sbin/bsdconfig/share/media/
H A Dany.subr32 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 Dcommon.subr32 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 …]
/freebsd/sys/net/
H A Dif_media.c40 * BSD/OS-compatible network interface media selection.
112 * Add a media configuration to the list of supported media
143 * Add an array of media configurations to the list of
144 * supported media for a specific interface instance.
157 * Set the default active media.
160 * selected the default media in hardware. We do _not_ call the
161 * media-change callback.
188 * Given a media word, return one suitable for an application
192 compat_media(int media) in compat_media() argument
195 if (IFM_TYPE(media) == IFM_ETHER && IFM_SUBTYPE(media) > IFM_OTHER) { in compat_media()
[all …]
H A Dif_media.h44 * media selection.
61 * Driver callbacks for media status and change requests.
67 * In-kernel representation of a single supported media type.
71 int ifm_media; /* description of this media attachment */
78 * It is used to keep general media state.
82 int ifm_media; /* current user-set media word */
83 struct ifmedia_entry *ifm_cur; /* currently selected media */
84 LIST_HEAD(, ifmedia_entry) ifm_list; /* list of all supported media */
85 ifm_change_cb_t ifm_change; /* media change driver callback */
86 ifm_stat_cb_t ifm_status; /* media status driver callback */
[all …]
/freebsd/usr.sbin/bsdconfig/share/
H A Dscript.subr34 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/libexec/rc/rc.d/
H A Dnuageinit19 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/share/man/man4/
H A Dch.431 .Nd SCSI media-changer (juke box) driver
39 media changer.
40 It allows many slots of media to be multiplexed between
44 the media.
70 device; data structures are dynamically allocated as media changes are found
175 Return the configuration parameters for the media changer.
193 call on the media changer device.
194 This forces the media changer to update its internal status
195 information with respect to loaded media.
204 call on the media changer device.
[all …]
H A Drgephy.451 In order to get a list of media types and options supported by a specific
61 driver supports the following special media option:
64 When manually setting media type and options via
69 media.
73 In order to manually set the media type and options without also triggering
79 media option.
82 Note that this special media option will not show up in the output of
89 .Dl "ifconfig re0 media 100baseTX mediaopt full-duplex,flag0"
H A Dxl.474 driver supports the following media types:
77 Enable autoselection of the media type and options.
84 change this by adding media options to the
113 driver supports the following media options:
121 Note that the 100baseTX media type is only available if supported
231 .It "xl%d: WARNING: no media options bits set in the media options register!"
235 reason, the 'MII available' bit in the media options register on
239 attempt to guess the proper media type based on the PCI device ID
H A Dda.487 device driver ensures that the cache and media are synchronized upon
102 To ensure that transactions to distant portions of the media,
108 defective media.
109 Media recovery parameters are located in mode page 1,
111 The most important media
155 Media polling period in seconds.
171 sync the disk to physical media.
221 If a device becomes invalidated (media is removed, device becomes unresponsive)
224 To avoid corruption of a newly inserted piece of media or
/freebsd/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dmedia16 0) MEDIA="ssd" ;;
17 1) MEDIA="hdd" ;;
18 *) MEDIA="invalid" ;;
24 MEDIA="iscsi"
29 MEDIA="file"
33 echo "media=$MEDIA"
/freebsd/sbin/dhclient/
H A Ddhclient.conf.5362 .It Ic medium Qq Ar "media setup" ;
368 .Ar "media setup"
381 media type (see the
382 .Ic media
385 interface requires media type configuration.
471 .It Ic media Qo Ar "media setup" Qc Oo , Qo Ar "media setup" Qc , Ar ... Oc ;
473 .Ic media
474 statement defines one or more media configuration parameters which may
476 The DHCP client will cycle through each media setup string on the list,
480 the media type unaided - whichever media type succeeds in getting a request
[all …]
/freebsd/usr.sbin/bsdconfig/include/
H A Dmessages.subr33 …p_for_more_information_on_media_types="Choose Help for more information on the various media types"
51 …ing_to_update_repository_catalogue="Attempting to update repository catalogue from selected media."
82 msg_choose_installation_media="Choose Installation Media"
83 …ng FreeBSD from a supported CD/DVD drive then this is generally\nthe best media to use if you have…
184 …on_index_file="I/O or format error on INDEX file.\nPlease verify media (or path to media) and try …
217 msg_media_timeout="Media Timeout"
218 msg_media_type="Media Type"
298 …pecify_the_number_of_seconds_to_wait="Please specify the number of seconds to wait for slow media:"
370 msg_the_current_installation_media_type="The current installation media type."
371 msg_timeout_value_in_seconds_for_slow_media="Timeout value in seconds for slow media."
[all …]
H A Dtcp.hlp19 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/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c78 * NOTE: according to MIB removable means removable media, not the
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()
[all …]
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Ddkio.h217 * The following ioctl's are removable media support
222 #define DKIOCREMOVABLE (DKIOC|16) /* is media removable */
279 #define DKIOCGMEDIAINFO (DKIOC|42) /* get information about the media */
307 * Used for Media info or the current profile info
310 uint_t dki_media_type; /* Media type or profile info */
311 uint_t dki_lbsize; /* Logical blocksize of media */
316 * Media types or profiles known
318 #define DK_UNKNOWN 0x00 /* Media inserted - type unknown */
322 * SFF 8090 Specification Version 3, media types 0x01 - 0xfffe are retained to
324 * optical media type.
[all …]
/freebsd/sys/netgraph/
H A Dng_eiface.c83 struct ifmedia media; /* (fake) media information */ member
178 /* (Fake) media type manipulation */ in ng_eiface_ioctl()
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()
[all …]

12345678910>>...55