Commit Graph

9317 Commits

Author SHA1 Message Date
matthias
7a27370327 * Cosmetic changes.
* Configure only NFS, FFS and LFS filesystems. All other filesystems are
modloadable.
* Configure SCSI-uk driver.
1996-11-07 07:32:10 +00:00
matthias
bc9eccaebb * Cosmetic changes.
* Configure SCSI-uk driver.
1996-11-07 07:32:07 +00:00
matthias
1b92fb966e * bcopy and bzero are part of libkern now. 1996-11-07 07:31:20 +00:00
mikel
752f0f5c9c Fix typo; PR port-i386/2666. 1996-11-07 07:30:19 +00:00
matthias
dbaaf5e560 * rd_attach_hook/rd_open_hook. Stolen from sun3/dev/rd_root.c 1996-11-07 07:21:00 +00:00
matthias
ddb9815a80 * We are using the mi ramdisk driver now. 1996-11-07 07:20:37 +00:00
matthias
4ae217f7fa * We are using the mi ncr driver now. 1996-11-07 07:20:29 +00:00
matthias
df2a490d8f * Not in use for a very long time. 1996-11-07 07:20:28 +00:00
matthias
cab14d3b2b * ntoh is part of libkern now. 1996-11-07 07:18:27 +00:00
matthias
c1e3a7db8d * This not different from netns/ns_cksum.c. Delete this copy. 1996-11-07 07:18:26 +00:00
matthias
f0d6340cba * Tell the vm system that kerneltext is mapped readonly. Stolen from
atari/atari/machdep.c.
1996-11-07 07:18:23 +00:00
matthias
8ea6b5f65c * Add ch, ss and uk devices.
* Make lkms work.
1996-11-07 07:18:21 +00:00
matthias
eead8b9100 * bcopy is part of libkern now. 1996-11-07 07:18:19 +00:00
cgd
89e06b9449 build manual page and install it in the right place. 1996-11-06 23:09:13 +00:00
cgd
050d4ebd12 NetBSD/alpha installboot manual page. Copied from the sparc and lightly
tweaked by Curt Sampson <cjs@portal.ca>, then largely redone by me.
1996-11-06 23:07:55 +00:00
cgd
8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
mark
092bb4bd47 Fixed type its NPPP not PPP. 1996-11-06 18:18:41 +00:00
cgd
1413ef1d07 Add an APM_NO_STANDBY option, which can be enabled by people whose BIOSes do
the wrong thing with standby mode (as some older ThinkPAD 701c BIOSes do, for
example.)  Rename APM_NOIDLE to APM_NO_IDLE for consistency and "niceness,"
and error out (with a useful error message) if APM_NOIDLE is defined.
1996-11-06 18:09:43 +00:00
leo
dce3bea50b Add msconfig to SUBDIRS. 1996-11-06 15:35:47 +00:00
leo
8d079317a6 pmap_changebit() no longer static. 1996-11-06 15:33:56 +00:00
leo
f2501673f5 Prototytpe bus_mem_map/bus_mem_unmap functions. 1996-11-06 15:33:05 +00:00
leo
44263b4564 Add the external drive to the standard setup. 1996-11-06 14:05:31 +00:00
leo
5f28db13df - Make it's behaviour on minor numbers identical to that of the Hades
floppy driver.
- Fixup format types in the debug-printf's
- Don't print empty lines on unconfigured drives.
- When a drive is detected, show it's default format.

 ---- Warning: minor numbers are shifted! ---
1996-11-06 14:03:15 +00:00
leo
8bad301566 Re-arrange the order in which devices are scanned for a root filesystem.
It's really bogus to try a floppy before a harddisk.
1996-11-06 13:57:12 +00:00
leo
37ae30708a pmap_changebit() can no longer be static since the bus_mem* functions use
it.
1996-11-06 13:55:38 +00:00
leo
bc03497d55 Add bus_mem_(un)map functions. 1996-11-06 13:53:35 +00:00
leo
11a4058f20 Remove fdopen->Fdopen cruft. This is no longer necessary. 1996-11-06 13:51:49 +00:00
leo
291d9eabda These shouldn't have been imported... 1996-11-06 13:46:10 +00:00
leo
e285606c68 mouse configuration, by Thomas Gerner. 1996-11-06 13:38:12 +00:00
mikel
2241acdd09 vga_move_charset() shouldn't need XSERVER. Fixes port-i386/2904. 1996-11-06 05:28:49 +00:00
chuck
5c91907fb4 add options: EXEC_AOUT and EXEC_SCRIPT 1996-11-06 03:35:03 +00:00
scottr
047ae9a04d LC III+/Performa 460 series use same vectors as the LC III.
Verified by Bob Nestor and Pete Nush.
1996-11-05 07:20:09 +00:00
mikel
acaccdd747 make X support code dependent on XSERVER; PR port-i386/2528. 1996-11-05 06:21:25 +00:00
thorpej
dd7ad6d7b8 Trim the name of the clock interrupt event counters. They were one byte
too long, causing a panic in DIAGNOSTIC kernels.

