Commit Graph

110216 Commits

Author SHA1 Message Date
Greg Lehey
d96795a5db 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
Christian Brueffer
ed59806518 First update for the 5750/5751 chips.
MFC after:	3 days
2004-12-15 23:39:57 +00:00
John Baldwin
e8aa0f663b Document the new flag for disabling the keyboard port test during probe. 2004-12-15 23:01:45 +00:00
John Baldwin
f5517dc887 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
Paul Saab
a7500bceb0 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
Alan Cox
85f5b24573 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
Tom Rhodes
99b6fea1af 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 Leffler
a37c415e66 fix m_append for case where additional mbufs are required 2004-12-15 19:04:07 +00:00
Pawel Jakub Dawidek
d5a96d8ceb Remove autofs entry from here. 2004-12-15 13:58:28 +00:00
Ruslan Ermilov
b7b28d26c4 Fixed compilation warnings with option VGA_NO_MODE_CHANGE.
PR:		kern/71130
2004-12-15 13:49:25 +00:00
Brian Somers
f6370f2735 Use rc.subr
PR:		72505
Submitted by:	Amir Shalem <amir@active.ath.cx>
2004-12-15 12:39:28 +00:00
Christian Brueffer
44d086bde6 Fix typo in a comment.
MFC after:	3 days
2004-12-15 12:18:41 +00:00
Christian Brueffer
6dea3d0c0b Bump .Dd before anyone notices. 2004-12-15 09:32:12 +00:00
Christian Brueffer
0862bca4e0 List the Adaptec SCSI RAID 2230SLP. 2004-12-15 09:29:47 +00:00
Scott Long
ecefe5717e Add the PCI ID for the Adaptec 2230SLP card.
Submitted by: Ray Gilstrap
2004-12-15 07:03:21 +00:00
Suleiman Souhlal
f6bbd7a8e9 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
Suleiman Souhlal
4011d8a8c9 Use the SYSCTL_ADD_OID macro, instead of directly calling sysctl_add_oid().
Approved by:	anholt, grehan (mentor)
2004-12-15 06:22:33 +00:00
Tom Rhodes
368e43f7ac Add options recently added to make.conf. 2004-12-15 02:40:43 +00:00
Peter Wemm
063896020b Like on the ath_rate_onoe component, make this compile on amd64. Convert
pointers to an integer via uintptr_t.

Fix an apparent bug that caused a compile failure.
ieee80211_iterate_nodes() takes ic->ic_sta as its first argument on the
onoe module.  It had just 'ic' here in the same context, which was a
mismatched argument.
2004-12-15 02:32:27 +00:00
Peter Wemm
6891c875c2 Make this amd64-clean. sizeof is long on amd64, so things that do a printf
of a sizeof, need to use %z to get the correct type on all our platforms.
Also, convert integers<->pointers via uintptr_t.

(I think Sam's instructions were for me to commit this.  If I
 misunderstood, then I apologize in advance.)
2004-12-15 02:25:21 +00:00
Peter Wemm
1556fbfc99 Add config hooks for amd64 atheros hal modules 2004-12-15 02:21:23 +00:00
Christian Brueffer
a05fc47a13 Remove clauses 3 and 4 of the license.
Approved by:	Jason L. Wright (original author)
Reviewed by:	imp
Obtained from:	OpenBSD
MFC after:	3 days
2004-12-15 02:19:44 +00:00
Tom Rhodes
e3cd38d295 Add a few options with regards to ppp(8) and traceroute.
Sort the list, please keep this list sorted.

PR:		48569
2004-12-15 02:10:50 +00:00
Sam Leffler
0a16579959 bring in rijndael crypto code to satisfy dependency: should
break rijndael out into a separate module a la rc4 but several
other cases need to be fixed also so for now do as others do
2004-12-15 01:30:38 +00:00
Roman Kurakin
64715608d7 Bring back ability to use FR support with sppp from Cronyx. 2004-12-14 23:13:08 +00:00
Simon L. B. Nielsen
b2a2b4810d - Auto generate device listings for the pst(4) and vpo(4) device
drivers.

MFC after:	1 week
2004-12-14 22:21:51 +00:00
Simon L. B. Nielsen
e0dc6be808 - Add a HARDWARE section which lists supported devices.
MFC after:	1 week
2004-12-14 22:20:41 +00:00
Simon L. B. Nielsen
280b1d9fa0 - Add a HARDWARE section which lists supported devices.
MFC after:	1 week
2004-12-14 22:07:06 +00:00
Poul-Henning Kamp
a7e8286f28 white space 2004-12-14 21:35:00 +00:00
Poul-Henning Kamp
59d42685ad Implement simpler panics for VOP_{read,write} on fifos. 2004-12-14 21:30:45 +00:00
Poul-Henning Kamp
662d80dc23 Fix a deadlock I introduced this morning.
Mostly from:	tegge
2004-12-14 20:48:40 +00:00
Christian Brueffer
eb1b84fe40 - Xref fwip(4)
- bump .Dd

MFC after:	3 days
2004-12-14 20:44:37 +00:00
Christian Brueffer
c688591367 - Xref fwip(4)
- bump .Dd

MFC after:	3 days
2004-12-14 19:57:42 +00:00
Christian Brueffer
14e3326a87 - remove nonexistant "device fwohci"
- sort SYNOPSIS devices
- Xref fwe(4)
- bump .Dd

MFC after:	3 days
2004-12-14 19:56:54 +00:00
Nate Lawson
401b484ba2 Add more information about debugging output. 2004-12-14 19:55:54 +00:00
Christian Brueffer
7d6c1b57ac - remove nonexistant "device fwohci"
- sort SYNOPSIS devices
- capitalize Ethernet
- Xref fwip(4)
- bump .Dd

