Commit Graph

16954 Commits

Author SHA1 Message Date
mhitch 475a5c2afd RZ25 disks seem to need a short delay after a start command; the test unit
ready right afterward succeeds, but the getsize following that failed with
a "not ready".
1998-11-20 06:24:02 +00:00
kml ba30effcf8 Changes to support a HIPPI Framing Protocol device, which allows raw
HIPPI packets to be written without having to go through the network
stack.
1998-11-20 04:12:57 +00:00
ross 8d957efade Sigh, shuffle the nsio ide frobber yet again. 1998-11-20 03:58:22 +00:00
thorpej 5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
mrg db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
he db360b9524 Bump ramdisk size by 100 blocks -- ran out of space. 1998-11-19 11:43:57 +00:00
dbj 044d782820 Removed unused buserr and addrerr declarations. 1998-11-19 08:32:26 +00:00
jonathan 20cf682664 kernel config file for pmax install via ramdisk. 1998-11-19 06:05:11 +00:00
ross 3f24fce866 More include shuffling. 1998-11-19 02:53:47 +00:00
ross b0f44850f5 Don't insist on an FFS if we are in contiguous block (-b) mode. 1998-11-19 02:44:40 +00:00
ross d963824bdc #include <machine/intrcnt.h> 1998-11-19 02:35:39 +00:00
ross bc9cb58205 Fix interrupt map for baseboard bridge. 1998-11-19 02:33:37 +00:00
ross 47c613e7dd #include <machine/alpha.h> 1998-11-19 02:29:49 +00:00
ross 4ea2865631 +#include <machine/alpha.h>
+#include <machine/intrcnt.h>

Also, this module gets the junk I/O IDE channel frobber that used to
be in dec_axppci_33.c, so it can be called for the eb64plus also.
1998-11-19 02:28:56 +00:00
ross 372977cf54 Nuke the final holdout of INTRNAMES_DEFINITION.
Do a nice gas.new .rept/.endr loop and also pad each string with spaces
in case a platform actually does want to rewrite the names.

G/C some EVCNT_COUNTERS stuff.
1998-11-19 02:27:29 +00:00
ross b9fa3646cb #include <machine/intrcnt.h>
#include <machine/alpha.h>
g/c some EVCNT_COUNTERS stuff.
1998-11-19 02:23:15 +00:00
ross c6c1b0098f #include <machine/alpha.h> 1998-11-19 02:22:01 +00:00
ross ee226b43f1 Include <machine/alpha.h> and do not directly include <bus.h> 1998-11-19 02:20:07 +00:00
ross 7221bd8229 +#include <machine/alpha.h>
-#include <machine/bus.h> (done for you by alpha.h)
Take the junk I/O chip IDE channel frobber and move it to machdep.c.
1998-11-19 02:05:07 +00:00
ross d3509bcc51 Clarify the 1000/1000A situation: two variation tables and an all-purpose
backup platform.family string.
1998-11-19 02:02:45 +00:00
ross 9b7ad6c70c #include <machine/alpha.h> 1998-11-19 01:59:39 +00:00
ross 8470625657 New module to hold the alpha-specific prototypes that don't need to be
exported to the MI kernel. Almost everything here was formerly in cpu.h.
Optionally, this module could in the future be used to #include anything
that is always needed by arch/alpha modules.
1998-11-19 01:57:56 +00:00
ross 19a4c3110c Rip out 70 lines of (all of) the port-alpha-specific decls and prototypes.
They should not be visible to the MI kernel and the MI kernel shouldn't
depend on this junk.  Most of it moves to new module <machine/alpha.h>.

Leave badaddr() here, though, because it's used so widely.
1998-11-19 01:51:40 +00:00
ross e2e3ee52ae Nuke the giant ugly-as-sin per-platform INTRNAMES masterpiece.
I just cannot add one more platform without getting sick.
Instead, we do just one table for all platforms. More-or-less,
it was only the A12 that even named it's individual interrupts anyway.

