Commit Graph

123334 Commits

Author SHA1 Message Date
wiz 4d74fb0ff9 Improve function descriptions. From Douwe Kiela. 2004-01-20 08:30:41 +00:00
wiz 60c0778ca6 Grammer fix. From Douwe Kiela. 2004-01-20 08:29:29 +00:00
wiz c365bab896 Mini KNF. From Douwe Kiela. 2004-01-20 08:29:09 +00:00
wiz 27297af537 Fix recurring typo in comments. From Douwe Kiela. 2004-01-20 08:28:26 +00:00
wiz 3a7de20e0d Add mv{,w}inch{,n}str. From Douwe Kiela. 2004-01-20 08:27:47 +00:00
wiz a99c798fbb Add mv{,w}inch{,n}str and mvwscanw. 2004-01-20 08:26:44 +00:00
atatat 0275942afd Alphabetize... 2004-01-20 04:55:46 +00:00
jdolecek 7b931f4e42 make standard userland Makefile and enable WARNS=3 2004-01-19 23:34:15 +00:00
snj a658a33749 Add myself. 2004-01-19 23:34:11 +00:00
jdolecek 8808fb2847 g/c some mdoc.template remains, add info to HISTORY and sprinkle
some .Pa
2004-01-19 23:32:42 +00:00
jdolecek 9062e24a41 some KNF, use err(), make some stuff static and get buildable
with WARNS=3
2004-01-19 23:31:18 +00:00
jdolecek e23cd1a78a Import Gary Thorpe's netbsd-ppbus 1.3. This is NetBSD port
of FreeBSD Parallel Port Bus framework. Work in progress.
2004-01-19 23:22:23 +00:00
jdolecek f06a5b89bf adapt to latest ahc(4) changes, so that this wouldn't panic kernel on boot
problem reported by Hilmar Both on current-users
2004-01-19 23:15:36 +00:00
martin 966fcad67c How stupid can you borke a commit? I could *swear* I had tested the last
revision before commiting - but you ain't going to believe me anyway.
2004-01-19 19:27:46 +00:00
martin dff5a86b96 Too sad - inlining syscall stubs on sparc64 is so much easier than doing
PIC calls to the libc stubs, but unfortunately we need to do the latter-
otherwise we break weak symbol semantics and make libpthread fail.
Thanks to Christian Limpach for the analyzis.
2004-01-19 18:33:21 +00:00
martin f04f3a62db Forgot to mention in last commit message: remove some accidently commited
debug code.
2004-01-19 18:20:35 +00:00
martin fd70c1464d Unfortunately we can not restore the signal mask with setcontext() - this
breaks libpthread, which tries to intercept the weak sigprocmask symbol.
So use an explicit sigprocmask call instead.
2004-01-19 18:19:33 +00:00
martin e032233866 Store the "signal mask saved" flag at the end of the jmp_buf - we now use
more of it than before (and I bet the old place just is a non translated
32bit sparc value).
2004-01-19 18:17:21 +00:00
kleink 9f0429b6cc ; may be a comment character in assembly, use \n as a separator instead.
This instance spotted by Martin Husemann.
2004-01-19 16:18:33 +00:00
atatat b81e36a907 Remove redundant prototypes 2004-01-19 16:12:51 +00:00
ragge ae632d0c76 Err, get correct RCS IDs. As Love said. 2004-01-19 12:33:26 +00:00
lukem f046e24e66 disklabel MBR preservation on i386 & amd64 2004-01-19 11:58:51 +00:00
ragge ac39ad68d6 Add "Intel PRO/10GbE LR Server Adapter". Regen. 2004-01-19 11:57:47 +00:00
yamt ce0a402d3c bufpool_page_alloc: for no-wait allocations, specify UVM_KMF_TRYLOCK as well. 2004-01-19 11:57:42 +00:00
martin cada3deec9 Rename switchexit to cpu_exit and g/c the old C implementation of cpu_exit. 2004-01-19 10:39:49 +00:00
sekiya bdf3df3127 Checking for IP32 in each driver is redundant -- they're attached as children
of mace, so it is sufficient to perform the check in mace_match().  Pointed
out by soren@.
2004-01-19 10:28:28 +00:00
martin dc94fda17b Add missing paranthesis. Fixes PR 24144. 2004-01-19 08:42:20 +00:00
wiz 1cbf165d86 Bump date for previous. 2004-01-19 08:39:51 +00:00
sekiya d0207690f0 opt_machtype.h no longer exists. 2004-01-19 08:06:54 +00:00
gson 50c2638eeb Removed BUGS section saying "not tested with standard USB MIDI
devices", as the driver now has been tested and found to work with
at least one.
2004-01-19 07:41:40 +00:00
gson f3b20f4de0 In alloc_all_endpoints_genuine(), search for the endpoint descriptors
within the configuration descriptor, not the class specific interface
descriptor. The Edirol UM-1SX now successfully attaches and works as
a standard USB MIDI interface when the "advanced driver" switch is set
to "off".
2004-01-19 07:36:35 +00:00
itojun 092e41da38 do not lookup security policy if IPV6_FORWARDING.
avoids possible infinite ipsec encapsulation on
        ip6_input -> ip6_forward -(tunnel mode)-> ip6_output
