]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoThese files are only relevant in HEAD, where the imports are done.
dougb [Sat, 14 Jan 2006 06:13:17 +0000 (06:13 +0000)]
These files are only relevant in HEAD, where the imports are done.

18 years agoMFC: Add marker vnodes to ensure that all vnodes associated with the mount
tegge [Sat, 14 Jan 2006 01:18:03 +0000 (01:18 +0000)]
MFC: Add marker vnodes to ensure that all vnodes associated with the mount
     point are iterated over when using MNT_VNODE_FOREACH.

18 years agoMFC: Close race where wakeup after background write could be lost.
tegge [Sat, 14 Jan 2006 01:09:10 +0000 (01:09 +0000)]
MFC: Close race where wakeup after background write could be lost.

18 years agoMFC: Broaden scope of softdep_worklist_busy rwlock protection.
tegge [Sat, 14 Jan 2006 01:07:14 +0000 (01:07 +0000)]
MFC: Broaden scope of softdep_worklist_busy rwlock protection.

18 years agoMFC: Obtain mount point lock before restarting sync loop if vget() failed.
tegge [Sat, 14 Jan 2006 01:05:22 +0000 (01:05 +0000)]
MFC: Obtain mount point lock before restarting sync loop if vget() failed.

18 years agoMFC: Fix broken playback capabilities to prevent impending disaster.
ariff [Sat, 14 Jan 2006 00:35:18 +0000 (00:35 +0000)]
MFC: Fix broken playback capabilities to prevent impending disaster.
     The minimum / maximum speed was way too low / high!

     minspeed =   2000 - is this for real ?
     maxspeed = 767999 - is this for real ?????

     Wrap everything into 8000 - 48000 boundary, just to be safe.

18 years agoMFC 1.74: xref mount_reiserfs(8)
pav [Fri, 13 Jan 2006 20:05:59 +0000 (20:05 +0000)]
MFC 1.74: xref mount_reiserfs(8)

18 years agoMFC 1.16: fix: documentation for -m option was inserted halfway thru the text
pav [Fri, 13 Jan 2006 20:02:56 +0000 (20:02 +0000)]
MFC 1.16: fix: documentation for -m option was inserted halfway thru the text
of -l option.

18 years agoMFC: Fix description of si2 firmware and update the si3 firmware to the
jhb [Fri, 13 Jan 2006 19:27:35 +0000 (19:27 +0000)]
MFC: Fix description of si2 firmware and update the si3 firmware to the
latest version in the SDK.

18 years agoMFC: Fix /dev entries for cards with multiple modules.
jhb [Fri, 13 Jan 2006 19:26:08 +0000 (19:26 +0000)]
MFC: Fix /dev entries for cards with multiple modules.

18 years ago- Restore VLAN_INPUT_TAG() macro to preserve API compatibility for
glebius [Fri, 13 Jan 2006 19:21:45 +0000 (19:21 +0000)]
- Restore VLAN_INPUT_TAG() macro to preserve API compatibility for
  third party drivers.
- Fix bugs destribed in previous revision using macro with
  another name.

18 years agoMFC: Remove references to snd_vortex1(4).
joel [Fri, 13 Jan 2006 14:56:51 +0000 (14:56 +0000)]
MFC:  Remove references to snd_vortex1(4).

18 years agoMFC:
glebius [Fri, 13 Jan 2006 11:51:11 +0000 (11:51 +0000)]
MFC:
  - Use VLAN_TAG_VALUE() not only to read a dot1q tag
    value from an m_tag, but also to set it.  This reduces
    complex code duplication and improves its readability.
  - Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in
    case if memory allocation failed.
  - Remove fourth argument from VLAN_INPUT_TAG(), that was used
    incorrectly in almost all drivers. Indicate failure with
    mbuf value of NULL.

18 years agoMFC smb_dev.c:1.29 from HEAD to RELENG_6:
rwatson [Fri, 13 Jan 2006 10:23:39 +0000 (10:23 +0000)]
MFC smb_dev.c:1.29 from HEAD to RELENG_6:

   Prevent module unloading if there are active connections.

   PR:             kern/89085
   Submitted by:   Rostislav Krasny

Requested by: Rostislav Krasny <rosti dot bsd at gmail dot com>

18 years agoMFC: (1.76) reflect progress in proctitle (1.77) fix mirror mode
des [Fri, 13 Jan 2006 09:07:49 +0000 (09:07 +0000)]
MFC: (1.76) reflect progress in proctitle (1.77) fix mirror mode

18 years agoMFC: Another major fixes and enhancements:
ariff [Fri, 13 Jan 2006 05:24:41 +0000 (05:24 +0000)]
MFC: Another major fixes and enhancements:
     - MPSAFE
     - Fix / reorganize attach routine. Device specific initialization must
       be done after generic bus / DMA setup. At last, Virtual Channels
       (vchan) works as expected.

