13 years agoBuild libc_r before other libs, particularly before libpthread.
Simon Schubert [Tue, 17 Apr 2007 23:20:54 +0000 (23:20 +0000)]
Build libc_r before other libs, particularly before libpthread.

Fixes world breakage reported by tuxillo, aggelos and chlamydia.

13 years agoPoint P_tmpdir to /tmp instead of /var/tmp.
Simon Schubert [Tue, 17 Apr 2007 22:25:45 +0000 (22:25 +0000)]
Point P_tmpdir to /tmp instead of /var/tmp.

Temp files are much better of placed in /tmp than in the not-so-volatile
/var/tmp.  Additionally, people might get space issues or might have tuned
their /tmp for speed, but not /var/tmp.

Libiberty, among other consumers is using P_tmpdir to place the temp files,
leading compiler temp files being created in /var/tmp.

13 years agoDon't allow snd_nxt to be set to a value less then snd_una when restoring
Matthew Dillon [Tue, 17 Apr 2007 17:28:04 +0000 (17:28 +0000)]
Don't allow snd_nxt to be set to a value less then snd_una when restoring
snd_nxt in the TCP limited transmit code.  This can occur if the code
blocks and acks are processed prior to restoration.

This bug fix is currently unverified.  The possible trigger is running
netstat -an on a machine very heavily loaded with 6000+ network connections.

Reported-by: Peter Avalos <pavalos@theshell.com>
13 years agoAdd a proxy libpthread.
Simon Schubert [Tue, 17 Apr 2007 12:34:07 +0000 (12:34 +0000)]
Add a proxy libpthread.

In short, it works like this:  ld uses libpthread.so when linking.  There
the SONAME is set to libpthread.so.0.  This however is a symlink (or maybe
varsymlink) to one of the threading libs.  Voila, threading libs can be
switched at execution time and we won't get breakage because of two different
threading libs being used in the same binary.

Idea-by: joerg and me.
13 years agoChange the compilers to alias -pthread to -lpthread.
Simon Schubert [Tue, 17 Apr 2007 12:18:37 +0000 (12:18 +0000)]
Change the compilers to alias -pthread to -lpthread.

Now threaded programs do not get linked to libc_r anymore, but to the
proxy lib libpthread.  As soon as all programs and libraries are relinked
to use libpthread exclusively (and not libc_r.so anymore), threading libs
can be switched by changing the /usr/lib/libpthread.so.0 symlink.

Use the following command to find all packages still linking to libc_r:

find /usr/pkg/bin /usr/pkg/sbin /usr/pkg/lib /usr/pkg/libexec -type f \
  -exec sh -c '\
    objdump -p $0 2>/dev/null | grep -q "NEEDED.*libc_r\.so" || exit 0; \
    pkg_info -F -e $0' {} \; | sort | uniq

13 years agoProbably the last change to the syslink() system call. Allow a generic
Matthew Dillon [Mon, 16 Apr 2007 17:40:16 +0000 (17:40 +0000)]
Probably the last change to the syslink() system call.  Allow a generic
structure to be passed and returned and revamp the command structure.

13 years agoBring in the skeleton infrastructure and manual page for the new syslink
Matthew Dillon [Mon, 16 Apr 2007 17:36:04 +0000 (17:36 +0000)]
Bring in the skeleton infrastructure and manual page for the new syslink

13 years agoExpose number of TX/RX descriptors through read-only sysctl hw.emX.{txd,rxd}.
Sepherosa Ziehau [Sun, 15 Apr 2007 12:50:49 +0000 (12:50 +0000)]
Expose number of TX/RX descriptors through read-only sysctl hw.emX.{txd,rxd}.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
Approved-by: dillon@
13 years agoChange build infrastructure over to sendmail 8.14.1.
Gregory Neil Shapiro [Sat, 14 Apr 2007 17:43:48 +0000 (17:43 +0000)]
Change build infrastructure over to sendmail 8.14.1.

