Commit Graph

24478 Commits

Author SHA1 Message Date
thorpej
40460ae8eb Need to provide CACHELINESIZE in _STANDALONE environments, too. 2000-11-16 19:02:33 +00:00
jdolecek
97669de104 make i386_nocpuid_cpus[] and i386_cpuid_cpus[] const - this pushes
another ~1.4KB to text section
2000-11-16 17:00:17 +00:00
jdolecek
def6d1b4ac Newer Intel PIII processors also make available Brand ID value through
cpuid instruction, which is used to differentiate between Celeron, common PIII
and PIII Xeon; recognize it and print appropriate info if applicable

Information taken from Intel's (R)
Intel Processor Identification and the CPUID Instruction, AP-485
2000-11-16 10:19:02 +00:00
jdolecek
a9ad986a90 Update cpuid table according to information sent by Scott Telford
in port-i386/11502, with only sligh change for Coppermine entry -
cpus with family 6, model 8 are not all Celerons, they can be
either common PIII, Xeon or Celeron
2000-11-16 09:06:17 +00:00
matt
9dd26cf7c4 It's hfs.c, not hfs. Add -I${.CURDIR} for objdirs. XXX hfs.c should
be integrated into libsa.
2000-11-16 07:36:04 +00:00
scottr
4db27b3da4 Enhance readability through consistent function parameter names and KNF.
There are no functional changes.
2000-11-16 07:04:12 +00:00
thorpej
d96bb89daf Use <powerpc/powerpc/trap_subr.S> 2000-11-16 05:34:03 +00:00
thorpej
216902b8d2 Trap routines from the macppc port, to be used by other PowerPC
ports (only amigappc's differs).
2000-11-16 05:33:04 +00:00
thorpej
eb04d01500 Add an lcsplx() ("splx for locore") like the other PowerPC ports
have.  This will allow us to share locore code with them.
2000-11-16 01:56:05 +00:00
scw
598ce19336 Doh! Revert all but the baudrate clock changes from that last commit;
a bunch of local stuff crept in.
2000-11-15 21:32:03 +00:00
jdolecek
ea9f7ed6d5 introduce SIGACTION_PS() macro - this is similar to SIGACTION(), but works
for (struct sigacts *) instead of (struct proc *)
2000-11-15 21:13:58 +00:00
thorpej
e6fa7f2fc8 Move the ISA DMA cookie into isadma_machdep.c. 2000-11-15 19:31:35 +00:00
thorpej
9298fd52fc Garbage-collect some more stuff. 2000-11-15 19:30:10 +00:00
pk
521b17daa6 Adjust OF_setprop() prototype. 2000-11-15 16:15:01 +00:00
pk
4a80a32735 Adjust setprop() prototype to match the one in dev/ofw/openfirm.h 2000-11-15 16:14:13 +00:00
pk
439b4b325a OF_getproplen(), OF_nextprop() and OF_setprop() prototypes are now in
dev/ofw/openfirm.h
2000-11-15 16:13:10 +00:00
pk
11eb59d511 Adjust setprop() prototype to match that in dev/ofw/openfirm.h 2000-11-15 16:12:01 +00:00
tsubai
ced4cea08e Fix an uninitialized variable reference. 2000-11-15 15:01:14 +00:00
tsubai
654fcfa344 Remove an unused variable. 2000-11-15 14:43:44 +00:00
tsubai
0d339b0df5 Screen console works now. 2000-11-15 14:29:40 +00:00
tsubai
9b85cc40d4 Keyboard and mouse support for news5000. 2000-11-15 14:04:05 +00:00
scottr
96cb29b773 As was the original intent a long, long time ago -- but in this galaxy, and
in fact on this planet -- generate a SIGILL for user-mode A-line traps.
The core of this change is taken verbatim from PR 10511, submitted by
Christian Bauer.
2000-11-15 07:15:36 +00:00
scottr
1609858811 The Cuda-based ADB hardware has the ability to queue some commands and
return control to the main CPU before completing the ADB transaction.
Double the adb_op_sync() timeout as a result.  Fixes PR 11310.
2000-11-15 06:35:51 +00:00
enami
038ca0a146 Make isa_machdep.c compile again. 2000-11-15 02:00:31 +00:00
enami
1ef516e9be Pull in uvm_extern for PAGE_SIZE. 2000-11-15 01:59:35 +00:00
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
matt
960800cbb8 Convert some spaces to tabs. 2000-11-15 00:49:31 +00:00
matt
e720f8addf Add MFS and vnd. 2000-11-15 00:46:35 +00:00
matt
dbe8de94a8 back out my change powerpc/conf/files.ofw. Enable the inclusion of
dev/ofw/files.ofw on macppc.  Add openfirm to ofppc/conf.c
2000-11-15 00:39:31 +00:00
matt
39dc5fc58b Add openfirm pseudo-device. 2000-11-14 23:42:35 +00:00
thorpej
990d23039d NBPG -> PAGE_SIZE. 2000-11-14 22:55:51 +00:00
thorpej
ec0069dd37 NBPG -> PAGE_SIZE 2000-11-14 22:55:05 +00:00
matt
8ba706bdfd Add rnd & openfirm to POWERMAC
Add openfirm and commmented-out firewire stuff to GENERIC
2000-11-14 22:33:24 +00:00
matt
ca735c9a04 Add initial support dual-CPU G4. At least finds 2nd CPU. 2000-11-14 21:55:25 +00:00
matt
6e88c0d0d6 Add a openfirm entry to conf.c 2000-11-14 21:46:09 +00:00
matt
58645ba248 Add support for /dev/openfirm.
Add OF_nextprop support.
2000-11-14 21:22:43 +00:00
pooka
56d104de33 add I2O to make config work again 2000-11-14 20:28:22 +00:00
augustss
eb9736c09a Add uscanner. 2000-11-14 19:52:04 +00:00
thorpej
fb50850754 We use 4K VM pages on the VAX. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:49:57 +00:00
thorpej
eff2f3d04f We use 4K pages on the x86k. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:47:25 +00:00
thorpej
c9ff0b7af1 Sun3 and Sun3x both use 8K pages. Make PAGE_* and friends into
compile-time constants.
2000-11-14 19:34:26 +00:00
thorpej
fc082857f5 '532 has 4K pages. Make PAGE_SIZE and friends into compile-time
constants.
2000-11-14 19:31:51 +00:00
thorpej
3d2726d992 We use 4K pages on the NeXT. Define PAGE_SIZE and friends to be
compile-time constants.
2000-11-14 19:29:00 +00:00
thorpej
091d40d586 We use 4K pages on the news68k. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:23:07 +00:00
thorpej
ecf0470012 We use 4K pages on the mvme68k. Override PAGE_SIZE and friends to
be compile-time constants.
2000-11-14 19:12:58 +00:00
thorpej
9f60ecd809 We use 4K pages on the mac68k. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:07:34 +00:00
thorpej
186d9e105e We use 4K pages on the hp300. Make PAGE_SIZE and friends
compile-time constants.
2000-11-14 19:03:22 +00:00
thorpej
e6da7eebba We use 8K pages on the Atari. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:01:09 +00:00
thorpej
f74dfc7755 We use 8K pages on the Amiga. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 18:58:29 +00:00
thorpej
cb38ab39ab We use 4K pages on MIPS systems (see mips_param.h), so override
PAGE_SIZE and friends to be compile-time constants.
2000-11-14 18:55:16 +00:00
thorpej
10b31e1ebc The i386 page size is fixed -- override PAGE_SIZE, et al, so that they
are compile-time constants.
2000-11-14 18:01:54 +00:00
tsubai
f744e6327a Correct VRAM size. 2000-11-14 15:32:03 +00:00
kleink
a5a6bbd1a8 Defopt BLINK. 2000-11-14 11:34:51 +00:00
tsubai
e3ae93dfd4 Add hfs support. Currently this layer simply throw the request to the OF
(and the OF recognizes HFS).
2000-11-14 11:25:34 +00:00
matt
edc0af8cd3 Add OF_nextprop and required conf-glue for /dev/openfirm. 2000-11-14 07:13:02 +00:00
thorpej
45804ccf0e A respectable GENERIC, loosely based on the macppc GENERIC. 2000-11-14 06:01:09 +00:00
tsubai
03fa172a01 No longer used. 2000-11-13 19:05:58 +00:00
abs
d72a269feb If we only ever have a strongarm CPU, use
makeoptions    COPTS="-O2 -march=armv4 -mtune=strongarm"
some files previously had
	makeoptions    COPTS="-O2 -march=strongarm -mtune=strongarm"
some had no option at all
2000-11-13 18:40:34 +00:00
tsubai
a564a7a2a9 Switch to wscons. 2000-11-13 16:48:41 +00:00
jdolecek
ec93c3dd25 when evaluating CPU speed, make the wait 0.1s instead of 1s - the accuracy
difference is like 0.008% on my system and the delay is now almost unnoticable:)
Discussed with Jason Thorpe, Frank van den Linden.
2000-11-13 16:40:40 +00:00
pk
db6832a4b6 Detect "EOF" conditions on the memory-special files. 2000-11-13 15:31:44 +00:00
minoura
21e684b743 New line discipline. 2000-11-13 15:20:28 +00:00
minoura
fd524293aa Look at opt_m680x0.h to determine whether to use -m68060 compiler option,
since options M68060 (etc.) is now defopt'ed.
Pointed out by NISHIMURA Takeshi <nsmrtks@comd.nara.sharp.co.jp>.
Use -m68020-60 instead of -m68060 to ensure not to use new instructions.
2000-11-13 14:47:14 +00:00
pk
84ee07379b Remove left-over turds from previous __P() cleanup. 2000-11-12 21:07:21 +00:00
mycroft
63270df506 Sync with GENERIC. 2000-11-12 06:52:37 +00:00
pk
258784289c This file is no longer needed; it's superseded by the MI mk48xx driver. 2000-11-11 12:34:22 +00:00
pk
d80d0a8b06 Print host ID in hex. 2000-11-11 12:24:07 +00:00
pk
f88b137bd5 De-__P() this file. 2000-11-11 12:19:20 +00:00
pk
53c656364f Switch to MI mk48xx and intersil7170 time-of-day clock drivers. 2000-11-11 12:14:03 +00:00
pk
109cb0fd5e Rename storage for the sun4 idprom structure to `sun4_idprom_store'. 2000-11-11 12:12:46 +00:00
scw
d7b439dff5 udp.c is now needed in SRC_sa. 2000-11-11 11:36:17 +00:00
pk
0d4a68ac9b Pull in the mk48txx and intersil7170 drivers. 2000-11-11 11:19:52 +00:00
sato
47ee1d1c1f update vrc4172 pwm unit codes.(but not yet completly) 2000-11-11 10:08:12 +00:00
tsutsui
96deb0588d Reduce NKMEMPAGES_MIN_DEFAULT. 2000-11-11 09:05:09 +00:00
sato
c8c49f7222 - vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
2000-11-11 04:42:08 +00:00
eeh
efaf3dbb74 Remove unnecessary header file that causes linker issues. 2000-11-10 17:47:55 +00:00
hannken
0ba0592864 Pull in dev/i2o/files.i2o. 2000-11-10 17:09:15 +00:00
eeh
132d16957c Clean up config and fix things so kbd.h is generated even w/no keyboard. 2000-11-10 16:05:40 +00:00
mrg
3ea4c67b6b remove unused variable 2000-11-10 11:57:26 +00:00
itojun
05b2e0b151 /t_line/t_linesw (typo) 2000-11-10 11:08:32 +00:00
enami
ce78591ae1 Cometic change; keep the code to process a second hunk closer to the first one. 2000-11-10 04:00:25 +00:00
enami
390c8adfbc Don't start next iteration while processing a first memory hunk since
there may be a second hunk.
2000-11-10 03:58:15 +00:00
scw
096c3068dd The ZS chips are actually clocked at 5MHz and 10MHz on mvme147 and
mvme162 respectively. Thanks to Neil Lubdan and a frequency counter. :-)
2000-11-09 19:51:57 +00:00
christos
0cf0dd1b80 put the suggestion message in uvm_page.c. There could be other reasons
why we are not able to find the end of memory.
2000-11-09 19:22:30 +00:00
kim
534a2fa4bb BIOS memory loading messages can be enabled with DEBUG_MEMLOAD.
Increase VM_PHYSSEG_MAX from 3 to 5 to avoid a panic.  Suggest
increasing VM_PHYSSEG_MAX in the panic message.
2000-11-09 17:34:51 +00:00
tsutsui
dd7146d50b On sun3x, cpu_reboot() calls sunmon_abort() for PROM bug work-around,
but sunmon_abort() does not restore mon_crp so it causes problems.
Instead, call romVectorPtr->abortEntry (via trap14) from sunmon_halt()
and call it from cpu_reboot().

Now PROM boot command works properly even after halt on my 3/80.
2000-11-09 14:38:44 +00:00
tsutsui
487ec97958 Make it possible to enable/disable DC_BE and IC_BE bits in %cacr at runtime
and enable them on news1200/1400/1500 (which have no L2cache).
2000-11-09 14:17:19 +00:00
tsutsui
42c617c5c6 Oops, fix botch in previous. 2000-11-09 13:32:06 +00:00
tsubai
eef7148644 Enable HID0_BTIC on 750 and 7400. 2000-11-09 11:58:09 +00:00
tsubai
b11322a19d powerpc HID registers definitions (only HID0 for now). 2000-11-09 11:49:13 +00:00
thorpej
aadf694c47 Fix a printf format. 2000-11-09 06:09:59 +00:00
thorpej
2951308623 Use 64-bit printf formats for paddr_t's. 2000-11-09 06:05:40 +00:00
thorpej
e654e96593 Use 64-bit printf formats for paddr_t's (for arc port). 2000-11-09 06:02:40 +00:00
matt
037cfa6d83 Fix a thinko or two i made a few days ago. I could have sworn i compiled
this. :)
2000-11-09 01:54:20 +00:00
matt
b9d975e3d2 NOMAN needs to be *before* we include bsd.own.mk 2000-11-09 01:52:55 +00:00
eeh
ccf7f1446f Fix ILP32 bug in probe_get(). 2000-11-09 00:35:02 +00:00
eeh
c3a041249b Enable clean up keyboard attach and make formatting prettier. 2000-11-09 00:06:47 +00:00
eeh
17b69d1833 Attach the sunkbd line discipline to zstty. 2000-11-09 00:02:54 +00:00
eeh
954a7b9824 Switch to sunkbd for both com and zstty. 2000-11-09 00:00:40 +00:00
eeh
71b0c155a0 Support for MI console magic framework. 2000-11-08 23:41:42 +00:00
eeh
052afce2a5 Use new MI console magic framework. 2000-11-08 23:40:31 +00:00
eeh
2b8da88d55 Remove debug printfs. 2000-11-08 23:24:12 +00:00
eeh
c98778939f Fix tty initialization. From Arne H Juul <arnej@fast.no>. 2000-11-08 23:21:38 +00:00
is
588900ab75 Remove some of the bitrot. 2000-11-08 21:50:25 +00:00
ad
33c21c5f16 Sort. 2000-11-08 21:47:25 +00:00
ad
36e51ea5c5 Add I2O stuff. 2000-11-08 19:50:07 +00:00
ad
e6be92ad99 Pull in dev/i2o/files.i2o. 2000-11-08 19:48:51 +00:00
tsubai
a88f368787 defopt L2CR_CONFIG. 2000-11-08 17:53:46 +00:00
wrstuden
10c4684193 Use wdc_print_modes() so that we get to see what DMA modes
are used with a drive.
2000-11-08 17:50:44 +00:00
tsutsui
25c36dbbbf Remove an unneeded include. 2000-11-08 14:37:08 +00:00
msaitoh
3ba9161ab2 check whether SH4_PCMCIA is defined or not.
fixes PR. 11441.
2000-11-08 01:03:03 +00:00
msaitoh
5cb13a674a add shpcmcia_mem*() for SH4_PCMCIA 2000-11-08 01:01:22 +00:00
matt
4feeea4377 Reduce maxusers to 12 (this is a single user kernel after all).
Remove COMPAT_13 since it's not needed.
2000-11-07 17:37:07 +00:00
matt
c62b76ce87 Switch from the old yucky ncr to the new good siop driver for 53c8xx. 2000-11-07 17:01:33 +00:00
nisimura
dfb8c2a44f Fix a minor typo in the previous change of tp->t_linesw introduction. 2000-11-07 09:23:21 +00:00
thorpej
5929990d15 Add `bktr'. 2000-11-07 06:02:24 +00:00
augustss
a00e309252 Fix speeling in cooment. 2000-11-06 22:10:03 +00:00
augustss
83bdca3a71 Print a newline after the random number speed message. 2000-11-06 22:01:31 +00:00
tsutsui
f1403ed3e2 Protect netisr by splnet(). 2000-11-06 16:54:28 +00:00
tsubai
760413cb15 "xa" frame buffer driver. 2000-11-06 15:00:28 +00:00
tsubai
532d1c33c2 Enter ddb after ddb_init() if -d is specified. 2000-11-06 12:35:21 +00:00
tsubai
7bfead48b0 Rearrange console selection code.
Now usb keyboard is preferred to adb.
2000-11-06 12:33:07 +00:00
matt
5a55a6ac60 Add files.ieee1394 2000-11-05 23:19:41 +00:00
matt
c135d1f282 Add files.ieee1394 2000-11-05 22:48:27 +00:00
thorpej
c60d6ae15b Machine pmc.h 2000-11-05 22:28:00 +00:00
thorpej
fa03f6e74d If we have a working cycle counter, compute the number of CPU
cycles in a second, and print the CPU speed.

