Commit Graph

109538 Commits

Author SHA1 Message Date
emax
c0cbbbd335 Add virtual AT keyboard driver vkbd(4).
Not yet connected to the build.
2004-11-16 16:59:23 +00:00
jhb
168b5cab1d Adjust the interrupt storm handling code to better handle a storm. When
a storm is detected, enter "storming" mode which throttles the interrupt
source such that the handlers are run once every clock tick.  Previously
we allowed a full set of storm_threshold interations through the handler
before going back to sleep.  Also, this currently will intentionally exit
storming mode once a second to see if the storm has passed.

Tested by:	marcus
Discussed with:	bde
2004-11-16 16:09:46 +00:00
tobez
54a607b470 Use comma instead of a single quote as the decimal point separator for
eu_ES.* locales.

Discussed with: "J. Vicente Carrasco -Bixen- " <carvay@tikismikis.org>,
		the eu_ES.* locales submitter, tjr
2004-11-16 14:58:20 +00:00
phk
48dd9a6f5b Polish code to correctly reflect structure. 2004-11-16 14:47:04 +00:00
phk
b1c0675bf7 Move a FILEDESC_UNLOCK upwards to silence witness. 2004-11-16 14:41:31 +00:00
phk
fc1163f0a8 Move a FILEDESC_UNLOCK up to maintain correct nesting of FILEDESC/FILE
locking.
2004-11-16 09:12:03 +00:00
phk
d4e82fa264 Eliminate pointless goto. 2004-11-16 08:22:06 +00:00
phk
fd5e1b08eb Add missing break. 2004-11-16 06:57:52 +00:00
imp
f5c6bd78b8 Minor style(9) before possible larger commits. 2004-11-16 06:25:02 +00:00
wes
52a74a6e37 Convince mergemaster to maintain/merge ramdisk scripts too.
Submitted by:	Ben Kelly <ben.kelly@ieee.org>
PR:		bin/64079
2004-11-16 04:20:09 +00:00
wes
01a0aebe6c Shutup debugging output. 2004-11-16 04:14:28 +00:00
cognet
508a58575d Simplify a bit bus_dmamap_load_buffer by removing the "first" parameter, use
nseg == -1 instead.

Obtained from:	NetBSD
2004-11-16 00:57:44 +00:00
iedowse
12cd2b67a7 Fix just the worst of the timeout race conditions that the previous
backed out commits were trying to address: when cancelling the timeout
callout, also cancel the abort_task event, since it is possible that
the timeout has already fired and set up an abort_task.
2004-11-16 00:48:27 +00:00
cognet
30141a0a3b MFi386:
- inlina bus_dmamap_load_buffer
- Directly pass the pmap to bus_dmamap_load_buffer, instead of the struct thread
2004-11-15 23:59:28 +00:00
jmg
7967ff7fc6 move the lock after the NULL check so we don't have a hard(er) to diagnose
panic...

Pointed out by:	Bjoern A. Zeeb
2004-11-15 22:24:32 +00:00
phk
9d0ddae9ae Make vnode bypass the default for devices.
Can be disabled in case of problems with
	vfs.devfs.fops=0
in loader.conf
2004-11-15 22:11:09 +00:00
phk
9139c8c24b Give vn_poll single exit point (to make it easier to insert
"mtx_unlock(&Giant)" real soon now).
2004-11-15 21:56:42 +00:00
phk
963b1a9d35 Straighten the ioctl function out to have only one exit point. 2004-11-15 21:51:28 +00:00
phk
81928e7b62 Forgot to remove now unused variable in last commit. 2004-11-15 21:28:00 +00:00
phk
ad9490bd91 It is not necessary to hold vn_start_write/vn_finished_write around VOP_REVOKE. 2004-11-15 21:27:06 +00:00
phk
f55200222b Next FILEDESC_LOCK properly around FILE_LOCK 2004-11-15 21:26:13 +00:00
imp
f4d891bce4 Fix an off by one error. MAXPATHLEN already has +1. 2004-11-15 20:51:32 +00:00
imp
2b8c9c022c Remove more debugging 2004-11-15 20:08:44 +00:00
imp
a67d31fe98 Add acpi_sony to the list of drivers that are built. 2004-11-15 19:46:22 +00:00
jmg
4018ec68e3 fix the missing lock in sk_jfree (verified w/ an assert)
also fix up handling and proding of the tx, _OACTIVE is now handled
better...

