Commit Graph

110371 Commits

Author SHA1 Message Date
jhb
7948cf6558 Document the new flag for disabling the keyboard port test during probe. 2004-12-15 23:01:45 +00:00
jhb
5d0bf7c365 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
7c0944d56c 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
ede2fb9751 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
b9999a1836 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
8c71ba93c4 fix m_append for case where additional mbufs are required 2004-12-15 19:04:07 +00:00
pjd
00a4f5d350 Remove autofs entry from here. 2004-12-15 13:58:28 +00:00
ru
223a628acf Fixed compilation warnings with option VGA_NO_MODE_CHANGE.
PR:		kern/71130
2004-12-15 13:49:25 +00:00
brian
b90cfd5af4 Use rc.subr
PR:		72505
Submitted by:	Amir Shalem <amir@active.ath.cx>
2004-12-15 12:39:28 +00:00
brueffer
77a79d8302 Fix typo in a comment.
MFC after:	3 days
2004-12-15 12:18:41 +00:00
brueffer
9c95e615d3 Bump .Dd before anyone notices. 2004-12-15 09:32:12 +00:00
brueffer
197a348d95 List the Adaptec SCSI RAID 2230SLP. 2004-12-15 09:29:47 +00:00
scottl
e3b5eed2fd Add the PCI ID for the Adaptec 2230SLP card.
Submitted by: Ray Gilstrap
2004-12-15 07:03:21 +00:00
ssouhlal
be55a34f7f 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
ssouhlal
5ec8391060 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
trhodes
d14f874c4f Add options recently added to make.conf. 2004-12-15 02:40:43 +00:00
peter
c171b522d6 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
adbd450602 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
d9ed7c7f5e Add config hooks for amd64 atheros hal modules 2004-12-15 02:21:23 +00:00
brueffer
e7b2c42f69 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
trhodes
638e766377 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
73aa7c6ed2 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
rik
b9436ee94f Bring back ability to use FR support with sppp from Cronyx. 2004-12-14 23:13:08 +00:00
simon
61ee119d00 - 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
7ab8b3ebd0 - Add a HARDWARE section which lists supported devices.
MFC after:	1 week
2004-12-14 22:20:41 +00:00
simon
a91d70b455 - Add a HARDWARE section which lists supported devices.
MFC after:	1 week
2004-12-14 22:07:06 +00:00
phk
929d6ac8b0 white space 2004-12-14 21:35:00 +00:00
phk
d612258e38 Implement simpler panics for VOP_{read,write} on fifos. 2004-12-14 21:30:45 +00:00
phk
eab55e1589 Fix a deadlock I introduced this morning.
Mostly from:	tegge
2004-12-14 20:48:40 +00:00
brueffer
ef59040775 - Xref fwip(4)
- bump .Dd

MFC after:	3 days
2004-12-14 20:44:37 +00:00
brueffer
7fb8372fa9 - Xref fwip(4)
- bump .Dd

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

MFC after:	3 days
2004-12-14 19:56:54 +00:00
njl
55134c7d6f Add more information about debugging output. 2004-12-14 19:55:54 +00:00
brueffer
1a87fa79a5 - 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
brueffer
65f386930a - Xref fwip(4) and eui64(5)
- correct a grammar nit
- bump .Dd

MFC after:	3 days
2004-12-14 19:53:30 +00:00
brueffer
b130dc201d fwip(4) supports polling.
MFC after:	3 days
2004-12-14 19:27:16 +00:00
cognet
7ce4a54e10 Enable interrupts once the active ones have been masked. 2004-12-14 18:57:21 +00:00
cognet
c372644159 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
rik
8325619210 Kill double inclusion for <netinet/in.h> and <netinet/in_systm.h>. 2004-12-14 18:18:54 +00:00
trhodes
3128694fc7 Some formatting, whitespace and mdoc(7) fixes.
Submitted by:	A manual page, ru of course.
2004-12-14 18:07:46 +00:00
mdodd
d793b0d8c8 Add a callout to dump card status on command queue timeouts. 2004-12-14 17:45:30 +00:00
mdodd
fb985e2a0c 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
mdodd
e49536d312 Reformat arguments bus_dma_tag_create(). 2004-12-14 17:23:01 +00:00
simon
58a6bbdf3c 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
ccd5b6eb0d - 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
fa3ecfedb3 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
rse
b4c7840f00 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
3bb1636412 Add snd_audiocs(4). 2004-12-14 13:12:29 +00:00
simon
c76ba9563e - Update usage to reflect the current reality.
- Fix a bug where manual pages which had a "_" in their name did not
  get proper architecture setting.

MFC after:	1 week
2004-12-14 13:07:58 +00:00
maxim
8e599b039a Add NetBSD 2.0. 2004-12-14 12:30:43 +00:00