Peter Wemm
d76dc9c3f3
pci/cy_pci.c is still MD, it needs i386/isa/cy.c for the core.
2002-07-21 23:15:41 +00:00
Peter Wemm
e8ec5ae1d8
Add static unit count to pci
2002-07-21 23:10:59 +00:00
Peter Wemm
d3abf70bbc
Add static unit count for 'card'
2002-07-21 23:09:48 +00:00
Peter Wemm
08240012f9
Add static unit count for pci here as well.
2002-07-21 23:09:15 +00:00
Peter Wemm
fc147d7fe9
Add explicit unit count on 'device pci' for ahc/ahd
2002-07-21 23:07:31 +00:00
Peter Wemm
4f52fbb1d8
Check for missing static unit 'count' declarations as well.
2002-07-21 23:02:35 +00:00
Peter Wemm
c06a33507a
The following devices do not take a static unit 'count' argument:
...
ar, fe, lnc, sr, wl, fpa, bktr, sbni
2002-07-21 22:28:43 +00:00
Peter Wemm
775d6c0ece
Check that we are not supplying 'device foo N' to devices that do not take
...
a statuc unit count.
2002-07-21 22:23:56 +00:00
Peter Wemm
995e4431de
Change bktr and smbus from 'count' back to 'optional'
2002-07-21 21:47:07 +00:00
Peter Wemm
b5d0be8951
Remove dependency on NPCI. Use 'options ATA_NOPCI' to compile without
...
pci support. This really needs to be fixed properly some day, but judging
by the fact that the nopci case hasn't compiled for quite a while, there
does not seem to be much urgency.
Reviewed by: sos
2002-07-21 21:37:09 +00:00
Ruslan Ermilov
397304fe4f
Moved `clean:' below, just before the inclusion of bsd.obj.mk,
...
so that CLEANFILES from bsd.man.mk and bsd.dep.mk are honored.
2002-07-21 21:22:45 +00:00
Alan Cox
2ad9827349
o Lock page queue accesses by vm_page_free() and vm_page_deactivate().
2002-07-21 21:20:57 +00:00
Ruslan Ermilov
2e9968fa36
Fixed improper SCRIPTS assignment that broke `clean'.
2002-07-21 21:03:47 +00:00
Alan Cox
ab9abe5d7e
o Lock page queue accesses by vm_page_free().
2002-07-21 20:38:45 +00:00
Robert Drehmel
d6d1eb5d18
Remove duplicated '__BEGIN_DECLS' which obviated compiling
...
C++ sources that use this header.
Reported by: Jan Stocker <Jan.Stocker@t-online.de>
2002-07-21 20:37:58 +00:00
Alan Cox
e0c9fdb50e
o Lock page queue accesses in nfs_getpages().
2002-07-21 20:01:32 +00:00
Hajimu UMEMOTO
9067589d53
be able to configure to run an IPv6 routing daemon even on
...
an end node (sync with rc.network6 1.30).
Approved by: gordon
2002-07-21 19:12:21 +00:00
Alan Cox
c1d5e2741e
o Lock page queue accesses by vm_page_free().
2002-07-21 19:06:46 +00:00
Nick Sayer
d807a231a2
Add uaudio -- a USB audio device driver.
...
This driver actually works slightly better on -stable than on -current
(the system locks on detach on -current), so it should be MFC'd somewhat
sooner.
This driver currently points out a difficulty in the sound device framework.
The PCM unregister routine is allowed to refuse the detach if the device is
in use. In the case of a USB device, however, this unregistration is much more
mandatory in nature, since the device is *actually* gone when this call is
made. The sound subsystem really should not refuse an unregistration and
should take its own steps to reject further I/O. As a result, if you detach
a USB sound device while it is in use, you can expect a panic shortly
thereafter.
This device cannot currently record audio. Some routines are unwritten as
of yet in uaudio.c to support recording.
This device hangs my -current box on detach. I don't know why. This does
not happen on my -stable machine.
Obtained from: Hiroyuki Aizu
MFC after: 2 weeks
2002-07-21 17:28:50 +00:00
Wolfram Schneider
45841b7025
Fix broken handbook links.
...
Submitted by: "Dipl.Phys. Andreas Hiltenkamp" <hiltenkamp@web.de>
2002-07-21 16:45:30 +00:00
Johan Karlsson
5b60674451
Save flags returned by vn_open and use them when calling vn_close.
...
Reviewed by: bde
Approved by: sheldonh (mentor)
2002-07-21 15:22:56 +00:00
Johan Karlsson
da2dc5cc61
Only use one %s when there is only one argument to print.
...
Submitted by: keramida
Approved by: sheldonh (mentor)
2002-07-21 15:11:32 +00:00
Philippe Charnier
0c9dd24bbb
Correct wrong grammar from previous commit. Note that fingerd is not limited
...
to being an interface to finger(1), see -p flag. Remove a reference to
name(?) program we don't have.
Submitted by: wollman
2002-07-21 13:02:13 +00:00
Philippe Charnier
75863a6dbb
Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,
...
xstrdup. There is a crash() function that do cleaning before exiting the
program. The new functions are wrappers that make use of crash() in case
of allocation failure. warn, exit -> err.
Reviewed by: alfred
2002-07-21 12:55:04 +00:00
Philippe Charnier
53aa54b8bf
s/A last utility last appeared/A last utility appeared/ (horikawa).
...
Use .Pa for wtmp.
Submitted by: horikawa
2002-07-21 12:45:54 +00:00
Yaroslav Tykhiy
1b0e12d747
Allow deleting and renaming stale symlinks and
...
deleting symlinks pointing to directories.
PR: bin/37250
Submitted by: Nino Dehne <TeCeEm@gmx.de>
MFC after: 1 week
2002-07-21 12:06:56 +00:00
Seigo Tanimura
1b64ed3b5b
Do not pass a thread with the state TDS_RUNQ to setrunqueue(), otherwise
...
assertion in setrunqueue() fails.
2002-07-21 10:55:57 +00:00
Tim J. Robbins
2babaf74b5
Implement the P1003.2 `command' builtin command, which is used to suppress
...
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
2002-07-21 06:49:14 +00:00
Warner Losh
e300f53ca2
style(9)ize the whole file
...
Approved in concept a long time ago by: msmith
2002-07-21 05:35:42 +00:00
Warner Losh
8b5cc27046
Fix more abuse of __FreeBSD__ to detect version.
2002-07-21 05:34:14 +00:00
Peter Wemm
cd71fd08cc
Stop abusing NPCI for code that doesn't even work. Emit a warning.
2002-07-21 05:25:49 +00:00
Peter Wemm
e344afe7c9
Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat
...
gathering is not an x86 cpu feature)
2002-07-21 05:22:16 +00:00
Peter Wemm
05e5542d97
Remove abuse of NBKTR - this was always a NOP on freebsd. We never
...
compiled this stuff if NBKTR was zero.
2002-07-21 05:19:03 +00:00
Peter Wemm
42eab1f8d9
Remove #if 0'ed abuse of NPCI
2002-07-21 05:16:56 +00:00
Peter Wemm
9fe486ad0f
Remove #include <pci.h> - there is no abuse of NPCI here
2002-07-21 05:16:14 +00:00
Warner Losh
ba9b43207d
The CNW_801 and CNW_802 are wireless cards that the cnw driver supports.
2002-07-21 04:27:44 +00:00
Warner Losh
05335a0e90
Don't abuse __FreeBSD__ as version number. Since it was >= 3, remove
...
the ifdef completely.
2002-07-21 04:25:30 +00:00
Warner Losh
5c673b5765
Minor whitespace nits. remove #if 1 and #endif pair, but not code between.
2002-07-21 04:24:30 +00:00
Warner Losh
4e64e27753
cardbus attachment.
2002-07-21 04:23:40 +00:00
Warner Losh
9e1b56e284
Reset the 16-bit bus and turn off power. More work in this area may
...
be needed, but this seems sane on my laptop.
2002-07-21 04:23:11 +00:00
Warner Losh
df9c943ac9
Remove __FreeBSD__ version abuse, also de-orbit support for FreeBSD 2
...
and FreeBSD 3.
2002-07-21 04:18:20 +00:00
Alan Cox
5ec699cdac
o If the page returned by vm_page_grab(VM_ALLOC_ZERO) isn't prezeroed,
...
zero it.
Reviewed by: dfr, peter
2002-07-21 04:07:26 +00:00
Warner Losh
5878eb3fca
Add bus_child_present and the child_present method to bus_if.m
2002-07-21 03:28:43 +00:00
John Polstra
8ea8a6804b
Fix overflows in intermediate calculations in sysctl_msec_to_ticks().
...
At hz values of 1000 and above the overflows caused net.inet.tcp.keepidle
to be reported as negative.
MFC after: 3 days
2002-07-20 23:48:59 +00:00
Robert Watson
69dac2ea47
Don't export 'struct ipq' from kernel, instead #ifdef _KERNEL. As kernel
...
data structures pick up security and synchronization primitives, it
becomes increasingly desirable not to arbitrarily export them via
include files to userland, as the userland applications pick up new
#include dependencies.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-20 22:46:20 +00:00
Robert Watson
4f18efe220
Do preserve the error result from calling p_cansee() and use that when
...
failing because of the error.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-20 22:44:39 +00:00
Warner Losh
9f977fb187
Add support for writing to mapping high memory for pccard memory
...
windows. Right now we only support pci chips that are memory mapped.
These are the most common bridges in use today and will help a large
majority of the users.
I/O mapped PCI chips support this functionality in a different way, as
do some of the ISA bridges (but only when mounted on a motherboard).
These chips are not supported by this change.
2002-07-20 22:29:23 +00:00
Alan Cox
40eab1e944
o Lock page queue accesses by vm_page_try_to_cache(). (The accesses
...
in kern/vfs_bio.c are already locked.)
o Assert that the page queues lock is held in vm_page_try_to_cache().
2002-07-20 20:58:46 +00:00
Alan Cox
d82efd2956
o Assert that the page queues lock is held in vm_page_try_to_free().
2002-07-20 20:12:57 +00:00
Alan Cox
15a5d2108e
o Lock page queue accesses by vm_page_cache() in vm_fault() and
...
vm_pageout_scan(). (The others are already locked.)
o Assert that the page queues lock is held in vm_page_cache().
2002-07-20 19:34:21 +00:00