Commit Graph

151550 Commits

Author SHA1 Message Date
cube f9d66765dd Add Intel 82562G PHY. 2006-09-27 21:50:00 +00:00
cube f33f698361 Make fxp(4) support the PRO/100 VE variant just added to pcidevs.
Reported by rix on #NetBSD-code on freenode.
2006-09-27 21:46:15 +00:00
cube 1e05843063 Regen (Intel/0x1094). 2006-09-27 21:43:26 +00:00
manu f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
cube 3d367d313e Add the Intel PRO/100 variant found on the D946GZIS motherboard. 2006-09-27 21:41:56 +00:00
christos 0bc3d9d62f Coverity CID 3792: Avoid double free; while I am here avoid NULL deref. 2006-09-27 21:39:15 +00:00
christos fcf84daa48 Coverity CID 3789: Add assertion before NULL deref. 2006-09-27 21:33:07 +00:00
christos 34fd379e33 Coverity CID 4160: Remove dead code. 2006-09-27 21:22:52 +00:00
rpaulo d706f6eab8 Fix date for twa(4) entry. 2006-09-27 21:21:52 +00:00
bjh21 826ff5f060 Make db_validate_address() work, even when called from within an interrupt
handler.  This should make debugging prefetch aborts slightly simpler.
2006-09-27 21:21:09 +00:00
mrg b1906bf12d redo previous: move the EOF check back into non-dead code so that it
will be used again.
2006-09-27 21:02:38 +00:00
christos 49334834f0 Coverity CID 793 uncovered a bunch of issues:
1. needfree = 0, should have been *needfree = 0
2. this function will not work with sp == NULL, since KEY_NAME dereferences it.
3. the if (0) {
  label:
  }
  code is disgusting.

Remove all the nasty and impossible code and fix 1.
2006-09-27 21:01:18 +00:00
christos 5d1b788b2a Coverity CID 4166: If GET_SPACE_RET can return a NULL pointer if len == 0.
Check for it.
2006-09-27 20:04:25 +00:00
elad 9a206be80a Print a message if there are no PaX flags, to be less confusing.
Requested by and okay rpaulo@.
2006-09-27 20:01:50 +00:00
christos d25337ac41 Coverity CID 4171: bp can be null if len == 0. So check for it anyway and
don't call memcpy unconditionally.
2006-09-27 19:58:00 +00:00
xtraeme c54463e668 typos: prop_stringy_* -> prop_string_* 2006-09-27 19:24:28 +00:00
christos 0bcef42677 Coverity CID 4073: Delete impossible code. 2006-09-27 19:09:14 +00:00
christos c0156a4952 Coverity CID 175: Avoid memory leak; add new function to destroy a hash table. 2006-09-27 19:05:46 +00:00
christos c5acbf4d6b Coverity CID 3788: comment out impossible code. 2006-09-27 18:52:11 +00:00
rpaulo 7775a16308 Config file for the Parallels virtual machine. 2006-09-27 18:45:46 +00:00
drochner a007a48303 make this build with ro srcdir: ignore yacc-generated files in dist 2006-09-27 18:37:41 +00:00
wiz 730e1c55de End sentence with a dot. 2006-09-27 17:42:34 +00:00
wiz b849663960 mdoc improvements. 2006-09-27 17:41:30 +00:00
thorpej ec1894a78a Don't inline uvm_pagealloc_pgfl(). 2006-09-27 17:18:50 +00:00
christos fec1382c1e Coverity CID 3931: Fix memory leak. 2006-09-27 17:15:20 +00:00
cube 4a5ad09e72 This is again that time of the millenium where we have to crank up a few
static limits to meet modern bloat requirements.

VM_PHYSSEG_MAX needs it to run on Intel's D946GZIS motherboard, as reported
by rix on #NetBSD-code on freenode.  This has a consequence on the initial
number of possible extent allocations for iomem_ex, so increase that value
too.

While there, clarify the action to be taken when VM_PHYSSEG_MAX is maxed
out.