Note that mail filters (aka, milters) compiled against the libmilter
included in the base operating system should be recompiled.

13 years agoFor bge_rxeof(), return immediately if no RX descs need to be processed, this
Sepherosa Ziehau [Sat, 14 Apr 2007 05:14:40 +0000 (05:14 +0000)]
For bge_rxeof(), return immediately if no RX descs need to be processed, this
optimization avoids two unnecessary register accessing and increase performance
a lot.  Same optimization is applied to bge_txeof(), but it will not have
real effect until bge(4) uses busdma(4) (i.e. will avoid extra sync)

Obtained-from: FreeBSD (oleg@freebsd.org)

13 years ago- Return error if reading eeprom times out.
Sepherosa Ziehau [Sat, 14 Apr 2007 04:35:10 +0000 (04:35 +0000)]
- Return error if reading eeprom times out.
  Obtained-from: FreeBSD
- Strip extra blank lines in bge_attach().

13 years agoBGE_MBX_TX_HOST_PROD0_LO is write-only, avoid reading it.
Sepherosa Ziehau [Sat, 14 Apr 2007 04:22:14 +0000 (04:22 +0000)]
BGE_MBX_TX_HOST_PROD0_LO is write-only, avoid reading it.

Obtained-from: NetBSD via FreeBSD

13 years agoSwitch binutils default to 2.17 and remove old gcc2 code.
Simon Schubert [Fri, 13 Apr 2007 12:26:56 +0000 (12:26 +0000)]
Switch binutils default to 2.17 and remove old gcc2 code.

13 years agoHook binutils-2.17 into the build.
Simon Schubert [Fri, 13 Apr 2007 12:26:42 +0000 (12:26 +0000)]
Hook binutils-2.17 into the build.

13 years agoAdd build infrastructure for binutils-2.17.
Simon Schubert [Fri, 13 Apr 2007 12:24:33 +0000 (12:24 +0000)]
Add build infrastructure for binutils-2.17.

13 years agoConvert assembly which accesses segment descriptors to use 16bit ops.
Simon Schubert [Fri, 13 Apr 2007 12:12:27 +0000 (12:12 +0000)]
Convert assembly which accesses segment descriptors to use 16bit ops.

13 years agoAdd our READMEs.
Simon Schubert [Fri, 13 Apr 2007 12:08:19 +0000 (12:08 +0000)]
Add our READMEs.

13 years agoMerge from vendor branch BINUTILS:
Simon Schubert [Fri, 13 Apr 2007 12:05:44 +0000 (12:05 +0000)]
Merge from vendor branch BINUTILS:
Import binutils-2.17.

13 years agoImport binutils-2.17. vendor/BINUTILS
Simon Schubert [Fri, 13 Apr 2007 12:05:44 +0000 (12:05 +0000)]
Import binutils-2.17.

13 years agofix critical-section mismatch
YONETANI Tomokazu [Fri, 13 Apr 2007 02:51:34 +0000 (02:51 +0000)]
fix critical-section mismatch

13 years agoAnsify parameter declarations.
Sascha Wildner [Thu, 12 Apr 2007 19:50:20 +0000 (19:50 +0000)]
Ansify parameter declarations.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

13 years agoAnsify parameter declarations.
Sascha Wildner [Thu, 12 Apr 2007 18:35:09 +0000 (18:35 +0000)]
Ansify parameter declarations.

13 years agoWhen read BBP registers, avoid writing to BBPCSR until it is no longer busy.
Sepherosa Ziehau [Thu, 12 Apr 2007 12:54:07 +0000 (12:54 +0000)]
When read BBP registers, avoid writing to BBPCSR until it is no longer busy.
After this bug fixing, TX/RX antenna setup can be safely put after BBP
initialization, which is a correct place for it, since BBP initialization
will overwrite RX antenna BBP register with default value.  Before this bug
fixing, putting TX/RX antenna setup after BBP initailization always results
in strange TX/RX problems, which I experienced when I fiddled with my ASUS
WL-107G; and some OpenBSD folks had this problems too, before Damien reverted
related changes in OpenBSD.

