Commit Graph

89174 Commits

Author SHA1 Message Date
scottl
c1f13d0391 Don't pass pointers to kernel data structures through 32-bit fields
as 64-bit architectures won't like this.  Use virtual array indexes
instead.  This *should* allow the driver to work on 64-bit platforms,
though it's still not endian clean.
2003-04-28 06:16:20 +00:00
phk
779279ce7b Better criteria for skipping disk reading BIO_READ work packets. 2003-04-28 06:15:39 +00:00
alc
f91c0bfdbf uma_zone_set_obj() must perform VM_OBJECT_LOCK_INIT() if the caller
provides storage for the vm_object.
2003-04-28 06:11:32 +00:00
phk
2245131e4d Explicitly set the sector state to JUNK if we encounter a read-error. 2003-04-28 06:10:35 +00:00
alc
18f4d43c78 Finish the vm_object locking for this file, including holding the vm_object
lock when accessing the vm_object's flags or calling vm_page_lookup().
2003-04-28 05:40:45 +00:00
alc
90f970629a - Define VM_OBJECT_LOCK_INIT().
- Avoid repeatedly mtx_init()ing and mtx_destroy()ing the vm_object's lock
   using UMA's uminit callback, in this case, vm_object_zinit().
2003-04-28 03:45:35 +00:00
simokawa
f8cd3d7312 Make compiled on RELEGN_4 2003-04-28 03:12:16 +00:00
tjr
4989b93123 This file does not seem to serve any purpose. It has never been hooked up
to the build, and performs a subset of the functionality that the getconf(1)
utility performs.
2003-04-28 00:38:48 +00:00
grog
24cedcd0cd Add years in which some events occurred. I wasn't able to confirm
that the dates themselves are correct.

Clarify the date when DoJ dropped its suit against IBM.
2003-04-28 00:32:10 +00:00
imp
22204d48b9 Initialize error. 2003-04-27 23:44:05 +00:00
gad
db8d01f559 Add a -C (create) option for newsyslog, and a 'C' flag for entries in the
config file.  If the -C option is specified once, then newsyslog will create
any entries which specify the 'C' option.  If -C is given twice, then
newsyslog will create all missing log files.  Some of this code comes
from NetBSD, although this implementation does not exactly match theirs.