MFC after:	3 days
2004-12-14 19:55:39 +00:00
Christian Brueffer
31d875e2fe - Xref fwip(4) and eui64(5)
- correct a grammar nit
- bump .Dd

MFC after:	3 days
2004-12-14 19:53:30 +00:00
Christian Brueffer
4d597022c8 fwip(4) supports polling.
MFC after:	3 days
2004-12-14 19:27:16 +00:00
Olivier Houchard
44dd466610 Enable interrupts once the active ones have been masked. 2004-12-14 18:57:21 +00:00
Olivier Houchard
353d54aa83 Update the sp after popping the regs.
This is a good candidate for the golden pointy hat awards.
2004-12-14 18:45:05 +00:00
Roman Kurakin
1fd90fb4a0 Kill double inclusion for <netinet/in.h> and <netinet/in_systm.h>. 2004-12-14 18:18:54 +00:00
Tom Rhodes
2865672368 Some formatting, whitespace and mdoc(7) fixes.
Submitted by:	A manual page, ru of course.
2004-12-14 18:07:46 +00:00
Matthew N. Dodd
84339b16c1 Add a callout to dump card status on command queue timeouts. 2004-12-14 17:45:30 +00:00
Matthew N. Dodd
fc601c53dc Modify ida_v3_done() to treat FIFO status of -1 as FIFO empty (0).
This is what ida_v4_done() does and seems to be necessary with some
firmware versions on v3 devices.
2004-12-14 17:41:51 +00:00
Matthew N. Dodd
b75ab906bc Reformat arguments bus_dma_tag_create(). 2004-12-14 17:23:01 +00:00
Simon L. B. Nielsen
f8b64c2257 Auto generate device listings for the snd_maestro(4) and snd_maestro4(4)
device drivers.

MFC after:	1 week
2004-12-14 16:23:38 +00:00
Simon L. B. Nielsen
fd500d2fe5 - Add a HARDWARE section which lists supported devices.
- "device sound" does not pull in sound device drivers (like "device
  pcm" used to do), so do not mention that option.
- Make the document title more like the title in the other sound
  device drivers.

MFC after:	1 week
2004-12-14 16:17:12 +00:00
Simon L. B. Nielsen
185634f0c1 Add manual page for snd_maestro(4).
Submitted by:	Jorge Mario G. Mazo <jgutie11@eafit.edu.co> (original version)
PR:		docs/74546
MFC after:	1 week
2004-12-14 16:11:14 +00:00
Ralf S. Engelschall
62bb1d78fe Improve the RC framework for the clean booting/shutdown of Jails:
1. Feature: for flexibility reasons and as a prerequisite to clean
   shutdowns, allow the configuration of a stop/shutdown command
   via rc.conf variable "jail_<name>_exec_stop" in addition to the
   start/boot command (rc.conf variable "jail_<name>_exec_start"). For
   backward compatibility reasons, rc.conf variable "jail_<name>_exec"
   is still supported, too.

2. Debug: Add the used boot/shutdown commands to the debug output of
   the /etc/rc.d/jail script, too.

3. Security: Run the Jail start/boot command in a cleaned environment
   to not leak information from the host to the Jail during startup.

4. Feature: Run the Jail stop/shutdown command "jail_<name>_exec_stop" on
   "/etc/rc.d/jail stop <name>" to allow a graceful shutdown of the Jail
   before its processes are just killed.

5. Bugfix: When killing the remaining Jail processes give the processes
   time to actually perform their termination sequence. Without this the
   subsequent umount(8) operations usually fail because the resources
   are still in use. Additionally, if after trying to TERM-inate the
   processes there are still processes hanging around, finally just KILL
   them.

6. Bugfix: In rc.shutdown, if running inside a Jail, skip the /etc/rc.d/*
   scripts which are flagged with the KEYWORD "nojail" to allow the
   correct operation of rc.shutdown under jail_<name>_exec_stop="/bin/sh
   /etc/rc.shutdown". This is analogous to what /etc/rc does inside a Jail.

Now the following typical host-configuration for two Jails works as
expected and correctly boots and shutdowns the Jails:

-----------------------------------------------------------
#  /etc/rc.conf:
jail_enable="YES"
jail_list="foo bar"
jail_foo_rootdir="/j/foo"
jail_foo_hostname="foo.example.com"
jail_foo_ip="192.168.0.1"
jail_foo_devfs_enable="YES"
jail_foo_mount_enable="YES"
jail_foo_exec_start="/bin/sh /etc/rc"
jail_foo_exec_stop="/bin/sh /etc/rc.shutdown"
jail_bar_rootdir="/j/bar"
jail_bar_hostname="bar.example.com"
jail_bar_ip="192.168.0.2"
jail_bar_devfs_enable="YES"
jail_bar_mount_enable="YES"
jail_bar_exec_start="/path/to/kjailer -v"
jail_bar_exec_stop="/bin/sh -c 'killall kjailer && sleep 60'"
-----------------------------------------------------------
#  /etc/fstab.foo
/v/foo /j/foo/v/foo nullfs rw 0 0
-----------------------------------------------------------
#  /etc/fstab.bar
/v/bar /j/bar/v/bar nullfs rw 0 0
-----------------------------------------------------------

Reviewed by:	freebsd-hackers
MFC after:	2 weeks
2004-12-14 14:36:35 +00:00
Simon L. B. Nielsen
bfd2ccd6bd Add snd_audiocs(4). 2004-12-14 13:12:29 +00:00