428 Commits

Author SHA1 Message Date
briggs
a2bc99d6f1 Make these compile again. 1995-04-23 00:37:23 +00:00
christos
545f388282 Removed sunos_machdep.c 1995-04-22 23:40:24 +00:00
christos
94289bf2b0 Move sunos_machdep.c to m68k 1995-04-22 23:39:02 +00:00
christos
c5f01c2a4c Fixed comparison in SYS__syscall to be against sysent instead of
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos
de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs
74b3f483db Define DELAY. 1995-04-22 13:17:51 +00:00
briggs
a992a8136c Add some multicast byteorder-related changes from djh@mulga.cs.mu.OZ.AU. 1995-04-22 12:08:12 +00:00
briggs
dda57ad059 Use vfs_shutdown(). 1995-04-22 11:53:40 +00:00
briggs
9e1f939930 Get rid of old file from hp300 origins!? 1995-04-21 11:35:15 +00:00
briggs
5982b968a9 Enable nubus interrupts after registering. 1995-04-21 04:01:27 +00:00
briggs
7063b53b26 Separate nubus interrupt registry and enablement. 1995-04-21 04:00:55 +00:00
briggs
6bc53a2398 Handle grf_softc in the config.new manner.
Should have been done long ago.
1995-04-21 03:44:13 +00:00
briggs
13efb6c197 First pass of KNFication. Needs more. 1995-04-21 02:47:35 +00:00
briggs
85025d789c Prototype iteopen correctly (oversight from a while back...). 1995-04-20 15:46:56 +00:00
briggs
a6ba5f8f7e Update to use softc better and handle mainbus being indirect. 1995-04-20 15:32:01 +00:00
briggs
8288b9238d Make mainbus an indirect device--needs more work, but it does function. 1995-04-20 15:31:23 +00:00
briggs
64bd3f0995 Move to ptytty
Nuke the grf's reset space holder.
1995-04-20 15:30:22 +00:00
briggs
df693904cd include mi scsi files file.
Change several devices from needs-count to needs-flag.
1995-04-20 15:28:54 +00:00
briggs
4137a8ff57 Add itetty(). 1995-04-20 15:27:43 +00:00
briggs
a7f44caf1b Add a sertty() and update to use ser_softc instead of a bunch of arrays
everywhere.
1995-04-20 15:27:12 +00:00
briggs
1286501d43 Grab the sun3 cpu_coredump(). 1995-04-20 15:25:41 +00:00
briggs
7345c91d2e 'twould help to unmount the filesystems, wouldn't it? 1995-04-19 14:01:58 +00:00
briggs
bf68945da5 Define struct ae_ring which is necessary because BYTE_ORDER == BIG_ENDIAN,
but the card is in x86 byte order mode because NuBUS does the swap "for us"
on 16- and 32-bit transfers.  We should probably figure some way to use
the std struct ed_ring if/when all the 8390 drivers are all fully merged.
1995-04-19 04:46:06 +00:00
briggs
2b1a13ab2f Initialize totlen in ae_put. Thanks to chopps for pointing it out!
Also, switch back from using struct ed_ring to using struct ae_ring
because BYTE_ORDER == BIG_ENDIAN, but the card is in x86 byte order
mode because NuBUS does the swap "for us" on 16- and 32-bit transfers.
We should probably figure some way to use the std ed_ring if/when
all the 8390 drivers are all fully merged.
1995-04-19 04:43:36 +00:00
jtc
4d37095e31 Fix typo: ieefp.h -> ieeefp.h. 1995-04-16 16:47:03 +00:00
briggs
38cb076019 Get this working. Mainly, don't always round to word transfers on
receive.
1995-04-16 00:14:54 +00:00
briggs
f93fa3c440 Update interrupts to use (void *client_data) instead of (int unit) as
parameter to interrupt function.
1995-04-13 04:04:58 +00:00
briggs
c9e2e6e2a8 Update to use dev/ic/dp8390.h. Mostly from mycroft.
Still get extra data on either transmit or recieve, but want to
checkpoint this work.
1995-04-13 03:58:18 +00:00
briggs
2bc91b9c2c Almost working synch with if_ed.c. Much by mycroft. Fixups by me.
Inserts garbage characters--this driver isn't ready for use quite yet.
1995-04-12 15:01:14 +00:00
briggs
9554285cb6 Fixup from last changes.
Remove clock device.
1995-04-12 14:59:19 +00:00
briggs
13dc6a7a07 Make nubus indirect. Duh. 1995-04-12 14:57:40 +00:00
briggs
09ba51f21e Fix typo from last changes. 1995-04-12 14:55:45 +00:00
mellon
df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft
7114c30418 Use global 8530 defs. 1995-04-11 03:00:38 +00:00
mycroft
e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +00:00
briggs
a15027bd11 Remove old comment. 1995-04-10 13:01:19 +00:00
briggs
769e59cd1f Remove bogus extra tape cdevsw entry.
Change adb dev init to a mouse dev init.
Remove non-existant clock device stuff.
1995-04-10 12:59:48 +00:00
mycroft
22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
127e0761c9 Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
needed.  Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft
8f8bccf41f Switch grfmap and grfmmap. 1995-04-10 07:56:46 +00:00
mycroft
942c5ec591 Map vnd device from chr to blk. 1995-04-10 07:54:45 +00:00
briggs
d5cfa2c98f Synchronize with latest changes to hp300 conf.c and give dummy mem
open/close/map routines (map is dummy for now, but should be implemented
when I'm more awake).
1995-04-10 05:57:40 +00:00
mycroft
e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
briggs
c17558aa9b Fixup types of a few functions to match if.h structure. 1995-04-08 20:55:26 +00:00
briggs
426b77c9eb Put in a dummy PostEvent trap and enable ADB interrupts for IIci. From
Paul Goyette (paul@pgoyette.bdt.com).
I went ahead and removed the conditional around setting the ADB interrupt
enable.  I don't expect Apple will have changed this on any other models
as it's the same on all documented models.
1995-04-08 20:46:23 +00:00
briggs
7e4d7125a3 Back to previous version of the serial driver until we can figure out
why the new one gets a lot of overflows and doesn't work on the IIsi
or IIvx at all.
1995-04-08 13:20:52 +00:00
briggs
870235352d Print a diagnostic if we do hit the watchdog and recover w/o resetting. 1995-04-08 13:17:55 +00:00
briggs
8ca9890ea2 Actually set the vectors for RBV as well as VIA2.
Don't go to spl4 when we have an ADB interrupt.
Turn off video interrupts on the SE/30.
1995-04-08 13:16:33 +00:00
briggs
10fc499f8c Nuke FPCOPROC and add fpu device driver and FPU_EMULATE from sun3.
Still need to figure out how to handle this w/ FPSP on 68040's but
since we're not really using the 68040 yet...
1995-03-29 07:38:34 +00:00