arr
c540d472eb
- Pass the VM_ALLOC_WIRED flag to vm_page_alloc() in pmap_growkernel() so
...
that we can avoid a call to vm_page_lock_queues().
Approved by: peter
2002-07-23 04:18:10 +00:00
alc
cba25d9833
o Extend the scope of the page queues lock in vm_pageout_scan()
...
to cover the traversal of the cache queue.
2002-07-23 02:42:25 +00:00
arr
249ad7ccdb
- Make use of the VM_ALLOC_WIRED flag in the call to vm_page_alloc() in
...
do_sendfile(). This allows us to rearrange an if statement in order to
avoid doing an unnecesary call to vm_page_lock_queues(), and an attempt
at re-wiring the pages (which were wired in the vm_page_alloc() call).
Reviewed by: alc, jhb
2002-07-23 01:09:34 +00:00
iwasaki
420b928644
Add NULL check for the output buffer from AcpiEvaluateObject().
...
Submitted by: jon
2002-07-23 00:47:13 +00:00
ru
7bd1d4e8de
Don't forget to recalculate the IP checksum of the original
...
IP datagram embedded into ICMP error message.
Spotted by: tcpdump 3.7.1 (-vvv)
MFC after: 3 days
2002-07-23 00:16:19 +00:00
ru
cb7f1cefec
Don't shrink socket buffers in tcp_mss(), application might have already
...
configured them with setsockopt(SO_*BUF), for RFC1323's scaled windows.
PR: kern/11966
MFC after: 1 week
2002-07-22 22:31:09 +00:00
imp
29d1e263c1
integrate from p4 repo:
...
o Honor NE2000DVF_{AX88190,DL10019} flags by setting the ED_FLAGS_xxxx
flag.
o Mark linksys combo_ecard as ax88190
o Set the type_str to AX88190 for the ax88190 cards.
This fixes ax88190 based cards, for the most part, but doesn't seem to fix
the mii based dl10019 cards (aka linksys cards).
2002-07-22 21:28:46 +00:00
imp
f1d60c06e8
Three minor changes:
...
1) Add support for compaq cpq 10/100 card (a rebadged ce3)
2) Minor protection for failure on vendor lookup
3) Minor style(9) nits.
2002-07-22 21:24:12 +00:00
alfred
2d469f6917
Remove unneeded caddr_t casts.
2002-07-22 19:05:44 +00:00
sos
e3199ef943
Fix the transfer size calculation.
2002-07-22 18:37:33 +00:00
sos
9a6aed1086
Sync with the spl changes in -stable.
...
Add start of support for DVD+RW.
2002-07-22 18:36:14 +00:00
sos
dacb15ae37
Update the tags handling a bit, which makes support for the
...
older IBM DTTA series of drives possible.
Update error handling a bit now we are here.
2002-07-22 18:35:01 +00:00
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