2526 RF does not require special I/Q flipping during TX/RX antenna setup.

Obtained-from: Ralink RT2500 Linux driver

13 years agoAdd DragonFly instructions file to new version directory.
Gregory Neil Shapiro [Thu, 12 Apr 2007 03:30:24 +0000 (03:30 +0000)]
Add DragonFly instructions file to new version directory.

Note that I have changed to using a single directory for the major
version instead of a new directory for each minor version.  This
is a better method of tracking versions IMHO.

13 years agoMerge from vendor branch SENDMAIL:
Gregory Neil Shapiro [Thu, 12 Apr 2007 03:26:51 +0000 (03:26 +0000)]
Merge from vendor branch SENDMAIL:
Import sendmail 8.14.1

13 years agoImport sendmail 8.14.1
Gregory Neil Shapiro [Thu, 12 Apr 2007 03:26:51 +0000 (03:26 +0000)]
Import sendmail 8.14.1

13 years agoDisable ar support in libarchive due to buffer overflow bugs.
Simon Schubert [Wed, 11 Apr 2007 22:49:22 +0000 (22:49 +0000)]
Disable ar support in libarchive due to buffer overflow bugs.

Submitted-by: joerg@
13 years agoKernel virtual memory must be mapped on a segment address boundary. Try
Matthew Dillon [Wed, 11 Apr 2007 21:04:09 +0000 (21:04 +0000)]
Kernel virtual memory must be mapped on a segment address boundary.  Try
numerous addresses instead of a single fixed address to accomodate systems
that might have been compiled with a different MAXDSIZ.

13 years agoUse SHUT_RD instead of a hardcoded value of 0 in calls to shutdown().
Matthew Dillon [Wed, 11 Apr 2007 18:51:33 +0000 (18:51 +0000)]
Use SHUT_RD instead of a hardcoded value of 0 in calls to shutdown().

Submitted-by: "Nuno Antunes" <nuno.antunes@gmail.com>
Obtained-from: FreeBSD

13 years agoRemove ldconfig_paths_aout which was removed from the system.
Sascha Wildner [Wed, 11 Apr 2007 18:00:06 +0000 (18:00 +0000)]
Remove ldconfig_paths_aout which was removed from the system.

13 years agoRemove ldconfig_paths_aout, it is no longer used.
Matthew Dillon [Wed, 11 Apr 2007 17:46:39 +0000 (17:46 +0000)]
Remove ldconfig_paths_aout, it is no longer used.
Add /usr/pkg/lib to the default ldconfig_paths and remove /usr/X11R6/lib.
The path is now: /usr/lib/compat /usr/pkg/lib /usr/pkg/xorg/lib /usr/local/lib

pkgsrc packages use rpaths - absolute paths, and do not need ldd library
search paths.  However, we do want these libraries to be easily accessible
to manually compiled programs and until GCC starts using rpaths by default,
maintaining a default list is a good idea.

Submitted-by: Hasso Tepper <hasso@estpak.ee>

13 years ago<> -> ()
Sascha Wildner [Wed, 11 Apr 2007 09:12:08 +0000 (09:12 +0000)]
<> -> ()

13 years agoMisc. mdoc fixes.
Sascha Wildner [Wed, 11 Apr 2007 09:07:33 +0000 (09:07 +0000)]
Misc. mdoc fixes.

13 years agoDon't use \*[Px] because it leads to an unwanted font size change.
Sascha Wildner [Wed, 11 Apr 2007 06:51:35 +0000 (06:51 +0000)]
Don't use \*[Px] because it leads to an unwanted font size change.

Found-in: FreeBSD

13 years agoSwap "underflow" and "overflow" in table header.
Sascha Wildner [Tue, 10 Apr 2007 21:09:00 +0000 (21:09 +0000)]
Swap "underflow" and "overflow" in table header.

Obtained-from: FreeBSD

