Commit Graph

84 Commits

Author SHA1 Message Date
briggs 404b8fce6b Update to magnum scsi system. Also added a function to sd.c to map a
scsi target to a disk unit for setroot().  If anyone knows a better way
to do this, please let me know.  The only other way I could think of
would be to add a field in disk.h:struct dkdevice to reference the scsi
target.  Ideally, the correct boot device would be passed in from the
booter.  As we only have one scsi bus (until we support NuBUS scsi
cards), it makes sense to be backward-compatible (especially since mac
weenies seem to need help tying their shoes).
1994-01-30 01:21:12 +00:00
briggs de456b165a Include-cop. 1994-01-30 01:15:31 +00:00
briggs c86a4eb235 Include-cop strikes again. 1994-01-30 01:14:49 +00:00
briggs d110378226 Just playing include-cop. 1994-01-30 01:11:36 +00:00
briggs eb7f152ad2 Fixup includes and prototype stuff. Still need to go back and put in
old-style function headers to be pedantic.
1994-01-30 01:10:33 +00:00
briggs df5f6080ef Change to support config.new and magnum-esque scsi code. Works much
more nicely.
1994-01-30 01:08:50 +00:00
mycroft 8b09474e2e Clean up deleted files. 1994-01-30 01:07:03 +00:00
briggs a829ad4c4b Nuke final references to chars.h. It wasn't being used. 1994-01-30 01:07:01 +00:00
briggs 031cee34c2 Use a real swapgeneric.c instead of a place filler. This works with the
changes to autoconf.c...
1994-01-30 01:05:52 +00:00
briggs e845737b08 Switch from DELAY to delay. 1994-01-30 01:04:35 +00:00
briggs 4b756ee088 Add a stupid delay() that is little more than a place-holder for a real
implementation.
1994-01-30 01:03:51 +00:00
briggs ad4ee3bfe4 DTRT w.r.t. root and boot disk devices. This could still use some work,
but it's a lot better than depending on root being on sd0 (and swapping
if it isn't).
1994-01-30 01:01:08 +00:00
briggs ec1d50fc52 Fixup scsi references and add ISOFS and PROCFS options. Clean up swap/root
definitions, too.
1994-01-30 00:58:52 +00:00
briggs d1cb647349 Use LD=ld.dist instead of LD=ld until we get around to fixing the
bleeding booter.
1994-01-30 00:57:20 +00:00
briggs ecc982a417 Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.
1994-01-30 00:56:39 +00:00
briggs 4d3096f778 Get rid of DELAY defines. These are bogus. There has to be a better
way.  And there will be.
1994-01-30 00:53:07 +00:00
mycroft 6a50b26e15 Pointer to common version. 1994-01-27 15:26:31 +00:00
cgd c9c3b2abbe HP300 -> MACHINE 1994-01-27 02:12:44 +00:00
briggs 71d0f0a1ee Apply patch as suggested by Theo. 1994-01-24 22:29:40 +00:00
cgd 36a23c4ad8 stub 1994-01-23 00:23:02 +00:00
briggs bf7f4476c9 Ditch ENTRY/ALTENTRY defines and include "m68k/asm.h" instead. 1994-01-22 13:39:32 +00:00
briggs 27a2300de5 ifdef out copyinstr/copyoutstr/... functions that are now defined in copy.s. 1994-01-22 03:47:48 +00:00
briggs 29b900df29 cpu_*disklabel => *disklabel. This will all be revamped soon, anyway... 1994-01-21 00:20:57 +00:00
briggs 7bed222bc4 A field name in a structure changed. So we did, too. 1994-01-20 23:58:47 +00:00
briggs a0bbe77f60 Take out coninit and clean up some warnings. 1994-01-20 23:57:09 +00:00
briggs 8a9e97410c Be friendly and only compile this stuff if NUK > 0. 1994-01-20 23:56:08 +00:00
briggs 64be0b1f3a Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.
1994-01-20 23:55:16 +00:00
mycroft 0df1b00481 Clean up deleted files. 1994-01-17 01:04:42 +00:00
briggs b05de50fc1 We aren't a VAX. 1994-01-17 01:04:08 +00:00
briggs 7ea239d333 Put lun in CDB. Is there be a way to determine when this is really
necessary?  (It is for some drives).
1994-01-15 03:26:20 +00:00
briggs 363cc5e5be Basic cleanup. Get rid of my_frame for frame. 1994-01-13 12:59:30 +00:00
briggs 626f129c93 Allocate exec_map. 1994-01-13 12:56:16 +00:00
briggs 197d195eb4 TRAP_TYPES macro to trap_types variable.
Yank some VIA initialization.  Seemed to cause some problems.
1994-01-11 00:25:30 +00:00
briggs 0602c3467a Yank a reference to a variable that bit the dust. 1994-01-11 00:20:10 +00:00
briggs ed87cbfebd Some generic clean-up. Get rid of old debugging code. Fix exec to work
with new changes by cgd.  Fixup includes.  Get rid of initcpu().  Change
code using struct myframe to use struct frame.  Some gratuitous
reformatting and get rid of C version of copyinstr().
1994-01-11 00:18:54 +00:00
briggs 33e189e2da Clean up isr stuff. 1994-01-11 00:16:13 +00:00
mycroft 09e9a743f5 Clean up deleted files. 1994-01-11 00:03:43 +00:00
briggs 558be1794a Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.
1994-01-10 23:58:37 +00:00
briggs af6d2f067d Fixup to use m68k headers, now. Thanks, Chris. 1994-01-10 23:55:20 +00:00
briggs dfe9897dba Update grf.h to increment a number of devices when it configures.
Fix a small bug in serial.
  Both from Brad, Lawrence, and/or Mike.
1994-01-10 23:52:01 +00:00
mycroft f5d2568734 Clean up deleted files. 1994-01-08 18:36:06 +00:00
cgd ab38f02a26 kill entries duplicated in files.m68k.newconf 1994-01-08 18:31:53 +00:00
cgd f7b271f349 specify that the mac is of the m68k archtecture. 1994-01-08 18:06:25 +00:00
cgd b38fa5acf8 stubs which pint to m68k include 1994-01-08 12:41:41 +00:00
mycroft ed95321df9 Still need old #defines for now. 1994-01-06 17:05:34 +00:00
mycroft f76fdd7722 Implement `struct reg'. 1994-01-06 16:50:13 +00:00
briggs cec9c395f8 Use address instead of slot for add_nubus_intr. This whole interrupt
scheme should probably be taken out and shot.
1993-12-21 03:19:33 +00:00
briggs 982b2aa969 Update ethernet driver to use config.new. At least, it's a first stab
working from mycroft's magnum changes to if_ed.c.
1993-12-21 03:18:00 +00:00
briggs 2390a5c1ee Add basic sound support and a beeping (instead of flashing) console...
from Brad Grantham.
1993-12-21 03:16:01 +00:00
briggs fded7fc070 Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.
1993-12-21 03:14:16 +00:00