scottr
f2bdde942a
Due to reliability problems on some models, back out the more radical of
...
the pc532/dev/ncr.c-inspired changes; in particular, wait for previous
transfer to complete before starting another, as we used to do. Retain
splbio() protection and simplified sbc_pdma_in().
1997-06-30 05:24:35 +00:00
scottr
0b7e64bbfa
Update for mac68k_buserr_addr -> m68k_fault_addr change.
1997-06-29 06:10:35 +00:00
scottr
b1f4ee5c2a
Identify and use the Apple Twisted Pair NB card properly, from PR 3789
...
submitted by Denny Gentry <denny1@home.com>; investigation on the hardware
done by Bob Nestor.
1997-06-26 21:08:10 +00:00
scottr
9dfb9a7f87
Add support for Mouse Systems A3 mouse. From Colin Wood.
1997-06-16 06:35:26 +00:00
scottr
db9068c773
Don't call Debugger() if we don't have ddb. Fixes PR 3744.
1997-06-15 20:34:15 +00:00
scottr
36b75f2735
Update from Denny Gentry <denny1@home.com>, PR 3685:
...
Simplify the way transmit buffers are managed, remove assumptions about
NBPG, simplify sonic_get handling, update snioctl to be more like other
current drivers, and probably a few other changes I've now forgotten about.
1997-06-15 20:20:07 +00:00
veego
61e0a78f37
s/mac68k_btop/m68k_btop/
1997-06-10 20:29:10 +00:00
veego
dd62be796a
s/mac68k_trunc_page/m68k_trunc_page/
1997-06-10 19:01:35 +00:00
veego
0cd13fe0b5
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
...
s/mac68k_btop/m68k_btop/
1997-06-10 19:01:00 +00:00
scottr
a0d035c410
Fix some printf format inconsistencies; from SUNAGAWA Keiki
...
<kei_sun@ba2.so-net.or.jp>, fixes PR 3619.
1997-05-19 17:23:09 +00:00
scottr
fac0bcfedb
Update a recently-added comment re: bytelanes values.
1997-05-13 13:22:56 +00:00
scottr
5b80f9077f
Tweak sbc_drq_intr() (interrupt-driven PDMA interrupt handler); it
...
now works properly on at least some disks. Further testing is
necessary.
1997-05-13 06:34:00 +00:00
scottr
3b7a1d3ab0
Convert several interrupt handlers to bus space model, removing some
...
XXX's. Also, fix a bug in grfmv_intr_generic() that I found and
confirmed with Allen.
1997-05-12 20:35:50 +00:00
scottr
61322b7b85
KNF and other cosmetics.
1997-05-12 07:53:58 +00:00
scottr
ee80f1200e
Implement new NuBus slot space mapping/probing code, utilizing bus.h (and
...
our MD bus_space_probe() extension). This has several side effects:
- NuBus drivers must map and unmap slot space, rather than relying
on this happening before they are attached.
- Functions exported to NuBus drivers from nubus.c now need to be
supplied with a bus space tag/handle pair.
- Old bus map/peek functions can be garbage collected, as can pmap
support for the same.
Because of some current limitations of the bus space specification, we
are violating the abstraction in grf_mv (NuBus grf driver). All such
violations are clearly marked /* XXX */, and must be addressed when
the specification is updated.
1997-05-11 19:11:27 +00:00
briggs
5230506ca5
Support for clearing interrupts on a Rasterops Colorboard 364.
...
Thanks go to Michel Chalufour <michelc@tiac.net> for grovelling around for
me.
1997-05-03 02:29:54 +00:00
briggs
1b2e317732
Thanks to Tobias Beal <tbeal41@maine.maine.edu>, we can clear interrupts
...
on at least one Radius Precisioncolor 8 board.
1997-05-02 00:54:28 +00:00
briggs
aba671db48
Treat drhw 118 and 119 the same for Apple ethernet cards.
1997-05-01 18:17:13 +00:00
briggs
a64bc3c19c
Clear the interrupts properly on an E-Machines Futura II LX and make a wild
...
guess at clearing them on a Futura II SX/DSP and RasterOps ColorBoard 364.
Thanks to Michel Chalufour <michelc@tiac.net> for loaning me the II LX.
1997-05-01 03:34:07 +00:00
briggs
ef185efb22
Add in a couple more board types.
1997-05-01 03:31:07 +00:00
scottr
19f1b8dd3f
Remove dependency on if_aereg.h for vendor constants; these are really
...
driver-, not architecture-specific.
1997-04-30 19:47:11 +00:00
scottr
b28e1b9459
Fix typo in last change.
1997-04-30 19:32:32 +00:00
scottr
4a36cdfd19
Adjust to use16bit -> dcr_reg change in MI driver.
1997-04-30 18:10:37 +00:00
scottr
63ac9ee6e0
Use the new MI 8390 driver, and garbage collect.
1997-04-29 04:40:22 +00:00
scottr
c69d32662f
From Mycroft: Oops; forgot to GC the last mbuf allocated when
...
out of clusters.
1997-04-28 20:31:16 +00:00
scottr
70dcf0b5f6
Undo a hack added in the last overhaul (which caused an extraneous byte
...
to be written to the target). Also, use the sc_min_dma_len field
to determine whether to use PDMA or PIO.
1997-04-28 15:59:20 +00:00
briggs
d25f63a7bf
What was I thinking?
1997-04-27 19:26:48 +00:00
briggs
e861dbf8c7
A couple of performance improvements from Denny Gentry <denny1@home.com>
1997-04-25 03:40:09 +00:00
scottr
72111ae284
From Mycroft: If we fail to allocate a cluster to hold a large packet,
...
simply drop it rather than using a chain of tiny mbufs.
1997-04-24 16:52:05 +00:00
briggs
ed74d8f653
On video devices, if we're loading non-default resource values, save the
...
resource ID. Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting
this one.
1997-04-23 13:37:43 +00:00
scottr
9784a8d3cf
space vs. tab formatting, KNF
1997-04-22 21:00:04 +00:00
scottr
b09a74e8b9
If we can't map SONIC register space, just print a diagnostic message and
...
continue. Make formatting consistent and KNF while here.
1997-04-22 20:56:15 +00:00
scottr
a653364eb1
Remove obsolete drsw diagnostic; make formatting consistent; KNF.
1997-04-22 20:32:08 +00:00
scottr
65673e5ec2
Make formatting consistent; inline -> __inline__; KNF.
1997-04-22 20:26:24 +00:00
scottr
2111f73a90
Remove obsolete drsw diagnostic
1997-04-22 20:21:59 +00:00
scottr
e733e600d3
#ifdef DIAGNOSTIC, print the NuBus type fields for unrecognized boards.
1997-04-22 20:20:32 +00:00
briggs
d13ebf0e72
Make sure that we unmap the space that we mapped if we can't identify the card.
1997-04-22 13:45:38 +00:00
briggs
d2a4acec48
Initialize 'offset' to make gcc happy.
1997-04-22 03:04:33 +00:00
scottr
43f35682d8
April 18 update from John Wittkoski, w/space vs. tab KNFing by me.
1997-04-21 18:04:28 +00:00
briggs
fc43576e8d
Take care when accessing DAFB--some quadra-class machines use other video
...
controllers.
1997-04-21 00:57:59 +00:00
scottr
7e00ee54d8
Fix itematch() for case where fboff is not zero. From Dave Huang,
...
closes PR #3501 .
1997-04-20 20:31:18 +00:00
scottr
19c5134870
For small writes, use PIO rather than PDMA; this increases the reliability
...
of the driver (considerably, on some systems/targets).
1997-04-18 17:38:08 +00:00
briggs
bbc4732fd1
Fix from Denny Gentry--initialize receive seq. counter.
1997-04-18 12:04:37 +00:00
scottr
11b0f01c17
Make sure to call adbop() on Power Manager-based machines. Noted by
...
Takashi Hamada, who also provided the code I based this modifcation
on.
1997-04-18 05:53:41 +00:00
briggs
16865d719a
Take a stab at making this more reliable.
1997-04-15 03:22:50 +00:00
scottr
aae8cccb0f
Use the new opt_mrg_adb.h header.
1997-04-14 16:56:26 +00:00
scottr
7793be9949
Purely cosmetic cleanup:
...
- Remove unused `register' modifier on declarations
- Reverse the sense of some tests to make the code more clear
- Type casts per KNF
- Move a static variable into the only function that uses it (perhaps
we can eliminate it entirely, someday?)
1997-04-14 16:28:34 +00:00
briggs
90754f0770
Capslock support from Steve Brown <sbrown@best.com>
1997-04-14 01:02:47 +00:00
briggs
13175a1a16
Use an offset parameter when loading the reg_map--some cards use the "other"
...
16 bits of the words.
1997-04-14 00:44:01 +00:00
briggs
6d338ace93
Oops. We do not want to unmap something that we've used bus_space_subregion
...
to get.
1997-04-13 16:42:34 +00:00