Derived from similar code in FreeBSD.
2000-11-05 22:10:01 +00:00
onoe
e83458422f First Prototype implementation of network interface part for IEEE1394 (if_fw).
Current status:
	Only OHCI chip is supported (fwohci).
	ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
	sometimes works but not stable.
Not implemented yet:
	IRM (Isochronous Resource Manager) functionality.
	Link layer fragmentation.
	Topology map.
More to do:
	clean ups
	MCAP
	charactor device part
	dhcp

There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej
584c0d1319 Use <dev/sysmon/sysmonconf.h> 2000-11-05 04:08:48 +00:00
thorpej
f6099127b7 DELPHI -- one of my devel machines at Zembu Labs. This is an
example of how to configure the PC-Weasel driver into the kernel.
2000-11-05 03:51:14 +00:00
mhitch
b38f4a0528 From Andrew Doran:
Fix 2100/3100 monochrome font display problem.  Characters were being
rendered as a mirror-image, which was a bit hard to read.
2000-11-05 02:53:20 +00:00
tsutsui
87ebc281b2 Print which IRQ is used for compatibility interrupts. (from i386) 2000-11-04 14:05:55 +00:00
wrstuden
029bdd3185 Adjust to change in tty line discipline handling. 2000-11-03 18:50:49 +00:00
tsutsui
99fde8d00d Call ttymalloc() to initialize struct tty in bmcnattach(). 2000-11-03 18:26:32 +00:00
ad
3d193b190b - Pequr -> Serverworks. It pays to do a cvs update first...
- Pay attention only to the low byte of config reg 0x44 on Serverworks chips,
  as Linux does.
