Commit Graph

7176 Commits

Author SHA1 Message Date
chuck
b9eb8ab773 change "pcvt25h" in the example ttys file to "pcvt25"
to match changes in NetBSD's /usr/share/misc/termcap.
1996-04-03 04:37:44 +00:00
chuck
c132a81557 as per cgd:
temporarily revert bus config order back to isa->eisa->pci
	until port allocation/accounting is ready (XXX).

	works around problem of the if_ep driver's probe function trashing
	an adaptec 2940 if the BIOS maps it in at port 0xf000.  (the
	BIOS on my new P166 does this, ... the BIOS on my P133's does not).
	without this the P166 system will reset as soon as spl0() is called
	(autoconf.c) making it impossible to install the OS.
1996-04-03 04:26:38 +00:00
mark
234547bf5e Add CPU ID's for the DEC StrongARM-110 processor.
Update control register bit definitions as the SA-110 has
separate instruction and data caches.
1996-04-02 21:45:25 +00:00
ragge
da9fca44a5 CVS trouble. 1996-04-02 13:52:28 +00:00
chuck
79ca6b2c5f removed references "updatefast" and "updateslow" as they are no longer
defined/used.
1996-04-02 05:07:21 +00:00
chuck
8b39fc7f9f removed refs to pcvtinfo.{updatefast,updateslow} as these are no longer
defined (or used).
1996-04-02 05:05:16 +00:00
pk
7311f0da23 Late-breaking patch from Aaron. 1996-04-01 21:09:39 +00:00
christos
10ffa5da40 Fix warnings when SUN4M is not defined. 1996-04-01 19:16:41 +00:00
christos
3dbbc8d3e9 Fix another printf format argument. 1996-04-01 17:37:08 +00:00
christos
4bdb6550cb Added missing prototypes and include files, fixed parentheses so that it
compiles cleanly.
1996-04-01 17:36:20 +00:00
christos
362a6875bf Remove last dependency to dev_conf.h and the file itself. 1996-04-01 17:34:34 +00:00
christos
f34addbb3b - remove dependency to dev_conf.h
- remove unneeded casts for %b
1996-04-01 17:33:10 +00:00
christos
34f644d1b9 Remove casts of printf args for %b format. 1996-04-01 17:31:38 +00:00
christos
dc6ff48df6 Eliminated dependencies on dev_conf.h 1996-04-01 17:29:44 +00:00
scottr
47b5b87d08 Clean up, primarily KNF. 1996-04-01 06:39:17 +00:00
scottr
bbb6251b0b Make CLK_INTERVAL depend on HZ; update comments to match. 1996-04-01 05:16:52 +00:00
scottr
5f20924433 Move the I/O map kludge for II-class machines into the MRG init code. No
effective change, but this is more correct and averts some potential
problems.
1996-04-01 04:30:23 +00:00
briggs
1fa595a2f1 Clean up for higher warning level. 1996-04-01 01:35:48 +00:00
pk
25b6ab86fe Update device list. 1996-04-01 00:20:31 +00:00
pk
3cf5ed1f30 Various cleanup; mostly trailing spaces/tabs. 1996-03-31 23:44:53 +00:00
pk
8347d3f584 The sun4m name for this device is "auxio". 1996-03-31 23:43:21 +00:00
pk
301e978cf8 Various sun4m-related changes straight from Aaron. 1996-03-31 23:38:29 +00:00
pk
e0344005b4 Changes to match 4m-aware locore.s. Note changed `trapbase' and
`sparc_interrupt_{44c.4m}' labels.
1996-03-31 23:35:20 +00:00
pk
e743dda2a9 Update for 4m locore.s. Remove some items, since locore.s now #includes
param.h
1996-03-31 23:28:03 +00:00
pk
cf4009e56c Include support for sun4m timers and counters: hardware register layout
has changed. There is a counter for each CPU (currently, just one supported).
1996-03-31 23:24:59 +00:00
pk
8de1fd22bc Add sun4m support. Many, many changes..
Note on multi-architecture kernels: most architecture dependent traps are
forked off directly by having a separate trap table for each (sun4,sun4c,sun4m)
This reduces the number of tests on `cputyp' significantly, and it's easier
on the mind. There are still some entry points that need to test `cputyp',
most notably microtime().. yuck.
1996-03-31 23:19:22 +00:00
pk
6d76616bf0 The sun4m IOMMU "device". 1996-03-31 23:09:32 +00:00
pk
7b55c61c27 Include support for sun4m timers and counters: hardware register layout
has changed. There is a counter for each CPU (currently, just one supported).
1996-03-31 23:07:59 +00:00
pk
df2a68f25b Add sun4m VA definitions (for clock and interrupt).
Make these generic for all architectures (i.e. avoid `#if defined(SUN4*)'s).
1996-03-31 23:03:31 +00:00
pk
ff109a19a3 Accomodate sun4m CPUs and caches (Aaron). Cache handling needs to be
revised.
1996-03-31 23:00:40 +00:00
pk
df08150880 Updates for sun4m. 1996-03-31 22:57:09 +00:00
pk
35802bf06b Accomodate sun4m device layout (v3 PROM) and special 4m startup goo.
Heavily cleaned from most `#if defined(SUN4*)' stuff in favour of
CPU_ISSUN4* macros.
1996-03-31 22:55:33 +00:00
pk
678fbb4806 sun4m device definitions and bus structure. 1996-03-31 22:52:38 +00:00
pk
b2d12c182b Aaron's sun4m-related trap handling (memory faults).
Note that fork() no longer return in syscall() in the child.

Add a couple of `#ifdef DEBUG's.
1996-03-31 22:51:58 +00:00
pk
d15de4b09b Initialize DMA addresses properlier in cpu_startup().
dumpsys(): do not try to dump first physical page, this fucks up pmap_extract().
1996-03-31 22:48:24 +00:00
pk
3c89c0901d Aaron's SRMMU/sun4m pmap implementation.
Note: multi-architecture kernels use function pointers for several PMAP
entry points.

Cut down the `#if defined(SUN4*)' mess severely by using CPU_ISSUN4*
macros (see machine/param.h) wherever possible.
1996-03-31 22:42:59 +00:00
pk
2f3ec93250 Various cleanup; mostly trailing spaces/tabs. 1996-03-31 22:38:29 +00:00
pk
66539854e8 Diddling of the `power' bit in machine control register (Aaron). 1996-03-31 22:34:40 +00:00
pk
954302ae70 Handle sun4m ledma' and espdma'.
DMA setup requires services of the IOMMU.
1996-03-31 22:32:45 +00:00
pk
7e45b3449f Re-arrange a bit to stear clear of gcc `-Wall' bites. 1996-03-31 22:30:50 +00:00
pk
25aa56ae29 Handle sun4m `obio' devices.
Cleanup `#if defined(SUN4*)' mess.
1996-03-31 22:28:38 +00:00
pk
96f175d477 Add sbus_translate() to deal with slot address translations, including
new v3 PROM style "range" properties. This routine is also called from obio.c
(which can be viewed upon as just a another Sbus slot).
1996-03-31 22:27:15 +00:00
pk
345295ff08 Deal with sun4m le/ledma. Work around spurious interrupt problem (aaron). 1996-03-31 22:22:52 +00:00
pk
bb0897eec6 Various cleanup; mostly trailing spaces/tabs. 1996-03-31 22:21:21 +00:00
pk
1c8b452515 Add a non-interrupt-priority-lowering version of SPL(). Used by splpmap()
at the moment.
1996-03-31 22:20:14 +00:00
pk
76404b0bbe Add sun4m CPU/MMU identifications. 1996-03-31 22:18:16 +00:00
pk
5703b83d00 Move autoconf subroutine prototypes to autoconf.h
Deal with sun4m `software interrupts'.
1996-03-31 22:17:14 +00:00
pk
8d9fbd0949 Add some v3 PROM glue.
Move autoconf subroutine prototypes here (from cpu.h).
1996-03-31 22:12:34 +00:00
pk
0ab4a52862 Add SRMMU/sun4m support. Size and layout of `struct pmap' has changed. 1996-03-31 22:09:13 +00:00
pk
922201e06a Add SRMMU/sun4m definitions.
Cleanup (i.e. mostly delete) `#if defined (SUN4*)' in here.
1996-03-31 22:06:55 +00:00
scottr
8b3fdd9943 Make this compile again by including <sys/types.h> 1996-03-31 14:21:03 +00:00
jonathan
3f7833c4aa Replace open-comment accidentally removed from copyright notice
whilst adding new-style NetBSD cvs id.
1996-03-31 04:38:46 +00:00
jonathan
d5363eaabc Fix make depend target, and add -Werror to CFLAGS. 1996-03-31 04:34:20 +00:00
jonathan
74def7cfa4 fix "#define #define CLKF_USERMODE" typo. 1996-03-31 04:16:46 +00:00
jonathan
5163f64c0f merge mips and pica locore.S, pass 0:
* cut-and-paste all the code for both r2000 (MIPS-I) and r4000 (MIPS-III)
      into both the pica and pmax locore.S.

    * Change the names of the small segments of vector code that are
      bcopied to the machine vector locations, to avoid clashing.
      Get rid of the Sprite MachXXX names for the vector code, and
      use use mips_r2000_xxx and mips_r4000_xxx instead.

      Update the names used in the vector-copying code and trap handlers
      to match.

    * Most of the rest of the pica locore.S was copied from the pmax
      locore.S, and then edited to work on an r4000.  The names of
      functions and of manifest constants stayed the same, although
      both assmbler code and constant values changed.
      cut-and-paste such code into contiguous blocks protected by
      #if / #endif.  Much of the cache and trap-handling code
      needs r3000-only register fields, on the r3000, and r4000-only
      insns and registers on the r4000.

   * change the pmax r2000 exception-handling code to extract a trap
     code with the user/kernel bit at 0x20 rather than 0x10.
     (r2000s have 4-bit execption codes, r4000s have 5-bit.)
     Use the a 16 from-user-space + 16-from-kernel space jump table,
     just like on the r4000 pica port.

   * add NOPs to the common code where required by the r4000 pipeline
     constraints.
   * add _C_LABEL() macros to the r4000 locore.

Comitted to provide a snapshot for others to test, and work on a cleaner merge.
1996-03-31 03:38:21 +00:00
perry
f825488c3c Added (commented out) line for joystick driver. 1996-03-30 23:57:09 +00:00
jtk
7ab53a4163 fix up ddb at boottime for pcvt--device not allocated yet, and not used by pcintr 1996-03-30 23:40:18 +00:00
christos
b646bc023a New md conf.h per Jason's plan. 1996-03-30 21:17:55 +00:00
christos
393ad3332b Don't need this anymore; it's data are moved to <machine/conf.h> and conf.c 1996-03-30 21:15:03 +00:00
christos
2d29d17da3 Deprecate use of *_conf.h and use only <machine/conf.h> and <sys/conf.h> 1996-03-30 21:13:53 +00:00
christos
c3a3efa9e6 Fix db_printf formats. 1996-03-30 21:13:02 +00:00
christos
32fe9b6a79 iUse <machine/conf.h> instead of sparc_conf.h 1996-03-30 21:12:16 +00:00
christos
e4397b82d7 Use machine/conf.h, instead of sparc_conf.h 1996-03-30 21:11:33 +00:00
christos
a1777d0168 Remove u_int casts from the printf %b formats. 1996-03-30 21:10:37 +00:00
christos
933d138841 Change %r -> %: as for recursive printf's 1996-03-30 21:01:21 +00:00
is
62dcb879c0 Typo squished. 1996-03-30 16:22:55 +00:00
mycroft
bd6e60f0d5 Add explicit return types. 1996-03-30 07:51:51 +00:00
mycroft
fba10af524 Add explicit return types. 1996-03-30 07:30:33 +00:00
mycroft
e1ceb9a557 Add wds0 and wds1 to generic kernels. 1996-03-30 05:42:45 +00:00
briggs
8326aadde5 via.h -> machine/viareg.h. 1996-03-29 02:27:42 +00:00
briggs
b39b4939fc Fix minor oversight in a sanity check--caught by Jason, I think, and reported
by Scott.
1996-03-29 02:12:41 +00:00
briggs
08126b5bec via.h -> machine/viareg.h. 1996-03-29 02:06:04 +00:00
briggs
fdcac3b557 via.h -> machine/viareg.h and some other prototyping fixes. 1996-03-29 02:00:38 +00:00
briggs
efa0c4d683 Make NTOH[SL] and HTON[SL] (void) (x) instead of (x) to get around
compiler warnings.  Followed the lead set in the sparc port.
1996-03-29 01:40:31 +00:00
mycroft
df45c0b542 Prototype some internal functions. 1996-03-29 01:15:04 +00:00
mycroft
6424af4c10 Prototype delay(). 1996-03-29 00:23:28 +00:00
mycroft
6e2bbd2d92 Use offsetof() for structure offsets. 1996-03-28 23:44:04 +00:00
mycroft
42bfe3a4f3 Add a return type for main(). 1996-03-28 22:33:10 +00:00
mark
06ae03c8b0 Use the generic mouse ioctl names instead of the quadmouse ones. 1996-03-28 21:56:40 +00:00
mark
e50a0e4440 Support the ARM7500 IOMD as well as the RPC600 IOMD. 1996-03-28 21:55:15 +00:00
leo
4f5cc6fac1 Drop in a more interlligent version check. 1996-03-28 21:53:35 +00:00
mark
910ee34995 Remove definitions of the inb() and outb() macros as they are now
defined in a header file.
1996-03-28 21:52:32 +00:00
mark
ba871a93aa Initial commit of the PS2 mouse driver. 1996-03-28 21:50:19 +00:00
mark
0b89016846 ramdisk is now a psuedo device. 1996-03-28 21:45:40 +00:00
mark
1ff14b3c1f ramdisk is now a psuedo device.
Added pms PS2 mouse device.
1996-03-28 21:44:06 +00:00
mark
e36164c8fa If the irq number passed to irq_claim()/irq_release is -1 extract
the irq number from the irqhandler structure.
1996-03-28 21:43:52 +00:00
mark
c5a198dd29 ramdisk device is now a psuedo device.
Added pms device for PS2 style mouse.
1996-03-28 21:42:00 +00:00
mark
8564f152ec Added character device pms to the device table. 1996-03-28 21:40:22 +00:00
mark
9d048bd529 Define macros for inb() outb() inw() outw() inl() outl(). 1996-03-28 21:35:51 +00:00
mark
93602531a6 Added definitions for RC7500 motherboard interrupt numbers. 1996-03-28 21:29:32 +00:00
mark
044c783484 Added definitions for RC7500 motherboard IO addresses. 1996-03-28 21:28:21 +00:00
mark
7d06b49a23 Added definitions of ARM7500 IOMD. 1996-03-28 21:26:05 +00:00
mark
0ff466e21a Add VIDC20 phase lock loop frequency information for RC7500
motherboards.
1996-03-28 21:22:24 +00:00
mark
4b10d39797 Added support for RC7500 motherboards and non VRAM video systems.
Use frequency lookup table for RC7500 systems.
1996-03-28 21:18:40 +00:00
mark
fba7f55646 Fix printing during attachment now ramdisk is a psuedo device. 1996-03-28 21:14:13 +00:00
is
a0d45384b6 The interrupt routine of the ivsc (and the empsc, which seems to have copied
it) looks truncated. At least the return(1) is missing, which I now add as
a first stopgap. Somebody needs to find out if anything else is missing for
these boards.
1996-03-28 19:23:32 +00:00
is
8435085f72 Adapt to new attach scheme. Fix operator precedence error. Normalize
function name prefixes.
1996-03-28 18:56:08 +00:00
is
fa2b7f8f47 Emplant SCSI driver backend by Sean Riddle and Bo Najdrovsky. 1996-03-28 18:41:45 +00:00
jonathan
d76659a9c6 Update Pica machdep.c and locore.S to work with new, "merged" machdep.h:
* Add a MIPS-I (r3000) exception handler to the Pica locore.S.
      Change the names of the masks used to extract the exception code
      to the new MIPS_xxx names.
    *  Rename the vector code from MachException() to
      mips_r4000_exception, in both locore and in the init_main()
      code that copies it from locore to the exception vector locations.

    * Change the locore and C code to use the new MIPS_SR_INT_IE
      name for the Status register master interrupt-enable bit.

Similar changes to the pmax equivalents are in progress.
1996-03-28 12:50:37 +00:00
jonathan
8b7ade02ab Split Per Fogelstrom's Pica trap handler into two parts:
arch/pica/pica/trap.c, a generic mips trap handler
	arch/pica/pica/pica_trap.c, a  handler for Pica interrupts.

so that the common pmax and pica  trap handling can eventually be
merged and moved to arch/mips/mips/trap.c
1996-03-28 12:40:33 +00:00