Sascha Wildner [Sun, 8 Apr 2007 14:56:37 +0000 (14:56 +0000)]
Remove obsolete header files.
Sepherosa Ziehau [Sun, 8 Apr 2007 12:03:18 +0000 (12:03 +0000)]
Fix comment: 1000baseTX -> 1000baseT
Sepherosa Ziehau [Sun, 8 Apr 2007 09:43:57 +0000 (09:43 +0000)]
Nuke unnecessary NULL node checks.
Sepherosa Ziehau [Sun, 8 Apr 2007 09:41:41 +0000 (09:41 +0000)]
Code cleanup:
- Nuke commented out spl*() and function declaration.
- Break long comment lines in rum_ioctl().
- Nuke unnecessary NULL node check in rum_start().
Resource alloc/free fixes and cleanup:
- Fix several resource leakages:
o In rum_start(), decrease node refcnt on error handling path.
o In rum_stop(), free rum_softc.stats_xfer.
o In rum_tx_free_list(), free possible pending TX mbuf.
- In rum_tx_data(), if usbd_transfer() fails, clear rum_tx_data.m and
rum_tx_data.ni, so later resource free routine will not double free
them.
- Change the redundant resource free code in rum_detach() into assertion
to make sure everything are clear.
- In rum_alloc_{tx,rx}_list(), don't call rum_free_{tx,rx}_list, if
error happens, since caller will do that in rum_stop().
Rest of changes are used to fix following problems:
1) Random system hanging if following script is excuted:
#!/bin/csh
while (1)
ifconfig rum0 up
ifconfig rum0 down
end
2) Random system hanging during 'ifconfig rum0 down', if rum(4) is
attached to uhci/ohci.
3) Promised system hanging if wpa_supplicant(8) is used and killed after
connection to AP is established, and rum(4) is attached to uhci/ohci.
4) Random serializer recursive assertion, if rum(4) is under heavy load
and brought down.
- In rum_stop(), turn on RUM_FLAG_STOPPED, so USB transanction will
not be restarted in rum_rxeof() and rum_stats_timeout() during device
halting.
- In rum_stop(), release ifnet.if_serializer before aborting RX/TX pipe.
This make sure serializer will not be recursive held,
e.g. abort RX pipe -> rum_rxeof().
- Don't turn off TSF sync, when 802.11 state transits to INIT. Since
o Chip will be reset immediately after INIT state transition, so
turning off TSF sync does not make much sense.
o If rum(4) is under heavy RX/TX load, turning off TSF sync will
stall various USB operations, thus hang the whole system.
- After above change, perform INIT state transition in rum_newstate(),
so that 802.11 state machine is promised to be halted during detach
and stop routine.
- Use critical section and RUM_FLAG_CONFIG to protect various USB operation
sequences, which are not intended to be interfered.
Sascha Wildner [Sun, 8 Apr 2007 07:05:25 +0000 (07:05 +0000)]
* Bring in some relevant changes from FreeBSD.
* Add some words about bus_setup_intr() and bus_teardown_intr().
* Add a reference to serializer(9).
Sascha Wildner [Sat, 7 Apr 2007 21:07:21 +0000 (21:07 +0000)]
Remove the hostcache code which has been inactive since 1998.
Sascha Wildner [Sat, 7 Apr 2007 20:19:52 +0000 (20:19 +0000)]
at_shutdown() is long gone and was replaced with event handlers.
Sascha Wildner [Sat, 7 Apr 2007 19:43:32 +0000 (19:43 +0000)]
Add minimal device_get_parent() manpage (device(9) references it).
Sascha Wildner [Sat, 7 Apr 2007 19:29:52 +0000 (19:29 +0000)]
Fix various forms of .Pa abuse/mistakes.
Peter Avalos [Sat, 7 Apr 2007 14:10:27 +0000 (14:10 +0000)]
Upgrade to libarchive 2.0.28 giving us ar support and a new manpage.
Peter Avalos [Sat, 7 Apr 2007 14:04:55 +0000 (14:04 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive 2.0.28.
Peter Avalos [Sat, 7 Apr 2007 14:04:55 +0000 (14:04 +0000)]
Import libarchive 2.0.28.
Sascha Wildner [Sat, 7 Apr 2007 11:01:06 +0000 (11:01 +0000)]
Remove unused variable.
Peter Avalos [Fri, 6 Apr 2007 23:42:15 +0000 (23:42 +0000)]
Document missing multibyte character handling.
Obtained-from: FreeBSD
Peter Avalos [Fri, 6 Apr 2007 23:36:54 +0000 (23:36 +0000)]
Sync with FreeBSD.
File positions are off_t nowdays, not long, so:
fseek -> fseeko
Make errmsg a const, so we can just set error messages instead
of using sprintf/strcpy.
proper parens mean that fd is always set by open(2) [in any part of C],
and so we can accurately check for it returning -1, without feeling like
we need to initialize fd to -1 in its declaration.
Remove some #ifdef sun.
Sprinkle const.
Peter Avalos [Fri, 6 Apr 2007 21:33:28 +0000 (21:33 +0000)]
Use libcrypto for DES instead of libcipher.
Obtained-from: FreeBSD
Sascha Wildner [Fri, 6 Apr 2007 21:27:06 +0000 (21:27 +0000)]
VOP_BWRITE() was removed in 2006.
Sascha Wildner [Fri, 6 Apr 2007 20:07:41 +0000 (20:07 +0000)]
Improve mdoc a bit and uncomment some references.
Sascha Wildner [Fri, 6 Apr 2007 19:28:12 +0000 (19:28 +0000)]
Add missing .Pp
Sascha Wildner [Fri, 6 Apr 2007 19:25:56 +0000 (19:25 +0000)]
Convert to mdoc.
Sascha Wildner [Fri, 6 Apr 2007 06:46:28 +0000 (06:46 +0000)]
arc4random() returns 0 - 2**32-1, not 2**31-1.
Peter Avalos [Thu, 5 Apr 2007 23:07:31 +0000 (23:07 +0000)]
Upgrade to libarchive 2.0.27 which brings in a few bug fixes by joerg.
Peter Avalos [Thu, 5 Apr 2007 23:02:44 +0000 (23:02 +0000)]
Import libarchive 2.0.27.
Peter Avalos [Thu, 5 Apr 2007 23:02:44 +0000 (23:02 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive 2.0.27.
Sascha Wildner [Thu, 5 Apr 2007 20:01:19 +0000 (20:01 +0000)]
The LK_NOPAUSE flag was removed last year.
Sascha Wildner [Thu, 5 Apr 2007 12:32:18 +0000 (12:32 +0000)]
Use standard section name.
Sascha Wildner [Thu, 5 Apr 2007 06:50:39 +0000 (06:50 +0000)]
Add some missing references.
Sascha Wildner [Wed, 4 Apr 2007 18:36:55 +0000 (18:36 +0000)]
Remove leading zeroes.
Sascha Wildner [Wed, 4 Apr 2007 14:01:53 +0000 (14:01 +0000)]
Fix function name.
Sascha Wildner [Wed, 4 Apr 2007 09:49:28 +0000 (09:49 +0000)]
Remove manual page of bus_generic_map_intr(), which was removed from
FreeBSD before we forked.
Sascha Wildner [Wed, 4 Apr 2007 07:17:52 +0000 (07:17 +0000)]
Remove unused definition.
Sascha Wildner [Wed, 4 Apr 2007 07:14:26 +0000 (07:14 +0000)]
* Remove compatibility with some old config options that were removed
in FreeBSD before we forked.
* Rearrange some #include directives.
Sascha Wildner [Wed, 4 Apr 2007 06:54:48 +0000 (06:54 +0000)]
Fix '
Sascha Wildner [Wed, 4 Apr 2007 06:46:43 +0000 (06:46 +0000)]
Convert to mdoc.
Taken-from: NetBSD
Matthew Dillon [Wed, 4 Apr 2007 06:13:26 +0000 (06:13 +0000)]
Add IP_MINTTL socket option - used to set the minimum acceptable TTL a
packet must have when received on a socket. All packets with a lower TTL
are silently dropped. Works on already connected/connecting and listening
sockets for RAW/UDP/TCP.
Add IP_RECVTTL socket option support - When set, userland receives the
incoming packet's TTL as ancillary data with recvmsg(2) call.
Allows the implementation of security mechanisms described in RFC3682 (GTSM).
Obtained-from: FreeBSD.
Submitted-by: Hasso Tepper <hasso@estpak.ee>
Matthew Dillon [Tue, 3 Apr 2007 20:21:19 +0000 (20:21 +0000)]
Cleanup and reformulate some of the comments.
Sepherosa Ziehau [Tue, 3 Apr 2007 14:20:52 +0000 (14:20 +0000)]
- Initialize ti_jslot_serializer before it is used.
- Set m_ext.ext_buf during jumbo buffer allocation.
Paniced-by: Michael Kosarev <russiane39@gmail.com>
- Add an assertion to make sure that reused mbuf adopts m_ext interface.
- Properly setup m_len for a reused mbuf.
Sepherosa Ziehau [Tue, 3 Apr 2007 11:08:17 +0000 (11:08 +0000)]
Rssi correction value is in lower byte not upper byte.
Sascha Wildner [Tue, 3 Apr 2007 09:14:33 +0000 (09:14 +0000)]
Remove trailing whitespace.
Sascha Wildner [Tue, 3 Apr 2007 07:24:51 +0000 (07:24 +0000)]
Sync zoneinfo database with tzdata2007e from elsie.
asia: 8.10 -> 8.11
northamerica: 8.15 -> 8.16
* Syria switched to summertime last Friday.
* Honduras doesn't enter DST this year.
Matthew Dillon [Tue, 3 Apr 2007 03:09:28 +0000 (03:09 +0000)]
Update the syslink documentation. This is still a work in progress. The
main change is that I got stuck in a hole and diverged from my original
concept of having a self-identifying network. These changes reformulate
the algorithms such that we are back to the self-identifying network concept.
That is, the idea that you can just connect into a cluster at any point and
everything will be worked out automatically.
One big issue still needs to be resolved, and that is how to figure out
an optimal physical route from point A to point C without having to go
through point B, where point B is the registration node used as a rendezvous
for A and C. It is always possible for A to issue a cluster-wide broadcast
to 'forge' a route to C, or vise-versa, and we will probably implement things
this way initially (and always have it available for emergencies), but it
would not scale as the cluster grows despite the fairly rough granularity
in the resources being advertised (e.g. filesystems rather then files).
Sepherosa Ziehau [Mon, 2 Apr 2007 14:25:38 +0000 (14:25 +0000)]
Nuke old TX rate control algorithm coming with ral(4).
Sepherosa Ziehau [Mon, 2 Apr 2007 13:46:07 +0000 (13:46 +0000)]
Add Sample and Onoe TX rate control algorithm support in 2661/2561 part
of ral(4), and use Sample as default TX rate control algorithm, which
leads to same dramatic TX performance boosts as it does for 2560 part.
Sepherosa Ziehau [Sun, 1 Apr 2007 14:17:03 +0000 (14:17 +0000)]
Document that ifconfig(8) knows Sample TX rate control algorithm.
Sepherosa Ziehau [Sun, 1 Apr 2007 13:59:41 +0000 (13:59 +0000)]
- Define 802.11 modulation types as 'enum ieee80211_modtype'.
- Expose ieee80211_rate2modtype() for pubic use.
- Add definition for DIFS, slot time and contention window.
- Add addition field in TX rate control state structure, so drivers can
give hints to TX rate control algorithms about their capabilities.
- Add Sample TX rate control support:
http://www.pdos.lcs.mit.edu/papers/jbicket-ms.pdf
It is factored out and adapted from the one in ath(4).
- In ieee80211_ratectl.h, expose only IEEE80211_RATECTL_{ONOE,AMRR,SAMPLE}
for user space program.
- Teach ifconfig(8) to show and set Sample TX rate control algorithm.
- Fix a node leakage on rt2560_tx_mgt() error handling path.
- Support Onoe and Sample TX rate control algorithm in 2560 part of
ral(4), and use Sample TX rate control algorithm as the default TX
rate control algorithm. [*]
- Make ral(4) depend on wlan_ratectl_{onoe,sample}.
- Hook Sample TX rate control algorithm into GENERIC and LINT.
# [*]
# If Sample TX rate control algorithm is used, I get almost 100~200%
# UDP_STREAM netperf TX performance boost than the original TX rate
# control algorithm in open/noisy enviroments, and +200~500Kbits/s
# UDP_STREAM netperf TX performance boost under good conditions.
Sascha Wildner [Sun, 1 Apr 2007 13:19:49 +0000 (13:19 +0000)]
Sort all entries in dictionary order ignoring case.
Sepherosa Ziehau [Sun, 1 Apr 2007 13:09:36 +0000 (13:09 +0000)]
Unbreak make -j X buildkernel KERNCONF=LINT, X > 1
Sascha Wildner [Sun, 1 Apr 2007 12:20:50 +0000 (12:20 +0000)]
* Fix some comments.
* Add URL for DragonFly cvsup mirrors to the README.
* Sync FreeBSD supfiles.
* Don't specify a cvsup host for NetBSD and OpenBSD.
* Remove OpenDarwin supfile (project died).
Part of this commit was submitted by Trevor Kendall.
Sascha Wildner [Sat, 31 Mar 2007 19:16:05 +0000 (19:16 +0000)]
Remove some obsolete MLINKS via 'make upgrade'.
Sascha Wildner [Sat, 31 Mar 2007 11:21:47 +0000 (11:21 +0000)]
Add an EVENTHANDLER(9) manual page.
Submitted-by: Hasso Tepper <hasso@estpak.ee>
Adapted-from: FreeBSD
Sascha Wildner [Sat, 31 Mar 2007 10:59:36 +0000 (10:59 +0000)]
Add references to crit_enter(9) and serializer(9).
Sascha Wildner [Sat, 31 Mar 2007 10:54:52 +0000 (10:54 +0000)]
Add a first version of a serializer(9) manual page.
Submitted-by: Hasso Tepper <hasso@estpak.ee>
Reviewed-by: sephe
I did the markup and added a few things.
Sepherosa Ziehau [Sat, 31 Mar 2007 09:31:57 +0000 (09:31 +0000)]
- Call bge_setmulti(), if bge(4) is up and running and IFF_ALLMULTI is to
be set.
Obtained-from: FreeBSD (ru@freebsd.org)
- Cleanup the logic of SIOCSIFFLAGS.
- Factor out bge_setpromisc(), use it in bge_{init,ioctl}().
Sascha Wildner [Sat, 31 Mar 2007 08:16:52 +0000 (08:16 +0000)]
Correct two cases which I overlooked in my previous commit.
Sepherosa Ziehau [Sat, 31 Mar 2007 07:47:17 +0000 (07:47 +0000)]
It is TIGON1 that uses NIC local memory.
Sepherosa Ziehau [Sat, 31 Mar 2007 07:24:34 +0000 (07:24 +0000)]
Add support for BCM5752.
Obtained-from: FreeBSD
Sepherosa Ziehau [Sat, 31 Mar 2007 07:19:22 +0000 (07:19 +0000)]
regen
Sepherosa Ziehau [Sat, 31 Mar 2007 06:38:10 +0000 (06:38 +0000)]
Add PCI id for Broadcom BCM5752 GigE.
Sepherosa Ziehau [Sat, 31 Mar 2007 06:07:16 +0000 (06:07 +0000)]
- Add suspend and resume device methods support.
Obtained-from: FreeBSD (pjd@freebsd.org)
- Add serializer assertion in bge_{init,ioctl,stop}()
- Properly serialize bge_shutdown()
Sepherosa Ziehau [Sat, 31 Mar 2007 05:12:24 +0000 (05:12 +0000)]
- Correctly configure BGE_RX_MTU register. Since we set the IFCAP_VLAN_MTU
flag, we must allow reception of frames up to 1522 bytes in size rather
than 1518.
- Update FreeBSD's RCSIDs.
Obtained-from: FreeBSD (wpaul@freebsd.org)
Sepherosa Ziehau [Fri, 30 Mar 2007 14:15:58 +0000 (14:15 +0000)]
Yet another RTL8110SC
Obtained-from: FreeBSD (remko@freebsd.org)
Sepherosa Ziehau [Fri, 30 Mar 2007 14:07:13 +0000 (14:07 +0000)]
Add support for 82562GX
Obtained-from: FreeBSD (remko@freebsd.org)
Sepherosa Ziehau [Fri, 30 Mar 2007 12:46:58 +0000 (12:46 +0000)]
Allow "join bss command" argument's essid field to be IEEE80211_NWID_LEN long.
Sepherosa Ziehau [Fri, 30 Mar 2007 12:44:35 +0000 (12:44 +0000)]
Firmware TX buffer length is 2bytes not 4.
Obtained-from: OpenBSD (claudio@openbsd.org)
Sepherosa Ziehau [Fri, 30 Mar 2007 11:39:34 +0000 (11:39 +0000)]
- Add a definition for the length of 802.11 MAC frame's FCS. Use it instead
of the magic number '4' in ral(4), rum(4) and ural(4).
- In ral(4), rum(4) and ural(4), use sizeof(struct ieee80211_frame_{ack,cts})
to calculate ACK and CTS size, instead of using the magic number '10'.
- In rum(4) and ural(4), nuke unused macro RAL_CTS_SIZE.
- Correct SIFS setting in ral(4), rum(4) and ural(4).
- Implement ieee80211_txtime(), according to 802.11 standards' TXTIME
calculation.
- Nuke {ral,rum,ural}_txtime(), use ieee80211_txtime() instead.
# We are one step closer to the generic Sample TX rate control algorithm.
Sascha Wildner [Fri, 30 Mar 2007 09:08:57 +0000 (09:08 +0000)]
Put debugging information into a section of its own.
Sascha Wildner [Fri, 30 Mar 2007 08:45:28 +0000 (08:45 +0000)]
Sort all entries in dictionary order ignoring case.
Peter Avalos [Thu, 29 Mar 2007 00:49:01 +0000 (00:49 +0000)]
Upgrade to OpenSSH 4.6p1.
Peter Avalos [Thu, 29 Mar 2007 00:46:51 +0000 (00:46 +0000)]
Merge from vendor branch OPENSSH:
Import OpenSSH 4.6p1.
Peter Avalos [Thu, 29 Mar 2007 00:46:51 +0000 (00:46 +0000)]
Import OpenSSH 4.6p1.
Peter Avalos [Wed, 28 Mar 2007 19:06:02 +0000 (19:06 +0000)]
Upgrade to OpenSSL 0.9.8e.
Peter Avalos [Wed, 28 Mar 2007 19:01:30 +0000 (19:01 +0000)]
Merge from vendor branch OPENSSL:
Import OpenSSL 0.9.8e.
Peter Avalos [Wed, 28 Mar 2007 19:01:30 +0000 (19:01 +0000)]
Import OpenSSL 0.9.8e.
Peter Avalos [Wed, 28 Mar 2007 17:28:08 +0000 (17:28 +0000)]
Fix typo.
Sepherosa Ziehau [Tue, 27 Mar 2007 13:34:53 +0000 (13:34 +0000)]
- Implement ieee80211_ack_rate() according to IEEE Std 802.11g-2003
clause 9.6
- Nuke non-standard conforming ACK rate calculation in ral(4), rum(4)
and ural(4). Use ieee80211_ack_rate() instead.
Sascha Wildner [Tue, 27 Mar 2007 10:08:02 +0000 (10:08 +0000)]
Convert to mdoc.
Taken-from: NetBSD
Sepherosa Ziehau [Mon, 26 Mar 2007 12:13:58 +0000 (12:13 +0000)]
Turn on hardware vlan tagging and vlan mtu for NICs which have these
capabilities.
Submitted-by: Gary Allan <dragonfly@gallan.plus.com>
Reviewed-by: dillon@
Sepherosa Ziehau [Mon, 26 Mar 2007 11:08:30 +0000 (11:08 +0000)]
Don't contraint size of Supported Rates ie as specified in 11g standard,
since for some field pre-11g implementation, Supported Rates ie is used
to carry all BSS supported rates, whose size exceeds 8.
Pointed-out-by: Sam Leffler
YONETANI Tomokazu [Mon, 26 Mar 2007 02:34:39 +0000 (02:34 +0000)]
Add ACPI_DEBUG_CACHE debug option to module build of acpi driver
to catch the current and the first caller of AcpiOsReleaseObject().
Peter Avalos [Mon, 26 Mar 2007 02:27:37 +0000 (02:27 +0000)]
GC old readline version.
Peter Avalos [Mon, 26 Mar 2007 00:30:55 +0000 (00:30 +0000)]
GC old libarchive/bsdtar.
Peter Avalos [Mon, 26 Mar 2007 00:03:44 +0000 (00:03 +0000)]
Upgrade to libarchive 2.0.25 which gives us a nice speed boost along with
some bug fixes.
Peter Avalos [Sun, 25 Mar 2007 22:33:02 +0000 (22:33 +0000)]
Add our READMEs for the libarchive 2.0 import.
Peter Avalos [Sun, 25 Mar 2007 22:19:51 +0000 (22:19 +0000)]
Import libarchive and bsdtar version 2.0.25
Peter Avalos [Sun, 25 Mar 2007 22:19:51 +0000 (22:19 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive and bsdtar version 2.0.25
Sascha Wildner [Sun, 25 Mar 2007 11:35:11 +0000 (11:35 +0000)]
Adjust various paths for xorg.
Sepherosa Ziehau [Sun, 25 Mar 2007 08:10:51 +0000 (08:10 +0000)]
- Make sure size of Supported Rates ie does not exceed the limit set by
802.11 standard.
- Make sure the sum of Supported Rates ie size and Extended Supported
Rates ie size is within the range netproto/802_11 can support.
Sepherosa Ziehau [Sun, 25 Mar 2007 07:50:50 +0000 (07:50 +0000)]
Change NXCFLAGS+= to NXCFLAGS=, so include path inherited from CFLAGS
is eliminated and the patched file.h will be picked by compiler during
mkmagic.nx compiling.
Reviewed-by: pavalos@
Peter Avalos [Sun, 25 Mar 2007 03:33:59 +0000 (03:33 +0000)]
Merge from vendor branch FILE:
Update to 4.20 which, among other things, fixes a heap overflow.
Peter Avalos [Sun, 25 Mar 2007 03:33:59 +0000 (03:33 +0000)]
Update to 4.20 which, among other things, fixes a heap overflow.
Peter Avalos [Sun, 25 Mar 2007 03:33:59 +0000 (03:33 +0000)]
Update to 4.20 which, among other things, fixes a heap overflow.
Sascha Wildner [Sat, 24 Mar 2007 21:52:14 +0000 (21:52 +0000)]
Raise WARNS to 6 and perform some style(9) cleanup.
Sascha Wildner [Sat, 24 Mar 2007 21:29:06 +0000 (21:29 +0000)]
Raise WARNS to 6 and perform some style(9) cleanup.
Matthew Dillon [Sat, 24 Mar 2007 19:11:15 +0000 (19:11 +0000)]
Reformulate the syslink_msg structure a bit. Instead of trying to create
unique sessions with a combination of logical and transaction ids, which
when all said and done is not very robust and not easy to index,
create a 'session' abstraction which can be used as a rendezvous for
a transaction as well as recorded by the route node for tracking and
caching purposes.
The 64 bit session ids are cluster-wide unique numbers, unique for all-time
(which means 'for long enough'... i.e. at least a year), which identify
abstracted connections between entities... almost the equivalent of
an 'open'. The universal uniqueness of the number combined with the
logical end-point tracking greatly improves robustness in the face of an
ever-changing dynamic cluster mesh and guarentees that a syslink message
will never be misinterpreted. Stale sessions can now be trivially
detected and acted upon.
This also allows us to reformulate the sysids we store in the message
structure into something that is far more suitable for tracking and routing
purposes without having to bloat the structure (three 64 bit ids in the
structure is plenty already!).
Matthew Dillon [Sat, 24 Mar 2007 18:53:57 +0000 (18:53 +0000)]
Update the syslink documentation. A number of major design changes have
been made. In particular, there was insufficient uniqueness in the logical
id methodology in the face of any major (live) change made in the cluster
topology. Introduce a session id abstraction to deal with the issue.
This also allows us to avoid adding another sysid_t to the message structure
(there are already three).
Sepherosa Ziehau [Sat, 24 Mar 2007 08:42:42 +0000 (08:42 +0000)]
Vge(4) is miibus(4) aware, so nuke the already commented out link state change
reporting code.
Sepherosa Ziehau [Sat, 24 Mar 2007 08:39:03 +0000 (08:39 +0000)]
Add routing socket's link state change message support for 802.11 layer.
Submitted-by: Hasso Tepper <hasso@estpak.ee>
Sepherosa Ziehau [Sat, 24 Mar 2007 08:29:57 +0000 (08:29 +0000)]
Adapt lnc(4), which is miibus(4) unaware, to support routing socket's
link state change messages.
Submitted-by: Hasso Tepper <hasso@estpak.ee>
Sepherosa Ziehau [Sat, 24 Mar 2007 05:57:49 +0000 (05:57 +0000)]
Report link states changes (link up/down and braudrate changes) through
routing socket.
Miibus(4) aware network drivers can benifit from this change without
adapatation. Em(4), which is not miibus(4) aware, is adapted to support
this change.
Submitted-by: Hasso Tepper <hasso@estpak.ee>
Obtained-from: OpenBSD w/ modification
Reviewed-by: dillon@
Sascha Wildner [Fri, 23 Mar 2007 15:54:34 +0000 (15:54 +0000)]
Bring in numerous fixes from FreeBSD.