]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoBack out previous commit; i.e., turn hyperthreading back on by default.
cperciva [Wed, 28 Nov 2007 23:24:07 +0000 (23:24 +0000)]
Back out previous commit; i.e., turn hyperthreading back on by default.

Newer Intel processors have better hyperthreading implementations than
the original ones, and FreeBSD's SMP and scheduler code has greatly
improved between 6.x and 7.x; so hyperthreading now provides a
non-trivial performance win.

Note that security issues involving shared caches and other
microarchitectural features (e.g., dynamic branch prediction tables)
still exist; consequently, it is recommended that hyperthreading be
turned off on systems with untrusted local users.  This can be
performed by setting machdep.hyperthreading_allowed=0 in
/boot/loader.conf.

Hyperthreading will continue to be disabled by default on FreeBSD 6.x.

Requested by: core
Approved by: re (kensmith)
Security: See FreeBSD-SA-05:09.htt for background information.

16 years agoMFC revision 1.360
alc [Wed, 28 Nov 2007 22:23:35 +0000 (22:23 +0000)]
MFC revision 1.360
  When reactivating a cached page, reset the page's pool to the default
  pool.  (Not doing this before was a performance pessimization but not
  a cause for panic.)

Approved by: re (kensmith)

16 years agoMFC: fix situation where GDB gives incorrect backtraces when a signal
obrien [Wed, 28 Nov 2007 16:55:39 +0000 (16:55 +0000)]
MFC: fix situation where GDB gives incorrect backtraces when a signal
     handler is in the call chain.

Approved by: re(kensmith)

16 years agoMFC: sta mode setup for 11n devices
sam [Wed, 28 Nov 2007 06:15:03 +0000 (06:15 +0000)]
MFC: sta mode setup for 11n devices

Approved by: re (kensmith)

16 years agoMFC 1.91: correct re-association indicator dispatched in node join event
sam [Wed, 28 Nov 2007 06:13:23 +0000 (06:13 +0000)]
MFC 1.91: correct re-association indicator dispatched in node join event

Approved by: re (kensmith)

16 years agoMFC: WMM packet classification fixes
sam [Wed, 28 Nov 2007 06:12:30 +0000 (06:12 +0000)]
MFC: WMM packet classification fixes

Approved by: re (kensmith)

16 years agoMFC 1.45: update default wme parameters to latest WiFi test plans
sam [Wed, 28 Nov 2007 06:11:18 +0000 (06:11 +0000)]
MFC 1.45: update default wme parameters to latest WiFi test plans

Approved by: re (kensmith)

16 years agoMFC: add the Planex GW-US54GXS adapter
sam [Wed, 28 Nov 2007 06:10:16 +0000 (06:10 +0000)]
MFC: add the Planex GW-US54GXS adapter

Approved by: re (kensmith)

16 years ago* Fix support for followings:
ariff [Tue, 27 Nov 2007 23:37:48 +0000 (23:37 +0000)]
* Fix support for followings:
  o Acer Aspire 4520 laptop
    - jack sensing / automute
  o Toshiba Satellite A135-S4527 laptop
    - jack sensing / automute
      Tested by: lioux
  o Apple Macbook 3 (is it?)
    - require gpio0 (for speakers) and ovref50 (for headphone)
      to make it works
    - jack sensing / automute
      Tested by: Ed Schouten
* Add Nvidia MCP67 controller ids.
* Be sensible about simmilar controller with multiple pci ids.
* Connect unused DAC/ADC to stream#0 rather than forcing each of them
  managing their own stream.

Approved by: re (kensmith)

16 years agoMFC 1.928:
simon [Tue, 27 Nov 2007 21:04:06 +0000 (21:04 +0000)]
MFC 1.928:

  Remove kernel and module symbol files from disc1 (and the livecd if it
  is enabled).  This saves around 80MB (for i386) on the ISO images.

  Note that this is only from the install media, not the installed
  system where the symbols are still installed, if part of the release.

  Should anybody want the symbols which match disc1/livecd, they can
  just be extracted from the kernel distribution files.

Approved by: re (kensmith)

16 years agoMFC: Bump up the number of ttys supported by pty(4) to 512.
jhb [Tue, 27 Nov 2007 18:43:09 +0000 (18:43 +0000)]
MFC: Bump up the number of ttys supported by pty(4) to 512.

Approved by: re (kensmith)

16 years agoMFC revision 1.31:
marck [Tue, 27 Nov 2007 17:00:35 +0000 (17:00 +0000)]
MFC revision 1.31:

devinfo(8) manual page refers to pciconfr(8).  Add back reference for
completeness.

Approved by: re (kensmith)

