Commit Graph

110407 Commits

Author SHA1 Message Date
brueffer
c25a7bd97f - add a HARDWARE section
- several grammar and language fixes
- bump .Dd

MFC after:	3 days
2004-12-17 10:13:02 +00:00
ru
c239a107d9 Minor tweaks in "make update" comments. 2004-12-17 10:11:33 +00:00
brueffer
903f3efdc1 Add missing word.
MFC after:	3 days
2004-12-17 09:34:48 +00:00
sam
38651828b9 Fix wep operation for station mode:
o don't encapsulate on tx; the chip expect a raw frame w/o the crypto header
o clear the WEP bit in the 802.11 header on rx so the 802.11 layer doesn't
  try to strip the crypto header
o clobber the "drop unencoded frames" state bit when privacy is enabled so
  rx'd frames we pass up to the 802.11 layer are not discarded as unencrypted

This stuff will need to be redone if anyone decides to add WPA support.
2004-12-17 03:57:16 +00:00
sam
5b21b09227 set ic_ibss_chan when entering RUN state to match ic_bss so the channel
reported when associated to an AP is correct
2004-12-17 03:36:24 +00:00
jmg
da009a69a1 don't try to recurse on the bpf lock.. kqueue already locks the bpf lock
now...

Submitted by:	Ed Maste of Sandvine Inc.
MFC after:	1 week
2004-12-17 03:21:46 +00:00
sam
2205d7f616 remove power save logic from the tx path; the driver isn't ready to support
it so don't mislead folks
2004-12-17 03:05:30 +00:00
brueffer
a33038ccca Properly capitalize FireWire
MFC after:	3 days
2004-12-17 02:33:42 +00:00
darrenr
8b9a325389 Allow ipnat redirect rules to work for non-TCP/UDP packets.
PR:             70038
Submitted by:   fming@borderware.com
Reviewed by:    darrenr
Obtained from:  fming@borderware.com
2004-12-17 02:29:34 +00:00
gad
d0d27b82fc When printing a data file received from some other host, check to make
sure the data file has been completely transfered before starting to
print it.  This is needed because some implementations of lpr will send
the control-file for a print job before sending the matching data-files,
and that can cause problems if the receiving host is a busy print-server.

MFC after:	2 weeks
2004-12-17 01:54:50 +00:00
julian
6a06ac4fcb Forced commit to note that the previous patch apparently
came originaly from the keyboard of:
Submitted by:	Branko Lankester <branko@euro.net>
2004-12-17 00:57:48 +00:00
julian
ff448200f0 Add a missing prototype.
MFC after:	1 week
2004-12-17 00:25:56 +00:00
julian
93b85279c3 Allow /sys/dev/bktr to support Pinnacle PCTV Rave cards
PR:		73669
Submitted by:	arne_woerner at yahoo dot com
MFC after:	1 week
2004-12-16 23:37:41 +00:00
julian
1c70d45b21 Add some locking for -currnet/5.x
PR:		74305
Submitted by:	Anish Mistry <amistry at am-productions dot biz>
MFC after:	1 week
2004-12-16 23:19:57 +00:00
njl
1a6e316653 Inform users how to set throttling and cpu idling variables for the
power_profile rc script.
2004-12-16 22:21:21 +00:00
darrenr
79ed90f6f9 Using just m_pullup to get all of the interesting bits in packet into one
buffer doesn't work for ipv6 packets, so use m_defrag() here instead as an
easy drop-in replacement.

PR:	70399
2004-12-16 21:02:16 +00:00
das
eb79bc3290 GC unused declaration 2004-12-16 20:40:49 +00:00
das
8cf8083828 Cosmetic changes only:
- style
- remove unused variables
- de-support VAX

Inspired by:	bin/42388
2004-12-16 20:40:37 +00:00
maxim
f7e57f7be4 o The macro versions of sigemptyset(3), sigfillset(3), sigaddset(3),
sigdelset(3) and sigismember(3) were killed about five years ago.

o The functions (specifically sigismember(3)) could return -1 and
set errno.

PR:		bin/75156
Obtained from:	NetBSD
MFC after:	2 weeks