Also, prototype set_iointr() here. It's a slightly odd place, but 10*
better than the old place it was, and this file is included by exactly
the perfect set of .c files for set_iointr() visibility.
1998-11-19 01:48:04 +00:00
ross a68dbb068a Stop including <machine/alpha_cpu.h>; we already export <machine/cpu.h>. 1998-11-19 01:42:37 +00:00
ross da8b1017f4 "extern struct rpb *hwrpb" belongs here (duhhh) 1998-11-19 01:41:36 +00:00
pk dee948f2d9 Increase the delay after touching the IOMMU control register by another
three no-ops (empirically verified by Robert Elz).
1998-11-18 12:07:47 +00:00
itohy d8f63f8a88 Get pmap_extract() return value with paddr_t, not vaddr_t.
Some other minor changes stolen from hp300. :)
1998-11-18 10:05:35 +00:00
tsubai 099f099133 Don't send mouse events to wsmouse layer if wsmouse isn't configured. 1998-11-18 09:11:34 +00:00
sakamoto d8d1762a15 Support frame buffer console initialized by the BootRom of the BeBox. 1998-11-18 09:05:18 +00:00
jonathan fe83804dea Add md (memory disk) hooks for pmax. ecoff kernel with 2MB ramdisk
tftp-boots on new PROMs. (3MB is too large).
1998-11-17 22:41:05 +00:00
mrg e9b43366f3 add some shiny happy egcs braces 1998-11-17 12:11:27 +00:00
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
tsubai b3e8f6e5fe Enable UVM by default. 1998-11-16 12:21:30 +00:00
marc c48ce4626f Avoid irq 5 and 7, the most likely cause of problems on modern laptops. 1998-11-16 07:23:28 +00:00
eeh a178ed6add Fixup the last broken bits of the signal handling code. 1998-11-16 06:51:35 +00:00
dbj a712d8ae87 Moved UVM define from GENERIC to std.next68k
Added -Wno-main to warnflags, if compiler supports it.
1998-11-16 04:37:56 +00:00
mrg ae0c22f1b1 move vax "options UVM" from GENERIC to std.vax 1998-11-16 04:32:56 +00:00
mycroft 09093330b1 Add {LONG,WORD}_BIT and {DBL,FLT}_{DIG,MAX,MIN}. 1998-11-16 04:12:29 +00:00
jonathan a3a77d9561 Add skeleton code to defer rcons console output to soft-interrupt time.
ifdef'ed out for now.
1998-11-16 00:10:39 +00:00
perry 0c20c72cf9 (mostly) fix kernel tags support. from Frederick Bruckman in pr-6445. 1998-11-15 20:36:30 +00:00
tsubai dd918881b6 Restrict the length of return value within buflen. 1998-11-15 19:53:25 +00:00
tsubai 7c939afccf RTC support for pmu (read only). 1998-11-15 19:41:33 +00:00
jonathan 03b30a046d * make scc_tty_init() callable when very cold: call scc_coldparam() directly.
Use scc_tty_init() in scc_consinit().  Declare scc_consinit() in sccvar.h.

* Remove last vestige of special-case console handling in sccparam() code.

* Call scc_consinit() from findcons scc_serial() console-setup.
  Dont PROM for scc serial console at all.
1998-11-15 11:21:52 +00:00
jonathan b6111d03f9 Add mainbus0 and cpu* lines to R4000 config. 1998-11-15 06:27:11 +00:00
jonathan 5ddadfcc95 Remove old model-specific config files. 1998-11-15 06:22:25 +00:00
mhitch 6317908feb UVM is now the standard VM system on NetBSD/pmax. 1998-11-15 05:43:32 +00:00
mhitch 549407b634 Change page modification emulation: don't fiddle with VM flags directly.
Track page modification status in the PV entry like the alpha, and let
pmap_is_modified() return current status back to the VM system.  UVM now
works reliably.

Garbage collect the old pmap_attribute[] stuff.
1998-11-15 02:34:19 +00:00
mhitch f6adcd4690 Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
dbj 87cb8573e1 Finished changes to use UVM on next68k.
Turn on UVM by default in GENERIC kernel.
1998-11-14 04:32:50 +00:00