16 years agoMFC sx.9 rev. 1.12 and rwlock.9 rev. 1.43:
attilio [Tue, 27 Nov 2007 14:08:14 +0000 (14:08 +0000)]
MFC sx.9 rev. 1.12 and rwlock.9 rev. 1.43:
- Introduce rw_init_flags() and relative flags for it
- Introduce sx_slock_sig() and sx_xlock_sig()

Approved by: re

16 years agoPartially MFC subr_witness.c rev. 1.238:
attilio [Tue, 27 Nov 2007 13:18:54 +0000 (13:18 +0000)]
Partially MFC subr_witness.c rev. 1.238:
- add missing spinlock scrlock in the static table

Approved by: re

16 years agoMerge aac_debug.c:1.23 from HEAD to RELENG_7:
rwatson [Tue, 27 Nov 2007 12:23:29 +0000 (12:23 +0000)]
Merge aac_debug.c:1.23 from HEAD to RELENG_7:

  Respell 'Conatainer' as 'Container'.

  Reported by:    Toomas Aas <toomas dot aas at raad dot tartu dot ee>

Approved by: re (kensmith)

16 years agoMerge tcp_subr.c:1.302 from HEAD to RELENG_7:
rwatson [Tue, 27 Nov 2007 12:22:17 +0000 (12:22 +0000)]
Merge tcp_subr.c:1.302 from HEAD to RELENG_7:

  More carefully handle various cases in sysctl_drop(), such as unlocking
  the inpcb when there's an inpcb without associated timewait state, and
  not unlocking when the inpcb has been freed.  This avoids a kernel panic
  when tcpdrop(8) is run on a socket in the TIMEWAIT state.

  Reported by:    Rako <rako29 at gmail dot com>

Approved by: re (kensmith)

16 years agoMerge nfs_vnops.c:1.277 from HEAD to RELENG_7:
rwatson [Tue, 27 Nov 2007 12:20:58 +0000 (12:20 +0000)]
Merge nfs_vnops.c:1.277 from HEAD to RELENG_7:

  Remove hacks from the NFSv2/3 client intended to handle a lack of a
  server-side RPC retranmission cache for non-idempotent operations: these
  hacks substituted 0 (success) for the expected EEXIST in the event that
  a target name already existed for LINK, SYMLINK, and MKDIR operations,
  under the assumption that EEXIST represented a second application of the
  original RPC rather than a true failure.

  Background: certain NFS operations (in this case, LINK, SYMLINK, and
  MKDIR) are not idempotent, as they leave behind persisting state on the
  server that prevents them from being replayed without an error;if an UDP
  RPC reply is lost leading to a retransmission by theclient, the second
  reply will return EEXIST rather than success, asthe new object has
  already been created.  The NFS client previouslysilently mapped the
  EEXIST return into success to paper over thisproblem.

  However, in all modern NFS server implementations, a reply cache is kept
  in order to retransmit the original reply to a retransmitted request,
  rather than performing the operation a second time, allowing this hack
  to be avoided.  This allows link()-based filelocking over NFS to operate
  correctly, as an application requestingthe creation of a new link for a
  file to tell if it succeededatomically or not.

  Other NFS clients, including Solaris and Linux, generally follow this
  behavior for the same reasons.  Most clients also now default to TCP,
  which also helps avoid the issue of retransmitted but non-idempotent
  requests in most cases.

  Reported by:    Adam McDougall <mcdouga9 at egr dot msu dot edu>,
                  Timo Sirainen <tss at iki dot fi>
  Reviewed by:    mohans

Approved by: re (kensmith)

16 years agoModified release notes: Fix an error with freebsd-update(8) upgrade
bmah [Mon, 26 Nov 2007 23:27:37 +0000 (23:27 +0000)]
Modified release notes: Fix an error with freebsd-update(8) upgrade
note [1].

MFCs noted:  ipfwpcap(8), IPFilter 4.1.28.

Approved by: re (implicitly)
Noticed by: cperciva [1]

16 years agoMFC: UPDATING 1.512, sys/sparc64/conf/DEFAULTS 1.11
marius [Mon, 26 Nov 2007 20:07:20 +0000 (20:07 +0000)]
MFC: UPDATING 1.512, sys/sparc64/conf/DEFAULTS 1.11

Let sunkbd(4) emulate an AT keyboard by default.
This has the following benefits:
- allows to use the AT keyboard maps in share/syscons/keymaps with
  sunkbd(4),
- allows to use kbdmux(4) with sunkbd(4),
- allows Sun RS232 keyboards to be configured and used the same
  way as Sun USB keyboards driven by ukbd(4) (which also does AT
  keyboard emulation) with X.Org, putting an end to the problem
  of native support for the former in X.Org being broken over and
  over again.

