scottr
956ec2a47c
The previous optimization of the interrupt handlers was a bit too
...
agressive. Being a little more conservative pays the biggest dividend.
1997-03-04 04:11:52 +00:00
scottr
f749003301
Fix part of last change: don't mask off the high bit of the VIA IER until
...
the interrupt has been unflagged. Problem noticed by Paul Goyette.
1997-03-03 04:19:06 +00:00
scottr
93d8b2c8b0
Add the MAC68K_BROKEN_VIDEO option, which is a hack that delays enabling
...
NuBus interrupts until an Ethernet card is attached.
XXX This should go away at some point, obviously.
1997-03-02 06:43:00 +00:00
scottr
152b0ab7d2
Adapt to sbc driver/attachment split
1997-03-01 20:22:16 +00:00
scottr
421abedbfe
Split bus-dependent autoconfig code from the driver. This allows for
...
the future addition of a Duo Dock front end.
1997-03-01 20:18:58 +00:00
scottr
df7f40213a
Allow A1 to be used for passing arguments to ROM routines. Also, clean up
...
debugging printf() formats. From Allen Briggs and Paul Goyette.
1997-03-01 17:20:34 +00:00
scottr
a4b0e4c070
Protect MCLSHIFT definition so users can customize MCLBYTES, from Jonathan.
1997-03-01 06:57:45 +00:00
scottr
42be6ebfa7
Fix prototype for espmatch()
1997-03-01 06:38:36 +00:00
scottr
215c0b896a
Convert to generalized VIA interrupt registration
1997-02-28 15:50:50 +00:00
scottr
705c637874
Define aesetup() to return an int, so that the attach function can
...
determine whether there was an error (if so, we unmap the slot space
for this device). Use this functionality to tell the attach function
that we couldn't clear the card's buffer.
Also in aesetup(), eliminate the bogus repetition of the error message
we print when the buffer clear actually fails. Noticed by Hauke Fath.
1997-02-28 08:56:05 +00:00
scottr
0b3eb5f3f2
Remove duplicate <machine/bus.h> include that crept in.
1997-02-28 07:54:02 +00:00
scottr
17fdd597df
Move the NuBus-specific watchdog function from if_ae.c to if_ae_nubus.c,
...
and allow the attach function to override the default watchdog. Also,
do some minor cosmetic surgery (rename bus space tags/handles and some
KNFing I missed the first time around).
1997-02-28 07:52:44 +00:00
scottr
359101fb43
Convert to generalized VIA interrupt registration
1997-02-28 07:46:59 +00:00
scottr
8f37a2983b
Generalize VIA1 and VIA2 interrupt registration a bit, and do a slight
...
optimization on the VIA interrupt handlers.
1997-02-28 07:41:41 +00:00
briggs
5933eeaaed
Add ncr53c9x flag to esp.
1997-02-27 14:07:59 +00:00
briggs
868344972a
mac68k-specific portion of m.i. ncr53c9x driver.
1997-02-27 14:06:25 +00:00
gwr
2de163471e
Minimal changes to adapt to removal of NCR5380_PERMIT_RESELECT.
...
This driver should be updated to allow per-target control over
disconnect/reselect, but I will leave that to the port masters.
1997-02-26 22:29:08 +00:00
scottr
a2a40938b1
Move bus-independent setup code back into if_ae.c; enable the use of
...
configuration flags. For NuBus cards, attempt to find the MAC address
in the declaration ROM resources.
1997-02-25 06:36:04 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
scottr
f03ee128a3
Add support for the Kinetics EtherPort SE/30, from Ken Nakata.
1997-02-24 07:34:18 +00:00
scottr
965cffaf20
NUBUS_SLOT_TO_PADDR -> NUBUS_SLOT2PA
1997-02-24 06:20:04 +00:00
scottr
155eb6369a
Update to reflect ae driver/attachment code split
1997-02-24 06:05:20 +00:00
scottr
6b0774a865
Split out the NuBus attachment code, and convert to bus.h
1997-02-24 06:03:55 +00:00
scottr
5e77023e13
The bus space tag really isn't used; stop the compiler from complaining.
1997-02-24 05:55:14 +00:00
scottr
9c91a181d6
Update copyright and license.
1997-02-24 05:47:33 +00:00
scottr
7524900a0f
Remove niggles that made it into the copyright, and correct the
...
license terms (added Jason Thorpe).
1997-02-22 04:56:17 +00:00
scottr
db2ab09cf2
Add bus.h, in light of recent nubus_attach_args changes
1997-02-22 02:17:40 +00:00
scottr
ec6725f267
Make this compile again; missed this file when fixing nubus.h errors.
1997-02-22 00:00:34 +00:00
scottr
5c8de7766a
Implement bus_space_set_multi_N(), bus_space_set_region_N(), and
...
bus_space_copy_N(). Bus space support is now complete.
1997-02-20 05:53:00 +00:00
scottr
b1e5912330
We need bus.h now, due to recent nubus_attach_args change.
1997-02-20 00:23:25 +00:00
scottr
c079123e89
Add a bus space tag field to nubus_attach_args
1997-02-19 06:21:49 +00:00
scottr
25c49f276f
Revive in simplified form; include GENERIC and enable md_root hooks.
1997-02-14 06:27:20 +00:00
scottr
150538df02
Add memory disk pseudo-device
1997-02-14 06:23:14 +00:00
scottr
0b91c7f0cb
Use MAKEBOOTDEV macro to construct bootdev
1997-02-14 06:15:30 +00:00
scottr
662401449a
Remove incorrect comment re: bootdev
1997-02-14 06:13:50 +00:00
scottr
967e257614
Implement bus_space_alloc() and bus_space_free(), borrowed from i386.
1997-02-14 06:10:53 +00:00
scottr
6066941306
Add prototypes for bus_space_alloc() and bus_space_free()
1997-02-14 06:02:57 +00:00
scottr
f6f4cf1d40
Remove redundant info from bus_space_map() diagnostic in ascattach()
1997-02-13 19:55:48 +00:00
scottr
0f53b79607
#include <sys/systm.h> to bring in printf() prototype
1997-02-13 19:42:42 +00:00
scottr
603a2bd8f4
Add hsk and drq locators, which will be used only by SCSI devices.
1997-02-13 19:01:07 +00:00
scottr
ed573bfb7c
Split the obio interface into two forms: optional address only for most
...
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.
Also, attach fpu to mainbus, rather than obio.
1997-02-13 18:59:06 +00:00
scottr
570e1f1eb2
Attach the fpu to mainbus, not obio
1997-02-13 17:29:43 +00:00
scottr
7e1c9811f9
Move asc0 here from std.mac68k. Remove COMPAT_SUNOS, as it's dead weight
...
on this machine. Add some minimal driver descriptions.
1997-02-12 04:47:05 +00:00
scottr
362d7e5473
Move asc0 here from std.mac68k. Add some minimal driver descriptions.
1997-02-12 04:31:35 +00:00
scottr
8807428ab4
Move asc0 here from std.mac68k, and enable PFIL_HOOKS option so that
...
the if_ipl LKM can be loaded. Add some minimal driver descriptions.
1997-02-12 04:29:10 +00:00
scottr
cdcbc525e6
Move asc to individual kernel config files
1997-02-12 04:26:05 +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
f9e4592ed5
Add an addr locator to obio.
1997-02-11 21:25:07 +00:00
scottr
78098d98dc
Remove dependency on asc driver, using generic console bell callback
...
instead. Bell parameters are now entirely self-contained, as they
are managed by ite-specific ioctl()'s.
1997-02-11 07:51:18 +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