Submitted by:	Peter Edwards (sk_jfree)
Obtained from:	OpenBSD and/or NetBSD (tx prod)
2004-11-15 19:37:21 +00:00
yar
aeb4eba9c9 BUGS should stay below SEE ALSO.
Pointed out by:	ru (wearing the mdoc(7) police hat on his head)
2004-11-15 16:38:37 +00:00
imp
018eb94cde Put _ray back, as appropriate. 2004-11-15 16:33:18 +00:00
phk
cda0ee06c4 Make FILE_LOCK and FILEDESC_LOCK nest properly by postponing the the
release of FILEDESC_LOCK a few more lines.
2004-11-15 16:10:55 +00:00
phk
ba522f1e30 Add file ops to fifofs so that we can bypass vnodes (and Giant) for the
heavy-duty operations (read, write, poll/select, kqueue).

Disabled for now, enable with "vfs.fifofs.fops=1" in loader.conf.
2004-11-15 14:51:44 +00:00
yar
cd4fb48929 Mention in the BUGS section that EVFILT_NETDEV events
on vlan(4) will be noticed only if the parent uses miibus(4).

Pointed out by:	John-Mark Gurney <gurney_j -at- resnet.uoregon.edu>
2004-11-15 14:33:17 +00:00
yar
fa3412cf34 Document more fields of struct stat.
Note to mdoc(7) police:
The document date has already been touched today.
2004-11-15 14:16:31 +00:00
yar
a44228ee3f Use .Vt "struct stat" consistently. 2004-11-15 13:58:52 +00:00
yar
629a7c1d18 Nitpicking on grammar. 2004-11-15 13:55:33 +00:00
yar
cbbf53456d Improve mdoc(7) markup of the page: add several missing macros,
use .Va instead of .Li for struct stat fields.
2004-11-15 13:45:13 +00:00
yar
e1f8e1be0a Document the S_IS*(mode) macros used to test for file types.
Bump the document date accordingly.
2004-11-15 13:37:56 +00:00
nyan
0875d1b3e0 PC98 does not have ACPI. 2004-11-15 13:28:03 +00:00
davidxu
2840c29f46 Always set current thread when activating thread debugger,
the current thread may already be added by fbsd_find_new_threads,
this can result that current thread is not set correctly.
2004-11-15 13:06:01 +00:00
le
6809bb2165 Move RAID5 offset calculation into a separate function to avoid
code duplication.
2004-11-15 13:04:55 +00:00
yar
18c19983e8 Don't invent ways of capitalization orthogonal to the English grammar. 2004-11-15 12:47:44 +00:00
yar
a01ae1e76d RFC 959 states that the following codes should be used
for status replies on file system objects:

 212 Directory status.
 213 File status.

Reported by:	Oleg Koreshkov <okor -at- zone.salut.ru>
MFC after:	1 week
2004-11-15 12:41:56 +00:00
le
2330b2d155 Share gv_roughlength() between kernel and userland, as we will need it
there later.
2004-11-15 12:30:59 +00:00
phk
586a4aa91a Make VOP_BMAP return a struct bufobj for the underlying storage device
instead of a vnode for it.

The vnode_pager does not and should not have any interest in what
the filesystem uses for backend.

(vfs_cluster doesn't use the backing store argument.)
2004-11-15 09:18:27 +00:00
phk
e82e90d45e Add pbgetbo()/pbrelbo() lighter weight versions of pbgetvp()/pbrelvp(). 2004-11-15 08:47:18 +00:00
phk
a18c9deab4 Don't manually set b_bufobj, pbgetvp() does this for us. 2004-11-15 08:38:50 +00:00
phk
46a94d62b5 More kasserts. 2004-11-15 08:33:09 +00:00
phk
fd96f3037e style polishing. 2004-11-15 08:22:38 +00:00
phk
b69dc41d00 Move pbgetvp() and pbrelvp() to vm_pager.c with the rest of the pbuf stuff. 2004-11-15 08:12:50 +00:00
phk
586201519d expect the caller to have called pbrelvp() if necessary. 2004-11-15 08:07:26 +00:00
phk
76bf96c794 Explicitly call pbrelvp() 2004-11-15 08:06:05 +00:00
phk
8dd1524dee Order of arguments after "optional" is not without significance:
the first field must be the name of the enabling device/option,
otherwise config doesn't know there is an option/device of that
name.
2004-11-15 07:48:22 +00:00