- Compress duplicatated code.
2000-11-03 17:28:02 +00:00
simonb
dde480911e Fix up line discipline change fallout. 2000-11-03 15:01:10 +00:00
tsubai
3d213115f4 Don't match if nintr > 12 (more than 3 cells). 2000-11-03 12:26:06 +00:00
tsubai
bcb05a2f55 Get 6 interrupt cells from OF. 2000-11-03 12:20:55 +00:00
abs
cee0acd601 Add
options         INET6           # IPV6
#options        IPSEC           # IP security
#options        IPSEC_ESP       # IP security (encryption part; define w/ IPSEC)
#options        IPSEC_DEBUG     # debug for IP security
In the case of VOYAGER, comment out INET6 also
2000-11-03 10:18:55 +00:00
tsutsui
343f07f2ac Fix some db_printf() format. 2000-11-03 06:27:34 +00:00
tsutsui
ff3b4a0dab Switch to MI md_root.c. Tested on RAMDISK3X kernel. 2000-11-03 05:52:42 +00:00
tsutsui
6bf0b47164 Fix typo in the previous revision. (s/LIdle/Lidle/) 2000-11-03 05:28:28 +00:00
tsutsui
0750f35353 Fix printf formats in panic messages. 2000-11-03 04:52:27 +00:00
simonb
be1c09c850 Use the canonical RF_PROTECTED_SECTORS #define hack. 2000-11-03 00:30:34 +00:00
mhitch
84f1b64ed1 VFB01 framebuffer is 2048 bits wide (but only displays the first 1024 bits
of each scan line).  Fix the fi_linebytes value to get the right size.
Fixes the 'compressed' display problem with the 2100/3100 monochrome display.
2000-11-02 23:37:08 +00:00
tsutsui
4ebb5f04e4 Fix typo in comment. 2000-11-02 21:18:03 +00:00
matt
2f33599840 Casting lvalues is evil. Do it the right way. 2000-11-02 17:04:28 +00:00
matt
ab1d1ef33d Add code to read the disklabel and add the beginning offset for A. Add
support for booting off a RAID root parition.
2000-11-02 17:01:47 +00:00
matt
fba0f63c68 Change the way we make machine-links so that only occurs when we are building
on VAX.
2000-11-02 17:00:24 +00:00
ragge
78e81aa036 Remove unused define. 2000-11-02 14:48:51 +00:00
tsubai
2fe4478f19 Don't assume 12x22 font. 2000-11-02 14:25:51 +00:00
msaitoh
d254039699 Add support stacktrace when a function contains "mov #n,r3; sub r3,r15" 2000-11-02 13:08:25 +00:00
thorpej
7c2615290b Add support for MS-DOS file system, but don't enable it by
default -- the resulting binary is too large, and thus does
not work.
2000-11-02 01:02:07 +00:00
eeh
8c3f6a0d10 Adapt to new line discipline scheme. 2000-11-02 00:37:56 +00:00
eeh
5d8e9b343a Adapt to the new line discipline scheme. 2000-11-02 00:35:04 +00:00
eeh
bc7363329c Adapt to new line discipline scheme. 2000-11-02 00:26:35 +00:00
eeh
b43f8c30e4 pmap_growkernel() needs to return the new end of kernel. 2000-11-02 00:24:05 +00:00
eeh
23a0c49039 Adapt to the new line discipline scheme. 2000-11-02 00:21:03 +00:00
tsubai
08e43d95ca Don't set M_HASFCS flag twice. 2000-11-01 20:21:58 +00:00
pk
b37856ac0e Update comment accompanying the SUN4_MMU3L option. 2000-11-01 14:34:22 +00:00
ragge
8aed9a24ac Define NO_MID_CHECK, to allow booting of old VAX kernels with other (or
none) mid.
2000-11-01 14:25:38 +00:00
ragge
d89e5a54ad Start address must be == 0, otherwise loading on some MicroVAXen will
fail (boot program loaded at address 0 anyway, but tries to start at
the compiled entry point).
2000-11-01 14:06:44 +00:00
ragge
a0bc5f5454 Declare revision correctly. 2000-11-01 14:04:28 +00:00
abs
0b8ff41f41 Recalculate NVRAM checksum when updating the NVRAM. Avoids 'reboot'
and 'halt' corruptring the NVRAM contents under RISC OS 4.
Taken from patch by Dave Daniels for PR/8759
2000-11-01 12:28:50 +00:00
abs
e997060c61 Fix hanging problem with acorn scsi card on RiscPC and A7000 machines
PR port-arm32/10539 from Mike Pumford
2000-11-01 12:18:55 +00:00
leo
716d4c3866 Do not pull-in machine/intr.h when _KERNEL is not defined. This fixes
compilation problems in the regression tests.
2000-11-01 12:08:16 +00:00
mycroft
9572bf6261 These are incredibly out of date. 2000-11-01 07:58:42 +00:00
mycroft
204e210aef Enable DDB history by default. 2000-11-01 06:57:56 +00:00
eeh
ec079ca021 Pass on the sbus frequency. 2000-11-01 06:27:45 +00:00
eeh
b19423f823 Pass along bus frequency. 2000-11-01 06:19:59 +00:00
mycroft
94abfa5119 Actually attach the audio device... 2000-11-01 05:28:09 +00:00
mycroft
e964414bc8 (Oops. There's no other audio support in this config.) 2000-11-01 04:34:41 +00:00
mycroft
105e2e4e4d Add awacs. 2000-11-01 04:31:20 +00:00
jeffs
196e858c40 Add mips_pagecopy/zero assembly loops for use by pmap_copy/zero_page*()
to allow the almost-64-bit compilation use ld/sd.
2000-10-31 23:39:24 +00:00
pk
47e4ec04e2 Dispose of `boot.net.big'. 2000-10-31 23:29:36 +00:00
pk
4bddbd7e5f Align the DVMA mapping on NBPSG boundaries. 2000-10-31 23:28:11 +00:00
pk
628fe3035f Change the relocation address of `boot' once again to steer clear of
memory used by the PROM on sun4 and early sun4c machines.
2000-10-31 23:21:47 +00:00
jeffs
50e0133709 At the end of pmap_zero/copy_page() use hit instead of index op when
running with multi-way caches.  Since we know the ops will mostly
hit as we just dirtied those lines a single hit op is cheaper than
an index op for each way.
2000-10-31 23:16:31 +00:00
jeffs
5ca84b9d89 Add MIPS3_NO_PV_UNCACHED option to handle virtual coherency issues by
only allowing one mapping at a time instead of mapping uncached.  Done
by removing conflicting mappings from the pmap when entering a new
mapping.  UVM will remember and re-fault the requested page when needed
for the original mapping.  Originally done to support our internal machine
that does not support uncached memory completely.  Not enabled by default
currently.  It may make sense to try on the cobalt or sgi ports.
2000-10-31 22:46:35 +00:00
pk
f4dbaa7ac3 This file now lives in sys/dev/sun. 2000-10-31 21:55:14 +00:00
jeffs
11ef576801 Add mips_indexof() macro to make code for checking the cache index
easier to read.
2000-10-31 21:21:10 +00:00
ragge
b43932dec2 If a process is locked into memory with mlockall() (like ntpd is)
pmap_enter() will get called trying to wire an already wired page again
if sysctl() is called. To avoid a panic the "wired" check is moved after
the double-mapping check.
2000-10-31 20:15:09 +00:00
tsubai
b4b571ccb9 Match "chrp,mesh0". 2000-10-31 16:57:07 +00:00
fvdl
69e9b0392f Sync INSTALL with GENERIC and INSTALL_LAPTOP with GENERIC_LAPTOP with
regard to wireless network interfaces and pcic iomem size (i.e.
bump iomem to 0x1000 and enable cnw, awi and ray).
2000-10-31 15:54:50 +00:00
msaitoh
d191cbf210 add interrupt mode into wdog
To use:

	ioctl(fd, SIOWDOGSETMODE, &val)

	val:	WDOGM_RESET	-> reset when counter expired
		WDOGM_INTR	-> print PC when counter expired (new!)

This interface is still under experimental.
2000-10-31 02:04:12 +00:00
msaitoh
ec7e30e271 fix compile problem on SH3 (from Atsushi Noda) 2000-10-31 01:18:02 +00:00
msaitoh
13bed0a344 - fix error handing in getc.
Now we can handle BREAK signal and framing error correctly.

- cleanup.
2000-10-31 01:08:41 +00:00
pk
62dddfec3c Enable sun4 support and VME devices. 2000-10-30 23:23:15 +00:00
aymeric
79041c7a30 add a semicolon to make this compile again 2000-10-30 14:40:33 +00:00
tsubai
8853c17400 Add dmac for spifi. (commented out) 2000-10-30 10:16:31 +00:00
tsubai
123fba3de1 Add spifi SCSI (commented out yet). 2000-10-30 10:14:44 +00:00
tsubai
c6c547497d NEWS5000 internal SCSI driver. 2000-10-30 10:07:35 +00:00
lukem
b14a596beb Add support for booting off RAIDframe RAID1 mirrors. Check the first partition
type in biosdiskopen(), and if it is of type FS_RAID, add 64 to d->b_off.

NOTE: installboot(8) still needs some hacking to DTRT, but at least this way
if you can load "/boot" off another partition (e.g, wd0h), then wd0a can be
of type `RAID' with a raidframe mirror at the start and the kernel
will load OK of wd0a, and with raidctl -A root partitions, it will change
root as well.
2000-10-30 07:30:59 +00:00
thorpej
10203d4eca Change the RNG callout -- don't spin until data is available. If
none is available, just wait until the next clock tick.
2000-10-30 00:26:04 +00:00
eeh
400b7c8ee0 Add pmap_growkernel(). 2000-10-29 23:30:35 +00:00
tsutsui
89c951fa08 Switch to MI md_root.c. Checked by booting INSTALL kernel. 2000-10-29 12:36:35 +00:00
shin
1ddfbf7e96 fix cp0 hazard.
R4000 requires 3 nops between tlbr and dmfc0.
2000-10-29 08:01:29 +00:00
tsutsui
51d748392f Switch to sys/dev/md_root.c. Tested on an INSTALL kernel. 2000-10-29 01:39:19 +00:00
eeh
9746513520 Add bpp and make com match the sparc port. 2000-10-28 23:19:31 +00:00
tsutsui
5013e5d7f2 Enable options SOFTDEP. 2000-10-28 22:42:08 +00:00
tsubai
784da8d158 Use "doze" power-saving mode on 750 and 7400. 2000-10-28 21:57:43 +00:00