Commit Graph

123315 Commits

Author SHA1 Message Date
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
martin 8625845ca6 Nuke all userland uses of __HAVE_RAS in favor of runtime detection. 2004-01-18 16:47:06 +00:00
dsl 056e02d208 Copy over the correct entry when writing out an extended partition list
that has holes in it.
2004-01-18 16:27:25 +00:00
dsl b2cf925344 Use correct sector number when the netbsd partition is in the extended
partition chain (and not the first extended partition).
2004-01-18 16:25:59 +00:00
he 18465464b9 Comment out opencrypto bits for now; the prep port does not yet
have generic soft interrupts, which the opencrypto software depends on.
2004-01-18 16:08:15 +00:00
wiz 2bd383a4cc New sentence, new line; remove unnecessary comma. 2004-01-18 15:48:01 +00:00
jdolecek 32375045b4 fill in some information about nsmb(4) 2004-01-18 15:23:15 +00:00
bjh21 3bcd444b32 vidcaudio_set_params() must return a value (oops!). 2004-01-18 14:42:09 +00:00
sekiya 6ce242b753 Keep chip revision and EISA information on same line as attach information. 2004-01-18 13:11:18 +00:00
scw ee92d9d4d2 Fix ARM_VECTORS_LOW fallout caused by the recent reaper removal.
Just before removing the vector page mapping, switch to the kernel
pmap's L1/vector page mapping so as not to pull the rug out from
under ourselves.

To prevent the stale L1/vector page mapping from being restored by
cpu_switch, replace the relevant fields of the dying process' pcb
with those of lwp0's pcb.
2004-01-18 13:03:50 +00:00
sekiya 6f76c4237a ANSIfy, de-__P(), add a little glue for IP12. 2004-01-18 13:00:05 +00:00
bjh21 4f403e81c5 Bell interface works again. 2004-01-18 12:53:43 +00:00
bjh21 ef6393dd75 Mention acorn32 sysbeep removal, since it needs a kernel config file change. 2004-01-18 12:52:47 +00:00
bjh21 9bb7b7cf84 Mention audiobell and removal of acorn32 sysbeep. 2004-01-18 12:52:13 +00:00
bjh21 ab5cf544af todclock isn't used on acorn32 any more. 2004-01-18 12:38:59 +00:00
bjh21 8ec98f703b Add audiobell. Remove sysbeep on acorn32. 2004-01-18 12:34:53 +00:00
dsl ddabfc4cf4 Fix sector numbers written in extended partition chin.
Don't write out dummy extended partitions for unused ares in the extended
partition.
Add some more comments - I write this and I couldn't remember how it worked.
2004-01-18 12:23:36 +00:00
sekiya 6feffff053 Properly disable watchdog timer. 2004-01-18 12:18:57 +00:00
yamt eecd1e664f explicitly cast langinfo constants to nl_item. 2004-01-18 09:07:07 +00:00
yamt 570948990d add an ARGSUSED. 2004-01-18 08:54:02 +00:00