]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoMFC 1.279, use NETWORKING for early_late_divider in a jail
dougb [Tue, 17 Jan 2006 07:04:31 +0000 (07:04 +0000)]
MFC 1.279, use NETWORKING for early_late_divider in a jail

18 years agoMFC rc.conf 1.269 and rc.conf.5 1.275 - clear_tmp_X variable,
dougb [Tue, 17 Jan 2006 07:02:04 +0000 (07:02 +0000)]
MFC rc.conf 1.269 and rc.conf.5 1.275 - clear_tmp_X variable,
to support the cleanup of etc/rc.d/cleartmp

18 years agoMFC mechanism to include files added by ports which contain
dougb [Tue, 17 Jan 2006 06:53:18 +0000 (06:53 +0000)]
MFC mechanism to include files added by ports which contain
names of directories to include in the base ldconfig script.

Bump __FreeBSD_version to recognize this change

18 years agoMFC newsyslog 1.5, syslogd 1.11 - Swap REQUIRE and BEFORE
dougb [Tue, 17 Jan 2006 06:46:54 +0000 (06:46 +0000)]
MFC newsyslog 1.5, syslogd 1.11 - Swap REQUIRE and BEFORE

18 years agoMFC ntpd 1.12 and ntpdate 1.14 - use of REQUIRE rather than BEFORE,
dougb [Tue, 17 Jan 2006 06:45:05 +0000 (06:45 +0000)]
MFC ntpd 1.12 and ntpdate 1.14 - use of REQUIRE rather than BEFORE,
MFC ntpd 1.12 - REQUIRE devfs to help users with serial GPS interfaces
MFC ntpdate 1.15 - REQUIRE named

18 years agoMFC changes to have these scripts follow proper rc.d syntax
dougb [Tue, 17 Jan 2006 06:37:48 +0000 (06:37 +0000)]
MFC changes to have these scripts follow proper rc.d syntax

PR: conf/84574
Submitted by: Alexander Botero-Lowry

18 years agoMFC: Add another inverted EAPD quirk for Gateway 7326GZ.
ariff [Tue, 17 Jan 2006 05:13:37 +0000 (05:13 +0000)]
MFC: Add another inverted EAPD quirk for Gateway 7326GZ.

Tested by: Jeff Cross <jeff.cross at averageadmins.com>

18 years agoMFC:
flz [Mon, 16 Jan 2006 22:34:20 +0000 (22:34 +0000)]
MFC:

  Enable NO_GETMAXLUN quirk.

      src/sys/dev/usb/umass.c: rev 1.127 -> 1.128

PR: usb/81073
Submitted by: James E. Flemer <jflemer@alum.rpi.edu>

18 years agoMFC:
flz [Mon, 16 Jan 2006 19:51:41 +0000 (19:51 +0000)]
MFC:

  Add -K option to pkg_add and pkg_info.
  This option saves packages to PKGDIR (if defined or current directory by default)
  as they are downloaded.
  Silent a warning when -n is used and package has a +DISPLAY file.

      src/usr.sbin/pkg_install/info/perform.c: rev 1.53 -> 1.54
      src/usr.sbin/pkg_install/add/main.c: rev 1.65 -> 1.66
      src/usr.sbin/pkg_install/lib/lib.h: rev 1.56 -> 1.57
      src/usr.sbin/pkg_install/info/pkg_info.1: rev 1.55 -> 1.56
      src/usr.sbin/pkg_install/add/add.h: rev 1.12 -> 1.13
      src/usr.sbin/pkg_install/add/pkg_add.1: rev 1.68 -> 1.69
      src/usr.sbin/pkg_install/add/perform.c: rev 1.78 -> 1.79
      src/usr.sbin/pkg_install/info/info.h: rev 1.28 -> 1.29
      src/usr.sbin/pkg_install/lib/url.c: rev 1.4 -> 1.5
      src/usr.sbin/pkg_install/info/main.c: rev 1.48 -> 1.49

18 years agoMFC 1.4: fix bst.status and bst.rate to display correct informations.
bruno [Mon, 16 Jan 2006 09:13:53 +0000 (09:13 +0000)]
MFC 1.4: fix bst.status and bst.rate to display correct informations.

Approved by: njl

18 years agoMFC revision 1.40:
davidxu [Mon, 16 Jan 2006 06:25:32 +0000 (06:25 +0000)]
MFC revision 1.40:
Add a new feature to thr_kill, if thread ID argument is -1, send
signals to all threads except current sender.

18 years agoMFC following revisions:
davidxu [Mon, 16 Jan 2006 05:48:40 +0000 (05:48 +0000)]
MFC following revisions:
sys/umtx.h revision 1.17
kern/kern_umtx.c revision 1.34
kern/kern_thr.c revision 1.36

call kern_umtx_wake on thread exit.

18 years agoMFC:
davidxu [Mon, 16 Jan 2006 05:36:30 +0000 (05:36 +0000)]
MFC:
Sync with HEAD.

18 years agoMFC: Joyport blacklist. Either we're facing with broken hardware
ariff [Mon, 16 Jan 2006 02:08:56 +0000 (02:08 +0000)]
MFC: Joyport blacklist. Either we're facing with broken hardware
     or because this hardware need special (unknown) initialization
     procedures.

Reported by:    [1] Rob Clark <vx2 at tds.net>

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

18 years agoMFC pidfile(3) function, and convert several applications to make use
delphij [Sun, 15 Jan 2006 17:50:38 +0000 (17:50 +0000)]
MFC pidfile(3) function, and convert several applications to make use
of it.

Bump __FreeBSDversion for the MFC.

Discussed with: pjd