From Steve Woodford <steve@mctavish.demon.co.uk>, on the port-mvme68k
mailing list.
1996-11-05 02:51:03 +00:00
jtc
4620e80691 The copyright for this file has been assigned to the NetBSD Foundation 1996-11-04 23:04:43 +00:00
briggs
bbd25d0c38 - Move offset for 2nd scsi controller (Q900/Q950/WGS95) to 0x402
instead of 0x400.
- Restructure interrupt handling for more performance--continue to
  read/write data as long as the device keeps us in a data xfer phase.
  There is still a lot of room for speed improvement here.  Perhaps it
  lies is speeding up the interrupt path in general?
1996-11-04 21:20:01 +00:00
gwr
ffe8c5a2ab Clean out some hacks left over from the old zs driver. 1996-11-04 16:16:09 +00:00
pk
aa965ce3bf Declare device `audio' at sbus. 1996-11-03 11:18:15 +00:00
scottr
9da963b048 Remove include of ncr96scsi.h, since it's now an artifact, and the
unused include of ncrscsi.h while we're here.
1996-11-02 07:18:53 +00:00
briggs
7685e9d70b Improve reliability on my Q700, at least. Was getting the occasional
glitch--an extra byte on occasion.
1996-11-02 06:52:24 +00:00
pk
92d21510ef Drop in a sun4m version of AUDIO_SET_SWINTR; thanks to Nick Sayer for
the reminder.
1996-11-01 23:32:15 +00:00
pk
33558b9e5f Take care of the sun4m way of raising soft interrupts. 1996-11-01 23:30:09 +00:00
pk
19b8bfdf3d Declare device `audio' at sbus where it resides on Microsparc machines,
from Nick Sayer's PR#2908.
1996-11-01 23:15:51 +00:00
explorer
236a28d49e Make this compile without COMPAT_10 or _11 1996-10-31 01:16:57 +00:00
is
e4d7a09a2a Bug fix for FSINCOS: wouldn't handle FPc == FP1 earlier. 1996-10-30 14:44:47 +00:00
is
a747e15eed Add the 68060 bus control register to the list of known cpu superisor mode
registers.
1996-10-30 08:22:39 +00:00
is
be08e182af In my earlier patch to the m68k fmovem disassembler, I repaired the register
naming for fmovem, while breaking it for fmove. We probably never will
see normal fmove in the kernel, nevertheless it should be corrected while
somebody remembers.
Besides, the correct patch is smaller and thus easier to verify than the
origininal one.
1996-10-30 08:11:21 +00:00
briggs
20c7b48d76 macs with scsibase offset 0x10000 from iobase use a SCSI CLK of 16.5MHz
(off PrimeTime)--all others appear to use 25MHz.
1996-10-30 05:39:21 +00:00
briggs
d5e58a6b20 Fix spelling error in panic. Double since of ResHndls[]. Use I/O kludge on
all systems, not just CLASSII--A bunch of Quadras apparently have hardcoded
I/O addresses in the ROMs, too.
1996-10-30 05:30:57 +00:00
mark
de6db9f206 Added fix from Jasper Wallace th=at solves the bus hang ups caused when
DMA to the card going wrong.
1996-10-30 01:50:01 +00:00
gwr
f9d54194d5 Allow the config line "flags" to set bits in si_options.
Thanks to Jason Thorpe for the fix! (PR#1929)
1996-10-30 00:31:39 +00:00
gwr
769fe0dfca Get rid of some cruft in the match function. 1996-10-30 00:24:32 +00:00
gwr
aac9e275ac Add a "submatch" function to the obio bus driver so the children
of this driver can get rid of the cruft in their match functions.
1996-10-30 00:20:01 +00:00
gwr
2fcc0a64d2 Use explicit addresses for obio devices. 1996-10-30 00:17:10 +00:00
mark
84d36b5c2f Brought right up to date and cleaned up. 1996-10-30 00:12:40 +00:00
mark
0bec347c79 Allocate a DMA channel number when setting up the podule descriptors.
The DMA channel is determined by the IOMD present in the machine and the
podule slot number.
1996-10-30 00:07:42 +00:00
gwr
2f8b021957 cosmetic... 1996-10-30 00:04:31 +00:00
mark
c11a34daff Added a dma_channel field to the podulebus structure so that the
podulebus driver can allocate the DMA channels for the podules located.
1996-10-30 00:01:05 +00:00
mark
29465fe28a Updated the acknowledgement comments. 1996-10-29 23:52:59 +00:00
mark
f5a1f76622 Remove the bufferable bit from the pte for the DMA buffer. 1996-10-29 23:37:39 +00:00
mark
68ecde0706 Added support for switch mouse reports between absolute and relative
positions.
1996-10-29 23:28:12 +00:00
mark
8666e8f843 Treat MOUSEMODE_REL as an absolute value rather than as a bit flag.
Use sc_mode rather than mode.
1996-10-29 23:25:29 +00:00
mark
8d9b74e953 Make sure that DMA channels 2 and 3 are setup as external for the podulebus
on RiscPC machines.
1996-10-29 23:22:57 +00:00
mark
7824cc4e83 Added definitions of the IOMD DMA registers. 1996-10-29 23:14:34 +00:00
mark
9785e7cd61 Added support for all variations of the msr instruction.
Added support the new instructions defined in the ARM V4 Architecture
Reference manual (long multiplies, half word load and stores,
half word/byte signed loads).
Added support for the ARM810 IMB architecture defined SWIs.
Fixed bug in calculating some immediate constants.
Added support for the wfs, rfs, wfc, rfc instructions
Added support for the floating point compare instructions
Added ldf, stf, ldc and stc instructions.
Fixed mis-disassembly of some msr/mrs instructions.
The ldm and stm instructions will modify the direction identifier to
use the stack variations if the base register is r13.
1996-10-29 23:12:26 +00:00
gwr
23439db6ba The new cg4 driver does not use dev/bt_subr.c 1996-10-29 19:58:14 +00:00
gwr
d6dfd783d9 Checkpoint new version of this driver with support for the "Type A"
variant of the CG4 (the one with the AMD colormap DACs).  This has
been tested only on the "Type B" H/W at this point (Brooktree DACs).
Thanks to Ezra Story and Scott Ellis for the "Type A" support.
1996-10-29 19:54:19 +00:00
gwr
cb78378201 Fix typo (fbattach => fb_attach) 1996-10-29 19:27:37 +00:00
briggs
a4d7da78e4 Add esp1 at obio? 1996-10-29 06:16:29 +00:00
briggs
50c2da8f27 Interrupt-driven, but slow, NCR 53c96 driver for the 040-based macs. Contains
some guesses for the machines that have two of these buggers (I don't have
such a machine).  This driver is a copy of the sparc/alpha esp with a
minimum of changes--after we get it performing a bit more respectably,
we should see about re-normalizing the sources.
1996-10-29 06:08:58 +00:00
briggs
32e07b8b3a Add prototype for mac68k_register_scsi_b_irq(). 1996-10-29 05:42:16 +00:00
briggs
215afb273e Flag Q900/950 as having a second scsi controller. 1996-10-29 05:36:15 +00:00
briggs
487a6bebfc Add a function to install an interrupt handler for 2nd scsi bus (Q900/950).
Take a guess that it's at via2, bit 0 (where 5380 DRQ is).
1996-10-29 05:33:37 +00:00
briggs
35667ae56f ncr96scsi -> esp for consistency with sparc and alpha. 1996-10-29 04:26:57 +00:00
briggs
3c34dac1d0 Obsolete. 1996-10-29 04:23:50 +00:00
sommerfe
d26717de0e Workaround for building linux-emulation LKM. 1996-10-29 02:19:25 +00:00
scottr
531802b5dd cpp -> ${CPP} 1996-10-29 00:11:27 +00:00
pk
59b640b2fc Call kvm_uncache() from dvma_malloc() where it belongs and make sure
it's called when SUN4M is nor defined.
Merge in changes from Jason to make dvma_mapin() work on (sun4c) machines
with a write-back cache.
1996-10-28 23:02:54 +00:00
is
072b7020c4 * Fix a few wrong fallthroughs in switch cases:
- add a missing return; at the end of a case, leading to wrong disassembly
  of the next few instructions after fmovem.
- while we're here, correct the same bug in PBcc.

  XXX there are a few other dubious fallthroughs in this file (which are
  not explicitly marked with /* FALLTHROUGH */), which I didn't yet analyze.

* Fix other FMOVEM interpretation bugs:
- correct printing of FP data register lists if all are used (only FP0
  would be mentioned)
- correct printing of FP data register lists in the case the list is reversed
  (would have printed nothing)
- correct mapping of fp0-fp7 to register list bits (was reversed)
- correct printing of FP control register lists (this list is never reversed)
- correct printing of FMOVEM with FP control registers (the data direction
  was interpreted the wrong way)

* While we're here, enhance the comments in MOVC's list of cpu control
  registers
1996-10-28 08:43:18 +00:00
briggs
1e7948408e Most 040 models have scsi regs at base + 0x10000, not base + 0xf000
like the Q700.
1996-10-28 03:54:08 +00:00
abrown
cafb62af25 Fix timer initialization so that we don't gain one extra microsecond per
second on Sun4m machines. Although this was in the noise of the unstable
Sun clock crystals before, the discrepancy amounted to about 100 ppm, and
thus made NTP perform poorly. NTP now works happily on my SS20...
1996-10-28 00:20:31 +00:00
oki
eb605060cc Add options EXEC_SCRIPT and EXEC_AOUT. 1996-10-27 09:14:59 +00:00
oki
2c83ce47ad add options EXEC_SCRIPT and EXEC_AOUT
Sync with ALL, config again.
1996-10-27 09:07:50 +00:00
oki
dd2ea83317 add EXEC_SCRIPT and EXEC_AOUT 1996-10-27 08:52:04 +00:00
is
e4d79db27e enable bznsc driver 1996-10-26 17:42:07 +00:00
cgd
ca80cc0ce0 add -Wcast-qual 1996-10-25 23:47:01 +00:00
cgd
a5649f782f first arg to alpha_XXX_dmamap is now a vm_offset_t 1996-10-25 20:58:11 +00:00
cgd
22b29b5058 prototype alpha_XXX_dmamap(), the alpha DMA mapping hack. 1996-10-25 20:48:59 +00:00
leo
0cda663b65 Make installboot work for 1.2 & 1.2A (should be part of 1.2 patches). 1996-10-25 20:05:04 +00:00
leo
599db9a26c Nuke declaration of susword(). It's declared in systm.h now. 1996-10-25 20:02:34 +00:00
leo
819ba49d29 Nuke 2 useless instructions that only cause _doboot to panic now that
page zero is *properly* protected.
1996-10-25 20:00:39 +00:00
leo
a93d33fb93 db_memrw.c:
- Sync with hp300 version.

Machdep.c:
 - Notify the vm-system that kernel-text is read/execute
 - Notify the vm-system that page zero isn't mapped

[ Grrr.. How do you cancel a check-in when you find out too late they
  should have different comments ]
1996-10-25 19:58:42 +00:00
is
6e74f35ac9 First small hack at 68060 support: processor configuration register.
(We don't use the new instructions lpstop and plpa in our kernel, so no hurry.)
1996-10-24 18:30:17 +00:00
is
b88543e379 Remove addressing bug in hand-optimized assembly code. 1996-10-24 15:52:08 +00:00
fvdl
753949629e Make this compile again if PCI_CONF_MODE is defined (unused label). 1996-10-24 12:32:29 +00:00
fvdl
016d7b35dc Make this compile without COMPAT_10 (unused variable). 1996-10-24 12:22:43 +00:00
mhitch
dd4aa9cef1 Fix typo: #endeif 1996-10-23 20:04:40 +00:00
gwr
601935b8ae Use struct trapframe instead of struct frame, and include a
slight hack to make this cross-build correctly on a SPARC.
1996-10-23 16:39:27 +00:00
gwr
4e462c2f6e Dont bother grouping labels in computeSignal().
This form is easier to compare with trap.h
1996-10-23 16:30:48 +00:00
gwr
6fa72d79b5 Add options EXEC_AOUT and EXEC_SCRIPT 1996-10-23 16:14:23 +00:00