Commit Graph

734 Commits

Author SHA1 Message Date
scottr
5fd93a11ca Clear interrupt before enabling in calibrate_delay() (from John P. Wittkoski) 1996-02-19 21:40:48 +00:00
scottr
8fe7b2bbb7 Be a bit more careful when setting up the timer for calibrating delay(). 1996-02-19 05:20:54 +00:00
briggs
ab3f741911 Update to latest Atari driver, but with some local modifications. 1996-02-19 02:51:03 +00:00
briggs
2efbb04ae0 Make delay() match prototype. 1996-02-17 19:23:03 +00:00
briggs
f851e3e8b3 Move spl stuff from param.h to psl.h. Prototype delay() in param.h. 1996-02-17 14:50:40 +00:00
briggs
946dc72362 Get d_npartitions right. 1996-02-14 14:20:54 +00:00
briggs
ef9b75f679 HZ used to be in Makefile.mac68k... It is 60 on the mac, not 100. 1996-02-14 04:26:38 +00:00
briggs
9401e46ed0 Change readdisklabel to check block 0 of the disk for a Macintosh magic
number before attempting to load the Macintosh partition info.  If the
first 32-bits of block 0 contain the BSD disklable magic number, treat
it as a NetBSD disklabel.
When loading the Macintosh partition map, check the first 32 partitions
for the root, usr, and swap partitions--instead of the first 8.  Still
only allows 8 total partitions for NetBSD use.
1996-02-11 22:31:47 +00:00
briggs
d03a91c75f KNF-ified by Scott Reynolds a long time ago. 1996-02-11 15:23:19 +00:00
briggs
4323ae0307 Remove via_inited, as it is unused. 1996-02-11 01:20:46 +00:00
briggs
6945798b81 Correct ROM vectors for the LC 475. 1996-02-11 01:20:37 +00:00
briggs
ffc19f58b0 Back out last change. Bad karma to initialize the VIA that early. 1996-02-11 01:20:23 +00:00
scottr
0ae8a51904 PETE was pretty useless; SPOT is my own machine, and will better
reflect the status of sbc driver configuration.
1996-02-11 00:17:13 +00:00
scottr
af4f29bcb3 Identical to GENERIC, but uses the `sbc' driver. 1996-02-10 23:42:31 +00:00
scottr
ed73ac3b48 New SCSI driver for Macintosh II family machines, implemented using
the MI 5380 driver.  It has been verified to work on the IIx, IIsi,
and IIci only, but should work with any Macintosh 5380-based SCSI
controller.

  -  This driver is _not_ intended to be a general purpose replacement
     for the `ncrscsi' driver.  It is an alternative for those having
     problems with that driver.
  -  Disconnect/reselect doesn't (yet) work, so don't expect SCSI tape
     or magneto-optical disk drives to function properly.
1996-02-10 23:28:41 +00:00
briggs
01c43471b9 Make a message more verbose for folks who try to boot in 24-bit mode. 1996-02-10 23:12:46 +00:00
mycroft
753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
scottr
3c8605f0f7 Add sbc driver. 1996-02-07 16:34:28 +00:00
christos
2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
briggs
2a878c9a3a Move debugging defines, etc. into mac68k5380.c and use them instead of
something similar but different.  Make a few cosmetic changes.
1996-02-03 23:17:53 +00:00
briggs
3d8d566948 New delay() implementation from Scott Reynolds (scottr@edsi.org).
Also some minor rearranging of the VIA initialization (init earlier).
1996-02-03 22:50:22 +00:00
briggs
6b6a46ed2f Implement mac68k_register_via1_t1_irq(). Also, remove via_inited warning. 1996-02-03 22:50:19 +00:00
briggs
d13a039f24 New delay() implementation from Scott Reynolds (scottr@edsi.org).
Also some minor rearranging of the VIA initialization (init earlier).
1996-02-03 22:49:52 +00:00
briggs
20123d5253 O2 breaks on this port. Use -O until we can fix it. 1996-02-03 15:14:39 +00:00
mycroft
5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft
dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft
9db20bf150 Don't define _KERNEL here. 1996-02-02 19:42:08 +00:00
mycroft
9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
briggs
5336dade8e Force the talley counters to be read when we get the interrupt. GCC was
nicely optimizing the reads out for us.  Kudos for this one go to
Steven R. Weiss <srw@hvcn.org>.
1996-02-02 15:30:56 +00:00
mycroft
cec913603e Don't special-case conf.c. 1996-02-02 13:38:05 +00:00
mycroft
fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft
88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
briggs
af9bcab2ce Clean up and comment a bit. 1996-02-01 03:40:26 +00:00
briggs
cde62d494a Fix for delay(usec) for small usec. From Scott Reynolds <scottr@edsi.org>. 1996-01-29 04:10:00 +00:00
briggs
229c36d3dd Patch a few of the holes in the machine-dependent part of this driver.
Sync the m.i. part with the Atari.
1996-01-24 06:02:06 +00:00
briggs
1fd44da3df Change an &= to an & -- the former stopped working for some reason
that I need to delve into when I have time.
1996-01-24 05:52:58 +00:00
briggs
af016e6224 Updates from Kelly Campbell <camk@ksu.ksu.edu> for some ROM addresses. 1996-01-15 12:29:48 +00:00
thorpej
57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
briggs
0d6552d914 Fix typo in last change. 1996-01-13 14:03:38 +00:00
briggs
46c929801f Move splimp to 2 and spltty to 1. 1996-01-13 01:41:05 +00:00
briggs
2a61903be4 Patch to at least recognise FOCUS EtherLAN. From Erik Bertelson
<erik@sockdev.uni-c.dk>
1996-01-12 04:52:58 +00:00
briggs
46a202fc6a Fixes from PR #1931 w/ minor mod in vm_machdep.c 1996-01-12 04:16:25 +00:00
briggs
39f642161a Keep two states for pdma debugging. Turn debugging back on. Sigh. 1996-01-11 15:25:53 +00:00
briggs
631612b677 Move splzs to spl4 from splhigh. Really same difference... 1996-01-11 15:23:01 +00:00
briggs
2a9c1229ec Add some more first guesses at some machines. 1996-01-09 15:26:53 +00:00
briggs
1b99515858 Add #defines for some more machines. 1996-01-09 15:26:02 +00:00
thorpej
5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
briggs
f5269d0ff6 Fix from Paul Goyette for off-by-one error. 1996-01-06 15:56:12 +00:00
briggs
682c4ec08f Bring in a few changes from Atari port.
Add support from Paul Goyette for keeping more than just the last 2
states when debugging.
1996-01-06 05:18:06 +00:00
jtc
2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00