Approved by: re (kensmith)

16 years agoMFC of device support for Intel S7000FC4UR
jfv [Mon, 26 Nov 2007 18:21:42 +0000 (18:21 +0000)]
MFC of device support for Intel S7000FC4UR

Approved by: re

16 years agoMFC: 1.356
jkim [Mon, 26 Nov 2007 17:37:24 +0000 (17:37 +0000)]
MFC: 1.356

Make VPD register access more robust:

- Implement timing out of VPD register access.
- Fix an off-by-one error of freeing malloc'd space when checksum is invalid.
- Fix style(9) bugs, i.e., sizeof cannot be followed by space.
- Retire now obsolete 'hw.pci.enable_vpd' tunable.

Approved by: re (kensmith)

16 years agoMFC: 1.199
jkim [Mon, 26 Nov 2007 17:33:28 +0000 (17:33 +0000)]
MFC: 1.199

Do not report MAC, TX, and RX stats via sysctl(8) with BCM5705+.
The register layout is little different from memory-mapped stats
in the previous generation chips.  In fact, it is bad because
registers in this range are cleared after reading them.

Approved by: re (kensmith)

16 years agoMFC: expand critical section coverage so that shared fast and ithread handlers
scottl [Mon, 26 Nov 2007 16:14:45 +0000 (16:14 +0000)]
MFC: expand critical section coverage so that shared fast and ithread handlers
don't stall.

Approved by: re

16 years agoMFC: expand critical section coverage so that shared fast and ithread handlers
scottl [Mon, 26 Nov 2007 15:06:50 +0000 (15:06 +0000)]
MFC: expand critical section coverage so that shared fast and ithread handlers
don't stall.

Approved by: re

16 years agoMFC MFp4: Several fixes to tmpfs which makes it to survive from pho@'s
delphij [Mon, 26 Nov 2007 06:46:44 +0000 (06:46 +0000)]
MFC MFp4: Several fixes to tmpfs which makes it to survive from pho@'s
strees2 suite, to quote his letter, this change:

1. It removes the tn_lookup_dirent stuff. I think this cannot be fixed,
   because nothing protects vnode/tmpfs node between lookup is done, and
   actual operation is performed, in the case the vnode lock is dropped.
   At least, this is the case with the from vnode for rename.

   For now, we do the linear lookup in the parent node. This has its own
   drawbacks. Not mentioning speed (that could be fixed by using hash), the
   real problem is the situation where several hardlinks exist in the dvp.
   But, I think this is fixable.

2. The patch restores the VV_ROOT flag on the root vnode after it became
   reclaimed and allocated again. This fixes MPASS assertion at the start
   of the tmpfs_lookup() reported by many.

Submitted by:   kib
Approved by: re (kensmith)

16 years agoMFC revision 1.13
delphij [Mon, 26 Nov 2007 06:45:31 +0000 (06:45 +0000)]
MFC revision 1.13
date: 2007/11/18 04:40:42;  author: delphij;  state: Exp;  lines: +12 -19
MFp4: Fix several style(9) bugs.

Submitted by:   des
Approved by: re (kensmith)

16 years agoMFC revision 1.27:
davidxu [Mon, 26 Nov 2007 02:44:05 +0000 (02:44 +0000)]
MFC revision 1.27:
In _pthread_key_create() ensure that libkse is initialized.

Approved by: re (kensmith)

16 years agoMFC tcpdump.c 1.13:
mlaier [Sun, 25 Nov 2007 19:28:38 +0000 (19:28 +0000)]
MFC tcpdump.c 1.13:
   Avoid excessive error message printout.

PR: bin/118150
Approved by: re (kensmith)

16 years agoMFC pf.c 1.51, pf_ioctl.c 1.30 and pf_if.c 1.13-1.14:
mlaier [Sun, 25 Nov 2007 19:26:46 +0000 (19:26 +0000)]
MFC pf.c 1.51, pf_ioctl.c 1.30 and pf_if.c 1.13-1.14:
  Reloop OpenBSD rev. 1.563:
    In pf_test_fragment(), ignore protocol-specific criteria for packets of
    different protocols.

  Cleanup pf interface mangement - esp. remove EVENTHANDLER before
  unloading the coresponding code.  This was lost during 4.1 import.

  Bring back pf_if.c revs 1.8 and 1.6 also lost during last import:
   - Use correct time for tzero when compiled in
   - Don't use bogus interface addresses on ptp-interfaces with :0

Approved by: re (kensmith)