Reviewed by:	freebsd-arch
MFC after:	10 days
2003-04-27 23:37:31 +00:00
obrien
abfc9ac91a Add NOSHLIBS.
If one is using NOSHARED, why build the libs.
2003-04-27 21:44:52 +00:00
dougb
77e179b34b Add a warning about the impending demise of rcOG. 2003-04-27 21:28:37 +00:00
jake
3d50a7c7d8 Fix for dynamic linking.
Submitted by:	Alex Deiter <tiamat@komi.mts.ru>
2003-04-27 21:24:05 +00:00
robert
8810ab9358 Replace the return value of rfork_thread(3) in its manual page
function prototype with `pid_t' to match the declaration in
<unistd.h>.
2003-04-27 21:07:27 +00:00
robert
481d656abf Correct the return value of vfork(2) and rfork(2) in their
manual page function prototypes.
2003-04-27 21:01:34 +00:00
njl
2be0bbe0f2 SCSI Quirks for:
Casio QV-R3 USB camera, which appears to use a Pentax chipset
    M-Systems DiskOnKey USB flash key
    Feiya "slider" dual-slot flash reader
    SmartDisk (Mitsumi) USB floppy drive

PR:		kern/46545, kern/47793, kern/50020, kern/50226
2003-04-27 20:47:06 +00:00
obrien
acd90d0aed Wrap gperf in NO_CXX as it needs the C++ to compile. 2003-04-27 20:14:05 +00:00
alc
5091edb656 - Tell witness that holding two or more vm_object locks is okay.
- In vm_object_deallocate(), lock the child when removing the parent
   from the child's shadow list.
2003-04-27 20:07:57 +00:00
ru
7e0f66b16a It was a misunderstanding on my part; all DEC variants
are based off of the same SmartRAID V Millennium board.

Requested by:	obrien
Reviewed by:	scottl
2003-04-27 18:45:07 +00:00
imp
119931190b Make 2/3 of my symbol cards work again. The 3rd symbol card card has
firmware 1.50.12, but 2.20.1 and 3.10.4 work.  The 1.50.12 card gets
past doing dhclient, but hangs on transmit a little after the ip
address is set.  The 1.50.12 card has always been 'cranky' and Bill
Paul's tearing it apart at FreeBSD '99 hasn't helped.

sc_reset and sc_enable are subtlely different things.  sc_reset means
exactly "WI_CMD_INI has happened."  sc_enabled means "WI_CMD_ENABLE
has been sent to the card without a WI_CMD_DISABLE following."  This
is a little different than what they mean on NetBSD (where both of
these concepts are comingled).  NetBSD will try to only enable symbol
cards once, while FreeBSD only sends the WI_CMD_INI once.

Also, only try once to reset the card on a symbol.

This makes the lucent cards no worse than before, but apparently not
much better either.  I got fewer hangs in my testing than I have in
the past, but I don't know if it is statistically significant or not.
2003-04-27 15:56:05 +00:00
imp
f9b5a31fc8 Back out the casts that rid us of warnings, but paper over the broken
by design xdr routines.  And I'm not going to bite off fixing xdr.
2003-04-27 13:32:21 +00:00
imp
50940fa866 make "killall -j" not core dump.
Submitted by: Joe Marcus Clarke in current@
2003-04-27 07:17:27 +00:00
imp
37f300d8c3 Fix warnings:
o Add break; to default: label
o Cast args to clnt_call to be xdrproc_t type.
2003-04-27 07:09:33 +00:00
dougb
43e4f3c796 Add a dire warning about the impending demise of the old rc system.
Suggested by:	scottl
2003-04-27 07:08:07 +00:00
imp
3810f2ae1b Add back # accidentally deleted in 1.54 2003-04-27 06:16:52 +00:00
imp
184a869ac1 OBE 2003-04-27 05:51:12 +00:00
imp
8f15fb18ae xten isn't needed after tw is gone.
Approved by: re@ (scottl)
2003-04-27 05:49:53 +00:00
imp
f37508e69a xten user no longer needed. 2003-04-27 05:45:29 +00:00
imp
702c286b5b This is no longer needed after tw is gone.
Approved by: re@ (scottl)
2003-04-27 05:43:42 +00:00
alc
7780721e61 Various changes to vm_object_shadow(): (1) update the vm_object locking,
(2) remove a pointless assertion, and (3) make a trivial change to a
comment.
2003-04-27 05:43:03 +00:00
imp
f6da04c0f5 These are no longer needed after tw is gone.
Approved by: re@ (scottl)
2003-04-27 05:42:07 +00:00
imp
323e67d39c Update to reflect tw removal.
Approved by: re@ (scottl)
2003-04-27 05:40:53 +00:00
imp
f13dfd335f Update to reflect removal of tw.
Approved by: re@ (scottl)
2003-04-27 05:39:10 +00:00
imp
dcb468fc8c Update to reflect tw removal. 2003-04-27 05:35:10 +00:00
imp
78daea18e2 After careful review of this driver, I'm pretty sure it would take a
lot of work to make this driver work under current.  In the past when
people wanted to remove xten, I was the only one in the way.  After
talking to fsmp@ (last person to make real changes to this driver)
about this, I'm convinced it is better left in the dust-bin of history

Approved by: re@ (scottl)
2003-04-27 05:30:52 +00:00
davidxu
f7240c2496 unlock sched_lock at right time. 2003-04-27 04:32:40 +00:00
sam
15a33e0eb1 recognize the Sun Crypto 5821 and Crypto 1K cards;
they both use the Broadcom 5821

Submitted by:	Panagiotis Astithas
MFC after:	1 day
2003-04-27 04:26:22 +00:00
imp
e83aed82ce Add generic OEM1 PRISM3 card.
Submitted by: mwlucas
2003-04-27 03:34:05 +00:00
imp
556c7bf778 Sync to 1.50 2003-04-27 03:32:09 +00:00
imp
152d1245bf Mystery OEM #1: A really no-name prism3 card that wi supports.
Submitted by: mwlucas
2003-04-27 03:31:47 +00:00
jake
cef184114a Remove some debug options that are no longer needed. 2003-04-27 01:52:32 +00:00
dougb
54acfe8b8b Add .Xr's to mdmfs(8).
Submitted by:	Scot W. Hetzel <hetzels@westbend.net>
2003-04-27 01:46:56 +00:00
dougb
90be04facb Also MLINK the man page for mount_mfs. 2003-04-27 01:40:45 +00:00
dougb
a0206dd151 Forced commit to indicate that what is installed is a hard link,
not a symbolic one.
2003-04-27 01:23:11 +00:00
dougb
f07134d08f Install a mount_mfs symlink so that you can specify something like this
in /etc/fstab to get a memory disk:

md                      /tmp            mfs rw,-s8m,noatime     2       2

Back when mdmfs was created, there was vague discussion about doing this, but
it never materialized.

Reminded by:	Ralf S. Engelschall <rse@engelschall.com>
2003-04-27 01:18:36 +00:00
imp
abb7f4039a Sync to 1.49 2003-04-27 00:26:19 +00:00
alc
f13b362035 Various changes to vm_object_page_remove():
- Eliminate an odd, special-case feature:
   if start == end == 0 then all pages are removed.  Only one caller
   used this feature and that caller can trivially pass the object's
   size.
 - Assert that the vm_object is locked on entry; don't bother testing
   for a NULL vm_object.
 - Style: Fix lines that are longer than 80 characters.
2003-04-26 23:41:30 +00:00
imp
e2b366f939 MF-p4:
"Ian gave me this patch"  I assume this is iadowse@.

Also, pull in a few devices NetBSD's table.  More are there, but I need
to properly move them to pccarddev before including them here.
2003-04-26 22:19:02 +00:00
imp
16917c69c7 Add a generic cdrom. 2003-04-26 22:13:51 +00:00