Commit Graph

118245 Commits

Author SHA1 Message Date
thorpej 2652188cc4 New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.
2003-09-30 00:35:30 +00:00
christos f32195ffa6 turn off calendar -a by default and mention why. 2003-09-30 00:23:23 +00:00
christos 36b4e0b6e7 Fix off-by-one in PRC_NCMDS check. From FreeBSD via OpenBSD 2003-09-30 00:01:18 +00:00
grant d2b2b89242 typo in comment 2003-09-29 23:31:04 +00:00
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
dsl 13fd6f5a25 Fix rmdir -p x/y/z//
Remove redundant code.
2003-09-29 21:11:15 +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
mycroft 100f87c7ae Move several files (e.g. zipcodes) from base to misc. 2003-09-29 19:33:06 +00:00
martin feb5c96dad In the thread support functions only transfer those registers, that fit
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +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
jmmv 43a170e323 +AFU 2003-09-29 12:44:30 +00:00
rearnsha f539610cfa When allocating a common object, ALIGN is in bits, but common expects
bytes.  So divide by BITS_PER_UNIT.  Fixes over-allocation of
common objects and thus reduces the BSS by approx 75%.
2003-09-29 12:40:35 +00:00
blymn 6adf4a4e77 new_item fixes:
* return NULL to indicate an error if a NULL name is passed
	* fix a crash if description is NULL
Thanks to Julian Coleman for finding and fixing these.
2003-09-29 12:32:24 +00:00
augustss 95b435b7b3 Update URLs. From PR 23004. 2003-09-29 11:54:26 +00:00
wiz 9326479dd9 Fix typos; new sentence, new line; fix name in license (ok'd by manu);
sort sections; sort SEE ALSO; drop trailing whitespace.
2003-09-29 10:05:35 +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
manu 855db7049d Setup to run Darwin binaries 2003-09-29 09:56:04 +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
lukem 1024ddb55e regenerate for "%" prompt update 2003-09-29 07:58:01 +00:00
lukem 8a3d32e99e provide a `%' for the non-root examples, as we show `#' for the root prompt. 2003-09-29 07:55:17 +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
lukem 0f9e6cf359 Add LIBSTDCXX (for usr/lib/libstdc++.a).
Sync LIB* documentation with reality.
2003-09-29 01:06:37 +00:00
simonb e74fba6f88 Extra columns appeared in one line of the "Memory statistics by type"
header in '94 and '97.  Grow the other line a little so that it looks
pretty again.
2003-09-28 23:31:48 +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
provos cda395fc27 deal correctly with POLLNHUP 2003-09-28 20:02:44 +00:00
wiz c53b0c7769 Add man page for bce(4), and xref it from bge(4). 2003-09-28 18:32:18 +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
dsl bae094fc39 man9 pages need to be .9 (not .0) 2003-09-28 16:36:53 +00:00
matt 4abc70c356 Deal with changed filename. 2003-09-28 16:30:18 +00:00
kent 1bea39944d codec id for AD1985 2003-09-28 15:39:09 +00:00