Commit Graph

1369 Commits

Author SHA1 Message Date
simonb 986464bd89 Remove duplicate line. 1999-11-04 02:53:03 +00:00
ad 0f1d754327 QIOCGMAP is what I like to call QIOCGINFO during my more confused moments,
but other people can't be expected to know that. Noted by mhitch.
1999-11-03 13:45:11 +00:00
drochner 52f922f960 correct last change: mkboot depends on (sizeof(struct boot_block)==512) 1999-10-29 15:21:13 +00:00
simonb fb8de5803e Use ELFCLASS32 instead of ELFCLASS. 1999-10-27 03:28:54 +00:00
kleink 522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
simonb 249879ba34 Begone with some garish Mach_StructureNames.
Add a comment about the bootblock structure.
1999-10-25 02:29:45 +00:00
simonb 690672a81d Don't let loadfile_machdep.h make it to /usr/include - the pmax
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.

XXX: Not done for i386, mmeye or sparc - I can't test these at the
     moment.  It should be as simple as making a machine symlink
     pointing to .<some number of ../'s>./include in the objdir...
1999-10-25 00:17:27 +00:00
ad ae033a895f Add missing entry in chrtoblktbl[]. 1999-10-24 23:57:23 +00:00
ad ef0cc9a3f4 - Re-arrange the control map that is exported to user space. This map now
includes the STIC poll registers.
- Don't bother enabling ISR driven packet queueing on device open. It doesn't
  work for the PXG due to severe dainbramage on the part of DEC and doesn't
  work properly on the 3min due to the spl stuff being a mess.
1999-10-24 15:33:45 +00:00
mrg cb6e315ab0 make this work again. 1999-10-11 16:08:47 +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
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 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
nisimura ff559f77f0 'KB' for kilo-bytes as humanize_number(). 1999-09-24 00:37:52 +00:00
matt 4d95a06139 Need to pull in <sys/kernel.h> for definition of cold. 1999-09-21 00:10:39 +00:00
thorpej dfdb204ae2 Declare and clear `cold' in a centralized place. 1999-09-20 18:29:21 +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
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
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
nisimura f563627c41 Remove now defunct local implementation of ioasic_lance_dma_setup(). 1999-09-09 06:41:08 +00:00
nisimura 633408472b Use bus_dmamap_load() to obtain 128KB chunk for LANCE merging codes from
NetBSD/alpha.  Tested ok with DEC3000 and DECstation.
1999-09-09 06:33:38 +00:00
simonb a68944cfca Overhaul the tz SCSI tape driver:
+ Add a quirk table.
 + Assume all else is a modern drive that can do variable block
   lengths (this is the main reason for this work - the old driver
   only ever seemed to write 512 byte blocks!).
 + Keep track of values for mtget's mt_fileno, mt_blkno.
 + Handle a few extra MTIOCTOP commands.

Ideas gleaned from our MI scsi tape driver and the FreeBSD CAM tape
driver.  Tested on a TKZ09 (DEC badged Exabyte 8500), a TLZ06 (DEC
DAT) and TK50.

Many thanks to Pierre Bergdolt for helping with testing.
1999-09-07 13:53:36 +00:00
simonb a17eb29d7c Remove a few unnecessary header files. 1999-09-05 11:34:29 +00:00
simonb eca6f8a067 Fix tyop. 1999-09-05 06:31:52 +00:00
nisimura d0259231aa A small fix to save such a configuration of MAXINE with TC framebuffer
option card installed.
1999-09-03 10:19:40 +00:00
nisimura c1122ccf3d - Nuke '#ifdef alpha' which brings little useful, plus a small cleanup. 1999-09-03 07:12:45 +00:00
nisimura 37b9802f3a - Nuke "asc.h" inclusion. 1999-09-03 06:12:28 +00:00
simonb 0676f7a9b7 Handle the MTOFFL request to actually offline a tape rather than just
rewinding it.  Tested with an Exabyte 8500 on a 5900/260 (the asc scsi
driver).
1999-08-31 01:12:51 +00:00
mycroft c3e1f6741d A foolish consistency. 1999-08-30 18:58:01 +00:00
mrg f75cf1688b install ieee.h 1999-08-30 00:51:57 +00:00
mycroft 4ef547e76d Add ieee.h. 1999-08-29 18:21:20 +00:00
thorpej 8c92a5344c PMAX uses white-on-black for the default rcons colors. 1999-08-26 20:49:40 +00:00
simonb d65a712698 Fix some small tyops. 1999-08-25 02:12:05 +00:00
simonb c8276b07d3 Remove ifdef'd alpha call to set_clockintr() - the pmax and alpha clock.c
have diverged, and set_clockintr() doesn't exist on the alpha anymore!
1999-08-25 00:44:36 +00:00
ad c9adbf13c2 Update to match new rasops_init semantics. 1999-08-24 11:16:03 +00:00
thorpej 2cf3330a1b Garbage-collect reference to <sys/dmap.h>. 1999-08-23 22:29:37 +00:00
simonb 17f87d3816 Print out the module number that causes the ECC error. 1999-08-16 13:13:00 +00:00
simonb 1eda4ea610 Remove bogus CSR #defines and replace with known ones. 1999-08-16 13:12:41 +00:00
simonb 7e9978db4e Neaten up #defines for the CSR.
XXX: Still not sure if some of these are right.
1999-08-16 13:12:17 +00:00
simonb 259ba92fef Pass (csr & KN0x_CSR_BNK32M) to dec_mtasic_err() so that it knows what
size individual memory modules are.
1999-08-16 13:11:45 +00:00
simonb 120f2d5c70 Remove board-specific CSR definitions. 1999-08-16 13:10:52 +00:00
simonb 4be158521b Put original contents of the TURBOchannel bus-cycle counter clkread()
from an old version of machdep.c into kn03_clkread().  Fixes problems
with wild CPU time usage noted on port-pmax.
1999-08-13 06:21:39 +00:00
thorpej eb20bbc780 Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied.  Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX.  This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
ad 233d3887c1 In pm_screen(), return 0 if fballoc() fails, not 1. 1999-08-02 12:52:27 +00:00
mrg 39a5b02150 if there are no FB devices, tc_consprobeslot() fails always. 1999-08-02 12:01:46 +00:00
augustss a7cd454b1d It's time to be COMPAT_14. 1999-07-29 10:37:12 +00:00
ad 3d71693ea7 In fbconnect(), append ' (console)' to printed message if called for
the console framebuffer at attach time.
1999-07-28 17:13:54 +00:00
cgd f886376518 be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00