Commit Graph

99854 Commits

Author SHA1 Message Date
wrstuden
578bd7c516 historical BSD sounds better than BSD historical 2002-07-18 03:22:11 +00:00
thorpej
0c9b77712e Add Sun4d "special nodes". 2002-07-18 03:22:00 +00:00
wrstuden
b1950d5c05 Update to match change in TCP_NODELAY inheritance for passive sockets. 2002-07-18 03:20:51 +00:00
thorpej
417877e5d7 Add checks for Sun4d. Use CPU_HAS_SRMMU as appropriate. 2002-07-18 02:32:35 +00:00
mjl
395027b4be Correct obviously switched args to memset() 2002-07-18 02:07:13 +00:00
fredette
2683443f81 Added ./usr/include/m68k/proc.h to the list. 2002-07-17 23:35:12 +00:00
fredette
9090c61c66 Added support for ad.${machine_cpu}.shl listfiles. These list
architecture-dependent files that are present when shared libraries are in use.
2002-07-17 23:34:20 +00:00
hubertf
73239eb26f Document VGA_CONSOLE_SCREENTYPE and VGA_CONSOLE_ATI_BROKEN_FONTSEL
kernel options.

Submitted by Julio Merino <jmmv@hispabsd.org> in PR 17624.
2002-07-17 22:02:13 +00:00
itojun
ab94671147 parse T_AAAA responses. patch sent to wietse. 2002-07-17 21:23:04 +00:00
fredette
783b314624 Only declare and define syscall_fancy if KTRACE and/or SYSTRACE are defined. 2002-07-17 21:21:46 +00:00
drochner
db2036e03e adda driver to read the temerature sensors on a NSC PC87366 Super IO chip
(the chip provides voltage / fan rpm control too, but we don't care yet)
2002-07-17 21:10:29 +00:00
mycroft
6b3df890c5 USE_XF86_4 on macppc. 2002-07-17 20:02:15 +00:00
wiz
50ae89bcee Remove superfluous quotation marks in options. Noted by Julio Merino
ing misc/17623.
2002-07-17 19:36:30 +00:00
fredette
f53ba8285a Now build profiled libraries on m68000. 2002-07-17 18:46:12 +00:00
mycroft
e5b593969a Whack the atexit(_IO_cleanup), as per ../../libio/cleanup.c 1.2, for the same
reasons:
1) There is already a destructor that does this.  The atexit() is superfluous.
2) If libstdc++ is loaded dynamically by dlopen() and then is removed by
   dlclose(), the pointer is no longer valid and the program would core dump
   at exit() time.  (This caused xmms to core dump at exit when xmms-sid was
   installed, for example.)
2002-07-17 18:01:22 +00:00
thorpej
8d23955168 Add sun4d cases for early bootstrap. This is good enough to
get as far as printing the copyright on an SPARCserver 1000.
2002-07-17 16:59:09 +00:00
thorpej
b122660639 More sun4m/sun4d common stuff. 2002-07-17 15:57:12 +00:00
thorpej
45af102cdd More cache/cpu stuff common to sun4m and sun4d. Note the sun4d
machines always use the Viking CPU, and cache info is not available
from the PROM, so we have to hard-code it in that case.

Rearrange some stuff to make it easier to share.
2002-07-17 15:56:20 +00:00
hannken
3f2c0f99e3 Add manpage for new device buffer queue interface.
With help from Thomas Klausner <wiz@netbsd.org>.
2002-07-17 15:53:50 +00:00
thorpej
d7722ad8a6 Remove an unnecessary "if defined(SUN4M)" 2002-07-17 15:53:21 +00:00
kanaoka
6e5726c8c9 - Enable to enter sleep state S5 with ACPI. 2002-07-17 14:55:42 +00:00
thorpej
11a856f8a6 Add SUN4D ifdef cases. Use CPU_HAS_SRMMU where appropriate. 2002-07-17 14:31:46 +00:00
rafal
ac042a39e1 Fix `xterm25' entry to actually claim 25 lines. XXX: Still need to fix up
bugs pointed out by Thomas Dickey.
2002-07-17 14:09:59 +00:00
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