Tested by: barner

18 years agoMFC: More thorough fixes to enable inverted external amplifier sense flag.
ariff [Fri, 13 Jan 2006 04:26:48 +0000 (04:26 +0000)]
MFC: More thorough fixes to enable inverted external amplifier sense flag.
     Instead of dragging the entire ICH4/82801DB into this mess, select
     only few boards based on pci subdevice / subvendor.

Tested by: Daisuke Orikasa <luxury-acura-3.5rl at nifty.com>

18 years agoMFC rev 1.20: Fix FD_ISSET() on LP64 platforms.
marcel [Fri, 13 Jan 2006 03:11:16 +0000 (03:11 +0000)]
MFC rev 1.20: Fix FD_ISSET() on LP64 platforms.

PR: ia64/91421
Submitted by: Tanaka Akira (akr at m17n dot org)

18 years agoMFC:
cperciva [Fri, 13 Jan 2006 00:53:53 +0000 (00:53 +0000)]
MFC:
  Make "portsnap extract" automatically create ${PORTSDIR} if necessary
  instead of complaining that "Directory does not exist or is not
  writable".

18 years agoMFC: Present new BSD releases to -mdoc.
ru [Thu, 12 Jan 2006 15:44:42 +0000 (15:44 +0000)]
MFC: Present new BSD releases to -mdoc.

18 years agoMFC: 1.3: Remove public declaration of static.
ru [Thu, 12 Jan 2006 10:35:24 +0000 (10:35 +0000)]
MFC: 1.3: Remove public declaration of static.

18 years agoMFC: Fix creation of smb devices.
ru [Thu, 12 Jan 2006 10:34:38 +0000 (10:34 +0000)]
MFC: Fix creation of smb devices.

18 years agoMFC rev. 1.70: deal with the overridden SIGCHLD handler.
maxim [Thu, 12 Jan 2006 05:24:46 +0000 (05:24 +0000)]
MFC rev. 1.70: deal with the overridden SIGCHLD handler.

18 years agoMFC:
flz [Thu, 12 Jan 2006 01:26:34 +0000 (01:26 +0000)]
MFC:

  Fix -r causing SIGSEGV due to parse_args() being called before font_current is set.

      src/usr.sbin/kbdmap/kbdmap.c: rev 1.4

18 years agoMerge rev. 1.130 that I though was merged long time ago. Thanks to emaste
glebius [Thu, 12 Jan 2006 00:22:12 +0000 (00:22 +0000)]
Merge rev. 1.130 that I though was merged long time ago. Thanks to emaste
for noticing this.

  Drop current rtentry lock before calling rt_getifa(). This fixes a LOR
  and a possible recursive use of rtentry mutex.

18 years agoMFC:
dumbbell [Wed, 11 Jan 2006 20:27:23 +0000 (20:27 +0000)]
MFC:
  src/sys/dev/atkbdc/psm.c; revision 1.88
  date: 2006/01/05 19:24:01;  author: dumbbell;  state: Exp;  lines: +2 -1

  Fix a bug in Synaptics Touchapd support where psm(4) will enter an infinite
  loop if it receives an out of sync packet.

  Reviewed by: mux (mentor)

18 years agoMFC revision 1.131
delphij [Wed, 11 Jan 2006 15:40:00 +0000 (15:40 +0000)]
MFC revision 1.131
date: 2005/12/13 15:32:52;  author: delphij;  state: Exp;  lines: +5 -5
In Linux, kernel parameters passed to ioctl are by value, while in FreeBSD
they are passed by reference.  Handle the difference within the
linux_ioctl_termio on the LINUX_TCFLSH path.

Submitted by:   Jaroslav Drzik <jaro_AT_coop-voz_dot_sk>
Reminded by: glebius

18 years agoMFC 1.28: fix timeouted probes in pretty print of multipath routes
pav [Wed, 11 Jan 2006 12:59:39 +0000 (12:59 +0000)]
MFC 1.28: fix timeouted probes in pretty print of multipath routes

18 years agoMFC devfs_rule.c:1.21 from HEAD to RELENG_6:
rwatson [Wed, 11 Jan 2006 10:15:57 +0000 (10:15 +0000)]
MFC devfs_rule.c:1.21 from HEAD to RELENG_6:

  When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule
  lock.  Otherwise the system comes to a rather sudden and grinding
  halt.

As the underlying devfs locking changes that lead to this bug have not
been merged to RELENG_5, this fix to those locking changes does not
need to be merged.

18 years agoCorrect insecure temporary file usage in texindex. [06:01]
cperciva [Wed, 11 Jan 2006 08:02:16 +0000 (08:02 +0000)]
Correct insecure temporary file usage in texindex. [06:01]
Correct insecure temporary file usage in ee. [06:02]
Correct a race condition when setting file permissions, sanitize file
names by default, and fix a buffer overflow when handling files
larger than 4GB in cpio. [06:03]
Fix an error in the handling of IP fragments in ipfw which can cause
a kernel panic. [06:04]

