Commit Graph

66454 Commits

Author SHA1 Message Date
matt
de203a6459 Fix GCC3'ism's 2003-09-29 22:54:28 +00:00
jonathan
ffa9f8f5aa No copyrignt notice here (caught by Sam Leffler). Add the same two-clause
copyright I sent to Sam Leffler for the FreeBSD version.
2003-09-29 22:35:43 +00:00
matt
2298bf0a7a trap.c: Set ksi.ksi_trap to frame->trap.
sig_machdep.c:	Use ksi->ksi_addr in compat code to supply the
		'code' argument to the old signal routines.
2003-09-29 22:24:53 +00:00
matt
ec1689548e Set ksi_addr to frame->code. 2003-09-29 22:20:52 +00:00
tls
b911732f2a Increase default socket-buffer sizes from 16K to 32K. This increases
throughput significantly in a wide variety of test cases, including
local gigabit ethernet with both jumbo and standard frames,
transcontinental (U.S.) connections with e2e bandwidths ranging from
10Mbit/sec to 155Mbit/sec, and on a variety of test connections
between the NetBSD Project public servers and machines in Australia.

The impact of this change is less dramatic for high-delay connections
when Path MTU is in use but still measurable.

For optimal performance on local gigabit networks, a higher socket
buffer size (at least 64K) will still yield a substantial improvement
in performance, but 32K gets us most of the way there in my test
cases, with only a cost of _doubling_ memory use per socket rather
than _quadrupling_ it.

N.B. Windows NT, at least since Win2k SP2, uses a default socket buffer
     size (or their analogue thereof) of 64K, which is a useful data
     point.
2003-09-29 21:39:35 +00:00
matt
050d126a03 Add SA_SIGINFO support for VAX. 2003-09-29 21:04:53 +00:00
dbj
5c09d20130 Declare fs_old_flags and fs_flags as unsigned.
This fixes a bug introduced in revision 1.120 of ffs_vfsops dated 2003/09/13
which results in fs_flags having a value of 0x7fffff00 when a superblock
is updated to use the new layout.
Discussed in http://mail-index.netbsd.org/tech-kern/2003/09/28/0003.html
2003-09-29 20:34:23 +00:00
augustss
1aa1d2f8e2 The umass attach can fail in many ways. Print a message about why it
failed instead of just being silent about it.
2003-09-29 20:04:25 +00:00
yamt
0dc0c83b61 remove redundant prototypes. 2003-09-29 15:12:08 +00:00
tsutsui
e67b04670b Remove '#' from if/endif, otherwise it fails on elf64 environment.
From Christopher SEKIYA.
2003-09-29 14:34:44 +00:00
scw
5b05921978 Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer
to pci_attach_args. The latter is allocated on the stack during auto-
configuration and so will not be valid after that time.

It's amazing how the old code worked for so long. I guess pci_attach_args
is allocated deep in pid#0's kernel stack on most platforms.
2003-09-29 14:10:35 +00:00
augustss
95b435b7b3 Update URLs. From PR 23004. 2003-09-29 11:54:26 +00:00
cb
93491c15d3 fix O_NOFOLLOW for non-O_CREAT case.
Reviewed by: christos@ (some time ago)
2003-09-29 10:04:03 +00:00
wiz
37ac1db454 available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +00:00
scw
960dfae23f Define ELF32_MACHDEP_ENDIANNESS according to target byte order. 2003-09-29 09:08:20 +00:00
simonb
953b5b465b Add a dependancy on assym.h; helps "make -j N" kernel builds. 2003-09-29 05:14:23 +00:00
junyoung
4c47dc9339 Fix typo in comments. 2003-09-29 04:03:55 +00:00
jdolecek
c82b56d651 constify a little 2003-09-29 03:22:58 +00:00
mrg
0aad2d6101 - convert to new aprint*() autoconfig print mechanism
- clean up some magic numbers
- make 1.6 friendly
2003-09-29 01:53:02 +00:00
cl
e1614ccdf9 Cast through (void *) to appease gcc3. 2003-09-29 01:20:41 +00:00
cl
0dcee00de1 add register storage class for gcc3 2003-09-28 23:21:06 +00:00
cl
33c9599295 u_int short -> u_short for gcc3 2003-09-28 23:14:42 +00:00
cl
ce3867fe3b Cast through (void *) to appease gcc3. 2003-09-28 22:56:58 +00:00
cube
e57b040603 Change the way of setting a port value so that a change too small to
fit in the number of bits used for the port still does something.