16 years agoMerge nfs.h:1.83, nfs_srvsubs.c:1.150 from HEAD to RELENG_7:
rwatson [Sun, 25 Nov 2007 19:15:53 +0000 (19:15 +0000)]
Merge nfs.h:1.83, nfs_srvsubs.c:1.150 from HEAD to RELENG_7:

  Garbage collect now-unused nfsrv_setcred() -- it's not only unused, but
  also a purveyor of unfortunate (and now unsupported) direct frobbing of
  struct ucred.

Approved by: re (kensmith)

16 years agoNew release note: freebsd-update(8).
bmah [Sun, 25 Nov 2007 18:09:14 +0000 (18:09 +0000)]
New release note:  freebsd-update(8).

Approved by: re (implicitly)

16 years agoMerge files:1.1252 from HEAD to RELENG_7:
rwatson [Sun, 25 Nov 2007 13:02:56 +0000 (13:02 +0000)]
Merge files:1.1252 from HEAD to RELENG_7:

  Alphabetize pts before pty.

Approved by: re (kensmith)

16 years agoMFC 1.193:
dumbbell [Sun, 25 Nov 2007 11:11:28 +0000 (11:11 +0000)]
MFC 1.193:
  The kernel uses two ways to write data on a pipe:
      o  buffered write, for chunks smaller than PIPE_MINDIRECT bytes
      o  direct write, for everything else

  A call to writev(2) may receive struct iov of various size and the
  kernel may have to switch from one solution to the other. Before doing
  this, it must wake reader processes and any select/poll/kqueue up.

  This commit fixes a bug where select/poll/kqueue are not triggered
  when switching from buffered write to direct write. It adds calls to
  pipeselwakeup().

  I give more details on freebsd-arch@:
  http://lists.freebsd.org/pipermail/freebsd-arch/2007-September/006790.html

  This should fix issues with Erlang (lang/erlang) and kqueue.

Reported by: Rickard Green (Erlang)
Approved by: re (kensmith)

16 years agoMerge kern_proc.c:1.255 from HEAD to RELENG_7:
rwatson [Sat, 24 Nov 2007 18:27:29 +0000 (18:27 +0000)]
Merge kern_proc.c:1.255 from HEAD to RELENG_7:

  Test that p_textvp is non-NULL be dereferencing, as no executable vnode is
  set for kernel processes.

  Reported by:    Skip Ford <skip at menantico dot com>

Approved by: re (kensmith)

16 years agoMFC 1.23: use the private task q thread instead of the shared system thread
sam [Fri, 23 Nov 2007 05:48:35 +0000 (05:48 +0000)]
MFC 1.23: use the private task q thread instead of the shared system thread

Approved by: re (kensmith)

16 years agoMFC revision 1.119
delphij [Thu, 22 Nov 2007 21:25:17 +0000 (21:25 +0000)]
MFC revision 1.119
date: 2007/11/20 22:12:52;  author: delphij;  state: Exp;  lines: +14 -0
Mark old shared library versions as obsolete.

Approved by: re (kensmith)

16 years agoForced commit to .mc files to force creation of new .cf files for mergemaster.
gshapiro [Thu, 22 Nov 2007 16:19:40 +0000 (16:19 +0000)]
Forced commit to .mc files to force creation of new .cf files for mergemaster.

Approved by: re (kensmith)

16 years agoMFC revision 1.342
delphij [Thu, 22 Nov 2007 01:33:08 +0000 (01:33 +0000)]
MFC revision 1.342
date: 2007/10/18 08:41:52;  author: delphij;  state: Exp;  lines: +2 -2
Do not bail out for cleanworld target just because
chflags is failed.

Approved by: re (kensmith)

16 years agoUpdate with the latest fixes from -current.
sos [Wed, 21 Nov 2007 21:15:00 +0000 (21:15 +0000)]
Update with the latest fixes from -current.

Approved by: re@

16 years agoFix bug in handling SDP continuation state.
emax [Wed, 21 Nov 2007 17:36:14 +0000 (17:36 +0000)]
Fix bug in handling SDP continuation state.

Approved by: re (kensmith)
Reported by: Eric Millbrandt emillbrandt at coldhaus dot com

16 years agoAllow search for any UUID entered by user.
emax [Wed, 21 Nov 2007 17:30:50 +0000 (17:30 +0000)]
Allow search for any UUID entered by user.

Approved by: re (kensmith)

16 years agoMFC: Teach kgdb how to handle double fault frames on i386.
jhb [Wed, 21 Nov 2007 16:47:15 +0000 (16:47 +0000)]
MFC: Teach kgdb how to handle double fault frames on i386.

Approved by: re (kensmith)

