Commit Graph

105 Commits

Author SHA1 Message Date
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
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 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
mycroft 7114c30418 Use global 8530 defs. 1995-04-11 03:00:38 +00:00
mycroft 8f8bccf41f Switch grfmap and grfmmap. 1995-04-10 07:56:46 +00:00
briggs c17558aa9b Fixup types of a few functions to match if.h structure. 1995-04-08 20:55:26 +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 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
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
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 50721bd46f Raise watchdog timer a tad. 1995-03-01 03:47:08 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
briggs 347304eb41 Many changes and updates from Dave Leonard (d@fnarg.net.au) and
Brad Parker (brad@fcr.com).  I've been sitting on these for a while.
Notes from Dave:
  redocumented z8530 stuff.
  Added break ioctls and detection.
  Pass framing/parity errors to line discipline.
  Added TIOC[SG]FLAG.
  Attempt at bringing all chip ops together.
  deepended s/w fifos to match chip's.
1995-02-11 19:06:57 +00:00
briggs 7190ebb7e0 Set sc_link->openings.
Simplification of scsi_cmd from pc532 mods to this driver.
1995-02-01 13:50:42 +00:00
briggs bc36ccab9a Update for scsi changes. Incl. xs->resid = 0 (thanks Phil).
Changes compile, but are not tested.
1995-01-15 06:27:54 +00:00
briggs 749ca327c9 Nuke Log in if_aereg.h and remove duplicate (and benign) sc->smem_size
assignment from Brad Parker (brad@fcr.com).
1994-12-04 19:40:14 +00:00
briggs 1c47e24828 Mac ROM Glue changes from grantham@tenon.com. 1994-12-03 23:33:55 +00:00
briggs d703fa05aa At least somewhat functional ethernet driver from Brad Parker
(brad@fcr.com).  Requires changes to via.c which are coming with
other changes in a moment...
1994-12-03 23:30:45 +00:00
briggs 4e06addf8a Nuke DEBUG. 1994-12-03 23:26:25 +00:00
briggs 2bef12a661 Get rid of private delay(). 1994-12-03 14:17:20 +00:00
briggs 037951ec4f Remove private delay() and clean up some odd delay times that we were
using...
1994-12-03 14:16:58 +00:00
briggs e054795fb3 "../scsi/*.h" -> <scsi/*.h> 1994-11-29 03:43:52 +00:00
briggs 81828a6a38 Boolean goof. (True) 1994-11-29 03:38:48 +00:00
briggs 492011ffd7 Modify the serial port initialization slightly so it works on the IIsi. 1994-11-03 16:15:27 +00:00
briggs 815a0b9aca Fix a buglet in computation of fbsize. Pointed out by monroe@cs.pdx.edu. 1994-10-30 13:34:31 +00:00
cgd 4fdae7a0ae new RCS ID format. 1994-10-26 08:45:48 +00:00
briggs 93b8f0f095 Change strategy slightly so that serial console is enabled if internal
console is not--regardless of the value of the boot-time flag.
Suggested by a question from bit@gnu.ai.mit.edu (jim howard - bit.map).
1994-09-30 00:52:44 +00:00
briggs 49e7735666 Actually implement serial boot (console) echo (minor change to ite.c).
Remove some old junk in ser.c and implement serial console and serial
boot echo (if serial console's enabled, clear echo).
1994-09-29 03:33:13 +00:00
briggs 24de5a9668 Nuke a CVS Log entry. Attribute introspection to Brad. 1994-09-12 21:56:36 +00:00
briggs 400d187c01 Remove need for "bounds.h." Brad can still use it if he wants ;-) 1994-09-12 03:54:05 +00:00
briggs 5432aef717 Fix a scrolling bug when we have more than 64k to scroll. 1994-09-12 03:38:30 +00:00
briggs 183f4c6128 Lots of cleanup. Add functions for serial console--just stubs for now.
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
briggs 08d96f103f Nuke holdovers from old HP300 console code. Get rid of any reference
to serial_boot_echo stuff here.
1994-08-02 17:55:24 +00:00
lkestel 1c22264669 Make internal video look like a grf device so that desktop and X can use
it.  GRFIOCMAP modifies addr to include the offset into the screen where
the first pixel is.  Not a very clean way to do it -- we should add a
field to grfinfo for offset.
1994-07-31 08:32:47 +00:00
lkestel 82dcea7759 Fixed bug with bcopy()'ing more than 65535 bytes; initialize d_ttys and cn_tp
on itecnprobe(); other minor bug and warning fixes.
1994-07-31 06:45:50 +00:00
mycroft 639939abca Clean up deleted files. 1994-07-30 04:21:48 +00:00
lkestel 774ef66058 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:42 +00:00
mycroft 1b935ff541 Clean up deleted files. 1994-07-24 01:23:20 +00:00
lkestel a185489f80 Fixed a few bugs in the key-repeat function and disabled key-repeat
when /dev/adb is closed to avoid infinite repeat problem.  Brad claims
that he's got this solved in his version...
1994-07-21 06:36:51 +00:00
lkestel 020b962ae6 Added vt100 emulation and sped up text writing, scrolling, etc. 1994-07-21 06:35:49 +00:00
briggs f954a7b0dd Make "unknown ioctl" printf ifdef DEBUG and take out an extra comma from
the format string.
1994-07-21 03:32:07 +00:00
briggs cc7e76a9a5 Put in a warning message that the driver is non-working and checkpoint
with a little bit more debugging stuffage.
1994-07-21 01:33:29 +00:00