Commit Graph

19775 Commits

Author SHA1 Message Date
msaitoh
3c51010f6a - unset RS/CS flow control bit from default setting
- GC
1999-10-06 09:19:46 +00:00
itohy
245053a1af Add "opl at ym" and "mpu at ym".
Fix typos.
1999-10-06 08:13:17 +00:00
tron
7d4a18b335 Use long int format in calls to db_printf() where required. 1999-10-05 12:34:32 +00:00
eeh
ff994dd772 Make this compile again. 1999-10-05 03:46:30 +00:00
eeh
f1deb2c3ac Make broken versions of gas happy by using sethi/or instead of set for
(negative) addresses.
1999-10-05 03:40:50 +00:00
eeh
cb2f2c8f26 Add RODATA() macro. 1999-10-05 03:34:41 +00:00
mycroft
f233c16c58 Sync with reality. 1999-10-05 03:31:43 +00:00
hubertf
467dda98ab Sync usage with the manpage (add -s) 1999-10-05 03:18:32 +00:00
jun
aa11952de6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future. 1999-10-05 02:22:14 +00:00
jun
311b40f89a GENERIC.v6 -- IPv6 variant of GENERIC. should be in GENERIC. 1999-10-05 02:17:25 +00:00
tsubai
eb1c1bdb92 Make media-bay CD detachable. 1999-10-04 22:58:10 +00:00
ross
b18cdd3e4e Add transition-flag -S, to regenerate alpha/sparc harmonized checksums. 1999-10-04 21:22:15 +00:00
is
21d10126ed Make this compile with -DDEBUG again. 1999-10-04 20:28:01 +00:00
ross
f67733aa38 s/_ARM32_DISKLABEL_H_/_MACHINE_DISKLABEL_H_/
This aligns arm32 with all the other ports and fixes a cross-compile problem.
1999-10-04 19:31:05 +00:00
pk
8800f180c3 Call find_cpus() much earlier so we can use the result while bootstrapping
all that pmap stuff.
1999-10-04 19:27:04 +00:00
pk
de22be977a Since a context table is now pointing at the correct per-CPU region table
at all times, we can dispense with the hackery that patches the magic entry
at context-switch time.
1999-10-04 19:23:49 +00:00
ross
9648d2fcd6 Merge from my i386 source tree: make this build on i386 (and others) 1999-10-04 19:23:19 +00:00
ross
722e1970eb Completely replace the logic used for sparc/alpha checksum harmonization. 1999-10-04 19:19:11 +00:00
pk
b19b1fc269 Each process (i.e. each `pmap') needs a region table for each CPU.
Implement this by making the fields `pm_reg_ptp' and `pm_reg_ptp_pa'
pointers to an array of `ncpu' region table pointers and corresponding
physical addresses.

This is a somewhat unfortunate side effect of having the per-CPU data
addressable by the same virtual address on each CPU.
1999-10-04 19:18:33 +00:00
pk
fa65ea182c Implement sysctl `machdep.booted_kernel'. 1999-10-04 19:11:42 +00:00
hubertf
1972c67981 Document what qec, be and qe is.
Thanks to Jason Thorpe for explaining!
1999-10-04 19:02:55 +00:00
fvdl
5c04333d5d It's legal to mmap pages in the lower part of the stack (< limit), and
use them, so allow this by relaxing the check for it.
1999-10-04 17:36:37 +00:00
nisimura
7fbac8b3cc - Remove defunct codes and arrange consistency between pmax and alpha.
- Reduce 'ioasic_base' expose.
1999-10-01 09:19:42 +00:00
thorpej
2b02403498 The old dk_establish() hack doens't work anymore, and should be
garbage-collected.  device_register() is the One True Way.
1999-09-30 23:01:53 +00:00
thorpej
e6c88a7686 Update for SCSIPI changes. 1999-09-30 22:59:52 +00:00
kleink
7732d7348e Add missing sv(4). 1999-09-29 10:46:03 +00:00
kleink
9daa657fd9 Add eso(4). 1999-09-29 10:43:14 +00:00
scottr
f63afdf2ff Normalize autoconfig output. 1999-09-29 06:14:02 +00:00
scottr
8e9fd55168 Add support for the Macintosh LC Ethernet Adapter, from Ken'ichi Ishizaka.
This was erroneously recognized as an 8390-based card, where in fact it is
using the 83932 (SONIC) controller.
1999-09-29 06:04:50 +00:00
ad
80aa2508fc Entries for dpt(4). 1999-09-28 23:43:07 +00:00
thorpej
c98787207b Add Megahertz Ethernet/Modem combo card goo. 1999-09-28 18:07:29 +00:00
enami
2230805f45 Add missing backslash. 1999-09-28 09:57:35 +00:00
nisimura
de20527da0 Forgot to commit an important change for bus_space/bus_dma. 1999-09-28 08:05:42 +00:00
simonb
60f2775a8e Fix incorrect comment. 1999-09-28 02:26:35 +00:00
ad
c62af9270a Note DPT controllers as needed. If it looks like a stripped down GENERIC,
it gets it.
1999-09-27 23:59:50 +00:00
wrstuden
25faa820de Add support for reading MacOS-partitioned disks. Stolen from the mac68k
port, but modified in that macppc searches for netbsd-partitioned disks
before MacOS partitioned disks, since installboot generates a fake MacOS
partition table which isn't the one we want to use.
1999-09-27 17:02:43 +00:00
leo
c9448b002c Specify the major number of the md-device. Otherwise config(1) won't emit
a dev_name2blk enrty for the RAM-disk. This made the installation procedure
unusable.
1999-09-27 14:32:17 +00:00
kleink
0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
tsubai
a4c71cd136 Include machine/cpu.h. 1999-09-27 08:47:56 +00:00
enami
9740841cb6 Remove DEVPAGER, SWAPPAGER and VNODEPAGER. 1999-09-27 08:39:44 +00:00
itohy
a5c3c08c66 Add missing TBIA() definition for 68030-only machine. 1999-09-27 04:43:40 +00:00
itohy
694f6286e8 Make it compile again. 1999-09-27 04:18:45 +00:00
takemura
de467400aa Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
1999-09-26 12:46:56 +00:00
takemura
6fe86bae28 Add columns and rows infomation to attach message. 1999-09-26 10:22:10 +00:00
uch
7787b1dc9f Add Philips Nino 312, Compaq C-series 810, 2010c, 2015c entry. 1999-09-26 07:35:22 +00:00
takemura
9759fc2177 TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
  - add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
1999-09-26 02:42:50 +00:00
is
744246fa0b vm_offset_t -> vaddr_t/paddr_t 1999-09-25 21:47:02 +00:00
is
490ccb0747 vm_offset_t -> vaddr_t or paddr_t, as appropriate. 1999-09-25 21:19:48 +00:00
is
75321f3ae6 vm_offset_t -> db_addr_t (mostly), v_addr_t (one place). 1999-09-25 21:11:55 +00:00
is
c861d2e5d4 Replace leftover vm_offset_t's by paddr_t or vaddr_t, as appropriate.
Rename variables/parameters from "va" to "pa" where they are a paddr_t.
Correct DCIAS to take a paddr_t (instead of vaddr_t).
1999-09-25 19:27:35 +00:00
uch
d7e2fcf851 Remove obsolete option MIPS3_FLUSH. 1999-09-25 17:13:27 +00:00
ad
2d7488c2c5 Use px_probe_sram() to figure out ringbuffer size instead of defaulting to
the minimum value of 128KB (useful only for PMAG-F).
1999-09-25 14:45:21 +00:00
uch
1a59333e1b Regen. 1999-09-25 10:52:50 +00:00
uch
3b2be5bbd2 Add Toshiba TX39 CPU and Philips, Compaq model entry. 1999-09-25 10:51:13 +00:00
takemura
bc2048a94e Delete unnecessary comment which was for the variable, 'cold. 1999-09-25 03:09:01 +00:00
shin
06d83cd302 Delete 'cold'. 1999-09-25 00:18:10 +00:00
shin
9fd16d4c7b [new options]
options		MIPS3_4100	/* VR4100 core */
options		MIPS_16K_PAGE	/* enable kernel support for 16k pages  */
options		SOFTFLOAT 	/* No FPU; avoid touching FPU registers */
1999-09-25 00:03:22 +00:00
shin
44c2553ded Changes for NetBSD/hpcmips.
Support VR4100.
	Support 16KB page.
	Support CPU without FPU.

Fix virtual alias problem(physio() case).

[new options]

options		MIPS3_4100	/* VR4100 core */
options		MIPS_16K_PAGE	/* enable kernel support for 16k pages  */
options		SOFTFLOAT 	/* No FPU; avoid touching FPU registers */
1999-09-25 00:00:37 +00:00
minoura
8da8dfb94f Could not compile w/ options M68060.
Supply -m68030 and -m68851 to the assembler.
1999-09-24 15:31:52 +00:00
is
497a2d0eaa Make this compile without 68060 support. Apparently, nobody has tried this for
a long time.
1999-09-24 06:24:34 +00:00
enami
c122d6ab9d Suggest to upgrade config(8). 1999-09-24 04:52:46 +00:00
nisimura
ff559f77f0 'KB' for kilo-bytes as humanize_number(). 1999-09-24 00:37:52 +00:00
frueauf
aa39b12fb0 add missing #include <compat/svr4/svr4_lwp.h>. Ok'd by Klaus Klein. 1999-09-23 16:37:04 +00:00
tron
dd82f86245 Add Realtek 8129/8139 driver to install kernel as suggested by
Patrick Welche in PR install/8477.
1999-09-23 16:09:13 +00:00
minoura
75c422ec6c Use m68k common cacheops.c. 1999-09-23 15:24:34 +00:00
minoura
be7984a052 First step toward network boot.
By Takeshi Nakayama <tn@catvmics.ne.jp>.
1999-09-23 15:14:57 +00:00
minoura
42b87a3a7d #ifndef _M68K_CACHEOPS_H_ - #endif. 1999-09-23 15:10:18 +00:00
minoura
536a2060af Protect some declarations by #ifdef _KERNEL. 1999-09-23 15:06:37 +00:00
takemura
8dd0eb62ce Add timezone info in bootinfo.
Delete raw writing 'OK' into frame buffer.
1999-09-23 08:30:58 +00:00
msaitoh
2f74c366d0 Fix RWKREG register reset code in resettodr(). 1999-09-23 05:34:03 +00:00
uch
7a074afddc Change indent. no code changes. 1999-09-22 12:49:48 +00:00
tsubai
eb6af46461 Don't set sr[BL] to 1 in cpu_switch().
Optimizations.
1999-09-22 08:57:49 +00:00
leo
364d7ca19d Make sure the pointer to the cpu_label is not NULL before trying to use it. 1999-09-22 07:20:44 +00:00
leo
9251fedf5d Do not enable VGA cards automatically. Since chances are high that they
claim overlapping memory areas. This causes only the 'console' VGA card
to be enabled.
1999-09-22 07:18:45 +00:00
leo
313488aee7 Reverse the order in which PCI cards are scanned. Now the order matches the
TOS-scan order. This causes TOS & NetBSD to use the same video card on
a system with multiple VGA cards.
1999-09-22 07:15:43 +00:00
mhitch
fd6f19b057 Correct the clock speed setting: the GPI2 bit is only for the Alpha baseboard
TCDS;  the TC option card has it's own clock.

Also don't use the TCDSF_FASTSCSI flag to clear fast mode - just rely on the
PROM environment.
1999-09-22 03:32:42 +00:00
mhitch
ba734be86b Use the correct definition for the Fast Clock bit in cfg3, and set the
Fast SCSI bit used by the 53C9x chips.
1999-09-22 03:32:26 +00:00
tron
d889983e60 Small enhancement to the mcount() function to make profiling of assembler
functions easier. Patch supplied by Richard Earnshaw in PR port-arm32/8462.
1999-09-21 22:15:11 +00:00
scw
b85d5442ca Add #ifdef _KERNEL around the spln() macros. 1999-09-21 18:49:19 +00:00
ragge
7c80a2ddec Nuke unnused file. 1999-09-21 18:08:37 +00:00
ragge
3455a353f9 Fix minphys() on vax. While here, convert to bus.h. 1999-09-21 18:07:54 +00:00
tsubai
0afae6fc87 Move common parts of machdep.c to sh3_machdep.c. 1999-09-21 13:16:15 +00:00
tsubai
efb6bddd34 lcsplx() should return old cpl... 1999-09-21 12:36:32 +00:00
tsubai
47e2bdfea4 Add %INCLUDES.
Compile tcp_input.c with only -O1 to avoid gcc bug.
1999-09-21 11:52:21 +00:00
dbj
1ddcb8ee87 added a couple of functions missed when chuq removed PMAP_NEW 1999-09-21 11:03:53 +00:00
nisimura
389197ef79 Fix minor typos. 1999-09-21 02:29:41 +00:00
matt
4d95a06139 Need to pull in <sys/kernel.h> for definition of cold. 1999-09-21 00:10:39 +00:00
is
6f84613972 replace inline asm by macro calls, that expand to the original inline asm
or to C replacements depending on the USE_C_BFOPS option.
The C replacement only works for our 8 bit wide fonts.
1999-09-20 23:17:13 +00:00
thorpej
dfdb204ae2 Declare and clear `cold' in a centralized place. 1999-09-20 18:29:21 +00:00
drochner
2576aadde3 add missing break, spotted by Wolfgang Solfrank 1999-09-20 16:07:45 +00:00
matt
9ac5036f93 Make the DEFPA run under the macppc port (tested on a B&W G3). Add it to
the GENERIC config file.
1999-09-19 22:02:37 +00:00
ad
117b17fafc Document PCDISPLAY_SOFTCURSOR. 1999-09-19 21:50:05 +00:00
thorpej
1b38b2e234 Remove ipfilter, add IPv6 and IPSec. 1999-09-19 21:20:43 +00:00
thorpej
64c5200dba Correct a comment: aging `basalt' is no longer a file server, but now
just a mere workstation.
1999-09-19 21:13:44 +00:00
thorpej
d65238f17d Add SYSV* IPC options. 1999-09-19 21:12:43 +00:00
chs
fb1cb1ede1 fix a prototype that was missed in the pmap_extract() API change. 1999-09-19 19:06:19 +00:00
chs
b42715c204 fix something that was missed in the PMAP_NEW cleanup. 1999-09-19 19:05:44 +00:00
scw
b8cb8025c3 intoa.c is now required in the standalone library. 1999-09-19 09:57:52 +00:00
ross
add81fb25a New -s option. Arranges for the 64-bit alpha checksum to contain within it
an embedded 16-bit sparc checksum and 16-bit sparc magic number.
See also: rev 1.16
1999-09-19 04:54:57 +00:00
ross
9ff31ad0f5 New option: -s
.
Makes the 64-bit alpha checksum magically contain an embedded 16-bit
Sun (NetBSD/sparc) compatible magic number and checksum. This is the
last piece in the "boot one disk from alpha, sun, and i386" problem.
.
And for those who told me this had been done before, :-P.  It turns out,
it was only done in the collective sense by multi-disk distributions.
1999-09-19 03:19:00 +00:00
shin
e088980de7 Bugfix: Initialize 'hz' to CLOCK_RATE. 1999-09-19 00:46:05 +00:00
scw
500d9b9508 Make the sd, cd and md major numbers match reallity. 1999-09-18 09:42:46 +00:00
scw
7b5b8ca772 Fix a (mostly harmless) NULL de-reference when no boot args supplied. 1999-09-18 09:39:55 +00:00
scw
5e755998cc Tidy up the ethernet buffer allocation code. 1999-09-18 09:37:35 +00:00
scw
af10a195af Make sure the '167 phys_seg_list entry for offboard memory is empty. 1999-09-18 09:35:44 +00:00
scw
a96f5614ab Make this compile again. 1999-09-18 09:26:00 +00:00
ad
e6f3bfaa3a N10's host interrupt register uses low nybble for interrupt cause, not the
entire word.
1999-09-18 01:50:24 +00:00
thorpej
11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00
tsubai
e9cc963b20 Small optimization. 1999-09-17 15:20:54 +00:00
tsubai
7bf9aa0fdf s/ _MMEYE_H_/ _MMEYE_MMEYE_H_/ 1999-09-17 12:16:37 +00:00
msaitoh
adc175c443 check SCI(F)CONSOLE 1999-09-17 01:23:00 +00:00
msaitoh
4a175ef57d options SCICONSOLE
options SCIFCONSOLE
1999-09-17 01:21:40 +00:00
msaitoh
9af0f68f52 - set nkpde from IOM_RAM_SIZE
- remove MMEYE_LED
1999-09-16 22:52:11 +00:00
msaitoh
4014b40eb8 cleanup 1999-09-16 21:39:24 +00:00
msaitoh
3323319940 add "device fdc {drive = -1}" for pcmcia 1999-09-16 21:31:29 +00:00
msaitoh
5a99c25885 sync with mmeye 1999-09-16 21:23:40 +00:00
msaitoh
29a76c3593 fix mask_irq() and unmask_irq() for SH7750 1999-09-16 21:22:40 +00:00
msaitoh
fd0dba8d22 sync with bscreg.h 1999-09-16 21:20:20 +00:00
msaitoh
31f498776d add "device fdc {drive = -1}" for pcmcia 1999-09-16 21:18:55 +00:00
msaitoh
f921a6e9c5 sync with tmureg.h 1999-09-16 21:17:46 +00:00
msaitoh
9211d6bed4 sync with sci*.h and tmureg.h 1999-09-16 21:17:26 +00:00
msaitoh
d9a70fd1dc cleanup 1999-09-16 21:15:36 +00:00
matt
458fefc5ad Compile the kernel for SHARKs optimized for strongarm. 1999-09-16 16:49:49 +00:00
chs
b9604a3f30 make this compile again after PMAP_NEW cleanup. 1999-09-16 14:52:06 +00:00
msaitoh
7977bd843d enclose tlbflush(), disable_intr() and enable_intr() with #ifder _KERNEL 1999-09-16 14:42:27 +00:00
minoura
15a7aff6f8 Sync (hp300). 1999-09-16 14:40:21 +00:00
takemura
6f19920b47 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-16 14:37:47 +00:00
minoura
da2dab0c10 Finish PMAP_NEW.
- Wrong argument to pmap_kremove (vm_machdep.c:pagemove()).
 - Uninitialized variable (pmap.c:pmap_kremove <- this should be fixed long ago...)
1999-09-16 14:35:42 +00:00
msaitoh
224d34b5e1 remove sh3/include/mmeye.h 1999-09-16 13:32:24 +00:00
msaitoh
ffbd08b126 remove extra Id 1999-09-16 12:48:35 +00:00
msaitoh
814f6b8936 add NetBSD RCS ID 1999-09-16 12:48:06 +00:00
takemura
db2b0adebd Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00
leo
f7fd8ced64 Remove FP-emulation from the TT-kernel. All TT's should have an FPU. 1999-09-16 12:00:04 +00:00
leo
b9b9cc8cb9 Make this compile again. 1999-09-16 11:58:49 +00:00
thorpej
3b01d1b872 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
tsubai
a1ab30136f Use MI loadfile. 1999-09-15 09:47:19 +00:00
chs
3bfa86cbc0 fix breakage from PMAP_NEW cleanup. 1999-09-14 17:11:45 +00:00
tsubai
67f4885c8c Sync with -current. 1999-09-14 11:21:26 +00:00
tsubai
17dc484c1c Sync with -current.
XXX root on nfs don't work, though root on wd0 works well.
1999-09-14 11:20:52 +00:00
tsubai
40905bd3ec Catch up with -current. 1999-09-14 10:22:34 +00:00
tron
5f94d21164 Fix typo in "#ifdef" in ie_read_frame() which prevented Berkeley Packet
Filters from working correctly. Fixes PR port-arm32/8343 by
Richard Earnshaw.
1999-09-13 20:17:35 +00:00
msaitoh
427928b3a1 add some comments. 1999-09-13 19:13:09 +00:00
msaitoh
7a7f9c0763 sh3/sh3/ -> sh3/dev change 1999-09-13 17:14:42 +00:00
msaitoh
ac3fe6d372 remove mainbus pseudo floppy drive 1999-09-13 16:26:17 +00:00
itojun
14971ca02a add local def for CXX. 1999-09-13 15:50:01 +00:00
itojun
8a72d1850e add compilation directory. 1999-09-13 10:45:30 +00:00
itojun
65363da25e Merge in NetBSD/sh3 from cvs.kame.net repository.
Tree structure:
- sys/arch/sh3: sh3 generic code
	As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
1999-09-13 10:30:21 +00:00
mark
eddd4afb9c Fix compile errors when ARM700BUGTRACK is defined. 1999-09-13 06:17:27 +00:00
mark
a212e2ddf3 Add ess plug and plug audio device.
Add wsmux device.
Add placeholders for more PCI cards.
1999-09-13 05:19:45 +00:00
chs
f3a668ed84 eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00