Commit Graph

100031 Commits

Author SHA1 Message Date
rafal 9b5e467d2e Don't set speed in the stty commands, so installs still work if the user
has their console speed set to something other than 9600.
2002-07-17 14:04:59 +00:00
itojun d650d1adac with -i, flag on command line and flag displayed are different, and it does
nothing but confuse users.  sync them.

for -nud and such, you need "-- -nud" due to posix arg parsing.

sync w/kame
2002-07-17 13:08:27 +00:00
thorpej d681f8b1d4 Add a macro to test if the system uses the SRMMU (Sun4M || Sun4D). 2002-07-17 06:19:45 +00:00
thorpej 7d6525e9b6 Handle the CPU_NTYPES == 0 case (as we would see in bootblocks)
in the CPU types predicates.
2002-07-17 06:17:20 +00:00
thorpej 477ba79eb9 Add a CPU_ISSUN4D predicate. 2002-07-17 06:07:29 +00:00
thorpej be0b3b8b70 Instead of using a matrix of configured CPU types, first count
how many CPU types are configured into the kernel.  Then, use this
information to define the CPU predicate macros according to the
following rules:

1. If support for a CPU type is not configured into the kernel,
   then the test is always false.

2. Otherwise, if only one CPU type is configured into the kernel,
   then the test is always true.

3. Otherwise, we have to reference the cputyp variable.

Use a similar strategy for short-cutting the page size related
definitions.
2002-07-17 05:57:47 +00:00
thorpej 29b1d0613b Remove CPU_ISSUN4MOR4U, CPU_ISSUN4OR4C, and CPU_ISSUN4COR4M. 2002-07-17 04:56:49 +00:00
thorpej 36fb7ee740 Remote CPU_ISSUN4OR4C and CPU_ISSUN4COR4M, and instead express them
as (CPU_ISSUN4 || CPU_ISSUN4C) and (CPU_ISSUN4C || CPU_ISSUN4M),
respectively.  The compiler can still optimize as desired by expressing
them this way, and it simplifies adding new tests.

While here, just remove CPU_ISSUN4MOR4U; it's not used by anything.
2002-07-17 04:55:56 +00:00
matt 436f257283 Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and
pmap_syncicache.  This file uses a ppc feature in a sick and twisted way
to avoid mapping the physical pages used by those routines.  It performs
the operations with the MMU disabled but PPC exception save and retstore
the machine state and are invoked with the MMU disabled, this doesn't have
an adverse effect on the system.

Currently only enable for MPC6xx and !OLDPMAP.
2002-07-17 03:11:07 +00:00
thorpej aa54c756ac Print out a meaningful message on the sun4d if the kernel does
not support the sun4d, like we do with sun4c and sun4m.
2002-07-17 02:57:14 +00:00
thorpej acf4b72be5 Add CPU_SUN4D. 2002-07-17 02:43:43 +00:00
thorpej 5fd1700062 Add SUN4D to the list of arch's in opt_sparc_arch.h. 2002-07-17 02:23:15 +00:00
itojun 5cfce202f7 wrong arg to memset. OpenBSD PR 2822 2002-07-16 23:08:04 +00:00
itojun b3f9de2ade awrong memset() arg. OpenBSD PR 2822. 2002-07-16 23:07:33 +00:00
matt ece8b74130 Add machdep.powerpc sysctl. Change the default value of powersave to -1
(< 0 mean no powersave available).  Enable powersave by default for
750/7400/7410 but leave if off for 7450/7455.
2002-07-16 23:04:20 +00:00
augustss 21be11a8f8 Refetch interface handle on reset. Avoids potential access to freed memory.
Fix from FreeBSD.
2002-07-16 22:00:31 +00:00
bouyer a07c492369 Add missing BUS_DMA_NOWAIT to bus_dmamap_load_mbuf() calls. Should fix
port-alpha/17615.
2002-07-16 20:20:01 +00:00
christos 100356d547 remove __GNUC__ lossage. 2002-07-16 19:53:37 +00:00
hannken 10ff5e6607 Implement a new device buffer queue interface.
One basic struct, a function to setup a queue with a specific strategy and
three macros to put buf's into the queue, get and remove the next buf or
get the next buf without removal.

The BUFQ_XXX interface will be removed in the future.
The B_ORDERED flag is not longer supported.

Approved by: Jason R. Thorpe <thorpej@wasabisystems.com>
2002-07-16 18:03:17 +00:00
thorpej 64a96a4664 Rename DTYPE_SYSTRACE to DTYPE_MISC. DTYPE_MISC can now be used by
any misc. pseudo-device which requires cloning semantics.
2002-07-16 16:40:55 +00:00
matt 3dc1994d70 Don't install extintr handler if not supplied.
Make panic message more informative.
2002-07-16 16:39:12 +00:00
christos 5c7b6b0606 modernize:
- use wait4
	- KNF
	- factor out common printf code
	- use err/warn
	- use getprogname