16 years agoMFC: Add support for debugging double fault frames.
jhb [Wed, 21 Nov 2007 16:41:51 +0000 (16:41 +0000)]
MFC: Add support for debugging double fault frames.

Approved by: re (kensmith)

16 years agoMFC: Handle pts(4) ttys.
jhb [Wed, 21 Nov 2007 16:25:00 +0000 (16:25 +0000)]
MFC: Handle pts(4) ttys.

Approved by: re (kensmith)

16 years agoMFC: Add a trailing \0 to the read error string.
jhb [Wed, 21 Nov 2007 16:22:34 +0000 (16:22 +0000)]
MFC: Add a trailing \0 to the read error string.

Approved by: re (kensmith)

16 years agoMFC revisions 1.11,1.12: Unbreak "freebsd-update rollback" applied to
cperciva [Wed, 21 Nov 2007 14:37:03 +0000 (14:37 +0000)]
MFC revisions 1.11,1.12: Unbreak "freebsd-update rollback" applied to
minor version upgrades, by being more careful about the order in which
files are rolled back to their old versions.

Approved by: re (kensmith)

16 years agoMFC:
glebius [Wed, 21 Nov 2007 12:14:00 +0000 (12:14 +0000)]
MFC:
  - Merge all the ng_send_fn2* functions into one - ng_send_fn2(),
    removing some copy&pasted code.
  - Reduce copy and paste in ng_apply_item().
  - Resurrect ng_send_fn() as a valid symbol, not a define.

  Reviewed by: mav, julian

Approved by: re (kensmith)

16 years agoMFC 2007-11-14 05:42:54 UTC
luigi [Wed, 21 Nov 2007 07:20:11 +0000 (07:20 +0000)]
MFC 2007-11-14 05:42:54 UTC

Fix picobsd builds. Changes include:
- use proper make configuration for the build, using
  ${BINMAKE} as evaluated by ${VERSION}/src/Makefile
- remove -lmytinfo from crunch.conf
- remove support for login_access in tinyware/login
- remove "machine i386" from the kernel config file

It might actually be interesting to extend the script to do
a cross build for !i386 ...

Approved by: re

16 years agoMFC(if_an.c:1.85, if_anreg.h:1.24): Trying to eliminate a racing as well as
avatar [Wed, 21 Nov 2007 06:37:40 +0000 (06:37 +0000)]
MFC(if_an.c:1.85, if_anreg.h:1.24): Trying to eliminate a racing as well as
reducing the chance of device removal(PCCARD) panic by replacing the
timeout(9) with callout(9) APIs.

Tested by: dhw
Approved by: re (kensmith)
MFC after: 3 days

16 years agoMFC: install example files for folks that don't have source
sam [Wed, 21 Nov 2007 06:07:12 +0000 (06:07 +0000)]
MFC: install example files for folks that don't have source

Approved by: re (kensmith)

16 years agoMFC 1.331-2: add wpa_supplicant + hostapd directories to examples
sam [Wed, 21 Nov 2007 06:04:54 +0000 (06:04 +0000)]
MFC 1.331-2: add wpa_supplicant + hostapd directories to examples

Approved by: re (kensmith)

16 years agoMFC 1.13: ix building w/ WITHOUT_WPA_SUPPLICANT_EAPOL
sam [Wed, 21 Nov 2007 06:02:50 +0000 (06:02 +0000)]
MFC 1.13: ix building w/ WITHOUT_WPA_SUPPLICANT_EAPOL

Approved by: re (kensmith)

16 years agoMFC 1.17: correct MIMO power save action frame format
sam [Wed, 21 Nov 2007 06:01:01 +0000 (06:01 +0000)]
MFC 1.17: correct MIMO power save action frame format

Approved by: re (kensmith)

16 years agoMFC: revision 1.102
attilio [Wed, 21 Nov 2007 02:21:55 +0000 (02:21 +0000)]
MFC: revision 1.102

Approved by: re

16 years agoMFC revision 1.12
delphij [Wed, 21 Nov 2007 01:47:08 +0000 (01:47 +0000)]
MFC revision 1.12
date: 2007/11/12 18:57:33;  author: delphij;  state: Exp;  lines: +1 -1
Correct a stack overflow which will trigger panics when
mode= is specified, caused by incorrect format string
specified to vfs_scanopt() and subsequently vsscanf().

Pointed out by: kib
Submitted by: des
Approved by: re (kensmith)

16 years agoMFC of library version bump. From original commit:
kensmith [Tue, 20 Nov 2007 20:48:01 +0000 (20:48 +0000)]
MFC of library version bump.  From original commit:
> While checking over the libraries for 7.0-REL Kris found the following
> libraries had not had their versions bumped relative to 6.3-REL but
> had indeed been changed.  We need to bump their version so they can be
> properly added to the compat6x port:
>
>         libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8
>         libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2

