118453 Commits

Author SHA1 Message Date
pjd
8e11cbfa32 MFC: share/man/man4/umass.4 1.41
sys/cam/scsi/scsi_da.c	1.182
	sys/dev/usb/umass.c	1.125
	sys/dev/usb/usbdevs	1.238

Allow to use TransFlash drive, which can be found in Motorola E398 Mobile Phone.

PR:		usb/89889
Submitted by:	Wojciech A. Koszek <dunstan@freebsd.czest.pl>
2006-01-20 14:52:13 +00:00
matteo
7ebcfcdd9a MFC: don't check for /dev/mdctl and let mdconfig load the module if needed
Approved by:	philip
2006-01-20 14:24:34 +00:00
ceri
2f6c15280f MFC revision 1.413:
Add ntp.cgi.cz.
2006-01-20 13:03:13 +00:00
ceri
4fd8a7fa17 MFC revisions 1.36 and 1.37:
r1.36:
	  Correct obsolete chown syntax.

	r1.37:
	  If sysinstall was used to configure an anonymous FTP area, it
	was possible for information to be copied from the group file to
	the group file in the FTP area.  This patch based on a patch
	from Zak Johnson <zakj at nox dot cx>.
2006-01-20 13:00:32 +00:00
vd
8e4dbc282c Add myself to the calendar
Approved by:	garga (mentor)
2006-01-20 12:57:58 +00:00
yongari
090d60f537 MFC rev. 1.48 to RELENG_6:
Prefer NULL to 0.
  Add missing lock/unlock in sysctl handler.
2006-01-20 07:38:01 +00:00
yongari
cb5b5410bf MFC if_hme.c:1.46 to RELENG_6:
fix Rx checksum computation on little endian systems.
2006-01-20 06:27:49 +00:00
ariff
13fdba80c5 MFC:
- Workaround for sb16 behave poorly when running at 45000 hz while
    vchan is enabled.
    Ruthless vchan speed workaround against the dreaded sb16 / sb16x.
    It appear that nothing else using this weird 45k / 49k speed upper
    limit.
  - Raise VCHAN_DEFAULT_SPEED from 44100 to 48000.

Reported by:	many sb16, AWE64 users.
2006-01-20 03:55:58 +00:00
brueffer
3317c77ac1 MFC: rev. 1.26 + 1.27
Mention the fire screensaver.
2006-01-19 22:14:20 +00:00
glebius
76d7ea24d4 Sync driver with HEAD merging all revisions from 1.96 to 1.115. The most
markable changes are:

 o Suspend/resume methods.
 o Link state detection fixes.
 o Utilization of jumbo allocator and extended RX descriptors.
 o busdma(9) cleanup and support for big-endian architectures.
 o Improved checksum offloading support.
 o Reduced number of PCI register writes in bge_start().
 o Counting RX/TX errors as input/output interface errors.
2006-01-19 13:36:26 +00:00
ariff
1aeaa0e0e4 Fix broken capabilites. There are possible calculation errors within
ess_calcspeed8() and ess_calcspeed9() that need to be fixed as well
(TODO).

Reported by:	[1] Claude Buisson <cbuisson at nerim.net>

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-January/003566.html
2006-01-19 01:17:00 +00:00
thompsa
a387d16385 MFC r1.148:
Include the bridge interface itself in the special arp handling.
2006-01-19 00:38:00 +00:00
thompsa
07a0a1ec64 MFC: if_bridge.c, r1.50; if_bridgevar.h, r1.10
Clear IFCAP_TXCSUM from member interfaces while bridging.
2006-01-18 20:49:21 +00:00
andre
814aba4977 MFC jumbo mbuf cluster allocation API providing 4k, 9k and 16k clusters:
struct mbuf *m_getjcl(int how, short type, int flags, int size)
 void *m_cljget(struct mbuf *m, int how, int size)

For size both take MCLBYTES, MJUM4BYTES, MJUM9BYTES, MJUM16BYTES.

Tested by:	glebius
Sponsored by:	TCP/IP Optimization Fundraise 2005
2006-01-18 13:24:24 +00:00
glebius
00dc285d46 Check ifp before dereferencing it in xl_detach(). xl_detach() can be called
from xl_attach(), when ifp is not defined yet.

Found with:	Coverity Prevent(tm)
2006-01-18 09:42:21 +00:00
simon
43c6ead8eb Add FreeBSD-SA-06:05.80211. 2006-01-18 09:20:22 +00:00
cperciva
1f4d619dab Correct a buffer overflow when scanning for 802.11 wireless networks.
Security:	FreeBSD-SA-06:05.80211
2006-01-18 09:03:15 +00:00
ariff
5c823ed0a2 MFC:
- Locking fixes. Release lock while chn_intr().
  - Mark MPSAFE since most of the locking procedures already implemented.
  - Turn on inverted external amplifier sense flag for selected boards.

Tested by:	bland
2006-01-18 01:05:34 +00:00
jkoshy
37498c0641 MFC r1.9: xref da(4) and sa(4). 2006-01-17 15:26:28 +00:00
mlaier
f6a52266ef MFC: pf_norm.c, 1.15:
Move m_adj after checking that m_dup succeeded.

    Found with:	Coverity Prevent(tm)
2006-01-17 13:05:32 +00:00
simon
ea7acf5300 - Add FreeBSD-SA-06:0[1234].
- Bump copyright year.
2006-01-17 13:00:31 +00:00
pjd
d16c8aabc8 MFC: Sync with HEAD. 2006-01-17 11:49:09 +00:00
pjd
652705ad2e MFC: sys/kern/kern_malloc.c 1.150
In realloc(9), determine size of the original block based on
UMA_SLAB_MALLOC flag.
In some circumstances (I observed it when I was doing a lot of reallocs)
UMA_SLAB_MALLOC can be set even if us_keg != NULL.

If this is the case we have wonderful, silent data corruption, because less
data is copied to the newly allocated region than should be.
2006-01-17 10:19:37 +00:00
pjd
911efbaebd MFC: sys/kern/kern_malloc.c 1.149
Detect memory leaks when memory type is being destroyed.
This is very helpful for detecting kernel modules memory leaks on unload.
2006-01-17 10:17:37 +00:00
pjd
c4be8154d5 MFC: Sync with HEAD. 2006-01-17 09:28:57 +00:00
pjd
b11d89f3f9 MFC: Sync with HEAD. 2006-01-17 09:11:30 +00:00
pjd
947bbe05ee MFC: Sync with HEAD. 2006-01-17 08:59:55 +00:00
dougb
321c75e900 MFC 1.8 - bring into conformance with rc.d standards
MFC 1.9 - Use hw.machine_arch instead of hw.machine
2006-01-17 07:12:38 +00:00
dougb
da78871c0c MFC 1.279, use NETWORKING for early_late_divider in a jail 2006-01-17 07:04:31 +00:00
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