case.  from kame
2004-01-19 05:14:58 +00:00
sekiya 5ca2e0b59c Completely remove IP2X and IP32, which renders opt_machtype.h obsolete. 2004-01-19 03:26:14 +00:00
matt ac9ba56f89 Adapted from md.i386. 2004-01-19 03:03:31 +00:00
taca 1eb0b8d5f6 sendmail 8.12.11 is released 2004-01-19 01:29:00 +00:00
matt e78cfba9ff Add amd64 support. 2004-01-19 00:36:09 +00:00
lukem 9da9eeb6eb obsolete lib/X11/etc/(sun|xterm).term(cap|info) 2004-01-19 00:35:41 +00:00
lukem a6abc998f0 Don't bother installing:
./usr/X11R6/lib/X11/etc/sun.termcap
	./usr/X11R6/lib/X11/etc/sun.terminfo
	./usr/X11R6/lib/X11/etc/xterm.termcap
	./usr/X11R6/lib/X11/etc/xterm.terminfo
2004-01-19 00:32:41 +00:00
sjg 4d32648363 ternary is .PHONY 2004-01-19 00:32:26 +00:00
sekiya cfc3bade55 Attach the com and mcclock devices only if the machine is an IP32. 2004-01-19 00:30:17 +00:00
lukem 9bd8d033a9 Don't bother installing:
./usr/X11R6/lib/X11/etc/sun.termcap
	./usr/X11R6/lib/X11/etc/sun.terminfo
	./usr/X11R6/lib/X11/etc/xterm.termcap
	./usr/X11R6/lib/X11/etc/xterm.terminfo
2004-01-19 00:30:01 +00:00
sekiya 3791a9994b g/c obsolete function. 2004-01-19 00:19:36 +00:00
sekiya 90448f3f3f Attach int0 at mainbus (precedent being the ip32 CRIME device, which handled
interrupts and timer calibration yet is also attached at mainbus).

Introduce the INDY_R4600_CACHE config option, which more accurately describes
the code enabled by this option.

This renders #ifdef IPxx completely obsolete, thus we theoretically can unify
the GENERIC files if a workable load address relocation scheme can be found.
2004-01-19 00:12:31 +00:00
lukem 1fa0b4f2cc * Enable SAVEBOOTAREA on i386 and amd64 (by merging the Makefile
controls with the section for the other MBR-using platforms that
  already enable this)
* Don't prompt the user to "erase the previous contents of the disk"
  when there's no NetBSD MBR partition; SAVEBOOTAREA is sufficient.

These fixes mean that you can create a disklabel (on an i386/amd64) on a disk
that doesn't have a NetBSD MBR partition without trashing the existing MBR.
The previous behaviour was extremely annoying when working with media such
as FAT-formatted CF cards, and didn't really protect people with such from
accidentally trashing part of sector 1 of such disks, and made it extremely
easy to trash sectors 0..15 of those disks instead.
2004-01-18 22:34:22 +00:00
martin 1d4a6379f7 Only compare the trampoline version in SIGTRAMP_VALID as an unsigned value.
From Christos Zoulas.
2004-01-18 20:53:57 +00:00
martin b7fcfc0137 Support RAS for 32bit kernels too. 2004-01-18 19:41:06 +00:00
matt 3d2a90fb95 Make this compile. 2004-01-18 19:33:01 +00:00
uwe 8939f2bdbd Implement proper switch_exit in assembler. Since cpu_switch is
reduced to just a call to switch_exit, g/c the C version and add a one
instruction assembler version that just falls through to switch_exit.

Addresses PR#24007 by Jaromir Dolecek <jdolecek@netbsd> and makes sh3
kernels work again after his elimination of the reaper.  Tested on hpcsh.
2004-01-18 18:54:17 +00:00
martin da4e67accc Do not export __HAVE_RAS to userland. Applications are supposed to try
rasctl() and detect failure with EOPNOTSUPP.
2004-01-18 18:23:19 +00:00
martin 3d03085b79 Use mi_userret() to do most of our userret() work. 2004-01-18 17:14:46 +00:00