Versions being MFCed:

gnu/lib/libobjc/Makefile: 1.33
kerberos5/lib/Makefile.inc: 1.8
lib/libgssapi/Makefile: 1.3

Approved by: re (bmah)

16 years agoMFC rev 1.134: Comment out the syncache's test which ensures that hosts which
silby [Tue, 20 Nov 2007 15:26:18 +0000 (15:26 +0000)]
MFC rev 1.134: Comment out the syncache's test which ensures that hosts which
negotiate TCP timestamps in the initial SYN packet actually use them in the
rest of the connection.

Approved by: re (kensmith)

16 years agoMFC: rev. 1.20 sys/netipsec/keysock.c
bz [Tue, 20 Nov 2007 09:35:15 +0000 (09:35 +0000)]
MFC: rev. 1.20 sys/netipsec/keysock.c

    Move the priv check before the malloc call for so_pcb.
    In case attach fails because of the priv check we leaked the
    memory and left so_pcb as fodder for invariants.

Approved by: re (kensmith)

16 years agoMFC: Revise markup, apply some wordsmithing, document "label -c".
ru [Tue, 20 Nov 2007 07:32:54 +0000 (07:32 +0000)]
MFC: Revise markup, apply some wordsmithing, document "label -c".

Approved by: re (bmah)

