Commit Graph

581 Commits

Author SHA1 Message Date
cgd ffe4785a58 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:33:32 +00:00
briggs ff7dcdbfc5 Some debugging code added. 1995-07-23 21:54:47 +00:00
briggs 1c213ea5b6 Minor #def changes. 1995-07-23 21:51:47 +00:00
briggs 83d0f4f73d Use get_mapping only if 030 and MMU enabled. Otherwise, fake it. 1995-07-19 16:39:03 +00:00
briggs d9b318b2be Add support for:
GENERIC
	RB_ASKNAME
	RB_MINIROOT
Also revved up the required version of the booter because we need the
booter fixes to get this functionality.
1995-07-18 04:10:13 +00:00
briggs a5e4549306 Stop recursive jmp0panics. 1995-07-17 01:31:14 +00:00
briggs 8d0e9635a6 Get IIsi ethernet almost working. Still misses a number of interrupts. 1995-07-17 01:26:02 +00:00
briggs c5fe9f62ff Cleanup a bit. 1995-07-17 01:25:12 +00:00
briggs c5724ea3a3 Some more bugs fixed and functionality corrected by:
"Paul R. Goyette" <paul@pgoyette.bdt.com>.
Implemeted the Set Scrolling Region, Set Tab Stop, and Clear All
Tab Stops functions.
1995-07-17 01:24:34 +00:00
briggs a91a7f619b GENERIC should have options GENERIC. Duh. 1995-07-17 01:21:29 +00:00
briggs 30c70a7c59 patch to handle cursor moves better. From Paul Goyette
(Paul@pgoyette.bdt.com)
1995-07-09 15:36:41 +00:00
briggs fd69606246 Take out bogus message. 1995-07-08 12:39:12 +00:00
briggs 33cef0adfd Clean up a lot. Run machdep.c through indent.
Remove a bunch of old debugging code and some dead code.
Put in some new comments.  Need more.
1995-07-08 04:25:07 +00:00
briggs 3758e23b79 Add another routine for the grf display-specific drivers to return a physical
address.
1995-07-06 17:13:45 +00:00
briggs e6992b3e60 Panic if we don't know how to relocate the video address. 1995-07-06 13:30:24 +00:00
briggs 84ee954356 Change NBSBASE to 0x90000000 and let it and NBSTOP be defined. 1995-07-06 13:25:30 +00:00
briggs d1d1fbc094 Put in a cast to make compiler happy. 1995-07-06 04:17:15 +00:00
briggs 0ae9938e56 Fix (last?) bug in the IIvx kludge. 1995-07-06 03:44:46 +00:00
briggs 6503666839 If SYMTAB_SPACE is defined, set esym to be the same as end.
Fixup my IIvx kludge again.
1995-07-06 02:32:13 +00:00
briggs f3274364d4 Fix a bug I introduced earlier. 1995-07-06 00:28:32 +00:00
briggs e11c8dfd4c Stupid programmer error in IIvx kludge. 1995-07-05 03:48:45 +00:00
briggs 38031d912a First cut at a kludge for IIvx internal video. 1995-07-04 18:55:11 +00:00
briggs 6d08320888 Move SCSIBase from scsi.c. 1995-07-04 14:42:16 +00:00
briggs 2e4f1e0daa Update a bit. 1995-07-04 14:38:49 +00:00
briggs 2510a4f689 A few nits. 1995-07-04 14:38:34 +00:00
paulus 1513342690 Add code to netintr to call pppintr 1995-07-04 12:14:32 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
briggs f92d7eb51f Clean up some types. 1995-07-04 03:34:09 +00:00
briggs 4d6ed092f1 Fixup a comment. 1995-07-04 03:30:11 +00:00
briggs 1040af3492 Add missing interface for getting a grfmode structure from kernel. 1995-07-02 05:26:27 +00:00
briggs ed434b457d Fix grfmap() as well as grfmmap(). 1995-07-02 00:49:52 +00:00
briggs 932a8fc9af Set and use new fboff element from grfmode structure. 1995-07-02 00:30:25 +00:00
briggs af7f31e30a Add a couple elements to the grfmode structure. 1995-07-02 00:29:03 +00:00
briggs 3401cca400 Fix buglet that was missed when converting nubus to non pa==va mapping. 1995-07-01 23:40:38 +00:00
briggs 303845a487 Remove this define--we're using the new dump type. 1995-07-01 18:47:51 +00:00
briggs eec2d38c71 Take out ncr96scsi0. 1995-07-01 16:35:54 +00:00
briggs 36654b75d9 Use flags for scsi interrupts. clean up a small bit. 1995-07-01 16:35:16 +00:00
briggs 175a1e27f4 add needs-flag for the scsi chip interfaces. 1995-07-01 16:28:13 +00:00
briggs 12ab0410c7 Clean up a tad. 1995-06-30 05:25:41 +00:00
briggs fcde92bcba Fix straytrap(). Update a few values in the ROM table. 1995-06-30 05:25:01 +00:00
briggs 5fced13f51 Ooops. 1995-06-30 05:23:03 +00:00
briggs 705e6bd12b Fix oversight. 1995-06-30 05:21:33 +00:00
briggs 29bb03860c Option key fix from Ken Nakata (kenn@remus.rutgers.edu). 1995-06-30 01:23:21 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs 829668e8d3 Some random cleanup and some cleanup of the dump routines, modelled on
i386.  Untested.  Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd 1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
briggs 600cdad805 Stupid typo in last. 1995-06-25 14:02:09 +00:00
briggs 50d8509da2 Stupid pasto in last. 1995-06-25 13:53:21 +00:00
briggs 0958ef72c8 Add libcompat. 1995-06-25 13:39:37 +00:00
briggs 2a153a49b1 Fix the clean target. 1995-06-25 13:06:32 +00:00
briggs 4d6069140b Get the units right... 1995-06-25 04:49:05 +00:00
briggs b1addb6674 Patches from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de)
and Daniel Risacher (magnus@mit.edu).  Apparently with some
helpful discussion from John Wittkoski (jpw@insoft.com).
This works on my IIcx and IIsi.  Still needs a bit of cleaning up.
1995-06-25 03:24:09 +00:00
briggs b1598cdd1b Remove a compile warning. 1995-06-25 02:46:46 +00:00
briggs fc6fb65d62 Do something a lot closer to the right thing for FPU_EMULATE/FPSP/040
and subsets thereof.
1995-06-25 02:45:14 +00:00
briggs 5781a8dcc0 The kernel is called netbsd, not vmunix. 1995-06-24 17:24:24 +00:00
briggs 4f05f7e8f6 pmap_page_index isn't a macro. 1995-06-24 16:18:50 +00:00
briggs 1dadb15deb Remove DIAGNOSTIC 1995-06-22 23:24:18 +00:00
briggs 3ddc81510c Add avail_end to keep ps and friends happy. Possibly a short-term fix. 1995-06-22 03:08:29 +00:00
briggs 1ccd38d9e1 Don't use constants for addresses. VA != PA... 1995-06-21 03:59:07 +00:00
briggs 229ed22747 Add function to reconfigure addresses when ROM is remapped. 1995-06-21 03:46:52 +00:00
briggs 2beeae8058 Lots of changes from hp300.
Removed MACHINE_NONCONTIG conditionals.  Only support that
configuration, now.
Some cleanup.
1995-06-21 03:45:10 +00:00
briggs 49b9eb5e4d A number of clean-up related changes and a few changes relating to
the new mapping.  "real mem" is now correct for MACHINE_NONCONTIG
machines.  MACHINE_NONCONTIG conditionals have been removed--only
support that case, now.
1995-06-21 03:41:51 +00:00
briggs 778adb81d1 Bring in 040 code from hp300 port.
Remove memory mapping code.
Update cpu_switch and a few other functions from hp300 port.
1995-06-21 03:36:27 +00:00
briggs 3d04799c79 Remove warning. 1995-06-21 03:20:58 +00:00
briggs 19b569364f Cleanup some--needs more pruning. 1995-06-21 03:20:22 +00:00
briggs 37b6dc390f Put page mapping code into a C module.
Remove old 040 version of page mapping--new way handles 040, too.
Derived from hp300 pmap_boostrap.c.
1995-06-21 03:19:35 +00:00
briggs 4a9e8ef39f Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
Remove unused mapin() macro.  Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs 5dd8297b11 Cleanup some and make these look more like hp300 versions. 1995-06-21 03:14:06 +00:00
briggs 23622438bf Get rid of pcb_cmap2. 1995-06-21 03:10:44 +00:00
briggs c2184f6f5b Update to look more like hp300. Clean up a lot. 1995-06-21 03:08:29 +00:00
briggs 04834fb800 Remove cpu_set_init_frame() define.
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
briggs 7542473d6d Clean up I/O base settings a bit. 1995-06-21 03:03:13 +00:00
briggs 697011742c Add some debugging (conditional on DEBUG). Add a more correct probe for
internal video.  Clean up nubusprint() a bit.
1995-06-21 02:59:08 +00:00
briggs e4ff96e47c Make NUBUS_BASE_TO_SLOT and reverse not depend on VA==PA for NuBus.
Add constant for DRSW_FARALLON.
1995-06-21 02:57:19 +00:00
briggs 6ff2537ad3 Make no assumptions about the absolute address of nubus cards. 1995-06-21 02:52:09 +00:00
briggs cb00a78de3 Treat 0 as a failure case for ae_id_card() and take out
null-op check for a 0 addrlist in init.
1995-06-21 02:50:22 +00:00
briggs f462aa095a Be a bit more careful on the probe... Make sure that the current slot's
addresses contain the int_video_start--or assume that internal video is
is "slot" 0xE.
1995-06-21 02:48:00 +00:00
briggs 1eec6bfc33 Add pmap_bootstrap.c and take out mac68k_init.c. 1995-06-21 02:43:19 +00:00
jtc 55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
briggs 67bfc330f1 Fix a typo that's gone unnoticed for a long time. Noticed by Brian
Gaeke (brg@dgate.org).
1995-06-20 05:13:19 +00:00
briggs caa1421dd6 Add FPSP back. 1995-06-19 03:55:15 +00:00
briggs 6f06373e06 Take out M68040, add a more specific swap and add vnd. 1995-06-19 03:53:58 +00:00
briggs fec7ba6562 Rearrange slightly. 1995-06-16 04:45:22 +00:00
briggs d37674426a "Always compile before you commit." 1995-06-09 02:19:47 +00:00
briggs 90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
briggs 0b3271404c Make genassym depend on its C source. 1995-05-31 00:09:55 +00:00
briggs 81712d5ba7 Make a diagnostic message DIAGNOSTIC. 1995-05-25 11:48:06 +00:00
briggs 0521ad83a0 Make comment fit reality. 1995-05-17 00:45:55 +00:00
briggs 2b47f281fe Some cleanup. 1995-05-17 00:37:33 +00:00
briggs 94ce6105d2 Add configuration for my gateway machine. 1995-05-17 00:33:59 +00:00
briggs a43ca9e742 Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
briggs fd807928aa Add a memcpy entry point as at least a temp fix for compiling with a
recent gcc2 snapshot.
1995-05-17 00:28:14 +00:00
briggs 6201783f37 Set A2 to PS_STRINGS in setregs(). 1995-05-17 00:00:42 +00:00
briggs 725cb78165 Actually probe for 881 vs. 882. Also add a case for 040, although it's
really lip-service at the moment.
1995-05-10 03:19:00 +00:00
briggs 56b5c26854 Get rid of a printf() that got left behind in the probe. 1995-05-06 18:44:48 +00:00
briggs c4cb3e244c Probe this like the other devices. 1995-05-06 18:33:19 +00:00
briggs 331e2bd82b Add some code/defines to differentiate Asante and Interlan/Gator cards
correctly with the new nubus code.
1995-05-05 05:40:13 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
briggs 34e5f975f9 Don't set mrg vectors if we're using the serial console--this allows
machines w/ non-working desktop bus to actually get on with booting.
1995-04-30 17:01:06 +00:00