tv
ab415393d3
ep' has
plug-and-play' support on all buses, including non-PnP ISA.
...
Attach ep* at isa instead of ep0, so we will autoconfigure all 3c5x9s.
2000-05-28 02:42:16 +00:00
mycroft
6a082e4797
Clear %ebp in the forked child, so we don't try to unwind past it.
2000-05-27 23:01:44 +00:00
scw
a5a054f2c9
Nuke HP_SEG_SIZE. Use NBSEG instead (as used by m68k_trunc_seg() et al),
...
which takes into account the mmu type.
2000-05-27 22:37:47 +00:00
he
5dedafcecd
Add missing semicolon.
2000-05-27 21:46:42 +00:00
ragge
26acf7f88a
Only map in map registers and the I/O page if they are not mapped in already.
2000-05-27 21:44:35 +00:00
ragge
8293b12111
Write kvtopte() and kvtophys() as inline assembler. GCC create quite bad
...
code for them, and they are only 2-3 instructions each if written by hand.
2000-05-27 21:17:06 +00:00
matt
22519583f3
Add tadpole specific devices.
2000-05-27 20:56:51 +00:00
ragge
6cfde8f146
Remove the pcbtrap global variable, use a per-CPU variable instead.
2000-05-27 20:02:58 +00:00
jhawk
3ac3c9b124
Oops, omitted the rename from last.
...
Function in this file is db_stack_trace_print(),
not db_stack_trace_cmd().
2000-05-27 16:44:41 +00:00
ragge
98d0ab9e1c
Use machine instead of vax in include path.
2000-05-27 16:44:14 +00:00
ragge
99baa81ae7
Rewrite cpu_fork(), it now looks like and works as other ports' cpu_fork()
...
(calling child_return() etc...). Have fun, Jason!
2000-05-27 16:33:04 +00:00
scw
8e7a493bbc
Protect against multiple inclusion.
2000-05-27 14:45:36 +00:00
scw
48c1f20cf8
s/schedcpu_percpu/schedstate_percpu/
2000-05-27 14:25:00 +00:00
mason
972014e5a8
Make compile after scheduler state cleanup.
2000-05-27 11:44:54 +00:00
jdolecek
c5d51d433e
fix prototype for fd_mod_free() - should fix port-mac68k/10063
2000-05-27 10:25:15 +00:00
ragge
aacf5a4bc1
Growel out the SCSI BUS ID from NVRAM instead of hard-code it.
2000-05-27 10:12:45 +00:00
thorpej
5410ee3607
Update a couple of comments for reality.
2000-05-27 06:29:35 +00:00
thorpej
21fc65e1a8
sleep() -> tsleep()
2000-05-27 04:52:27 +00:00
thorpej
b3b7588160
Don't use sleep() and callouts; just use tsleep().
2000-05-27 04:42:14 +00:00
soren
4a6fea14b4
Correct ones, even.
2000-05-27 03:53:11 +00:00
soren
c77afc79a4
Forgot to define sd and cd majors.
2000-05-27 03:52:26 +00:00
matt
fa1474c2eb
This need <sys/sched.h> to compile.
2000-05-27 03:23:22 +00:00
soren
39b5e9b4a2
ncr(4) wouldn't work, so s/ncr/siop/.
2000-05-27 02:19:34 +00:00
enami
2e535006c1
No longer need to include sys/types.h.
2000-05-27 02:18:12 +00:00
soren
96a81498cf
Remove stacktrace() prototype.
2000-05-27 02:16:25 +00:00
soren
355d1234b9
The datap argument to the write_{multi,region} calls is const.
2000-05-27 02:15:01 +00:00
soren
92a32ad9b2
Protect against multiple inclusion.
2000-05-27 02:14:22 +00:00
soren
630f6535cd
Match a comment with the MIPS3 version.
2000-05-27 02:13:46 +00:00
soren
dc83d17889
Include <sys/param.h> to make the new cpu.h happy.
2000-05-27 02:13:12 +00:00
sommerfeld
40339b39f9
Reduce use of curproc in several places:
...
- Change ktrace interface to pass in the current process, rather than
p->p_tracep, since the various ktr* function need curproc anyway.
- Add curproc as a parameter to mi_switch() since all callers had it
handy anyway.
- Add a second proc argument for inferior() since callers all had
curproc handy.
Also, miscellaneous cleanups in ktrace:
- ktrace now always uses file-based, rather than vnode-based I/O
(simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD.
Do non-blocking I/O, and yield a finite number of times when receiving
EWOULDBLOCK before giving up.
- move code duplicated between sys_fktrace and sys_ktrace into ktrace_common.
- simplify interface to ktrwrite()
2000-05-27 00:40:29 +00:00
cgd
5f23f3b392
Fix typo: 68681, not 68881. (I'm a UART, Jim, not an FPU!!!)
2000-05-26 23:03:18 +00:00
eeh
907ed5fa81
Add `-D' flag to drop to the PROM before jumping to the kernel.
2000-05-26 22:59:51 +00:00
thorpej
a7d0570e67
First sweep at scheduler state cleanup. Collect MI scheduler
...
state into global and per-CPU scheduler state:
- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.
- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).
- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.
- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.
Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
ragge
02512fa1e9
Correct a comparision.
2000-05-26 21:05:23 +00:00
ragge
4eea61af11
If we panic before the vsbus is found, don't panic again.
2000-05-26 21:05:01 +00:00
jdolecek
2649f518ec
note in BIG WARNING LETTERS that MCA support is experimental and the
...
kernel should only be used for experimentation
comment out some stuff not present or used on my development machine
g/c ef
add (commented out) aha attachment
2000-05-26 20:59:07 +00:00
mhitch
5228efa47e
Fix typo (stray " where it shouldn't be).
2000-05-26 20:59:00 +00:00
ragge
1e700bc362
Make it compile again.
2000-05-26 20:51:25 +00:00
ragge
b2bc655ba8
Fake success when trying to use the strategy() routine on a network device.
...
This avoids clobbering errno and bad error messages.
2000-05-26 20:18:57 +00:00
ragge
e2148b38ab
Don't init the net info more than once.
2000-05-26 20:16:46 +00:00
ragge
b8b40eed22
Avoid hanging if boot fails on some machines.
2000-05-26 20:15:21 +00:00
tsutsui
446a3875db
Back out privious.
...
fxp on CATS sometimes causes pool related panic().
2000-05-26 19:01:22 +00:00
thorpej
a787870607
From tusbai@netbsd.org:
...
Simplify SONPROC change. (and now compiles)
2000-05-26 12:57:11 +00:00
tsubai
6aced393a3
Simplify SONPROC change. (and now compiles)
2000-05-26 08:40:10 +00:00
thorpej
7d2fdbcb55
Don't set `runtime' here; it's done at the end of mi_switch().
...
cvS: ----------------------------------------------------------------------
2000-05-26 05:27:29 +00:00
jhawk
8e44b27348
Rename the machine-specific stack trace printing functions
...
from db_stack_trace_cmd() to db_stack_trace_print(),
and add an additional argument, a function pointer for an
output routine (i.e. printf() or db_printf()).
Add db_stack_trace_cmd() in db_command.[ch], calling
db_stack_trace_print() with db_printf() as the printer.
Move count==-1 special handling from db_stack_trace_print() [nee
db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here].
Again, I'm unable to test compilation on all affected platforms,
so advance apologies for potential brokenness.
2000-05-26 03:34:24 +00:00
jhawk
285fe9436f
In callback for db_printsym(), use db_printf() rather than printf() [oops].
2000-05-26 02:10:18 +00:00
thorpej
8964c35eca
Introduce a new process state distinct from SRUN called SONPROC
...
which indicates that the process is actually running on a
processor. Test against SONPROC as appropriate rather than
combinations of SRUN and curproc. Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
2000-05-26 00:36:42 +00:00
tsutsui
56dfe42d8d
Add epic* at pci.
2000-05-26 00:22:06 +00:00
is
0ce3451d1f
Initial AmigaPPC commit.
...
Lots of the work was done by Adam Ciarcinsky.
Currently, this only supports CyberPPC boards by Phase 5. Blizzard PPC
expected later.
The kernel is useless but for demonstrating that it starts... especially
interupts, and most of MMU support, is not in yet. Builtin console works,
however, and you can look at the kernel startup messages.
2000-05-25 22:11:57 +00:00
is
8a6db88c1d
Prepare for AmigaPPC.
2000-05-25 21:10:14 +00:00
matt
37be92c0d1
Add loadfile() support. soon to be needed by bootblocks.
2000-05-25 20:25:22 +00:00
jhawk
f3528d725d
Interface change: db_printsym() takes a third argument, pr, a function
...
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriate output
function.
While straightforward, apologies in advance if I've introduced any minor
syntax errors; I was unable to test compilation this on all the affected
platforms.
2000-05-25 19:57:30 +00:00
matt
091b74891d
Modify the file list for kernel to supress errors/text for certain ones.
2000-05-25 19:36:20 +00:00
is
f0d88bea57
Prepare for AmigaPPC.
2000-05-25 19:10:04 +00:00
is
da281d4321
Prepare for AmigaPPC.
2000-05-25 18:39:09 +00:00
thorpej
6ec6c6f90a
Move common return-to-userland goo into userret(), like other ports.
2000-05-25 17:01:11 +00:00
mycroft
57f3751ca1
Add ipfilter-related stuff.
2000-05-25 16:33:13 +00:00
tsutsui
e747c390f0
Enable fxp* at pci and inphy* at mii.
2000-05-25 14:50:34 +00:00
tsutsui
4a42668b31
Add fxp* at pci.
2000-05-25 09:09:28 +00:00
itohy
c72407329e
Treat receiver overrun of MFP (clear the error).
...
Although the keyboard hardware seems to be designed to avoid
overrun, the errors sometimes occur.
2000-05-25 03:33:27 +00:00
itohy
61363bb1c6
Fix the problem where pressing a key at
...
scsibus0: waiting 2 seconds for devices to settle...
message during boot crashes the system.
This is because ite_filter() is called before init(8) opens the console.
2000-05-25 03:30:19 +00:00
simonb
52e7cddaa7
Fix kernel profiling so that it actually works:
...
- Add 16 bytes to the stack on entry to _mcount so we don't
overflow it.
- Use inline interrupt {dis,en}abling instead of calling
profiled function in locore.
2000-05-25 03:07:10 +00:00
mason
af43639ded
Fixed typo in ses comment - devies -> devices
2000-05-25 01:34:18 +00:00
eeh
ca743bac9a
Use the PCI function code to distinguish simba bus A from bus B instead
...
of the current hack.
2000-05-24 20:27:52 +00:00
eeh
c965d1deec
If we have sparse PCI spaces we can run out of IO map space when mapping
...
PCI config space. Since PCI config space is mostly used by PCI bus drivers,
we won't actually map it in. Instead we use MMU bypass ASI accesses to read
and write PCI config space.
2000-05-24 20:24:58 +00:00
ragge
e256727fb2
Four more instructions makes it possible to boot old kernels also.
2000-05-24 19:53:11 +00:00
is
ebc6483ef9
missed one line when converting m68k asm() to macro calls.
2000-05-24 19:36:29 +00:00
soren
a20a3b38fd
Appease gcc.
2000-05-24 18:42:03 +00:00
thorpej
e1284ac3c2
Add a comment before the call to preempt() to be consistent with
...
other ports (i.e. I just added the comment, and arm26 already used
preempt).
2000-05-24 17:29:41 +00:00
thorpej
7f4eca2d94
Use preempt(), not an open-coded equivalent (which won't be
...
equivalent for long).
2000-05-24 17:28:05 +00:00
thorpej
1140468205
Use preempt(), not an open-coded equivalent (which won't be
...
equivalent for long).
2000-05-24 16:48:33 +00:00
matt
83ae868133
Add some debug stuff. Disable SCSI on KA49 for now until I can figure out
...
why it doesn't work.
2000-05-23 23:47:28 +00:00
matt
62469cb55a
Allow for boot.vax and netbsd.vax when booting. this allows a multi
...
architecture CD to be made which includes VAX support.
2000-05-23 23:34:20 +00:00
matt
27a876b17c
boot detection moved autoconf.c; remove it from here.
2000-05-23 21:36:43 +00:00
matt
6f98bbbb09
Add some missing ifdef's.
2000-05-23 19:55:55 +00:00
tsubai
06d1fe06b3
Remove __BROKEN_DK_ESTABLISH.
2000-05-23 13:27:16 +00:00
tsubai
b906075964
Compile dk_* functions only when __BROKEN_DK_ESTABLISH is defined.
2000-05-23 13:25:43 +00:00
tsubai
f12221a5f5
Modify DMA access timings.
2000-05-23 13:20:58 +00:00
pk
1273031c4d
Simplify the bus_dma(9) implementation:
...
- the `alignment' and `boundary' arguments in bus_dmamem_alloc() only
serve as hints on how to break up a DMA transaction into chunks
when necessary; it is not necessary on sparc DVMA hardware.
- exclusively use the VM page size (i.e. PAGE_SIZE et.al.) when computing
resource allocations.
- remember the size of DVMA resource allocations in the private `_ds_sgsize'
field in a dma segment descriptor.
2000-05-23 11:39:57 +00:00
thorpej
f6cea17c36
Rename the atomic operations to have generic machine-independent
...
names, and define __HAVE_ATOMIC_OPERATIONS to indicate their
existence.
2000-05-23 05:12:53 +00:00
eeh
8b4fa50a4d
Need to be able to turn off pcons.
2000-05-23 05:11:28 +00:00
thorpej
d3ea31501b
Add an MP version of this config, and add come commented out
...
debugging options.
2000-05-23 05:01:56 +00:00
soren
a255740671
MachForceCacheUpdate and cacheflush_bug have never been used in NetBSD,
...
so remove references them, and do a little other cleanup.
2000-05-23 04:21:39 +00:00
thorpej
0aae1fb638
Note that KN300 is also for AlphaServer 1200.
2000-05-23 02:04:28 +00:00
thorpej
b97e178455
Add kernel config for my AlphaServer 1200 MP hacking box.
2000-05-23 02:02:41 +00:00
pk
8c39bf5d24
MicroSPARC 1 cache issues:
...
- mark as CPUFLG_CACHE_MANDATORY to avoid cache inconsistencies in
pmap_{zero,copy}_page().
- compute caching alias bits correctly
- add experimental optimisation in ms1_cache_flush().
2000-05-22 22:03:32 +00:00
thorpej
2c49ab816e
When checking for netboot, also check for MOP protocol.
2000-05-22 20:13:31 +00:00
thorpej
800573dc5f
Normalize determination of scsiboot and netboot.
2000-05-22 20:09:12 +00:00
eeh
62d33e59ff
Align things pessimistically so a 64-bit kernel will accept symbols from a 32-bit loader.
2000-05-22 19:15:33 +00:00
uch
27a7fbff47
debug frame buffer draw routines moved to video_subr.c.
...
plumvideo also use it.
2000-05-22 17:17:44 +00:00
thorpej
09e72ae7e2
Remove the adjustment of VM_PHYS_SIZE for `large memory machines'. The
...
only adjustment that was really necessary was for VM_KMEM_SIZE, and that
is no longer necessary because there is now generic auto-sizing for
kmem_map.
2000-05-22 17:13:53 +00:00
thorpej
920010ad8f
Add SCSI Enclosure Services at cdev minor 74.
2000-05-22 16:58:20 +00:00
thorpej
78112e2541
Add `ses' (SCSI Enclosure Services) device.
2000-05-22 16:48:41 +00:00
thorpej
7e078f081c
Kernel config for my Alphastation 200 file server + wireless network
...
gateway.
2000-05-22 16:46:11 +00:00
thorpej
20241c549c
These systems haven't been available to NetBSD/alpha developers
...
for a very very very long time, and there are more up-to-date
example configs for the BUNNY case.
2000-05-22 16:45:30 +00:00
thorpej
61ae567197
Rename CANE to MINI-ME to reflect that my Multia hasn't been
...
parked at my (former) NASA office for quite some time.
2000-05-22 16:38:24 +00:00
thorpej
b0600483b9
bishop.nas.nasa.gov and nostromo.nas.nasa.gov are no more.
2000-05-22 16:35:25 +00:00
matt
88352edc02
Add prototype for findcpu in _STANDALONE.
2000-05-22 15:55:52 +00:00
matt
8c22116924
cpp can be so annoying. to appease it, can't -> cannot
2000-05-22 15:54:53 +00:00
matt
7a0c7ff6f9
get rid of a double /
2000-05-22 15:42:37 +00:00
matt
09d6519a0f
make the declaration of findcpu() ansi. (e.g add void to it).
2000-05-22 15:41:31 +00:00
matt
5ece00b8bc
Obviously we don't use the symbol, but we might give it the correct value.
...
We support up to NVAX platforms.
2000-05-22 15:40:06 +00:00
matt
2d5c3f8447
Move BDEV_LE detection to here.
2000-05-22 15:38:47 +00:00
matt
cb089ee017
Remove RPB hook from here and put in autoconf.c
2000-05-22 15:34:05 +00:00
matt
ff7c474e11
The double / in the path has been bothering me for awhile.
2000-05-22 15:33:13 +00:00
uch
c70d727504
regen.
2000-05-22 15:05:37 +00:00
uch
af2b106d9a
Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries.
2000-05-22 15:03:46 +00:00
uch
817c8734c5
fix comment.
2000-05-22 07:40:41 +00:00
mrg
296eaaa36d
add two new CPU_ISXXX versions: CPU_ISSUN4U, CPU_ISSUN4MOR4U
2000-05-22 02:35:23 +00:00
ragge
f506422549
Boot device recognition for DEUNA added; combined with some cleanup.
2000-05-21 20:18:49 +00:00
ragge
314caa6651
Standalone driver for the Digital Equipment Unibus Network Adapter (DEUNA).
...
This allows 11/750 owners to install from a single TU58 cassette.
(Are there still any 11/750 owners left out there? :-)
2000-05-21 20:17:43 +00:00
perry
2a9fe3a4e7
Actually return the BIOS error code (if any) generated by the reads
2000-05-21 16:59:28 +00:00
jhawk
24396ea653
revert 1.21 (back to 1.20);
...
the problem was due to diskbuf[] getting pushed over a 64k
boundary, and has now been fixed (for the moment).
2000-05-21 16:33:12 +00:00
jhawk
07a3d660c5
This change courtesy of Charles Hannum <root@ihack.net>. This
...
addresses the problems seen by Jason Thorpe <thorpej@netbsd.org> and
Erik Berls <cyber@netbsd.org> necessitating rev 1.20 of
biosboot/main.c.
Move BOOTSEG from 0x100 to 0x1000.
Move heap from 0x10000 to 0x20000.
XXXXXXXX
This is a Kluge From Hell to allow boot blocks to grow a little larger
without diskbuf[] crossing a 64k boundary.
2000-05-21 16:29:14 +00:00
eeh
3cee90e0e1
Need to provide a consdev to the cons_attach_input call now.
2000-05-21 14:36:15 +00:00
uch
fb077d8092
change TX3922 D-cache mode to write-through.
2000-05-21 11:53:00 +00:00
uch
7b768bd6e8
recognize 32MByte D-RAM.
2000-05-21 11:24:45 +00:00
uch
060197b367
Get LCD size from PLUM2 Display control register.
2000-05-21 11:22:25 +00:00
ragge
da774180b6
Compare the boot address with 1) physical address and 2) correct variable.
2000-05-21 10:03:55 +00:00
ragge
d901690b17
Remove forgotten debug printf.
2000-05-21 09:45:54 +00:00
ragge
0b560b2138
Set correct adapter addresses if none is given.
2000-05-21 09:45:34 +00:00
ragge
93753c91c0
11/750 fixes:
...
- Set the correct adapter address in RPB for Unibus devices.
- Repair the disk read routines for HP disks. ROM routines do not work
on HP disks, therefore use a small home-written routine.
2000-05-21 09:44:16 +00:00
ragge
f7b7cabc0b
On the 11/750, the stack will be placed by ROM in the code area.
...
Start with moving it to a safe place.
2000-05-21 08:13:20 +00:00
soren
f598aece87
MIPS 'mach halt' does nothing MD, so nuke it.
2000-05-21 05:41:25 +00:00
soren
6aba4259b6
R10K has 64 TLBs.
2000-05-21 04:25:57 +00:00
soren
abbe53961a
Add R12K PRID.
2000-05-21 04:03:34 +00:00
soren
81fa4aa07f
Populate the cputype defopt (not enabled yet).
2000-05-21 03:31:35 +00:00
soren
2779a53005
Include opt_cputype.h.
2000-05-21 03:23:15 +00:00
soren
7ea4a2b744
Fix RCS ID line.
2000-05-21 02:51:58 +00:00
soren
b70819c71a
Also share BE ldscripts.
2000-05-21 02:50:10 +00:00
augustss
bdc8c2f8f4
Alphabetize.
2000-05-20 21:34:48 +00:00
eeh
17c567f9de
Oops. Seems like we do need this file to make pcons work.
2000-05-20 14:23:12 +00:00
ragge
2da29b7e01
Changes to use the RPB for different tasks. Much simpler now to find the
...
boot device.
2000-05-20 13:38:58 +00:00
ragge
b3f6551d41
WARNS=1. Unify the ra and tmscp driver.
2000-05-20 13:36:11 +00:00
ragge
027ee49b0f
Adopt to the RPB changes. Complete change of how network devices are
...
handled. No more hacks to find bus addresses.
2000-05-20 13:35:07 +00:00
ragge
c5f56fab00
Change all devices to use the RPB info when autobooting, this allows for
...
booting from unsupported devices also. As a side effect; it fixes PR#9202.
2000-05-20 13:30:03 +00:00
ragge
a8a7bf342f
New arguments to the rom routines. Adapt srt0 to new world also.
2000-05-20 13:22:39 +00:00
ragge
9ff9efe46a
Rewriting of the VAX boot block. Differences:
...
- Use the RPB for passing boot device info up to kernel, instead of the
old BSD "hack" with an encoded longword (see sys/reboot.h for details)
- Instead of separate drivers for all devices, use the HW-provided ROM
routines as much as possible.
- Add filesystem support for CD9660 also (now when there is space).
- Make everything compile with WARNS=1.
The boot block is now <7K in size and have support for UFS, CD9660 and USTAR.
2000-05-20 13:21:29 +00:00
takemura
5e48883c49
Add NEC Mobile Pro 780/880 and Vadem Clio 1050.
2000-05-20 07:11:25 +00:00
takemura
6bef866101
Add two items:
...
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
2000-05-20 05:08:53 +00:00
shin
405f83e99a
fix platid_test source files.
2000-05-20 03:41:28 +00:00
thorpej
4756ba9e32
#if 0 out the consdev command stuff -- with it, boot blocks don't
...
work, without it, they work fine. Size issue?
2000-05-19 22:26:50 +00:00
thorpej
071aed40ac
A foolish consistency; most parts of the kernel use bp->b_data, so
...
change these from bp->b_un.b_addr to bp->b_data, as well. This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
veego
1cd1663317
Disable the viaenv driver and remove the siop entry which was added
...
in the last commit.
2000-05-19 10:23:36 +00:00
eeh
dd5143017a
Use the new emergency fallback PROM console driver.
2000-05-19 05:28:47 +00:00
eeh
424619ca1a
Fix the sparc64 console.
...
Unlike the other Sun machines, UltraSPARCs can have consoles run on different
chips than zs, so we need to support them. So, here we go:
Add a new PROM console driver with a major number and everything.
This is the default driver if nothing else attaches. It does not
use the keyboard driver since the PROM translates keystrokes itself.
(Unfortunately it also swallows L1-A).
Have the keyboard driver take over the console when it attaches on a
serial port. When a serial port detects a keyboard and attaches the
keyboard driver, it needs to provide a set of consdev vectors. They
keyboard driver will use those to send I/O to the keyboard and mouse.
2000-05-19 05:26:16 +00:00
thorpej
f636538446
NULL != 0
2000-05-19 04:34:39 +00:00
mrg
4bd0bb352b
this file has not been used for a long time.
2000-05-19 01:09:21 +00:00
is
5e33ffef22
Initialize hardware for mouse mode at open time.
...
This fixes MB2 and MB3 on the 2nd mouse port (the first is initialized by
the Amiga ROM at boot time).
2000-05-18 19:58:30 +00:00
kleink
8050d5687d
Restructure the ms(4) autoconfiguration code to attach as a single device
...
instance and select a mouse port via the least significant bit of its
device minor number. Fixes abuse of cf_unit in this driver.
2000-05-18 15:39:22 +00:00
minoura
74e4bb664f
Wrong logic. Pointed out by Yasufumi.
2000-05-18 15:24:30 +00:00
pk
7caaf84b68
bus_dmamem_alloc: ensure alignment is always at least the page size.
2000-05-18 10:10:55 +00:00
matt
9bf1dc1e62
fix comments.
2000-05-18 04:20:41 +00:00
matt
f7b0b612b4
Add PCMCIA.
2000-05-18 04:03:30 +00:00
sato
8bc2515577
fix CONFIG_HOOK_BUTTONEVENT_CANCEL keycode.
2000-05-18 03:27:22 +00:00
soren
135a70e5a6
Make cache printing a little more consistent.
2000-05-17 23:35:44 +00:00
matt
2d153651e5
Preliminary support for the VS4000/90 SGMAP. Needed for SCSI. Does not
...
quite work right yet.
2000-05-17 21:22:18 +00:00
matt
6fb4d43f97
Sync closer to GENERIC.
2000-05-17 21:19:49 +00:00
thorpej
56512515f8
Add Cyclades-Z serial.
2000-05-17 18:08:50 +00:00
thorpej
640a49f093
Add Cyclades-Z serial adapter at cdev minor 73.
2000-05-17 18:08:03 +00:00
pk
817862e208
vmapbuf: should not map the kernel address uncacheable.
2000-05-17 14:37:59 +00:00
soren
740759113f
mips5200_FlushCache(): flush L2 cache too.
2000-05-17 12:44:48 +00:00
mrg
0cd44feb0e
fix if/ifdef mistake
2000-05-17 10:28:14 +00:00
mrg
20bc66f592
- add some psycho interrupt debugging stuff (#if 0'ed out)
...
- fix arguments passed in psycho_dmamap_load_raw()'s declaration, and
what it passes to it's parent bus.
2000-05-17 10:17:01 +00:00
mrg
eee5e33e8a
- in iommu_remove(), move len adjustment outside if statement, leaving
...
just one copy of this.
- remove duplicate setting of sgsize in iommu_dvmamap_load().
- fix DIAGNOSTIC check in iommu_dvmamap_load_raw() to panic() in unexpected
conditions only (not normal ones), and also add an extra case.
2000-05-17 09:53:53 +00:00
uch
b444da72bd
Skip fixup phase when system BIOS setting were perfect.
...
don't write 0 to command register. (it is harmful).
2000-05-17 09:50:34 +00:00
mrg
53fa9da4df
move zs_attach() to after the setting of the console device, to avoid
...
having cn_dev being 0 and thus cnopen() being called recursively. this
fixes this problem for zs-based console's only.
2000-05-17 09:28:22 +00:00
mrg
651712a140
add a note about US IIi and PCI_INTERRUPT_LINE register
2000-05-17 09:25:58 +00:00
mrg
6dad37e26a
expand a comment slightly.
2000-05-17 09:25:27 +00:00
mrg
f2a19f58b5
fix || vs. && bug, and clean up some cruft.
2000-05-17 09:16:44 +00:00
mrg
0eeab9735f
fix another warning.
2000-05-17 09:12:10 +00:00
shin
5eacd822a1
delete undefined 'NEC_MCR_4XX'.
2000-05-17 08:38:25 +00:00
eeh
3b90b5c5c4
Add support for bus_dma_load_raw() so the le driver will work again.
2000-05-17 02:31:12 +00:00
thorpej
463931b3ba
Nuke dk_establish() from orbit except from those ports which still use
...
it to determine the boot device: mvme68k, pc532, macppc, ofppc. Those
platforms should be changed to use device_register(). In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
jhawk
aa0007b5a5
In case of db_onpanic=0, still drop to ddb if the trap was from within
...
ddb.
i.e. "db> x/s 0x14" should return you to ddb when it faults, regardless
of the state of db_onpanic.
2000-05-15 20:16:48 +00:00
nisimura
66ecdc15d3
Remove unused PSL_USERCLR defines for processor status register.
2000-05-15 08:36:32 +00:00
nisimura
8a71a7a50f
Backout the previous change which was done mistakenly.
2000-05-15 06:45:44 +00:00
nisimura
c7c815f46b
Remove #include <machine/psl.h> which is not used.
2000-05-15 06:39:14 +00:00
itohy
cb3a247145
Use bsd.hostprog.mk to allow ELF target on a.out host.
2000-05-15 05:02:29 +00:00
sato
ab17e681e7
NEC MC-CS LIGHT button.
...
NEC MC-R430 COM0 power.
CASIO E55 COM0 power.
CASIO E55 LIGHT button.
2000-05-15 01:40:44 +00:00
bjh21
950e36ed1f
Don't panic on a segfault, but drop into the debugger if it's there.
...
Not that this helps much, since we immediately panic in cpu_coredump instead.
2000-05-14 22:50:01 +00:00
minoura
6943d5dd19
defopt FPSP.
2000-05-14 14:13:53 +00:00
minoura
879e4dbe7c
defopt FPSP.
2000-05-14 14:13:50 +00:00
minoura
53e627cd0b
MD parts of uvm_pageidlezero.
2000-05-14 14:10:09 +00:00
castor
42ccab0d49
Add fp emulation for sqrt_s and sqrt_d instructions
...
from Jeff Smith <jeffs@geocast.com>. These are needed to support
-mips2 compilation. With this change, on a QED 5231 we now pass the
paranoia tests, and are successfully using userlands built with -mips2.
2000-05-14 06:19:32 +00:00
jhawk
2dc49a4780
Comment out XSERVER and XSERVER_DDB and move them to the pccons-specific
...
section. They are not used with wscons.
2000-05-14 04:36:09 +00:00
shin
f26b6caddd
clear CPU count register interrupt properly (VR4100).
2000-05-14 03:16:11 +00:00
uch
f9b83f27e9
change Telios keyboard map: KS_KP_Enter -> KS_Return
2000-05-13 20:34:13 +00:00
jdolecek
6572f303f4
remove now redundant comment regarding IBM_L40 define
2000-05-13 19:58:41 +00:00
jdolecek
950749ab6f
add special bootblocks for IBM PS/2 - those machines need different gate A20
...
addressing
2000-05-13 19:58:01 +00:00
jhawk
187860f8fb
Fix problem from 1.27, and more long-standing in the commented-out
...
-DSUPPORT_SERIAL options:
Only set -DSUPPORT_SERIAL=CONSDEV_PC for "biosboot" and "biosboot_resetvideo",
but not for biosboot_com0.
2000-05-13 19:03:19 +00:00
bjh21
9f75c038c1
Add vmapbuf/vunmapbuf
2000-05-13 17:57:14 +00:00
bjh21
4b7597ffe5
Handle more cases of existing mappings in pmap_enter
2000-05-13 17:56:32 +00:00
tsutsui
924b1948b4
Replace (non-working) ncr with new siop.
2000-05-13 14:54:51 +00:00
bjh21
e65735cc74
More informative stack backtrace. Prints whole stack frames\!
2000-05-13 14:43:11 +00:00
bjh21
9d61165c26
Oops. Swedish is KB_SV.
2000-05-13 14:40:10 +00:00
bjh21
b85a45b9f1
Move out spurious defines
2000-05-13 12:17:49 +00:00
jhawk
d4091aa02e
Add support for on-the-fly switching of console devices interactively
...
from biosboot via the "consdev" command.
2000-05-13 05:31:00 +00:00
jhawk
a72e1e9c59
Add support for on-the-fly switching of console devices interactively
...
from the i386 biosboot via the "consdev" command.
2000-05-13 05:25:20 +00:00