o Bump the date of the document.
2004-12-16 20:27:55 +00:00
ru
82f82f652a Previous revision didn't fix all cases. For example,
testing for variables that are always defined (e.g.,
"make -V CC") would still print a false warning.  Fix
this by only passing a submake the MAKEOBJDIRPREFIX=*
argument if it was present.  As a result, we loose
the check for -DMAKEOBJDIRPREFIX, or an esoteric
"MAKEOBJDIRPREFIX = foo" (with embedded spaces), but
these are unorthodox enough to not care about them.

The make(1) bug mentioned in the previous revision
was just fixed in make/main.c,v 1.109.
2004-12-16 19:55:57 +00:00
ru
5398e63076 Fix a long-standing bug when make(1) is passed the -V and
-f options in MAKEFLAGS environment variable, and some of
these options are also specified on the command line.

Thanks to:	marcel
Reviewed by:	harti
2004-12-16 19:46:50 +00:00
ps
ee6171fdb5 Change the NFS sillyrename convention so that we won't run out
of sillyrenames (which were limited to 58 per pid per directory,
for no good reason). The new format of sillyrenames looks like

	.nfs.0000b31a.00d24.4
	     ^^^^^^^^ ^^^^^
	     ticks    pid

Submitted by:	Mohan Srinivasan mohans at yahoo-inc dot com
Obtained from:	Yahoo!
2004-12-16 19:28:37 +00:00
roam
a5d4849096 Describe the special meaning of the $ and ~ characters, and the fact
that you can get around it by double-quoting them.

PR:		42762
Submitted by:	AIDA Shinra <aida-s@jcom.home.ne.jp>
Discussed with:	brian
2004-12-16 16:59:19 +00:00
harti
866a142ec5 Instead of dynamically allocating list heads allocated them statically
now that their size is only two pointers. This eliminates a lot of calls
to Lst_Init and from there to malloc together with many calls to
Lst_Destroy (in places where the list is obviously empty). This also
reduces the chance to leave a list uninitilized so we can remove more
NULL pointer checks and probably eliminates a couple of memory leaks.
2004-12-16 16:14:16 +00:00
obrien
8fe5be5924 Remove the helpers for moving to a 64-bit time_t on Sparc64. If someone
isn't running with a 64-bit time_t by now, they don't really track -CURRENT
and would probably go to RELENG_5 vs. 6-CURRENT.

OK'ed by:	gad
2004-12-16 16:03:53 +00:00
tom
5dfa27e8bf Sort driver names alphabetically.
MFC after:	1 week
2004-12-16 15:24:53 +00:00
ru
14ce66b3b3 Reflect the removal of jumbo(9). 2004-12-16 11:19:29 +00:00
ru
946cbbd683 The ioconf.c is no longer generated.
Submitted by:	Craig Rodrigues
2004-12-16 09:52:41 +00:00
yar
4095278a2b Do a small style(9) fix before I'm hacking the code itself. 2004-12-16 07:27:28 +00:00
yar
30b9a2308f free(3) is void already. 2004-12-16 07:17:56 +00:00
brooks
4312319fad Add Cisco AIR-CB21AG and AIR-PI21AG to the supported list.
I'm using an AIR-CB12AG to make this commit.

Approved by:	sam
2004-12-16 04:45:16 +00:00
matusita
56c7e316bb Typo fix: s/ROOR/ROOT/;
PR:		docs/75139
Submitted by:	Richard Smith
2004-12-16 03:37:32 +00:00
sam
24b80a30c6 fix typo to resolve undefined symbol
Spotted by:	Rong-En Fan <grafan at gmail.com>
2004-12-16 01:10:48 +00:00
grog
5f640b14f9 Correct the event of 17 December 1770: Ludwig van Beethoven was
christened.  We don't know whether he was born on the same or the
previous day.

From: Die Musik in Gecshichte und Gegenwart (Bärenreiter, Kassel,
      1989), 1:1509
2004-12-16 00:29:35 +00:00
grog
e54a010ade Correct the dates and locations relating to Ludwig van Beethoven's
birth:

1.  Remove anachronistic "Germany".  Depending on your viewpoint, he
    was born in the Rheinland or Prussia.
