Commit Graph

119564 Commits

Author SHA1 Message Date
christos 2a2701085e - keep the fd to /dev/zero open
- take advantage of MAP_ANONYMOUS
2003-10-22 16:10:03 +00:00
manu 8beb6e32ae Patch from http://mail-index.netbsd.org/current-users/2003/09/04/0018.html
to fix problems with a sound card
2003-10-22 15:57:33 +00:00
kleink 22c6452bfb _ISO_C99_SOURCE -> _ISOC99_SOURCE 2003-10-22 15:51:18 +00:00
thorpej 0f781c4abb Add support for the SPI EEPROM found on the newer i82541 and i82547
chips.  Add the i82541 and i82547 product IDs to the table, #if 0'd
out, for now (there are still more changes to come for these new chips
to work properly).
2003-10-22 15:50:39 +00:00
drochner 9122b04d59 the last argument to recvfrom() is a pointer, so use "NULL" for
consistency
2003-10-22 15:40:19 +00:00
drochner 71baa97c0b -don't update the RPC server address with the reply's sender address;
this breaks server failover under some circumstances, and Solaris doesn't
 seem to do it either
-minor cleanup
approved by fvdl
2003-10-22 15:38:31 +00:00
briggs 0fd0bfe35a enami noted that my last fix was not correct. Simplify the code some (and
make it more correct) by removing a flag to track wdc attachment.  Disable
the function after wdcattach() is called, and remove a conditional when
enabling the function in wdc_pcmcia_enable().
2003-10-22 15:03:04 +00:00
itohy 8a3fce54f8 Fix in debug code (no functional changes). 2003-10-22 14:18:27 +00:00
dmcmahill 188fcee35a add
#if HAVE_CONFIG_H
#include "config.h"
#endif
to get this to build under solaris-2.6/sparc with gcc-2.95.1 as part of
the NetBSD cross toolchain build.  Fixes PR23211.  Patch approved by
Alistair Crooks.
2003-10-22 12:30:39 +00:00
kleink 3104093f6c Add <x86/math.h>. 2003-10-22 11:56:35 +00:00
kleink 5d1a2f48d2 Use a common <machine/math.h> for amd64 and i386. 2003-10-22 11:54:23 +00:00
fvdl 91371415b1 Match the Promise FastTrak 378. 2003-10-22 11:32:40 +00:00
fvdl ba07312903 Match the nForce3 AC-97 chip. 2003-10-22 11:32:12 +00:00
fvdl 653fb67506 Regen. 2003-10-22 11:31:18 +00:00
fvdl 5b7cf69d6e Add:
* an id for the Promise FastTrak 378
	* several ids for NVidia nForce3 devices
