diff options
author | dteske <dteske@FreeBSD.org> | 2014-01-15 07:42:31 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2014-01-15 07:42:31 +0000 |
commit | 44abef95373cf49911f4c9bf27ad329cccbd3a05 (patch) | |
tree | 7aeb1ba6a3adf35cc19d1331c5df50b19f52e32f /usr.sbin/bsdconfig/share/media | |
parent | a623494f5ed13ab9649c5e3e09428310f68164d9 (diff) | |
download | FreeBSD-src-44abef95373cf49911f4c9bf27ad329cccbd3a05.zip FreeBSD-src-44abef95373cf49911f4c9bf27ad329cccbd3a05.tar.gz |
MFC r258458:
Improve network device scanning in the netdev module. First, make it use the
`device.subr' framework (improving performane and reducing sub-shells). Next
improve the `device.subr' framework itself. Make use of the `flags' device
struct member for network interfaces to indicate if an interface is Active,
Wired Ethernet, or 802.11 Wireless. Functions have been added to make checks
against the `flags' bit-field quick and efficient. Last, add function for
rescanning the network to update the device registers. Remove an unnecessary
local (ifn) while we're here (use already provided local `if').
Diffstat (limited to 'usr.sbin/bsdconfig/share/media')
0 files changed, 0 insertions, 0 deletions