Commit Graph

118983 Commits

Author SHA1 Message Date
simonb 662c7128cd Re-order a little so that there's no unreachable code in this block. 2003-10-15 07:18:17 +00:00
simonb 07c9a24e6a One defintion of OP_SYNC should be enough. 2003-10-15 06:46:46 +00:00
simonb 9606d846fa Don't check an uninitialsed error variable before printing an error
message.
2003-10-15 06:43:36 +00:00
simonb 20178cc3db Fix obvious typos in a call to pci_mapreg_map(). 2003-10-15 06:32:35 +00:00
petrov 7b20d2185b Set CPU_UPAID when enabling timer interrupts. 2003-10-15 05:16:36 +00:00
gson d1298fd2a7 If a bootxx program already happened to be a multiple of 512 bytes in
length before padding, the shell command to conditionally pad it to
a multiple of 512 bytes returned a nonzero exit status, causing the
build to fail.
2003-10-15 03:49:57 +00:00
enami 8823a8da9a Port multicast handling to NetBSD. Addresses PR23151. 2003-10-15 03:04:03 +00:00
briggs f2f02bc9da Make sure descriptors get bus_dmamap_sync()ed.
Restructure a little to make this a little easier.
Also try to avoid allocating things at reset time.
2003-10-15 02:18:52 +00:00
simonb ef41f16231 Correct a test for setting IFF_OACTIVE on the interface. 2003-10-15 02:10:00 +00:00
grog b95a3b2e71 Change definitions to compile correctly without VINUMDEBUG flag.
Reported by:  hubertf

Remove $FreeBSD$ ID string.
2003-10-15 01:31:39 +00:00
lukem 1fa9c076ee Use a shell variable instead of a cpp #define to provide the full
version string; it's more consistent.
2003-10-15 01:28:49 +00:00
itojun a8d71f892f define struct prf_ra outside of in6_prflags, to be c++ friendly. sync w/kame 2003-10-15 01:28:28 +00:00
dbj 28fc00d72a initialize llsize and llsizemult to 0
fixes bug noticed by Christopher SEKIYA on tech-kern@
2003-10-15 00:25:28 +00:00
dyoung f2a9708c75 Do not index arrays using enum constants, since enums can be
re-ordered and extended. Instead, use a switch-statement or a
key->value table with appropriate bounds-checking.
2003-10-14 23:13:44 +00:00
dyoung 0fc2b8e13f Add missing pktattr declaration. Should compile w/ ALTQ, now. 2003-10-14 23:02:52 +00:00
fvdl 9558d5998a Add NetBSD kcore support. 2003-10-14 22:59:59 +00:00
fvdl 22cd769ea5 Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support. 2003-10-14 22:58:38 +00:00
fvdl 14cdf7ae6d Proper checks for kmem reads beyond _end 2003-10-14 22:33:29 +00:00
nathanw 768b79db69 Catch up to ata/ide changes; look for a parent device of wd named "atabus"
instead of "pciide", and check one layer farther up in the device hierarchy
for the scsipidev device.

