alfred
d1de8b21e3
Cleanup:
...
Define a debug printf macro rather than wrapping all calls to printf
with #ifdefs.
2002-07-22 18:27:54 +00:00
alfred
c683b04586
Change struct vmspace->vm_shm from void * to struct shmmap_state *, this
...
removes the need for casts in several cases.
2002-07-22 16:22:27 +00:00
alfred
2d7017c840
Remove caddr_t.
2002-07-22 16:12:55 +00:00
ume
ad7629f7ee
sync comment with reality. IN6P_BINDV6ONLY -> IN6P_IPV6_V6ONLY.
2002-07-22 15:55:50 +00:00
ume
cd3f29ae66
do not refer to IN6P_BINDV6ONLY anymore.
...
Obtained from: KAME
MFC after: 1 week
2002-07-22 15:51:02 +00:00
alfred
73d7a388d6
remove caddr_t from fo_ioctl calls
2002-07-22 15:46:51 +00:00
alfred
bb1a616a3f
remove caddr_t
2002-07-22 15:44:27 +00:00
ume
881112a66c
sin6_len is not an address family. I believe this doesn't
...
break compatibility with POSIX.1-2001.
2002-07-22 15:13:55 +00:00
robert
7f6828f6c0
- Remove unnecessary break statement.
...
- Move a label to a syntactically correct place to keep
gcc from warning.
2002-07-22 15:01:04 +00:00
iwasaki
3961570913
Add device(power/sleep button and lid) wake function from sleeping state.
...
This is required for some Thinkpad (and maybe VAIO) machines to wake
the system up from sleep.
Currently partially implemented, more complete implementation will come later.
2002-07-22 12:52:54 +00:00
rwatson
fcb9022bbd
Set VAPPEND in open mode when O_APPEND is specified as an argument to
...
open() of fhopen(). Currently this has no actual affect due to the
treatment of VAPPEND in vaccess() and vaccess_acl() as a subset of
VWRITE, but when MAC comes in, MAC will distinguish the two. Note:
if any file systems are cutting their own permission models, they
may wish to now take this into account.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 12:51:06 +00:00
truckman
db214eb6c8
Pre-wire the output buffer so that sysctl_kern_function_list() doesn't
...
block in SYSCTL_OUT() while holding a lock.
2002-07-22 08:28:09 +00:00
truckman
4e1d45c7e4
Provide a way for sysctl handlers to pre-wire their output buffer before
...
they grab a lock so that they don't block in SYSCTL_OUT() with the lock
being held.
2002-07-22 08:25:37 +00:00
imp
2442eb4edd
Copy manufacturer and version string into the kernel, and copy it to
...
the slot info. This brings OLDCARD's API much closer to NEWCARD and
will allow moving more information into the kernel from pccard.conf
for common drivers (ed).
2002-07-22 06:46:10 +00:00
rwatson
7be639a7c0
Teach discretionary access control methods for files about VAPPEND
...
and VALLPERM.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 03:57:07 +00:00
rwatson
c578ffd6e1
Add VALLPERM, which is a mask of all the access control request permission
...
bits for vnodes passed to vaccess() and friends.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 03:51:09 +00:00
rwatson
d2e4132aeb
Sort vnode access mode flags.
...
Add flags VSTAT, VAPPEND required for TrustedBSD.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-22 03:45:33 +00:00
orion
416c630144
Move lock in pcm_chn_add() to after malloc.
...
PR: kern/40157
Submitted by: Dan Lukes <dan@obluda.cz>
2002-07-22 02:38:20 +00:00
peter
c54722752c
Move 'em' from files.i386 to files so that it is within reach of the
...
ia64 (tested) and pc98 (i386 based) platforms.
2002-07-22 01:11:16 +00:00
peter
d9aa55f6da
No more NO_WERROR for the kernel. It's still possible though, but
...
seperate from NO_WERROR which is easily mixed up with in userland.
2002-07-22 00:21:17 +00:00
peter
553083ff75
The transition time for -Werror has been gone for a while. We are now
...
sufficiently clean that we can fix any new problems or mark individual
files as not being ready for -Werror.
2002-07-22 00:15:01 +00:00
peter
f4554eb1f8
Make this compile.
...
uaudio.c:1822: warning: `uaudio_ctl_get' defined but not used
2002-07-22 00:11:35 +00:00
peter
cc120f8aa8
Remove bktr.h/NBKTR. Set BKTR_FREEBSD_MODULE in opt_bktr.h instead.
2002-07-22 00:08:24 +00:00
peter
2544700029
Add units to card, wdc, wcd, wst and wfd
2002-07-21 23:29:00 +00:00
peter
5e78bc7662
Add unit counts for the i4b stuff where it still uses NFOO etc.
2002-07-21 23:23:14 +00:00
peter
42304ded02
Add unit count to 'card'
2002-07-21 23:20:29 +00:00
peter
12b91a8296
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
b4c4e09557
Add static unit count to pci
2002-07-21 23:10:59 +00:00
peter
d437ba4322
Add static unit count for 'card'
2002-07-21 23:09:48 +00:00
peter
82a9cc8e6e
Add static unit count for pci here as well.
2002-07-21 23:09:15 +00:00
peter
0e1289a90e
Add explicit unit count on 'device pci' for ahc/ahd
2002-07-21 23:07:31 +00:00
peter
fb92891b11
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
8d0a6e2bb6
Change bktr and smbus from 'count' back to 'optional'
2002-07-21 21:47:07 +00:00
peter
2c9c076571
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
alc
28f5e60e77
o Lock page queue accesses by vm_page_free() and vm_page_deactivate().
2002-07-21 21:20:57 +00:00
alc
b9718e8d79
o Lock page queue accesses by vm_page_free().
2002-07-21 20:38:45 +00:00
alc
2e0c2c9a48
o Lock page queue accesses in nfs_getpages().
2002-07-21 20:01:32 +00:00
alc
412e868886
o Lock page queue accesses by vm_page_free().
2002-07-21 19:06:46 +00:00
nsayer
2502233265
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
johan
2b7fbed61b
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
tanimura
6c7dddef24
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
imp
fa4e4420cd
style(9)ize the whole file
...
Approved in concept a long time ago by: msmith
2002-07-21 05:35:42 +00:00
imp
ccdb32c74a
Fix more abuse of __FreeBSD__ to detect version.
2002-07-21 05:34:14 +00:00
peter
89dd52cb15
Stop abusing NPCI for code that doesn't even work. Emit a warning.
2002-07-21 05:25:49 +00:00
peter
4a13c91393
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
bf5c9e0422
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
d7b7b390ad
Remove #if 0'ed abuse of NPCI
2002-07-21 05:16:56 +00:00
peter
85e34e619c
Remove #include <pci.h> - there is no abuse of NPCI here
2002-07-21 05:16:14 +00:00
imp
e24a5b6fbd
The CNW_801 and CNW_802 are wireless cards that the cnw driver supports.
2002-07-21 04:27:44 +00:00
imp
47984ba21d
Don't abuse __FreeBSD__ as version number. Since it was >= 3, remove
...
the ifdef completely.
2002-07-21 04:25:30 +00:00