2.  Remove reference to his date of birth.  It's not known, though
    it's possible it was 16t or 17 December.
3.  Get the date of his christening right.
2004-12-16 00:26:53 +00:00
brueffer
d2c648118a First update for the 5750/5751 chips.
MFC after:	3 days
2004-12-15 23:39:57 +00:00
jhb
6de4ec9e25 Document the new flag for disabling the keyboard port test during probe. 2004-12-15 23:01:45 +00:00
jhb
f8d1c16190 Add a new flag to the atkbd(4) driver to disable testing the keyboard
port during the device probe as this can cause hangs on some machines,
specifically Compaq R3000Z series amd64 laptops.  The flag is bit 3, or
0x8.

PR:		amd64/67745
Reported by:	Neil Winterbauer newntrbr at ucla dot edu, many others
Tested by:	ade, astrodog at gmail dot com, many others
MFC after:	1 week
2004-12-15 23:00:47 +00:00
ps
892d9ab784 First cut of NFS direct IO support.
- NFS direct IO completely bypasses the buffer and page caches.
  If a file is open for direct IO all caching is disabled.
- Direct IO for Directories will be addressed later.
- 2 new NFS directio related sysctls are added. One is a knob to
  disable NFS direct IO completely (direct IO is enabled by default).
  The other is to disallow mmaped IO on a file that has at least one
  O_DIRECT open (see the comment in nfs_vnops.c for more details).
  The default is to allow mmaps on a file that has O_DIRECT opens.

Submitted by:	Mohan Srinivasan mohans at yahoo-inc dot com
Obtained from:	Yahoo!
2004-12-15 22:20:22 +00:00
alc
3241f61d0e In the common case, pmap_enter_quick() completes without sleeping.
In such cases, the busying of the page and the unlocking of the
containing object by vm_map_pmap_enter() and vm_fault_prefault() is
unnecessary overhead.  To eliminate this overhead, this change
modifies pmap_enter_quick() so that it expects the object to be locked
on entry and it assumes the responsibility for busying the page and
unlocking the object if it must sleep.  Note: alpha, amd64, i386 and
ia64 are the only implementations optimized by this change; arm,
powerpc, and sparc64 still conservatively busy the page and unlock the
object within every pmap_enter_quick() call.

Additionally, this change is the first case where we synchronize
access to the page's PG_BUSY flag and busy field using the containing
object's lock rather than the global page queues lock.  (Modifications
to the page's PG_BUSY flag and busy field have asserted both locks for
several weeks, enabling an incremental transition.)
2004-12-15 19:55:05 +00:00
trhodes
74497f6102 Commit patch from ru which groups the ppp(8) options together and
kills my sorting.

Submitted by:	ru
Discussed with:	imp
2004-12-15 19:42:35 +00:00
sam
a061eae768 fix m_append for case where additional mbufs are required 2004-12-15 19:04:07 +00:00
pjd
21808d69a3 Remove autofs entry from here. 2004-12-15 13:58:28 +00:00
ru
80752d55e9 Fixed compilation warnings with option VGA_NO_MODE_CHANGE.
PR:		kern/71130
2004-12-15 13:49:25 +00:00
brian
87f515fb7a Use rc.subr
PR:		72505
Submitted by:	Amir Shalem <amir@active.ath.cx>
2004-12-15 12:39:28 +00:00
brueffer
b6cb56ebee Fix typo in a comment.
MFC after:	3 days
2004-12-15 12:18:41 +00:00
brueffer
040164a19d Bump .Dd before anyone notices. 2004-12-15 09:32:12 +00:00
brueffer
2f8a08490a List the Adaptec SCSI RAID 2230SLP. 2004-12-15 09:29:47 +00:00
scottl
8cdc202e6d Add the PCI ID for the Adaptec 2230SLP card.
Submitted by: Ray Gilstrap
2004-12-15 07:03:21 +00:00
ssouhlal
083b12fc4a If ferror is true, we must reset the error indicator.
Submitted by:	Liam J. Foy <liamfoy@sepulcrum.org>
Approved by:	grehan (mentor)
2004-12-15 06:24:57 +00:00