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
briggs
7a557178ba
Get rid of some BARFs and assign some semi-reasonable spl()s...
1995-03-29 07:35:35 +00:00
briggs
9fca93fa60
Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
...
Support the above with gwr's sun3 stuff.
1995-03-29 07:28:48 +00:00
briggs
4c88a6a961
Don't MRG_TEST the tracing if MRG_TRACE isn't defined. From
...
Paul Goyette (paul@pgoyette.bdt.com ).
1995-03-26 18:10:23 +00:00
briggs
625d11a739
sun3 fixes for COMPAT_SUNOS.
1995-03-26 15:53:36 +00:00
briggs
9d7efb1fb0
Do iteon() and iteoff(). Right now, they just clear/draw the cursor and
...
clear the screen. "We" should look at updating these further.
1995-03-26 15:52:21 +00:00
cgd
fa2133533d
invoke ktrsyscall with (vp, code, argsize, args) as args.
1995-03-26 08:03:29 +00:00
briggs
5a8670a41a
add_nubus_intr takes int (*)(), not void (*)().
...
Fix slot interrupts more.
1995-03-25 22:30:39 +00:00
briggs
bc14b5cbcc
Don't count video interrupts.
1995-03-25 22:28:30 +00:00
briggs
bb035dee62
KERNEL -> _KERNEL
1995-03-23 20:19:16 +00:00
jtc
d57fb977bb
Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
1995-03-23 19:46:18 +00:00
briggs
50e913cf92
Handle VIA2 (RBV?) better. Speed up interrupt processing (which had a
...
negative impact on the ethernet timeouts). This is still not correct,
but I am unsure what is correct. We can, apparently, get a nubus
interrupt without any slots showing an interrupt condition. Ick. This
does not always happen before we apparently lose an interrupt, either
(see last (chronological) log message for if_ae.c).
Someone with a fresh set of eyes should probably look at this, but it's
cobbled together to (mostly) work.
1995-03-23 14:16:38 +00:00
briggs
24787aea0e
Add macvideo_intr to handle video interrupts. Currently has behavior
...
that was previously in slot_noint().
1995-03-23 13:45:07 +00:00
briggs
129893572f
Serious kludge around network timeouts. Network timeouts seem to be
...
caused by the VIA missing the ethernet slot interrupt. If we get a
watchdog, try calling the via's nubus interrupt function. If that
causes an interrupt, don't reset anything. If it doesn't, use old
behavior (log timeout and reset).
Yuck.
1995-03-23 13:00:05 +00:00
briggs
8b2f3e8f69
Modify handling of via2 interrupts. Ethernet is much more reliable
...
for me, now (one problem down, anyway).
1995-03-20 05:59:42 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
briggs
a6f94aae0e
Let's do leave the RAW_PART alone...
1995-03-17 03:40:41 +00:00
briggs
5b07b9403e
Nuke NEWCONFIG. It's not used anymore at all.
1995-03-11 13:56:36 +00:00
briggs
999ff6a003
Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
...
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
mycroft
dc3d752c6c
Fix last arg to scdebug_ret().
1995-03-09 08:59:45 +00:00
mycroft
db7371a9b7
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
briggs
9940bbf358
Clean up via.c a good bit--still needs more. Get rid of some timing stuff
...
that we aren't using at all anymore.
1995-03-01 03:48:44 +00:00