2003-10-22 11:30:52 +00:00
agc 25cf475b83 Another NULL vs. 0 correction. 2003-10-22 10:04:43 +00:00
agc 0192c15f19 Don't use NULL when 0 is needed. 2003-10-22 09:43:07 +00:00
mjl e959b27d7f Typo in comment. From OpenBSD. 2003-10-22 09:04:39 +00:00
agc f3d647fc2c Don't use NULL for integer values. 2003-10-22 09:03:40 +00:00
mjl 088da88a56 Typos in comments. From OpenBSD. 2003-10-22 09:02:49 +00:00
agc df214f1879 Don't use NULL when an integer is needed. 2003-10-22 08:58:38 +00:00
mbw 02cccbc650 spelling nit -- AFAICT, it's officially "hyperSPARC" not HyperSPARC 2003-10-22 07:59:44 +00:00
briggs 1e810e3178 Since we enable the pcmcia function on attach, disable it on the detach. 2003-10-22 07:48:25 +00:00
briggs 40823fb6bb Maintain reference count properly for nested enables/disables. 2003-10-22 07:46:48 +00:00
skrll 6cbe1f3d8f gdb 5.3 for arm is in progress 2003-10-22 07:43:59 +00:00
hannken c6d83326cb Forgot to update the .Dd line. From Thomas Klausner <wiz@netbsd.org>. 2003-10-22 07:12:43 +00:00
agc 1b4475af8f Add catman pages for
vfs_write_resume(9)
vfs_write_suspend(9)
vn_finished_write(9)
vn_start_write(9)
2003-10-22 07:04:32 +00:00
lukem 5f259b477b add MAKEVERBOSE messages 2003-10-22 06:04:03 +00:00
lukem f6ed8b6422 add MAKEVERBOSE message 2003-10-22 05:58:31 +00:00
itojun 29d9058dc7 remove BIND crypto portion, as the license doesn't fit our policy and we do not
import those sources.
2003-10-22 05:56:36 +00:00
thorpej 9e4220c00a Oops, a little to aggressive in the previous patch; TCP_TIMER_INIT()
still needs to be in tcp_newtcpcb(), for now.  Pointed out by enami.
2003-10-22 05:55:54 +00:00
augustss 6d60d8ab89 Re-add the quirks that force certain In-System Design adapters to appear
as (non-standard) ATA over BBB adapters.  Without these quirks they are
not regocnized by the umass driver.
2003-10-22 05:38:16 +00:00
briggs 33a79483d0 Fix a panic that occurred when trying to traverse a corrupt msdosfs
filesystem.  With this particular corruption, the code in pcbmap()
would compute an offset into an array that was way out of bounds,
so check the bounds before trying to access and return an error if
the offset would be out of bounds.
2003-10-22 03:51:12 +00:00
thorpej 31923baa46 Rather than zeroing a tcpcb structure and filling in all the fields
individually, create a tcpcb template pre-initialized (and pre-zero'd)
with the static and mostly-static tcpcb parameters.  The template is
now copied into the new tcpcb, which zeros and initializes most of the
tcpcb in one pass.  The template is kept up-to-date as TCP sysctl
variables are changed.

Combined with the previous sb_max change, TCP socket creation is now
25% faster.
2003-10-22 02:45:57 +00:00
fvdl eee926f0a9 Only declare intr_scan_bus if NIOAPIC > 0. 2003-10-22 01:53:49 +00:00
mycroft 98fb62de25 Add a code that appeared in a PR recently. 2003-10-22 00:35:41 +00:00
christos 55222ec4a6 Regen 2003-10-22 00:18:32 +00:00
christos c1ce37728d Remove backslash for new gawk 2003-10-22 00:17:39 +00:00
christos ddccf85c50 support for NE2000_TYPE_AX88790 from
Yong-Jhen Hong yongjhen at alqualonde dot org
2003-10-22 00:12:36 +00:00
christos 58507d43c3 PR/23219: Dan McMahill: Make this compile on system that don't have MAP_ANON.
Centralize the mmap allocations in a new function, xmapalloc() that handles
this.
2003-10-21 23:58:53 +00:00
fvdl e74e8c0c71 Correctly walk up the PCI bus tree to find an interrupt match with
a swizzled pin.
2003-10-21 23:25:48 +00:00
fvdl 80cec054e5 If a bus has not been configured by MPBIOS/ACPI, and the attach hook
for it is called, mark it as configured.
2003-10-21 23:22:52 +00:00
thorpej 4011fcfefd Cache the "adjusted" value of sb_max when sb_max is changed, in order
to avoid doing quad math in sbreserve().

Change suggested by Simon Burge, and code inspired by a similar change
in FreeBSD.
2003-10-21 22:55:47 +00:00
hannken 9dec5da8e8 Add section 9 man pages for:
vfs_write_suspend, vfs_write_resume, vn_start_write and vn_finished_write.
2003-10-21 22:01:24 +00:00
thorpej 861856caa0 Add event counters that measure FAST_MBSEARCH. 2003-10-21 21:17:20 +00:00
kleink 7d9835b758 Don't use NULL in integer-type assignments/comparisons. 2003-10-21 20:59:31 +00:00
skrll a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
matt e3e6938d92 Move bus.h to obsolete. 2003-10-21 17:32:35 +00:00
wiz 5dfa2a0877 There is also a 1.12 branch of cvs; note it. Mentioned by perry. 2003-10-21 17:19:13 +00:00
thorpej 3267ff8288 Add i82545GM and i82546GB controllers. 2003-10-21 17:10:00 +00:00