18 years agoMFC 1.183:
glebius [Sun, 15 Jan 2006 01:05:21 +0000 (01:05 +0000)]
MFC 1.183:
  Forget about ipfw1 and ipfw2. We aren't in RELENG_4 anymore.

18 years agoMFC:
glebius [Sun, 15 Jan 2006 01:00:55 +0000 (01:00 +0000)]
MFC:
  Add a new feature for optimizining ipfw rulesets - substitution of the
  action argument with the value obtained from table lookup. The feature
  is now applicable only to "pipe", "queue", "divert", "tee", "netgraph"
  and "ngtee" rules.

18 years agoMFC 1.118:
glebius [Sun, 15 Jan 2006 00:55:04 +0000 (00:55 +0000)]
MFC 1.118:
    Optimize parallel processing of ipfw(4) rulesets eliminating the locking
  of the radix lookup tables. Since several rnh_lookup() can run in
  parallel on the same table, we can piggyback on the shared locking
  provided by ipfw(4).
    However, the single entry cache in the ip_fw_table can't be used lockless,
  so it is removed. This pessimizes two cases: processing of bursts of similar
  packets and matching one packet against the same table several times during
  one ipfw_chk() lookup. To optimize the processing of similar packet bursts
  administrator should use stateful firewall. To optimize the second problem
  a solution will be provided soon.

  Details:
    o Since we piggyback on the ipfw(4) locking, and the latter is per-chain,
      the tables are moved from the global declaration to the
      struct ip_fw_chain.
    o The struct ip_fw_table is shrunk to one entry and thus vanished.
    o All table manipulating functions are extended to accept the struct
      ip_fw_chain * argument.
    o All table modifing functions use IPFW_WLOCK_ASSERT().

18 years agoCleanup _FreeBSD_version.
glebius [Sun, 15 Jan 2006 00:52:15 +0000 (00:52 +0000)]
Cleanup _FreeBSD_version.

18 years agoMFC:
glebius [Sun, 15 Jan 2006 00:51:02 +0000 (00:51 +0000)]
MFC:
  Catch up with ip_dummynet.h rev. 1.38.

18 years agoMFC:
glebius [Sun, 15 Jan 2006 00:46:17 +0000 (00:46 +0000)]
MFC:
  First step in removing welding between ipfw(4) and dummynet.

  o Do not use ipfw_insn_pipe->pipe_ptr in locate_flowset(). The
    _ipfw_insn_pipe isn't touched by this commit to preserve ABI
    compatibility.
  o To optimize the lookup of the pipe/flowset in locate_flowset()
    introduce hashes for pipes and queues:
    - To preserve ABI compatibility utilize the place of global list
      pointer for SLIST_ENTRY.
    - Introduce locate_flowset(queue nr) and locate_pipe(pipe nr).
  o Rework all the dummynet code to deal with the hashes, not global
    lists. Also did some style(9) changes in the code blocks that were
    touched by this sweep:
    - Be conservative about flowset and pipe variable names on stack,
      use "fs" and "pipe" everywhere.
    - Cleanup whitespaces.
    - Sort variables.
    - Give variables more meaningful names.
    - Uppercase and dots in comments.
    - ENOMEM when malloc(9) failed.

18 years agoFix build.
glebius [Sun, 15 Jan 2006 00:20:31 +0000 (00:20 +0000)]
Fix build.

18 years agoMFC revision 1.185
delphij [Sat, 14 Jan 2006 19:57:48 +0000 (19:57 +0000)]
MFC revision 1.185
date: 2005/12/16 18:32:39;  author: delphij;  state: Exp;  lines: +2 -0
In pipe_write(): when uiomove() fails, do not spin on it forever.

Submitted by:   Kostik Belousov <kostikbel at gmail.com> on -current@
Message-ID:     <20051216151016.GE84442@deviant.zoral.local>
Security: Local DoS

18 years agoMFC r1.12:
netchild [Sat, 14 Jan 2006 14:21:59 +0000 (14:21 +0000)]
MFC r1.12:

  Emit USB_EVENT_DRIVER_DETACH on detach.

  PR:             83247
  Submitted by:   Sangwoo Shim <ssw@neo.redjade.org>

18 years agoMFC bktr_card.c 1.35, bktr_card.h 1.12, bktr_tuner.c 1.20, bktr_tuner.h 1.7:
netchild [Sat, 14 Jan 2006 14:18:34 +0000 (14:18 +0000)]
MFC bktr_card.c 1.35, bktr_card.h 1.12, bktr_tuner.c 1.20, bktr_tuner.h 1.7:

  Add some cards:
   - several TerraTec TValue [1]
   - PixelView PlayTV Pro REV-4C [2]

  In case you have the PixelView card, please tell us the "pciconf -v -l"
  output on multimedia@FreeBSD.org if it works. There are revisions out there
  which may not work and we need to know which ones work.

  PR:             53383 [1], 76002 [2]
  Submitted by:   Tanja Wittke <tawi@gruft.de> [1], barner [1],
                  Dan Angelescu <mrhsaacdoh@yahoo.com> [2]

18 years agoMFC 1.34: mention the size of the additional header
pav [Sat, 14 Jan 2006 12:13:04 +0000 (12:13 +0000)]
MFC 1.34: mention the size of the additional header

18 years agoMFC import of BIND 9.3.2
dougb [Sat, 14 Jan 2006 10:13:50 +0000 (10:13 +0000)]
MFC import of BIND 9.3.2

18 years ago- Restore VLAN_INPUT_TAG() macro to preserve API compatibility for
glebius [Sat, 14 Jan 2006 10:05:07 +0000 (10:05 +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 r1.1343: Fix minor sorting issue.
joel [Sat, 14 Jan 2006 10:00:13 +0000 (10:00 +0000)]
MFC r1.1343:  Fix minor sorting issue.

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