2002-07-16 15:41:57 +00:00
ichiro 2255ed4ecb add ixpcom to cdevsw 2002-07-16 14:20:04 +00:00
mrg ec69f2b1fd fix a bug introduced in rev 1.19:
- finish bus_space-ification of cs4231_sbus_trigger_input().

this stops recording on the sbus cs4231 from crashing.
2002-07-16 11:48:45 +00:00
agc ca35a8f6ac Make this file compile without warnings on systems where chars are unsigned. 2002-07-16 10:12:28 +00:00
agc 7907df8eaa correct pfil_run_hooks.0 -> .9, and put the pfil_* manual pages in the right
system package
2002-07-16 10:04:39 +00:00
abs fbb7ab458d Add Jenoptik camera/mp3 player 2002-07-16 09:19:29 +00:00
wiz f277e86bfd Punctuation/casing fixes, and don't repeat too verbosely how to set sysctl()s.
Noted by Martin Husemann.
2002-07-16 09:03:10 +00:00
itojun 5350bc28c2 fix safeputchar(). sync w/ tcpdump.org 2002-07-16 04:17:46 +00:00
rafal 4b77d56d71 Skip blank lines in the input file (mixerctl.conf). 2002-07-16 03:24:24 +00:00
itojun 72b53650e0 copyright cleanup from openbsd (thanks!)
>license change from William LeFebvre <wnl@groupsys.com>; top is now BSD
>licensed.  this same license will show up on his next release as well.
2002-07-16 00:40:51 +00:00
lha 5fd41a12f3 add missing pfil_head_get in manpage
add missing MLINKS
add new files to sets lists

fixes my own pr kern/15060
2002-07-16 00:36:45 +00:00
lha a9c28fe019 add myself 2002-07-16 00:31:44 +00:00
christos 85c9292513 Add a small regression test for getopt. 2002-07-15 22:04:00 +00:00
wiz 7dc4401b11 Add a paragraph about MSS clamping (refer
http://www.netbsd.org/Documentation/network/pppoe/ )
on request by billc and martin. Some minor fixes.
2002-07-15 22:03:00 +00:00
drochner 8badbffa2f recognize a SMC9432BTX from PCI subsys id and tell the bus independant
backend that it bas a BNC port (just like the SMC9432BTX1)
2002-07-15 17:23:06 +00:00
ichiro 78573b4061 delete unneed file 2002-07-15 17:21:12 +00:00
ichiro ed89c15166 add configuration file
Netwise APlication Platform Board
2002-07-15 17:18:03 +00:00
ichiro 3aee04fce7 add support ixp12x0 eva-board "IXM1200" 2002-07-15 17:13:30 +00:00
ichiro 7374c0afee add support for ixp12x0 2002-07-15 16:27:15 +00:00
thorpej b767b60c60 Add "(NetBSD nb3)" to the version string. 2002-07-15 15:44:53 +00:00
aymeric 1f11daa1ee Bump to nb3, following revision 1.2 of expr.c 2002-07-15 15:12:48 +00:00
junyoung f1216cb905 Replace with a much better one which covers the whole Unicode range,
from U+0000 to U+FFFF.

Contributed by Hye-Shik Chang <perky@freebsd.org>. Thanks, perky!
2002-07-15 13:40:06 +00:00
rafal c4181ec121 Update sgimips portions of release notes to more closely match reality, esp.
after the removal of the kern-GENERIC set from sysinst.  While here, fix up
some minor things (wording, bad markup, typoes) in the non-sgimips specific
common portions.
2002-07-15 12:47:58 +00:00
jdolecek 65822e1b55 Remove sa_sigaction member of struct sigaction, accidentaly added here
in rev. 1.26.
Problem pointed out by Antti Kantee.
2002-07-15 07:48:57 +00:00
grant f7ddfc3676 add additional StuffIt format. 2002-07-15 06:07:16 +00:00
rafal 21b586407d Since the O2 kernel doesn't work, don't bother giving users a choice to
install it.  Discussed with Soren and Scott G. Taylor (who originally
suggested we do this).
2002-07-15 04:51:41 +00:00
rafal 653e0b546e Fix boot device detection in the face of multiple SCSI controllers. This
isn't perfect (the NetBSD device units must match ARCS device numbers), but
it's better than randomly matching one of the devices.  Fixes PR 16584 from
Scott G. Taylor.
2002-07-15 04:38:59 +00:00
mbw 0b1aae71e4 Properly name SPARCstation Voyager.
Mention that nell PCMCIA support works for Voyager as well as Sbus card.
2002-07-15 00:19:54 +00:00
chs b1b5af79c2 when dropping a kernel loan, if this was the last loan-to-kernel but
the page is still loaned to an anon, we should put the page back on a
paging queue.  this is because while pages loaned to the kernel really
do need to stay resident (since the kernel is accessing the physical
memory directly), pages loaned to anons can be paged out just fine.
(the page will be paged out twice, first to the object and then again
to the anon, but after that the page can be reused.)
2002-07-14 23:53:41 +00:00