Commit Graph

109530 Commits

Author SHA1 Message Date
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
peter
bb8f96653e Oops, all my test boxes have NO_KERBEROS set, so I didn't hit the kerberos5
build tools problem.  I'd missed the kerberos5/tools stuff entirely.  Add
the missing bits.
2004-11-15 05:59:10 +00:00
imp
c697b3b8de After discussions with Nate, repo copy the acpi assist drivers from
i386 to dev/acpi_support.  In theory, these devices could be found
other than in i386 machines only as amd64 becomes more popular.  These
drivers don't appear to do anything i386 specific, so move them to
dev/acpi_support.  Move config lines to files so that those
architectures that don't support kernel modules can build them into
the kernel.  At the same time, rename acpi_snc to acpi_sony to follow
the lead of all the other specialty devices.
2004-11-15 05:54:15 +00:00
imp
da94da9680 Merge 1.3 from acpi_snc.c: don't use return_VALUE() macro
Improve style(9) compliance.
2004-11-15 05:12:17 +00:00
imp
e194816cc2 Add comment about why amd64 and ia64 don't build acpi modules. 2004-11-15 04:49:20 +00:00
marcel
f3f822130f Apply a bandaid to avoid hangs on Ultra 2 machines. The second Z8530
connects to the keyboard and mouse and needs some special treatment.
Until this is fully understood, implemented and tested, simply avoid
probing the second Z8530. This is also what the zs(4) driver does.
2004-11-15 02:47:37 +00:00
kientzle
5ccfa0c995 Since I'm not using the public API for writing
the the pax attributes, I shouldn't try using the public
API for finishing out the attribute entry, either.

This also removes some old dubious state manipulations.
2004-11-15 01:46:33 +00:00
kientzle
392b9ce719 Pax extended headers were always failing
because the code was using the external API
(archive_write_data) and assuming internal
error-return conventions.  Use the internal
API for writing data.

Thanks to: Joe Marcus Clarke
2004-11-15 01:24:39 +00:00
marcel
5eb473eb74 Be slightly more paranoid about using the divisor in a division and
the calculated baudrate. Neither should be 0.
2004-11-15 00:00:24 +00:00