Peter Wemm
65c4663d5f
Minimal tweak to not depend on NPCI, but still maintain portability
...
to 4.x which still does need it (since pci_if.h isn't generated without
pci being present)
2002-07-23 06:31:45 +00:00
Eric Melville
4d01a8fb5f
Handle directories correctly.
...
PR: 40801
MFC after: 5 days
2002-07-23 04:54:57 +00:00
Alan Cox
2999e9faca
o Lock page queue accesses by vm_page_dontneed().
...
o Assert that the page queue lock is held in vm_page_dontneed().
2002-07-23 04:39:48 +00:00
Andrew R. Reiter
ef098feafc
- 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
Alan Cox
8ffc151979
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
Andrew R. Reiter
5d3232048e
- 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
Bill Fenner
c898fd637d
Add '+FreeBSD' to the version string, to reflect that this program
...
bears little relationship to the one from LBL with the same
name and version number.
2002-07-23 00:56:52 +00:00
Mitsuru IWASAKI
3c24196d00
Add NULL check for the output buffer from AcpiEvaluateObject().
...
Submitted by: jon
2002-07-23 00:47:13 +00:00
Johan Karlsson
786c276fe4
Add the -n option, which automatically answers "no" to the overwrite question.
...
PR: 7828
Suggested by: Daniel O'Connor <doconnor@gsoft.com.au>
Approved by: sheldonh (mentor)
MFC after: 2 weeks
2002-07-23 00:42:56 +00:00
Ruslan Ermilov
61a875d706
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
Bill Fenner
290006640b
Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
...
Submitted by: dcs
2002-07-22 23:01:11 +00:00
Ruslan Ermilov
88c39af35f
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
Bill Fenner
dbee325068
Actually use gen_prep() and gen_check(), instead of udp_prep() and
...
udp_check(), for unknown protocols.
2002-07-22 22:07:23 +00:00
Tom Rhodes
31352a12bf
Revert last commit. Sorry for breaking things
2002-07-22 21:45:16 +00:00
Warner Losh
11b0ee113b
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
Warner Losh
64b17388de
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
Tom Rhodes
623bc624b0
MFC: Fix some grammar, greater reduce diffs to HEAD
2002-07-22 21:14:16 +00:00
Alfred Perlstein
1a5a641600
Remove unneeded caddr_t casts.
2002-07-22 19:05:44 +00:00
Søren Schmidt
ba41a3d37e
Fix the transfer size calculation.
2002-07-22 18:37:33 +00:00
Søren Schmidt
5c0d1ab990
Sync with the spl changes in -stable.
...
Add start of support for DVD+RW.
2002-07-22 18:36:14 +00:00
Søren Schmidt
2dadf47412
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 Perlstein
fd6d9be4f5
Cleanup:
...
Define a debug printf macro rather than wrapping all calls to printf
with #ifdefs.
2002-07-22 18:27:54 +00:00
Hajimu UMEMOTO
4a78ccd771
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
...
Approved by: gad
2002-07-22 18:16:05 +00:00
Hajimu UMEMOTO
3daa847108
add -4 and -6 option to be able to specify an address family.
...
Requested by: matusita
MFC after: 1 week
2002-07-22 17:19:54 +00:00
Ruslan Ermilov
9b44a25f1f
This commit was generated by cvs2svn to compensate for changes in r100519,
...
which included commits to RCS files with non-trunk default branches.
2002-07-22 17:06:28 +00:00
Ruslan Ermilov
eb2992f5cd
Update for GNU texinfo 4.2.
2002-07-22 16:58:54 +00:00
Ruslan Ermilov
fc756dddd1
Merge texinfo 4.2 changes onto the trunk.
2002-07-22 16:55:14 +00:00
Ruslan Ermilov
1e25085393
Use stock (FSF) version of this file.
2002-07-22 16:54:53 +00:00
Ruslan Ermilov
3b09781ed9
This commit was generated by cvs2svn to compensate for changes in r100513,
...
which included commits to RCS files with non-trunk default branches.
2002-07-22 16:52:57 +00:00
Ruslan Ermilov
f045034c56
Import of stripped down GNU texinfo 4.2
2002-07-22 16:52:57 +00:00
Alfred Perlstein
8209f090f1
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 Perlstein
2cc593fd8e
Remove caddr_t.
2002-07-22 16:12:55 +00:00
Dag-Erling Smørgrav
190c185e22
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
...
PR: misc/40399
MFC after: 3 days
2002-07-22 16:11:39 +00:00
Hajimu UMEMOTO
506c29ecf3
sync comment with reality. IN6P_BINDV6ONLY -> IN6P_IPV6_V6ONLY.
2002-07-22 15:55:50 +00:00
Hajimu UMEMOTO
854d3b19a2
do not refer to IN6P_BINDV6ONLY anymore.
...
Obtained from: KAME
MFC after: 1 week
2002-07-22 15:51:02 +00:00
Alfred Perlstein
d452ec95a9
remove caddr_t from fo_ioctl calls
2002-07-22 15:46:51 +00:00
Alfred Perlstein
0a3e28cf1c
remove caddr_t
2002-07-22 15:44:27 +00:00
Hajimu UMEMOTO
fc99a00c7f
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
...
MFC after: 1 week
2002-07-22 15:22:53 +00:00
Hajimu UMEMOTO
a5b71fafb7
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 Drehmel
b0e28044ba
- 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
Alexander Kabaev
4cc03f63d1
Initialize sockbits variable with FD_ZERO, to avoid passing a fd_set
...
with random garbage in lower bits corresponding to stdin, stdout and
stderr to select(2).
This fixes the problem with nfsd sometimes getting stuck in a tight
select(2) loop eating 100% CPU time.
Reviewed by: iedowse
Approved by: obrien
2002-07-22 14:01:44 +00:00
Tony Finch
ae5fafd8c8
Fix typo: corrisponds -> corresponds
2002-07-22 13:58:58 +00:00
Mitsuru IWASAKI
a1fccb4765
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
Robert Watson
0b1040cb88
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
Robert Drehmel
6863982a02
- Use MAXLOGNAME - 1 rather than UT_NAMESIZE.
...
- Remove the inclusion of <utmp.h>.
2002-07-22 11:36:25 +00:00
Robert Drehmel
6d6c6baac4
- Use MAXLOGNAME - 1 instead of UT_NAMESIZE.
...
- Do not pretend there is something like '/etc/utmp'.
2002-07-22 11:32:16 +00:00
Ruslan Ermilov
dad7ed015c
s,/usr/include,${INCLUDEDIR},
2002-07-22 10:59:22 +00:00
Boris Popov
955d4650ea
This commit was generated by cvs2svn to compensate for changes in r100490,
...
which included commits to RCS files with non-trunk default branches.
2002-07-22 09:50:09 +00:00
Boris Popov
b4bd78b0cf
Import smbfs 1.4.5. This release intended to fix problem with iconv
...
library.
MFC after: 1 week
2002-07-22 09:50:09 +00:00
Don Lewis
dcbe050b29
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