Commit Graph

118424 Commits

Author SHA1 Message Date
dougb
ae243ed8eb MFC rc.conf 1.269 and rc.conf.5 1.275 - clear_tmp_X variable,
to support the cleanup of etc/rc.d/cleartmp
2006-01-17 07:02:04 +00:00
dougb
73ebda7083 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
2006-01-17 06:53:18 +00:00
dougb
055e6f8b45 MFC newsyslog 1.5, syslogd 1.11 - Swap REQUIRE and BEFORE 2006-01-17 06:46:54 +00:00
dougb
4f990c30d3 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
2006-01-17 06:45:05 +00:00
dougb
096e4ab89b MFC changes to have these scripts follow proper rc.d syntax
PR:		conf/84574
Submitted by:	Alexander Botero-Lowry
2006-01-17 06:37:48 +00:00
ariff
37b56cc75b MFC: Add another inverted EAPD quirk for Gateway 7326GZ.
Tested by:	Jeff Cross <jeff.cross at averageadmins.com>
2006-01-17 05:13:37 +00:00
flz
179ac5f43a 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>
2006-01-16 22:34:20 +00:00
flz
491b3507c0 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
2006-01-16 19:51:41 +00:00
bruno
72bdc5650f MFC 1.4: fix bst.status and bst.rate to display correct informations.
Approved by:	njl
2006-01-16 09:13:53 +00:00
davidxu
a3ce51935a 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.
2006-01-16 06:25:32 +00:00
davidxu
bbb7464427 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.
2006-01-16 05:48:40 +00:00
davidxu
e50006f0c9 MFC:
Sync with HEAD.
2006-01-16 05:36:30 +00:00
ariff
68bb9b25cf 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
2006-01-16 02:08:56 +00:00
delphij
68b438857e MFC pidfile(3) function, and convert several applications to make use
of it.

Bump __FreeBSDversion for the MFC.

Discussed with:	pjd
2006-01-15 17:50:38 +00:00
glebius
a06eca80b3 MFC 1.183:
Forget about ipfw1 and ipfw2. We aren't in RELENG_4 anymore.
2006-01-15 01:05:21 +00:00
glebius
470df2fb19 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.
2006-01-15 01:00:55 +00:00
glebius
9bfc349ebe 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().
2006-01-15 00:55:04 +00:00
glebius
bf3ba15d9b Cleanup _FreeBSD_version. 2006-01-15 00:52:15 +00:00
glebius
63168c1b16 MFC:
Catch up with ip_dummynet.h rev. 1.38.
2006-01-15 00:51:02 +00:00
glebius
035a021290 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.
2006-01-15 00:46:17 +00:00
glebius
7799eeee1b Fix build. 2006-01-15 00:20:31 +00:00
delphij
ac58eacb60 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
2006-01-14 19:57:48 +00:00
netchild
54d6a62a16 MFC r1.12:
Emit USB_EVENT_DRIVER_DETACH on detach.

  PR:             83247
  Submitted by:   Sangwoo Shim <ssw@neo.redjade.org>
2006-01-14 14:21:59 +00:00
netchild
d4a48e23d3 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]
2006-01-14 14:18:34 +00:00
pav
9ee0aaafb3 MFC 1.34: mention the size of the additional header 2006-01-14 12:13:04 +00:00
dougb
efccc3e1e4 MFC import of BIND 9.3.2 2006-01-14 10:13:50 +00:00
glebius
e9cbabbbdd - Restore VLAN_INPUT_TAG() macro to preserve API compatibility for
third party drivers.
- Fix bugs destribed in previous revision using macro with
  another name.
2006-01-14 10:05:07 +00:00
joel
b387971eec MFC r1.1343: Fix minor sorting issue. 2006-01-14 10:00:13 +00:00
dougb
01fd4599c4 These files are only relevant in HEAD, where the imports are done. 2006-01-14 06:13:17 +00:00
tegge
81ceadf72a MFC: Add marker vnodes to ensure that all vnodes associated with the mount
point are iterated over when using MNT_VNODE_FOREACH.
2006-01-14 01:18:03 +00:00
tegge
479ccb2392 MFC: Close race where wakeup after background write could be lost. 2006-01-14 01:09:10 +00:00
tegge
c398a9e83f MFC: Broaden scope of softdep_worklist_busy rwlock protection. 2006-01-14 01:07:14 +00:00
tegge
c8d0f60cdf MFC: Obtain mount point lock before restarting sync loop if vget() failed. 2006-01-14 01:05:22 +00:00
ariff
019b9af95d 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.
2006-01-14 00:35:18 +00:00
pav
aeeb3bfd31 MFC 1.74: xref mount_reiserfs(8) 2006-01-13 20:05:59 +00:00
pav
b68f1c7b71 MFC 1.16: fix: documentation for -m option was inserted halfway thru the text
of -l option.
2006-01-13 20:02:56 +00:00
jhb
256ff0a5b8 MFC: Fix description of si2 firmware and update the si3 firmware to the
latest version in the SDK.
2006-01-13 19:27:35 +00:00
jhb
4fafdc5737 MFC: Fix /dev entries for cards with multiple modules. 2006-01-13 19:26:08 +00:00
glebius
03bc08061d - Restore VLAN_INPUT_TAG() macro to preserve API compatibility for
third party drivers.
- Fix bugs destribed in previous revision using macro with
  another name.
2006-01-13 19:21:45 +00:00
joel
a889984747 MFC: Remove references to snd_vortex1(4). 2006-01-13 14:56:51 +00:00
glebius
ed67dec936 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.
2006-01-13 11:51:11 +00:00
rwatson
2776f9ec11 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>
2006-01-13 10:23:39 +00:00
des
35d97efa7b MFC: (1.76) reflect progress in proctitle (1.77) fix mirror mode 2006-01-13 09:07:49 +00:00
ariff
3dcf9009a7 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
2006-01-13 05:24:41 +00:00
ariff
3769380cc5 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>
2006-01-13 04:26:48 +00:00
marcel
b2222f6810 MFC rev 1.20: Fix FD_ISSET() on LP64 platforms.
PR: ia64/91421
Submitted by: Tanaka Akira (akr at m17n dot org)
2006-01-13 03:11:16 +00:00
cperciva
dad028c05c MFC:
Make "portsnap extract" automatically create ${PORTSDIR} if necessary
  instead of complaining that "Directory does not exist or is not
  writable".
2006-01-13 00:53:53 +00:00
ru
8fa524d428 MFC: Present new BSD releases to -mdoc. 2006-01-12 15:44:42 +00:00
ru
33034883e0 MFC: 1.3: Remove public declaration of static. 2006-01-12 10:35:24 +00:00
ru
b3c6d28d9a MFC: Fix creation of smb devices. 2006-01-12 10:34:38 +00:00