Security: FreeBSD-SA-06:01.texindex
Security: FreeBSD-SA-06:02.ee
Security: FreeBSD-SA-06:03.cpio
Security: FreeBSD-SA-06:04.ipfw

18 years agoMFC revs 1.27 and 1.28.
brooks [Wed, 11 Jan 2006 05:56:02 +0000 (05:56 +0000)]
MFC revs 1.27 and 1.28.
 1.27: don't crash when given an invalid nwkey string
 1.28: parse SSIDs correctly and bail immediatly when invalid

PR: misc/88159, bin/74509

18 years agoMFC:
flz [Wed, 11 Jan 2006 00:37:32 +0000 (00:37 +0000)]
MFC:

  - Add an entry for Acer Acerscan 1240U.

      src/share/man/man4/uscanner.4: rev 1.21

18 years agoMFC:
flz [Wed, 11 Jan 2006 00:29:16 +0000 (00:29 +0000)]
MFC:

  Add Product ID for Acerscan 1240u and the corresponding entry in uscanner.c.

      src/sys/dev/usb/usbdevs: rev 1.247
      src/sys/dev/usb/uscanner.c: rev 1.67

18 years agoMFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl...
krion [Tue, 10 Jan 2006 22:17:08 +0000 (22:17 +0000)]
MFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl.c:1.28
     info/show.c:1.40 lib/plist.c:1.51

  date: 2006/01/07 22:10:57;  author: krion;  state: Exp;  lines: +10 -3
  When using @cwd %%FOO%%, we must ensure to return in the original
  prefix later, but doing so with @cwd %%OLDPREFIX%% (having
  PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
  list. That's not really a problem when dealing with ports but that's
  a problem with packages since pkg_add -p option only overrides the
  first @cwd occurrence.

  This patch allow us to use @cwd without any argument. If no
  directory argument is given, it will set current working directory
  to the first prefix given by the @cwd command.

  PR:             bin/77212
  Submitted by:   flz

18 years agoMFC: Fix a couple of issues with the ibcs2 module event handler.
jhb [Tue, 10 Jan 2006 21:44:58 +0000 (21:44 +0000)]
MFC: Fix a couple of issues with the ibcs2 module event handler.

18 years agoMFC: Fix issues with various Compaq boxes such as some DL360s (and possibly
jhb [Tue, 10 Jan 2006 21:37:18 +0000 (21:37 +0000)]
MFC: Fix issues with various Compaq boxes such as some DL360s (and possibly
some DL380s):
- Release the pci_link acpi serial lock if a link device has no actual
  links.
- Don't panic if a _PRT entry references an invalid link on a link device
  unless we actually try to route an interrupt using that _PRT entry.

18 years agoMFC: add geom_fox.4
wilko [Tue, 10 Jan 2006 18:08:55 +0000 (18:08 +0000)]
MFC: add geom_fox.4

18 years agoMFC:
glebius [Tue, 10 Jan 2006 10:24:05 +0000 (10:24 +0000)]
MFC:
  Check for IFF_DRV_RUNNING in the interrupt loop.

  Reported & tested by:   Martin P. Hansen <mph lima.dyndns.dk>

18 years agoMFC 1.11:
glebius [Tue, 10 Jan 2006 10:22:22 +0000 (10:22 +0000)]
MFC 1.11:
  In ng_netflow_disconnect() check whether we are working with "iface"
  or with "out" hook, and clear the right pointer.

  Reported by:    Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru>

18 years agoMFC 1.55:
glebius [Tue, 10 Jan 2006 10:17:56 +0000 (10:17 +0000)]
MFC 1.55:
    When in rev. 1.47 cardbus_alloc_resources() function was moved from
  cardbus_cis.c to this file, some code was not merged and thus resource
  list entries were invalid. They didn't have a resources attached to
  them.
    However, the problem was masked for some time later, because newer
  resources list entries were added to the head of the list, and
  resource_list_find() always returned the first matching resource list
  entry. Usually the underlying driver allocated a valid resource and
  added it to the head of the list, and invalid one wasn't used.
    In rev. 1.174 of subr_bus.c the sorting of resource list entries was
  reversed demasking the problem in cardbus_alloc_resources().
    This commit fixes the problem returning back some code from
  cardbus_cis.c, pre-1.49 revisions.

  PR:                     kern/87114
  PR:                     kern/90441
  Hardware provided by:   Vasily Olekhov <olekhov yandex.ru>
  Reviewed by:            imp

18 years agoMFC 1.62:
glebius [Tue, 10 Jan 2006 10:13:43 +0000 (10:13 +0000)]
MFC 1.62:
  Add \n to log() message.

18 years agoMFC:
glebius [Tue, 10 Jan 2006 10:11:48 +0000 (10:11 +0000)]
MFC:
  Implement an upper limit for packets per second sent by node.

18 years agoMFC 1.93 - 1.97, fixing suspend/resume on some laptops.
glebius [Tue, 10 Jan 2006 10:09:03 +0000 (10:09 +0000)]
MFC 1.93 - 1.97, fixing suspend/resume on some laptops.

PR: kern/89825

18 years agoMFC r1.9:
joel [Tue, 10 Jan 2006 08:25:15 +0000 (08:25 +0000)]
MFC r1.9:

  Kill empty line.

18 years agoMFC: revision 1.56
nyan [Tue, 10 Jan 2006 03:48:42 +0000 (03:48 +0000)]
MFC: revision 1.56

 - Add EXTDOCDIR and EXTPORTSDIR.

18 years agoMFC: revision 1.894 and 1.895
nyan [Tue, 10 Jan 2006 03:47:27 +0000 (03:47 +0000)]
MFC: revision 1.894 and 1.895

 - Request boot floppy after loading mfsroot floppy.
 - Add EXTPORTSDIR.

18 years agoMFC: Fix obvious capabilities (rate) violation. Should be 5500, not 4000.
ariff [Tue, 10 Jan 2006 01:01:24 +0000 (01:01 +0000)]
MFC: Fix obvious capabilities (rate) violation. Should be 5500, not 4000.

18 years agoMFC: allow execution of ET_DYN elf binaries (aka shared libraries) when
sobomax [Tue, 10 Jan 2006 00:52:07 +0000 (00:52 +0000)]
MFC: allow execution of ET_DYN elf binaries (aka shared libraries) when
emulating architectures that allow this (Linux so far).

To preserve kernel modules ABI, unlike the version commited into the trunk,
which adds new flag field into Brandinfo structure for this purpose, this
one checks if brand field of Brandinfo matches ELFOSABI_LINUX.

PR: kern/87615
Submitted by: Marcin Koziej <creep@desk.pl>

18 years agoMFC: refresh.c 1.11: A refresh bug.
stefanf [Mon, 9 Jan 2006 15:14:57 +0000 (15:14 +0000)]
MFC: refresh.c 1.11: A refresh bug.
     editline.3 1.26-1.29: Man page update and cleanup.
     editrc.5: 1.19: Man page cleanup.

18 years agoMFC:
joel [Mon, 9 Jan 2006 12:48:39 +0000 (12:48 +0000)]
MFC:
snd_ad1816.4    1.5-1.6
snd_als4000.4   1.5-1.7
snd_cmi.4       1.6-1.7
snd_cs4281.4    1.5-1.6
snd_csa.4       1.15
snd_ds1.4       1.5-1.6
snd_emu10k1.4   1.7-1.8
snd_ess.4       1.6-1.7
snd_fm801.4     1.2-1.3
snd_gusc.4      1.13
snd_ich.4       1.7-1.8
snd_maestro.4   1.3
snd_maestro3.4  1.8
snd_neomagic.4  1.4-1.5
snd_sbc.4       1.16
snd_solo.4      1.5
snd_t4dwave.4   1.2-1.3
snd_uaudio.4    1.6
snd_via8233.4   1.3-1.4
snd_via82c686.4 1.2-1.3
snd_vibes.4     1.2-1.3

18 years agoMFC: Add codec id support for Analog Device AD1986 AC'97 codec.
ariff [Mon, 9 Jan 2006 02:06:42 +0000 (02:06 +0000)]
MFC: Add codec id support for Analog Device AD1986 AC'97 codec.

Submitted by: UMENO Takashi <umeno at rr.iij4u.or.jp>
PR: kern/80234

18 years agoMFC: Fix locking violation, causing frantic diagnostic messages during boot.
ariff [Mon, 9 Jan 2006 02:06:17 +0000 (02:06 +0000)]
MFC: Fix locking violation, causing frantic diagnostic messages during boot.

Reported by: [1] julian

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-January/003408.html

18 years agoMFC rev. 1.41: typo fix.
maxim [Sun, 8 Jan 2006 20:28:48 +0000 (20:28 +0000)]
MFC rev. 1.41: typo fix.

18 years agoMFC rev. 1.8: typo fix.
maxim [Sun, 8 Jan 2006 20:25:24 +0000 (20:25 +0000)]
MFC rev. 1.8: typo fix.

18 years agoMFC r1.13:
rse [Sun, 8 Jan 2006 09:21:53 +0000 (09:21 +0000)]
MFC r1.13:

1. Add missing semicolon between "warn" and "return" to make sure
   the line continuation backslash doesn't cause "warn" to print "return".
2. Group "warn" and "return" together as the "return 1" should be
   performed only if the "kldload nfsclient" also failed (and not
   already if the "vfs.nfs" sysctl(8) check failed).

18 years agoMFC r1.16:
rse [Sun, 8 Jan 2006 09:20:47 +0000 (09:20 +0000)]
MFC r1.16:

Remove superfluous line continuation backslash.

18 years agoMFC r1.276:
rse [Sun, 8 Jan 2006 09:17:03 +0000 (09:17 +0000)]
MFC r1.276:

Fix semantics in the documentation of the "jail_socket_unixiproute_only"
variable ("YES" vs. "NO") and be more precise and intuitive on what is
actually allowed/restricted by this variable ("UNIX/IP/route sockets"
vs. "TCP/IP protocols").

18 years agoMFC:
netchild [Sat, 7 Jan 2006 19:40:08 +0000 (19:40 +0000)]
MFC:
The ObsoleteFiles removal/test targets
  - check-old
  - delete-old
  - delete-old-libs
and the corresponding docs.

Note: Someone may want to have a look at the man-page and perhaps MFC
some other parts (unrelated to ObsoleteFiles).

Tested by: bz

18 years agoMFC revision 1.82:
ceri [Sat, 7 Jan 2006 13:57:58 +0000 (13:57 +0000)]
MFC revision 1.82:

  inetd(8) requires that /etc/netconfig be present, and contain entries
  for each of udp and tcp (and their IPv6 equivalents when INET6 is
  enabled).  Note that dependency here.

  PR:             docs/90435
  Submitted by:   Dmitry Kazarov <kazarov at mcm dot ru>
  Pointed out by: Daniel Gerzo <danger at rulez dot sk>

18 years agoMFC following revisions:
davidxu [Sat, 7 Jan 2006 11:53:49 +0000 (11:53 +0000)]
MFC following revisions:
kern_sig.c revision 1.319
sys_process.c revision 1.134

Avoid kernel panic when attaching a process which
may not be stopped by debugger, e.g process is dumping core.

18 years agoMFC revision 1.364:
ceri [Fri, 6 Jan 2006 20:10:41 +0000 (20:10 +0000)]
MFC revision 1.364:

  An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout to
  succeed, whilst an i386 with 256MB of RAM requires more.  Up the amount
  of disk hinted at as a minimum requisite for auto-layout.

18 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Fri, 6 Jan 2006 20:02:45 +0000 (20:02 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

18 years agoDiff reduction to HEAD:
truckman [Thu, 5 Jan 2006 20:23:10 +0000 (20:23 +0000)]
Diff reduction to HEAD:

        Call fill_kinfo_proc_only() instead of fill_kinfo_proc()
        before calling fill_kinfo_thread(), because fill_kinfo_proc()
        calls both fill_kinfo_proc_only() and fill_kinfo_thread().
        This is a minor optimization and there should be no change
        in functionality.

        Leading whitespace cleanup.

18 years agoMFC:
dumbbell [Thu, 5 Jan 2006 19:37:39 +0000 (19:37 +0000)]
MFC:
  revision 1.2
  Don't hold a reference to the disk vnode for each inode.

Reviewed by: mux (mentor)

18 years agoMFC:
flz [Thu, 5 Jan 2006 16:46:10 +0000 (16:46 +0000)]
MFC:

  Add a hid blacklist quirk.

      src/sys/dev/usb/usbdevs: rev 1.240
      src/sys/dev/usb/usb_quirks.c: rev 1.45
      src/sys/dev/usb/uhid.c: rev 1.78
      src/sys/dev/usb/usb_quirks.h: rev 1.20

Approved by: pjd

18 years agoMFC:
kbyanc [Thu, 5 Jan 2006 03:47:24 +0000 (03:47 +0000)]
MFC:
    kbyanc      2005-12-28 20:36:55 UTC

      FreeBSD src repository

      Modified files:
        usr.bin/netstat      Makefile ipsec.c main.c netstat.h
      Added files:
        usr.bin/netstat      pfkey.c
      Log:
      Add support for printing IPSEC protocol stats if the kernel was
      compiled with FAST_IPSEC rather than the KAME IPSEC stack.

    Note that the output of "netstat -s -p ipsec" differs depending on
    which stack is compiled into the kernel since they each keep different
    stats.  This delta also adds the "esp", "ah", and "ipcomp" protocol
    stats, which are also available when the kernel is compiled with the
    FAST_IPSEC stack (e.g. "netstat -s -p esp").

      Submitted by:   Matt Titus <titus at nttmcl dot com>

      Revision  Changes    Path
      1.31      +2 -1      src/usr.bin/netstat/Makefile
      1.13      +266 -94   src/usr.bin/netstat/ipsec.c
      1.81      +29 -0     src/usr.bin/netstat/main.c
      1.47      +6 -0      src/usr.bin/netstat/netstat.h
      1.1       +184 -0    src/usr.bin/netstat/pfkey.c (new)

18 years agoMFC r1.1340: "Refer readers to the hwpmc(4) manual page where the additional
jkoshy [Thu, 5 Jan 2006 03:05:38 +0000 (03:05 +0000)]
MFC r1.1340: "Refer readers to the hwpmc(4) manual page where the additional
 architecture specific kernel configuration options needed for
 hwpmc are documented."

18 years agoMFC: Fix broken capabilities, causing failure during channel reset.
ariff [Thu, 5 Jan 2006 00:29:20 +0000 (00:29 +0000)]
MFC: Fix broken capabilities, causing failure during channel reset.
     Its min/max speed were off by -/+ 1000.

Reported by: [1] Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
             [2] barner

[1] http://lists.freebsd.org/mailman/htdig/freebsd-multimedia/2005-December/003189.html
[2] http://lists.freebsd.org/mailman/htdig/freebsd-multimedia/2006-January/003422.html

18 years agoparse nmount options enough to use a current mount binary; this
sam [Wed, 4 Jan 2006 22:18:10 +0000 (22:18 +0000)]
parse nmount options enough to use a current mount binary; this
allows people to boot releng_6 kernels with a current user install
(for now at least)

Reviewed by: rodrigc

18 years agoMFC cd9660_lookup.c 1.42
truckman [Wed, 4 Jan 2006 19:35:24 +0000 (19:35 +0000)]
MFC cd9660_lookup.c 1.42

Original commit message:
  Log:
  Apply the same fix to a potential race in the ISDOTDOT code in
  cd9660_lookup() that was used to fix an actual race in ufs_lookup.c:1.78.
  This is not currently a hazard, but the bug would be activated by
  marking cd9660 as MPSAFE.

  Requested by:   bde

18 years agoMFC ext2_lookup.c 1.51
truckman [Wed, 4 Jan 2006 19:32:00 +0000 (19:32 +0000)]
MFC ext2_lookup.c 1.51

Original commit message:
  Log:
  Apply the same fix to a potential race in the ISDOTDOT code in
  ext2_lookup() that was used to fix an actual race in ufs_lookup.c:1.78.
  This is not currently a hazard, but the bug would be activated by
  marking ext2fs as MPSAFE.

  Requested by:   bde
  MFC after:      2 weeks

18 years agoMFC subr_witness.c 1.198 and 1.200.
truckman [Wed, 4 Jan 2006 19:27:22 +0000 (19:27 +0000)]
MFC subr_witness.c 1.198 and 1.200.

Original commit messages:

  Log:
  Track all lock relationships instead of pruning direct relationships
  if an indirect relationship exists (keep both A->B->C and A->C).
  This allows witness_checkorder() to use isitmychild() instead of
  the much more expensive isitmydescendant() to check for valid lock
  ordering.

  Don't do an expensive tree walk to update the w_level values when
  the tree is updated.  Only update the w_level values when using the
  debugger to display the tree.

  Nuke the experimental "witness_watch > 1" mode that only compared
  w_level for the two locks.  This information is no longer maintained
  at run time, and the use of isitmychild() in witness_checkorder
  should bring performance close enough to the acceptable level that
  this hack is not needed.

  Report witness data structure allocation statistics under the
  debug.witness sysctl.

  Reviewed by:    jhb
  MFC after:      30 days

  Log:
  Relocate witness_levelall(), witness_leveldescendents(), and
  witness_displaydescendants() so that they are protected by
  "#ifdef DDB/#endif" to unbreak kernels not using "option DDB".

  MFC after:      3 weeks

18 years agoMFC: rev. 1.70
brueffer [Wed, 4 Jan 2006 17:13:18 +0000 (17:13 +0000)]
MFC: rev. 1.70

snd_es137x now works on sparc64.

18 years agoMFC: Fix another xruns counting logic, this time, for recording.
ariff [Wed, 4 Jan 2006 00:51:01 +0000 (00:51 +0000)]
MFC: Fix another xruns counting logic, this time, for recording.

18 years agoMFC:
ariff [Wed, 4 Jan 2006 00:32:14 +0000 (00:32 +0000)]
MFC:
   - Fix possible memory leak due to repetetive strdup(3) without matching
     free(3).
   - print_recsrc() should honor shortflag and give appropriate output for
     later consumption by /etc/rc.d/mixer. This will ensure that recording
     device selections survived across reboot. Output everything to stdout
     instead of stderr.

18 years agoMFC: document the net.link.bridge.pfil_onlyip sysctl
thompsa [Tue, 3 Jan 2006 21:55:25 +0000 (21:55 +0000)]
MFC: document the net.link.bridge.pfil_onlyip sysctl

18 years agoMFC: sync code to HEAD
thompsa [Tue, 3 Jan 2006 21:47:34 +0000 (21:47 +0000)]
MFC: sync code to HEAD
 - whitespace
 - add net.link.bridge.pfil_onlyip
 - use time_uptime

18 years agoMFC: Fix a deadlock in the recently added printf to warn about spin locks
jhb [Tue, 3 Jan 2006 20:43:01 +0000 (20:43 +0000)]
MFC: Fix a deadlock in the recently added printf to warn about spin locks
that are not in the static order list.

18 years agoMFC kern_clock.c:1.181
emaste [Tue, 3 Jan 2006 16:43:33 +0000 (16:43 +0000)]
MFC kern_clock.c:1.181
  In watchdog_config enable the software watchdog iff the WD_ACTIVE flag
  is set.  When watchdogd(1) is terminated intentionally it clears the
  bit, which should then disable it in the kernel.

PR:             kern/74386
Submitted by:   Alex Hoff <ahoff at sandvine dot com>
Approved by:    rwatson (mentor)

18 years agoMFC: EtherIP support, adding gif interfaces to bridges.
thompsa [Tue, 3 Jan 2006 08:15:33 +0000 (08:15 +0000)]
MFC: EtherIP support, adding gif interfaces to bridges.

18 years agoMFC 1.20 to RELENG_6.
yongari [Tue, 3 Jan 2006 06:35:16 +0000 (06:35 +0000)]
MFC 1.20 to RELENG_6.
  Remove "nodevice snd_es137x" as it is supported now.

18 years agoMFC r1.111:
ceri [Mon, 2 Jan 2006 12:53:48 +0000 (12:53 +0000)]
MFC r1.111:

  Document the pfsync(4) specific maxupd parameter, with text mostly taken
  from OpenBSD's manpage.

18 years agoMFC 1.26: unbreak handling of turboG channels
sam [Sun, 1 Jan 2006 22:33:45 +0000 (22:33 +0000)]
MFC 1.26: unbreak handling of turboG channels

18 years agoMFC revision 1.236:
davidxu [Sun, 1 Jan 2006 08:31:48 +0000 (08:31 +0000)]
MFC revision 1.236:
Add code to report zombie state.

18 years agoMFC: rev. 1.8 + 1.9
brueffer [Sat, 31 Dec 2005 13:55:08 +0000 (13:55 +0000)]
MFC: rev. 1.8 + 1.9

Update list of supported bridges and controllers, use markup similar to
ata.4 to display them and replace an XFree86 xref with Xorg.

18 years agoMFC revision 1.10:
delphij [Sat, 31 Dec 2005 05:36:42 +0000 (05:36 +0000)]
MFC revision 1.10:
Suggest the user to use 'diff -urN' instead of 'diff -crN'.

Submitted by: Jimmie James  <jimmiejaz@gmail.com>
PR: docs/88427

18 years agoMFC: Fix LOR #174.
ariff [Sat, 31 Dec 2005 02:03:48 +0000 (02:03 +0000)]
MFC: Fix LOR #174.

Tested with: WITNESS, INVARIANTS and DIAGNOSTICS

18 years agoMFC:
brueffer [Fri, 30 Dec 2005 23:07:23 +0000 (23:07 +0000)]
MFC:

Autogenerate hardware notes for snd_mss(4).

18 years agoMFC: rev. 1.43 + 1.44
brueffer [Fri, 30 Dec 2005 23:03:40 +0000 (23:03 +0000)]
MFC: rev. 1.43 + 1.44

- Xref snd_mss(4).
- Remove a few items from the HARDWARE list.  This support is
  already described in the snd_mss(4) manual page.
- Xref snd_atiixp.4

18 years agoMFC:
brueffer [Fri, 30 Dec 2005 22:59:07 +0000 (22:59 +0000)]
MFC:

Add manual page for snd_mss(4) and hook it up to the build.

18 years agoBump __FreeBSD_version after MFC of ELF types and constants.
marcel [Fri, 30 Dec 2005 22:25:15 +0000 (22:25 +0000)]
Bump __FreeBSD_version after MFC of ELF types and constants.

18 years agoMFC standardization of the ELF types and update of the ELF constants:
marcel [Fri, 30 Dec 2005 22:13:59 +0000 (22:13 +0000)]
MFC standardization of the ELF types and update of the ELF constants:
lib/libc/gen/nlist.c:1.19
libexec/rtld-elf/rtld.c:1.108
libexec/rtld-elf/rtld.h:1.36
libexec/rtld-elf/alpha/reloc.c:1.21
libexec/rtld-elf/amd64/reloc.c:1.16
libexec/rtld-elf/ia64/reloc.c:1.16
libexec/rtld-elf/sparc64/reloc.c:1.11
share/man/man5/elf.5:1.32-1.33
sys/alpha/alpha/elf_machdep.c:1.20
sys/amd64/amd64/elf_machdep.c:1.24
sys/boot/common/bootstrap.h:1.42
sys/boot/common/load_elf.c:1.33
sys/boot/common/load_elf_obj.c:1.2
sys/boot/common/reloc_elf.c:1.2
sys/ia64/ia64/elf_machdep.c:1.21
sys/kern/link_elf.c:1.87
sys/kern/link_elf_obj.c:1.90
sys/sparc64/sparc64/elf_machdep.c:1.20
sys/sys/elf32.h:1.9-1.10
sys/sys/elf64.h:1.11-1.13
sys/sys/elf_common.h:1.16
sys/sys/elf_generic.h:1.7
sys/sys/imgact_elf.h:1.28
sys/sys/linker.h:1.40
usr.bin/elf2aout/elf2aout.c:1.10
usr.bin/elfdump/elfdump.c:1.13
usr.sbin/crunch/crunchide/exec_elf32.c:1.15
usr.sbin/kldxref/ef.c:1.9
usr.sbin/kldxref/ef.h:1.6
usr.sbin/kldxref/ef_amd64.c:1.3
usr.sbin/kldxref/ef_i386.c:1.3
usr.sbin/kldxref/ef_obj.c:1.4
usr.sbin/kldxref/ef_powerpc.c:1.3
usr.sbin/kldxref/ef_sparc64.c:1.4-1.5

18 years agoMFC: Few codec such as Conexant CX20468-21 does have AC97_MIX_BEEP
ariff [Fri, 30 Dec 2005 20:44:37 +0000 (20:44 +0000)]
MFC: Few codec such as Conexant CX20468-21 does have AC97_MIX_BEEP
     control register, although the only usable part is the mute bit.

Noticed by: Hans Petter Selasky <hselasky@c2i.net>

18 years agoMFC snd_atiixp entry
netchild [Fri, 30 Dec 2005 20:35:39 +0000 (20:35 +0000)]
MFC snd_atiixp entry

18 years agoShould be "snd_atiixp" (without ".c").
ariff [Fri, 30 Dec 2005 20:33:06 +0000 (20:33 +0000)]
Should be "snd_atiixp" (without ".c").
Sorry Alex.

18 years agoMFC:
bz [Fri, 30 Dec 2005 20:13:46 +0000 (20:13 +0000)]
MFC:
rev. 1.111 date: 2005/10/11 22:55:16; author: yar  sys/pci/if_sk.c
rev. 1.28  date: 2005/10/11 22:59:01; author: yar  share/man/man4/vlan.4

Mark sk(4) capable of handling extended VLAN frames.

PR: kern/79998

18 years agoMFC nearly everything of the soundsystem except recent commits and
netchild [Fri, 30 Dec 2005 19:55:55 +0000 (19:55 +0000)]
MFC nearly everything of the soundsystem except recent commits and
most of the sysctl's (those which would introduce a new interface).
The spdif_enabled sysctl is still there (or more correctly: added
to another driver).

A rough overview what's there now:
 - new driver for ATI chips (snd_atiixp)
 - support for some Intel HDA chips in AC97 mode (no real HDA
   support!), this doesn't work with every mainboard and is
   subject to the wiring on the mainboard (no servicable parts
   inside)
 - MPSAFE and fixes for snd_als4000(4), snd_es137x(4),
   snd_via82c686(4), snd_via8233(4) and snd_ich(4)
 - 24bit and 32bit sound format support
 - feeder infrastructure (format, rate) has been reworked, new
   feeder (volume) has been introduced
 - lots of LOR and panic issues fixed
 - and a lot of small or not so small fixes I may have forgotten...

As noted in UPDATING: you may want to recompile mplayer (after booting
into the new world) to get all new features.

Tested by: a lot of people
Requested by: ariff
Submitted by: ariff

18 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Fri, 30 Dec 2005 16:45:32 +0000 (16:45 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

18 years agoMFC: pf.c 1.39+1.40 and pfvar.h 1.13+1.14
mlaier [Fri, 30 Dec 2005 00:50:18 +0000 (00:50 +0000)]
MFC: pf.c 1.39+1.40 and pfvar.h 1.13+1.14
  Move PFSTATE_EXPIRING from sync_flags to a new local_flags.  sync_flags
  has special handling when zero.  This caused no PFSYNC_ACT_DEL message and
  thus disfunction of pfflowd and state synchronisation in general.

  Discovered by:  thompsa
  Good catch by:  thompsa

and

  Only decrement the max-src-conn counter for tcp connections that reached
  "established" state.

  Similar to OpenBSD's rev. 1.499 by joel but not breaking ABI.

  Obtained from:  OpenBSD (with changes)
  Reported by:    Bruno Afonso

ok reyk@

18 years agoI didn't remember to commit the style-fixes for my previous
cracauer [Thu, 29 Dec 2005 21:32:06 +0000 (21:32 +0000)]
I didn't remember to commit the style-fixes for my previous
commit.