13 years agoSeparate punctuation.
Sascha Wildner [Mon, 9 Apr 2007 21:20:38 +0000 (21:20 +0000)]
Separate punctuation.

13 years agoOops, forgot to remove parentheses.
Sascha Wildner [Mon, 9 Apr 2007 20:47:01 +0000 (20:47 +0000)]
Oops, forgot to remove parentheses.

13 years agoUse .Fn for functions, fix .Nm usage.
Sascha Wildner [Mon, 9 Apr 2007 20:40:46 +0000 (20:40 +0000)]
Use .Fn for functions, fix .Nm usage.

13 years agoAdd subr_alist.c. This is a bitmap allocator that works very similarly to
Matthew Dillon [Mon, 9 Apr 2007 17:10:00 +0000 (17:10 +0000)]
Add subr_alist.c.  This is a bitmap allocator that works very similarly to
subr_blist.c (swap allocator), but with added considerations.

1. All allocations must be in powers of 2.
2. All allocations will be aligned to the allocation size.
3. No allocation size limit (blist was limited to 32 blocks per allocation)

Like the blist allocator, the alist is arranged in a linear array suitable
for direct mapping onto a storage medium.  A dataspace of 2^31-1 blocks may
be represented.  Approximately 3 bits of kernel memory is used per block.

This allocator will be used by HAMMER and ANVIL (filesystem and filesystem
storage manager), and by syslink route nodes to chop out individual addresses
and subnets.  We may also use this allocator to improve the allocation of
physical memory.

13 years agoRemove redundant -Wall option.
Sascha Wildner [Mon, 9 Apr 2007 09:45:12 +0000 (09:45 +0000)]
Remove redundant -Wall option.

13 years ago* Raise WARNS to 6 and fix all warnings.
Sascha Wildner [Mon, 9 Apr 2007 09:15:48 +0000 (09:15 +0000)]
* Raise WARNS to 6 and fix all warnings.

* Do some style(9) cleanup.

13 years agoRemove obsolete header files.
Sascha Wildner [Sun, 8 Apr 2007 14:56:37 +0000 (14:56 +0000)]
Remove obsolete header files.

13 years agoFix comment: 1000baseTX -> 1000baseT
Sepherosa Ziehau [Sun, 8 Apr 2007 12:03:18 +0000 (12:03 +0000)]
Fix comment: 1000baseTX -> 1000baseT

13 years agoNuke unnecessary NULL node checks.
Sepherosa Ziehau [Sun, 8 Apr 2007 09:43:57 +0000 (09:43 +0000)]
Nuke unnecessary NULL node checks.

13 years agoCode cleanup:
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
- 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:
   while (1)
     ifconfig rum0 up
     ifconfig rum0 down
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
- 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.

13 years ago* Bring in some relevant changes from FreeBSD.
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).

13 years agoRemove the hostcache code which has been inactive since 1998.
Sascha Wildner [Sat, 7 Apr 2007 21:07:21 +0000 (21:07 +0000)]
Remove the hostcache code which has been inactive since 1998.

13 years agoat_shutdown() is long gone and was replaced with event handlers.
Sascha Wildner [Sat, 7 Apr 2007 20:19:52 +0000 (20:19 +0000)]
at_shutdown() is long gone and was replaced with event handlers.

13 years agoAdd minimal device_get_parent() manpage (device(9) references it).
Sascha Wildner [Sat, 7 Apr 2007 19:43:32 +0000 (19:43 +0000)]
Add minimal device_get_parent() manpage (device(9) references it).

13 years agoFix various forms of .Pa abuse/mistakes.
Sascha Wildner [Sat, 7 Apr 2007 19:29:52 +0000 (19:29 +0000)]
Fix various forms of .Pa abuse/mistakes.

13 years agoUpgrade to libarchive 2.0.28 giving us ar support and a new manpage.
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.