16 years agoInsta-MFC of v1.927 so it can be part of 7.0-BETA3 build. Shift i386
kensmith [Fri, 16 Nov 2007 13:33:38 +0000 (13:33 +0000)]
Insta-MFC of v1.927 so it can be part of 7.0-BETA3 build.  Shift i386
(and pc98, it's over disc1 size target as well) over to having a separate
livefs iso image.

Approved by: re (rwatson)

16 years agoMFC: 1.70: Fix bad rule and bad dependency for nsparser.h that can
ru [Fri, 16 Nov 2007 07:18:12 +0000 (07:18 +0000)]
MFC: 1.70: Fix bad rule and bad dependency for nsparser.h that can
cause the build to fail by "replacing" it with bsd.dep.mk rules.

Approved by: re (kensmith)

16 years agoMFC: Make it easier to add more ptys to the pty(4) driver.
jhb [Thu, 15 Nov 2007 20:20:54 +0000 (20:20 +0000)]
MFC: Make it easier to add more ptys to the pty(4) driver.

Approved by: re (kensmith)

16 years agoMFC rev 1.96 if_re.c
remko [Thu, 15 Nov 2007 17:45:46 +0000 (17:45 +0000)]
MFC rev 1.96 if_re.c

  Add support for D-Link DGE-528(T) Rev.B1

  PR: 112774
  Submitted by: Denis Fortin <fortin at acm dot org>
  Approved by: imp (mentor), yongari
  MFC After: 3 days

Approved by: imp (mentor, implicit)
Approved by: re (kensmith)

16 years agoGet ready for BETA3 builds.
kensmith [Thu, 15 Nov 2007 17:10:18 +0000 (17:10 +0000)]
Get ready for BETA3 builds.

Approved by: re (implicit)

16 years agoMFC (revision 1.54):
ariff [Thu, 15 Nov 2007 16:59:29 +0000 (16:59 +0000)]
MFC (revision 1.54):

Limit total playback channels to just 1, for ALi M5451.
The reliability of it's multi DAC / playback channels is
not that good. Enabling vchans make the bug more visible
since playback allocation will look for possible free
hardware channels first (i.e: the next DAC, the very first
has been consumed by vchan mixer) which in this case has
been proven faulty.

Reported / Tested by:   Sascha Klauder
Approved by: re (kensmith)

16 years agoMFC rev 1.37: Add ATA defintions
scottl [Thu, 15 Nov 2007 16:29:33 +0000 (16:29 +0000)]
MFC rev 1.37: Add ATA defintions

Approved by: re

16 years agoMFC rev 1.29: Add structures and definitions to support new drivers.
scottl [Thu, 15 Nov 2007 16:27:59 +0000 (16:27 +0000)]
MFC rev 1.29: Add structures and definitions to support new drivers.

Approved by: re

16 years agoMFC: Teach ps(1) to parse pts TT values for the -t flag.
jhb [Thu, 15 Nov 2007 15:56:59 +0000 (15:56 +0000)]
MFC: Teach ps(1) to parse pts TT values for the -t flag.

Approved by: re (kensmith)

16 years agoMFC another adjustment to the X related distributions based on xorg-7.3
kensmith [Thu, 15 Nov 2007 15:46:35 +0000 (15:46 +0000)]
MFC another adjustment to the X related distributions based on xorg-7.3
layout.  xorg-printserver still exists in the ports tree but it's marked
as depreciated and scheduled for removal.

Versions MFCed:
dist.c: 1.252
dist.h: 1.70
menus.c: 1.428

Approved by: re (bmah)

16 years agoMFC: Increase string buffer to account for addition of "jail" to flags.
se [Thu, 15 Nov 2007 15:18:44 +0000 (15:18 +0000)]
MFC: Increase string buffer to account for addition of "jail" to flags.

Approved by: re (ken)

16 years agoAdd ZFS to list of file system types to scan when building the locate db.
se [Thu, 15 Nov 2007 15:14:16 +0000 (15:14 +0000)]
Add ZFS to list of file system types to scan when building the locate db.

Approved by: re (ken)

16 years ago- Fixes a bug in rwnd handling that would cause an incorrect rwnd
rrs [Thu, 15 Nov 2007 15:03:17 +0000 (15:03 +0000)]
- Fixes a bug in rwnd handling that would cause an incorrect rwnd
  advertisement during low mem conditions.
- Fixes a compile error on mac-os (signedness stuff).
- Touches up some comments.

Approved by: re@freebsd.org (Ken Smith)

16 years agoMFC rev. 1.139 of src/sys/compat/linux/linux_ioctl.c,
kib [Thu, 15 Nov 2007 10:38:06 +0000 (10:38 +0000)]
MFC rev. 1.139 of src/sys/compat/linux/linux_ioctl.c,
    rev. 1.27 of src/sys/compat/linux/linux_ioctl.h:

Implement  LINUX_SIOCGIFCOUNT and LINUX_SIOCGIFINDEX/LINUX_SIOGIFINDEX.

Approved by: re (kensmith)

16 years agoMFC: revision 1.30
attilio [Wed, 14 Nov 2007 23:33:41 +0000 (23:33 +0000)]
MFC: revision 1.30

Approved by: re

16 years agoMFC rev 1.7 nfsmb.c
remko [Wed, 14 Nov 2007 19:40:56 +0000 (19:40 +0000)]
MFC rev 1.7 nfsmb.c

  Add SMB support for the MCP61 chipset.

  PR: 108830
  Submitted by: Edwin Mons <freebsd at edwinm dot ik dot nu>
  Approbed by: imp (mentor)

Approved by:    imp (mentor, implicit)
Approved by: re (kensmith)

16 years agoMFC: Fix various markup nits.
ru [Wed, 14 Nov 2007 19:25:05 +0000 (19:25 +0000)]
MFC: Fix various markup nits.

Approved by: re (kensmith)

16 years agoMFC: Apply style(9) to usage(), fix markup of the manpage.
ru [Wed, 14 Nov 2007 19:24:10 +0000 (19:24 +0000)]
MFC: Apply style(9) to usage(), fix markup of the manpage.

Approved by: re (kensmith)

16 years agoMFC: 1.35: Fix documentation to match code.
ru [Wed, 14 Nov 2007 19:22:42 +0000 (19:22 +0000)]
MFC: 1.35: Fix documentation to match code.

Approved by: re (kensmith)

16 years agoMFC: 1.32: Fix numerous bugs when parsing options and arguments.
ru [Wed, 14 Nov 2007 19:18:40 +0000 (19:18 +0000)]
MFC: 1.32: Fix numerous bugs when parsing options and arguments.

Approved by: re (kensmith)

16 years agoMFC:
grehan [Wed, 14 Nov 2007 16:41:31 +0000 (16:41 +0000)]
MFC:
  Split decr_init() into two, with the section that reads the timebase
  frequency from OpenFirmware moved out and into a routine that is called
  from cpu_startup().

  This allows correct reporting of the CPU clockspeed when printing out
  CPU information at boot time.

Approved by: re (Ken Smith)

16 years agoMFC: rev 1.19 sys/netipsec/keysock.c
bz [Wed, 14 Nov 2007 11:52:44 +0000 (11:52 +0000)]
MFC: rev 1.19 sys/netipsec/keysock.c

  Add a missing priv check in key_attach to prevent non-su users
  from messing with the spdb and sadb.

  Problem sneaked in with the fast_ipsec+v6->ipsec merger by no
  longer going via raw_usrreqs.pr_attach.

Approved by: re (kensmith)

16 years agoMFC: Add support for non-portable adaptive mutexes, as well as experimental
kris [Wed, 14 Nov 2007 09:54:48 +0000 (09:54 +0000)]
MFC: Add support for non-portable adaptive mutexes, as well as experimental
support for spinning/yielding loops.

Approved by: re@ (kensmith)

16 years agoMFC addition of "freebsd-update upgrade".
cperciva [Wed, 14 Nov 2007 05:10:45 +0000 (05:10 +0000)]
MFC addition of "freebsd-update upgrade".

Approved by: re (kensmith)

16 years agoMFC: Add support for non-portable adaptive mutexes, as well as experimental
kris [Wed, 14 Nov 2007 01:10:12 +0000 (01:10 +0000)]
MFC: Add support for non-portable adaptive mutexes, as well as experimental
support for spinning/yielding loops.

Approved by: re@ (kensmith)

16 years agoMFC 1.6: correct handling of off-channel frames
sam [Mon, 12 Nov 2007 17:05:37 +0000 (17:05 +0000)]
MFC 1.6: correct handling of off-channel frames

Approved by: re (kensmith)

16 years agoMFC revisions
kan [Mon, 12 Nov 2007 16:09:45 +0000 (16:09 +0000)]
MFC revisions
  1.75: Make ukbd_getc respect non-blocking behavior if one is requested;
  1.76: Do not pass an address of local stack variable to
        usbd_set_report_async.

Approved by: re (kensmith)

16 years agoMFC revision 1.5
csjp [Sun, 11 Nov 2007 22:52:31 +0000 (22:52 +0000)]
MFC revision 1.5
Un-break logins to jailed environments when PTS is in use.

Approved by: re@ (kensmith)

16 years agoMFC 1.6: correct termination check doing amsdu de-aggregation
sam [Sun, 11 Nov 2007 17:52:32 +0000 (17:52 +0000)]
MFC 1.6: correct termination check doing amsdu de-aggregation

Approved by: re (kensmith)

16 years agosync with 11n changes
sam [Sun, 11 Nov 2007 17:49:50 +0000 (17:49 +0000)]
sync with 11n changes

Approved by: re (kensmith)

16 years agoMFC 1.2: align stats printed out w/o any args
sam [Sun, 11 Nov 2007 17:48:48 +0000 (17:48 +0000)]
MFC 1.2: align stats printed out w/o any args

Approved by: re (kensmith)

16 years agoMFC 1.2: add -o ampdu; remove noise from default stat list
sam [Sun, 11 Nov 2007 17:48:17 +0000 (17:48 +0000)]
MFC 1.2: add -o ampdu; remove noise from default stat list

Approved by: re (kensmith)

16 years agoMFC 1.48: sync with vap code base; updates for 11n support and some
sam [Sun, 11 Nov 2007 17:47:06 +0000 (17:47 +0000)]
MFC 1.48: sync with vap code base; updates for 11n support and some
     general code cleanups

Approved by: re (kensmith)

16 years agoMFC 1.143: minor wireless-related corrections
sam [Sun, 11 Nov 2007 17:45:56 +0000 (17:45 +0000)]
MFC 1.143: minor wireless-related corrections

Approved by: re (kensmith)

16 years agoMFC: sync 11n support with vap code base
sam [Sun, 11 Nov 2007 17:44:36 +0000 (17:44 +0000)]
MFC: sync 11n support with vap code base

Approved by: re (kensmith)

16 years agoMFC 1.25: correct channel flags returned by IEEE80211_IOC_STA_INFO
sam [Sun, 11 Nov 2007 17:34:38 +0000 (17:34 +0000)]
MFC 1.25: correct channel flags returned by IEEE80211_IOC_STA_INFO

Approved by: re (kensmith)

16 years agoMFC 1.43: don't try to re-associate after a parameter change
sam [Sun, 11 Nov 2007 17:32:30 +0000 (17:32 +0000)]
MFC 1.43: don't try to re-associate after a parameter change

Approved by: re (kensmith)

16 years agoMFC: sendmail 8.14.2
gshapiro [Sun, 11 Nov 2007 17:07:37 +0000 (17:07 +0000)]
MFC: sendmail 8.14.2

Approved by: re (kensmith)

16 years agoMFC:
mlaier [Sun, 11 Nov 2007 02:16:00 +0000 (02:16 +0000)]
MFC:
  Update pf examples from OpenBSD to catch up with new stateful defaults and
  other syntax changes.  Move pf.conf from /etc to examples, too.

Approved by: re (kensmith)

16 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_7'.
cvs2svn [Sun, 11 Nov 2007 01:16:52 +0000 (01:16 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_7'.

16 years agoMFC 1.2: upgrade zd1211b firmware; fixes reset problem
sam [Sun, 11 Nov 2007 00:24:43 +0000 (00:24 +0000)]
MFC 1.2: upgrade zd1211b firmware; fixes reset problem

Approved by: re (gnn)