This fixes PR pkg/18741 for ac97-based hardware. Other audio drivers
might need a similar fix.
2003-09-28 22:24:09 +00:00
cl
212af23c55 Cast to (void *) to appease gcc3. 2003-09-28 22:00:26 +00:00
cl
096e210c5a always use -traditional-cpp 2003-09-28 21:22:45 +00:00
cl
1ee8b0b19c x68k has sc_events and not k_events in struct kbd_softc 2003-09-28 21:14:41 +00:00
cl
5701ee6c8e catch up with const ksiginfo_t and const sigset_t 2003-09-28 21:12:26 +00:00
chs
ec439fca35 avoid hanging during autoconf if no mouse is attached. fixes PR 11111.
based on code from Christian Groessler.
2003-09-28 17:25:07 +00:00
kent
1bea39944d codec id for AD1985 2003-09-28 15:39:09 +00:00
kent
0eb86c3701 Support for 4ch/6ch audio playback. 2003-09-28 13:37:19 +00:00
dsl
eed203ed54 Simod has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field. 2003-09-28 13:24:48 +00:00
dsl
2a6d948efc Simon has persuaded me to remove the 'sizeof kinfo_drivers' field. 2003-09-28 13:02:19 +00:00
tsutsui
1d11374304 Cast through (void *) to appease gcc3. 2003-09-28 13:02:18 +00:00
tsutsui
7f019aacfd - Remove (commented out) options COMPAT_ULTRIX, which is not usable on mipseb.
- Fix (commented out) obsolete options MINIROOTSIZE.
- space/TAB cosmetics
2003-09-28 12:56:09 +00:00
martin
d15431449a Include <compat/netbsd32/netbsd32_exec.h> to get the proper 32bit
sendsig etc. prototypes.
2003-09-28 10:27:25 +00:00
martin
a498dbd6b4 constify 2003-09-28 10:24:47 +00:00
martin
b4f2a7e0a0 const poisioning. 2003-09-28 10:22:21 +00:00
martin
220f7552d7 Ansify and add missing include. 2003-09-28 10:16:41 +00:00
tsutsui
6ca112843e - Add MIPS_KSEG2_TO_PHYS() and MIPS_PHYS_TO_KSEG2() macro.
- Add definitions of the MIPS4 config register.

From Christopher SEKIYA.
2003-09-28 08:43:29 +00:00
tsutsui
026b6946bd Fix typo. From Christopher SEKIYA. 2003-09-28 08:21:08 +00:00
tsutsui
e7500ac4b0 Add another R4000 CPU revision ID. From Christopher SEKIYA. 2003-09-28 08:16:51 +00:00
tsutsui
f9acb25560 Catch up with const sigset_t. From Christopher SEKIYA. 2003-09-28 08:11:47 +00:00
tsutsui
992acd3aab Add options COMPAT_16. 2003-09-28 07:39:48 +00:00
jdolecek
6c6463370e add entry for Lava Quattro-PCI (4 port serial)
contributed in PR kern/22977 by Heison Chak
2003-09-28 07:22:01 +00:00
jdolecek
330360f6a6 regen: ROLAND MIDI devices and Piengineering Xkeys entry 2003-09-28 07:15:47 +00:00
jdolecek
eb3ff4c555 add usbdevs entries and umidi quirks for Roland USB MIDI devices
contributed in PR kern/18096 by Clemens Ladisch
2003-09-28 07:14:56 +00:00
jdolecek
b2122d6d98 add Piengineering Xkeys 58 entry, from kern/20838 2003-09-28 06:55:57 +00:00
mycroft
ca96c7c4ec Remove some code that breaks AH tunnels completely. The comment describing
the purpose of this code appears to be on crack -- it's talking about
end-to-end authentication, but the purpose of an AH tunnel is NOT end-to-end
authentication; it's authentication of the tunnel endpoints.

NB: This does not fix the fact that IPsec leaks "packet tags."
2003-09-28 04:45:14 +00:00
dyoung
6cac03ae0e Adapt ieee80211_ioctl.[ch] to suit NetBSD. NetBSD and FreeBSD have
the least in common here, so I have not concerned myself with
compatibility.
2003-09-28 02:40:14 +00:00