scottr
4c69a8b2ea
Update for bus.h changes.
1998-01-13 19:15:32 +00:00
thorpej
36760d9d94
Update for changes to config.
1998-01-12 18:59:04 +00:00
scottr
a7515413d8
Remove advertising clause.
1997-10-10 05:54:48 +00:00
scottr
83bd421ad4
Set up base address of ASC for IIfx, per GtMFH.
1997-09-16 16:28:07 +00:00
scottr
c988c6f85f
Make #include directives consistent. All MD headers are of the form:
...
#include <mac68k/{dev,mac68k}/foo.h>
1997-08-11 22:53:26 +00:00
veego
61e0a78f37
s/mac68k_btop/m68k_btop/
1997-06-10 20:29:10 +00:00
scottr
9c91a181d6
Update copyright and license.
1997-02-24 05:47:33 +00:00
scottr
f6f4cf1d40
Remove redundant info from bus_space_map() diagnostic in ascattach()
1997-02-13 19:55:48 +00:00
scottr
f5ac9d5deb
Add a bus space tag field to obio_attach args, initialize it in
...
obio_search(), and use it in the ASC driver. Thanks to Jason for
pointing this out. Minor KNFing while I'm here.
1997-02-11 22:44:25 +00:00
scottr
77e960bf17
Complete revamp of Apple Sound Chip support. The ASC can now be accessed
...
as a real device whose registers and buffers are available through mmap(2),
which makes further development of the driver considerably less painful.
1997-02-11 07:47:36 +00:00
scottr
d8deae5099
Convert to bus.h; this removes the need for the ASCBase global.
1997-02-03 17:36:00 +00:00
scottr
9b4055eb72
Convert all foo_match() functions to use a `struct cfdata *' for their
...
second argument. The NuBus autoconfig code had to be reorganized as a
result of this, and looks much more like a directly-attached bus now.
These changes eliminate __BROKEN_INDIRECT_CONFIG.
1996-12-16 16:17:02 +00:00
briggs
51d658e787
Check to make sure that ASCBase is accessable before claiming that we
...
have an Apple Sound Chip. Make sure that we have configured the device
before allowing accesses to ASC memory. Among other things, this
prevents the 660AV and 840AV from getting a kernel bus error when trying
to beep on the console.
1996-11-09 17:26:26 +00:00
christos
40ecbf8e72
backout previous kprintf change
1996-10-13 03:21:13 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
briggs
37163421a3
Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
...
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
thorpej
82d914d090
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
briggs
c587e77144
Remove bogus assignment.
1995-11-01 04:58:21 +00:00
briggs
fbd9919364
Fix warning and use __P for prototypes.
1995-09-21 03:36:25 +00:00
briggs
13efb6c197
First pass of KNFication. Needs more.
1995-04-21 02:47:35 +00:00
cgd
4fdae7a0ae
new RCS ID format.
1994-10-26 08:45:48 +00:00
briggs
60dc2edc69
Make this into more of a device so it can be probed and attached. Nuke
...
RCS/CVS Log. Make ASCBase an offset instead of an absolute.
1994-07-21 00:44:00 +00:00
briggs
4ade6821f7
Minor mods. Get rid of constants, or update to use a better default
...
value.
1994-06-26 13:02:41 +00:00
briggs
397e0acc8d
Missed some warnings...
1994-05-06 17:38:38 +00:00
briggs
c22c80abac
Clean up some warnings, mainly w/ timeout().
1994-05-06 03:34:53 +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