Do that on both amd64 and i386 because the causes, the effects and the code
are mostly the same.
2006-09-27 17:10:34 +00:00
christos 5863dc6ef1 Coverity CID 4159: Don't memset() needlessly. 2006-09-27 16:20:03 +00:00
christos 5e4126c34c Coverity CID 3498: Don't return after yyerror(); cleanup first. 2006-09-27 15:35:12 +00:00
christos 8d396aad54 Coverity CID 4194: Wow, isn't char *foo = bar() ? : "0"; a syntax error?!?! 2006-09-27 15:23:34 +00:00
christos 364b94acf5 Coverity CID 4195: Off by one buffer overflow. 2006-09-27 15:21:26 +00:00
christos 1a5929d3f3 Coverity CID 4196: Off by one buffer overflow. 2006-09-27 15:20:06 +00:00
christos 10c7dc6280 Avoid longjmp clobberring (from our anonymous user) 2006-09-27 12:58:33 +00:00
elad 65305bdc98 Good intentions are still intentions. If we can't open kvm, but we still
have sysctl, it's still not enough for -P. A groveler is a groveler is
a groveler.

On a different note, this code needs a rewrite.
2006-09-27 12:51:43 +00:00
yamt 243b5d4a07 increase a chance to fit within 80 char width consoles.
- use PRWORD for dovmstat as well.
- reduce number of drives shown by default from 3 to 2.
2006-09-27 12:35:08 +00:00
tron 3e0a4d175a Move entry for 20060904 "sysinst" changes to "CHANGES.prev" after it has
been pulled up into the "netbsd-4" branch.
2006-09-27 12:29:32 +00:00
sketch 83a18a4ac4 Regenerate for TI ACX changes. 2006-09-27 11:49:04 +00:00
sketch 2394aa3588 Add TI ACX100B and rename existing (unused) TI ACX100 to ACX100A. 2006-09-27 11:48:02 +00:00
freza 19461b0a95 Make sure we mask statclock timer on ibm4xx systems. This avoids
pthread "related" panics like:

    panic: remrunqueue: bit 18 not set
    Stopped in pid 479.3 (exsprite) at      netbsd:cpu_Debugger+0x10:       lwz
    r
    0, r1, 0x14
    db> bt
    0x869abe00: at panic+0x1b4
    0x869abe50: at remrunqueue+0x80
    0x869abe60: at mi_switch+0x114
    0x869abea0: at sa_unblock_userret+0x4e8
    0x869abee0: at syscall_plain+0x224
    0x869abf40: user SC trap #93 by 0x41949810: srr1=0xc030
               r1=0x445fff40 cr=0x40000002 xer=0 ctr=0x41aae208 esr=0 pid=0x36

While there, cleanup IPL_ definitions somewhat and fix interrupt mask
calculation per spl(9).

OK by matt@
2006-09-27 09:11:47 +00:00
daniel 6177293347 PR/17410: lam(1) contains numerous overflows (Juli Mallett)
Fix some overflows and bugs (patch from FreeBSD).
2006-09-27 08:29:31 +00:00
macallan a2120a92a7 the chip wants all data we send with 64bit padding, no matter what padding
individual scanlines have so we send an extra 0 when we have to.
2006-09-27 06:39:38 +00:00
martin 37b5f548a5 Default sparc64 to gdb6. 2006-09-27 06:34:07 +00:00
elad f91b42aeb9 Don't care for super-user in packet filter rules, it's done via a device
anyway. Same as the clock-related change few days ago.

Should address PR/34635 from victori at lamer0 dot com
2006-09-27 05:35:05 +00:00
macallan 214a60e5cb cleanup, implement putchar() using the blitter 2006-09-27 05:19:23 +00:00
jnemeth 38322a9a53 fix a couple of comments 2006-09-27 01:41:45 +00:00
christos b10771897b handle signals for the second editline struct. (from our anonymous user) 2006-09-26 23:33:56 +00:00
christos 0dea4d56e9 add a continue message. 2006-09-26 23:33:23 +00:00
bjh21 24bcb8e38a wd33c93_minphys() doesn't exist any more, so don't declare it. 2006-09-26 23:27:36 +00:00
bjh21 334ef0cbc9 Merge my bjh21-wd33c93 branch. This improves message handling in general
and sync negotiation in particular.  Tested on sgimips (thanks to
Manuel Bouyer) and acorn26 (with my still-unfinished driver for the Acorn
SCSI Expansion Card).
2006-09-26 22:45:25 +00:00
matt a63ad7b671 Make GCC4 the default (except for pc532).
Switch powerpc to GDB6.
2006-09-26 22:11:32 +00:00
tron fc8a2f9593 Remove key for "tgm.netbsd.org". The machine was put out of service when
the new autobuild cluster was brought up.
2006-09-26 21:57:06 +00:00