13 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Sat, 7 Apr 2007 14:04:55 +0000 (14:04 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive 2.0.28.

13 years agoImport libarchive 2.0.28.
Peter Avalos [Sat, 7 Apr 2007 14:04:55 +0000 (14:04 +0000)]
Import libarchive 2.0.28.

13 years agoRemove unused variable.
Sascha Wildner [Sat, 7 Apr 2007 11:01:06 +0000 (11:01 +0000)]
Remove unused variable.

13 years agoDocument missing multibyte character handling.
Peter Avalos [Fri, 6 Apr 2007 23:42:15 +0000 (23:42 +0000)]
Document missing multibyte character handling.

Obtained-from:  FreeBSD

13 years agoSync with 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.

13 years agoUse libcrypto for DES instead of libcipher.
Peter Avalos [Fri, 6 Apr 2007 21:33:28 +0000 (21:33 +0000)]
Use libcrypto for DES instead of libcipher.

Obtained-from:  FreeBSD

13 years agoVOP_BWRITE() was removed in 2006.
Sascha Wildner [Fri, 6 Apr 2007 21:27:06 +0000 (21:27 +0000)]
VOP_BWRITE() was removed in 2006.

13 years agoImprove mdoc a bit and uncomment some references.
Sascha Wildner [Fri, 6 Apr 2007 20:07:41 +0000 (20:07 +0000)]
Improve mdoc a bit and uncomment some references.

13 years agoAdd missing .Pp
Sascha Wildner [Fri, 6 Apr 2007 19:28:12 +0000 (19:28 +0000)]
Add missing .Pp

13 years agoConvert to mdoc.
Sascha Wildner [Fri, 6 Apr 2007 19:25:56 +0000 (19:25 +0000)]
Convert to mdoc.

13 years agoarc4random() returns 0 - 2**32-1, not 2**31-1.
Sascha Wildner [Fri, 6 Apr 2007 06:46:28 +0000 (06:46 +0000)]
arc4random() returns 0 - 2**32-1, not 2**31-1.

13 years agoUpgrade to libarchive 2.0.27 which brings in a few bug fixes by joerg.
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.

13 years agoImport libarchive 2.0.27.
Peter Avalos [Thu, 5 Apr 2007 23:02:44 +0000 (23:02 +0000)]
Import libarchive 2.0.27.

13 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Thu, 5 Apr 2007 23:02:44 +0000 (23:02 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive 2.0.27.

13 years agoThe LK_NOPAUSE flag was removed last year.
Sascha Wildner [Thu, 5 Apr 2007 20:01:19 +0000 (20:01 +0000)]
The LK_NOPAUSE flag was removed last year.

13 years agoUse standard section name.
Sascha Wildner [Thu, 5 Apr 2007 12:32:18 +0000 (12:32 +0000)]
Use standard section name.

13 years agoAdd some missing references.
Sascha Wildner [Thu, 5 Apr 2007 06:50:39 +0000 (06:50 +0000)]
Add some missing references.

13 years agoRemove leading zeroes.
Sascha Wildner [Wed, 4 Apr 2007 18:36:55 +0000 (18:36 +0000)]
Remove leading zeroes.

13 years agoFix function name.
Sascha Wildner [Wed, 4 Apr 2007 14:01:53 +0000 (14:01 +0000)]
Fix function name.

13 years agoRemove manual page of bus_generic_map_intr(), which was removed from
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.

13 years agoRemove unused definition.
Sascha Wildner [Wed, 4 Apr 2007 07:17:52 +0000 (07:17 +0000)]
Remove unused definition.

13 years ago* Remove compatibility with some old config options that were removed
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.

13 years agoFix '
Sascha Wildner [Wed, 4 Apr 2007 06:54:48 +0000 (06:54 +0000)]
Fix '

13 years agoConvert to mdoc.
Sascha Wildner [Wed, 4 Apr 2007 06:46:43 +0000 (06:46 +0000)]
Convert to mdoc.

Taken-from: NetBSD

13 years agoAdd IP_MINTTL socket option - used to set the minimum acceptable TTL a
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>
13 years agoCleanup and reformulate some of the comments.
Matthew Dillon [Tue, 3 Apr 2007 20:21:19 +0000 (20:21 +0000)]
Cleanup and reformulate some of the comments.

13 years ago- Initialize ti_jslot_serializer before it is used.
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.

13 years agoRssi correction value is in lower byte not upper byte.
Sepherosa Ziehau [Tue, 3 Apr 2007 11:08:17 +0000 (11:08 +0000)]
Rssi correction value is in lower byte not upper byte.

13 years agoRemove trailing whitespace.
Sascha Wildner [Tue, 3 Apr 2007 09:14:33 +0000 (09:14 +0000)]
Remove trailing whitespace.

13 years agoSync zoneinfo database with tzdata2007e from elsie.
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.

13 years agoUpdate the syslink documentation. This is still a work in progress. The
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).

13 years agoNuke old TX rate control algorithm coming with ral(4).
Sepherosa Ziehau [Mon, 2 Apr 2007 14:25:38 +0000 (14:25 +0000)]
Nuke old TX rate control algorithm coming with ral(4).

13 years agoAdd Sample and Onoe TX rate control algorithm support in 2661/2561 part
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.

13 years agoDocument that ifconfig(8) knows Sample TX rate control algorithm.
Sepherosa Ziehau [Sun, 1 Apr 2007 14:17:03 +0000 (14:17 +0000)]
Document that ifconfig(8) knows Sample TX rate control algorithm.

13 years ago- Define 802.11 modulation types as 'enum ieee80211_modtype'.
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:
  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.

13 years agoSort all entries in dictionary order ignoring case.
Sascha Wildner [Sun, 1 Apr 2007 13:19:49 +0000 (13:19 +0000)]
Sort all entries in dictionary order ignoring case.

13 years agoUnbreak make -j X buildkernel KERNCONF=LINT, X > 1
Sepherosa Ziehau [Sun, 1 Apr 2007 13:09:36 +0000 (13:09 +0000)]
Unbreak make -j X buildkernel KERNCONF=LINT, X > 1

13 years ago* Fix some comments.
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.

13 years agoRemove some obsolete MLINKS via 'make upgrade'.
Sascha Wildner [Sat, 31 Mar 2007 19:16:05 +0000 (19:16 +0000)]
Remove some obsolete MLINKS via 'make upgrade'.

13 years agoAdd an EVENTHANDLER(9) manual page.
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

13 years agoAdd references to crit_enter(9) and serializer(9).
Sascha Wildner [Sat, 31 Mar 2007 10:59:36 +0000 (10:59 +0000)]
Add references to crit_enter(9) and serializer(9).

13 years agoAdd a first version of a serializer(9) manual page.
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.

13 years ago- Call bge_setmulti(), if bge(4) is up and running and IFF_ALLMULTI is to
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}().

13 years agoCorrect two cases which I overlooked in my previous commit.
Sascha Wildner [Sat, 31 Mar 2007 08:16:52 +0000 (08:16 +0000)]
Correct two cases which I overlooked in my previous commit.

13 years agoIt is TIGON1 that uses NIC local memory.
Sepherosa Ziehau [Sat, 31 Mar 2007 07:47:17 +0000 (07:47 +0000)]
It is TIGON1 that uses NIC local memory.

13 years agoAdd support for BCM5752.
Sepherosa Ziehau [Sat, 31 Mar 2007 07:24:34 +0000 (07:24 +0000)]
Add support for BCM5752.

Obtained-from: FreeBSD

13 years agoregen
Sepherosa Ziehau [Sat, 31 Mar 2007 07:19:22 +0000 (07:19 +0000)]

13 years agoAdd PCI id for Broadcom BCM5752 GigE.
Sepherosa Ziehau [Sat, 31 Mar 2007 06:38:10 +0000 (06:38 +0000)]
Add PCI id for Broadcom BCM5752 GigE.

13 years ago- Add suspend and resume device methods support.
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()