From Manuel Bouyer, tested by me on a up1500 (identical changes to other
ide-booting code).
2003-10-14 22:01:02 +00:00
fvdl 8639708413 Pass the right argument pointer to trace_enter/trace_exit. 2003-10-14 18:54:34 +00:00
ichiro f4f7b1ae5c add support ath on cardbus
- implement power management
2003-10-14 17:47:03 +00:00
ichiro 6fc4a5549a regen 2003-10-14 17:44:09 +00:00
ichiro 5e3d3508b6 add ATHEROS AR5001 WirelessLAN 802.11a/b/g CardBus 2003-10-14 17:43:55 +00:00
christos bd5d984311 Check for file existance, not readability. Remove extra touch. 2003-10-14 16:59:54 +00:00
tsutsui 53cbca2fa2 Add options COMPAT_16. 2003-10-14 16:16:04 +00:00
wiz 538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
christos e752a6f68a PR/23158: Johan Danielsson: Portable usage of the mk*temp() functions requires
six `X's.
2003-10-14 14:29:46 +00:00
lukem 5ab4225f2d assign the variables on separate lines; makes it easier to read and
easier to change one locally with minimal cvs merge issues
2003-10-14 14:23:10 +00:00
dbj fe7c786886 add mnt_iflag field to struct mount for internal flags
mv MNT_GONE, MNT_UNMOUNT and MNT_WANTRDWR to this field
additonally add mnt_writeopcountupper and mnt_writeopcountlower fields
in preparation for pending write suspension support work
bump kernel version to 1.6ZD
2003-10-14 14:02:56 +00:00
yamt 1fb76f9bad add a prototype of check_segsum(). 2003-10-14 13:51:51 +00:00
yamt d457c892fa when roll-forwarding, check segment serial numbers correctly. 2003-10-14 13:46:30 +00:00
wiz 09d05922dc Fix mixer wraparound. Closes PR 16652.
Patch from Sergey Svishchev. mycroft says "looks ok".
2003-10-14 13:12:19 +00:00
yamt 73e762ca69 add a missing fsbtodb() to read a correct block for roll-forwarding. 2003-10-14 12:52:28 +00:00
yamt 1508246f38 remove a redundant definition of LFS_MAX_ACTIVE. 2003-10-14 12:51:31 +00:00
yamt faf00d99a2 don't use uninitialized variable ('chlenbak').
the problem reported by Markus Illenseer on tech-userlevel@
and analyzed by enami tsugutomo.
2003-10-14 12:50:03 +00:00
tron 162ada1c8b Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.
2003-10-14 12:46:44 +00:00
tron d6dfcb09dd Don't try to compile "vprintf.c" because NetBSD has all the functions
defined there.
2003-10-14 11:49:52 +00:00
martti fd34f3d937 Added another Dell PERC 4/Di 2003-10-14 11:33:36 +00:00
martti a027ea5f33 Regen: Dell PERC 4/Di 2003-10-14 11:32:19 +00:00
martti f4ae717ace Added another Dell Perc 4/DI 2003-10-14 11:30:36 +00:00
lukem 10e10fae7e Instead of requiring that the BPB is always the FAT32 one, check the
first three bytes to determine how much of the BPB to preserve.
Supported values:
	eb 3c 90        FAT16 BPB
	eb 58 90        FAT32 BPB
	(anything else)	don't preserve any BPB

This is because the BPB is generally only the FAT16 one except in the
bootxx_msdos case, where it's the larger FAT32 one.
2003-10-14 09:46:43 +00:00
scw 3b192f5429 Note Xscale micro-optimisations. 2003-10-14 08:10:15 +00:00
scw 789335a49c Xscale-optimised mem* routines. Contributed by Wasabi Systems.
(Note: memcmp/memset improvements also benefit non-Xscale).

memcmp()  - Compare 32-bits at a time if possible. Special-case 6-byte
            comparisons, for the benefit of the network stack.

memset()  - More loop unrolling, plus use of 'strd' instruction,
bzero()     results in > 100% speedup on Xscale.

memcpy()  - Big-endian support, unrolled loops, 'strd/pld', plus special-
            cases for very common length/alignment combinations.
            Benchmarks show ~50% improvment on Xscale.

memmove() - Big-endian support. Use fast memcpy(), above, if the regions
bcopy()     don't overlap. Otherwise unchanged

XXX: The Xscale optimisations are not enabled by default, unless /etc/mk.conf
XXX: has the right compiler options. The intention is to pull them in via
XXX: something like libxscale.so, selected at runtime by ld.so.conf.
XXX: (Big-endian support is not affected by this).
2003-10-14 07:51:45 +00:00
wiz a41ff7dabc Sync with groff repo:
-j and objdir builds here should now finally work both.
Based on a patch from Chuck Silvers.
2003-10-14 07:49:24 +00:00
wiz 8295081a25 & -> \*[Am]; mark up FD_SETSIZE; bump date for previous. 2003-10-14 07:44:43 +00:00
itojun 5435c421a0 note that programs that use rpc(3) cannot bump FD_SETSIZE. 2003-10-14 07:08:45 +00:00
wiz d981fc9cc4 Use still more macros. 2003-10-14 06:49:51 +00:00
lukem 6fc70a0f8c clean up the method to initialize sccs[] and version[] to remove
unnecessary duplication in the source
2003-10-14 06:46:57 +00:00
itojun 5e7b0c710b more correction to ip_fragment; free mbuf correctly if ENOBUFS is raised
during fragmenting.
2003-10-14 06:36:48 +00:00
itojun 40e6b63c60 fix endian bug in fragment header scanning. 2003-10-14 05:33:04 +00:00