Commit Graph

23 Commits

Author SHA1 Message Date
leo 4911054546 Allow storage-space to be passed to the alloc_bus_space_tag() functions. This
permits static tags to be used during early console init.
2000-01-19 13:12:54 +00:00
leo 761038f279 Correct the test for a free-slot for isa_intr_alloc(). Also issue a warning
that should make it clear in which slot the card is expected to be in.
Isapnp is not what it seems to be on the atari (where interrupts are
hardwired to slot numbers).
1999-11-23 14:48:58 +00:00
leo 6b31bde1bb Implement at least a bit of isa_intr_alloc(). 1999-10-21 15:26:57 +00:00
leo 54f2532106 Change the way that bit's are cleared in the InterruptPending register of
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.
1999-08-06 08:27:30 +00:00
cgd 3f7f974ec8 Moved to arch/atari/include/isa_machdep.h,v 1999-03-19 05:01:58 +00:00
cgd 14498c628f Moved to arch/atari/include/isapnp_machdep.h,v 1999-03-19 03:18:01 +00:00
leo c754d06437 Return NULL when trying to establish a non-EDGE_TRIGGERED interrupt.
This can be used by drivers to choose another type. Currently used in
isnd4bsd.
1999-01-08 09:29:17 +00:00
leo 15586aca07 Check-point work on isa-interrupt handling 1998-11-26 13:34:23 +00:00
christos 449820f2ea Assign copyright to TNF. 1998-09-05 15:28:04 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
thorpej 92d42c0871 Add a comment about why we can (and must) use bus_space_{,un}map() directly
in this file.
1998-07-31 04:44:10 +00:00
leo 6c721e05f1 Fix typo. 1998-06-11 08:32:00 +00:00
thorpej 680a3d77f4 Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
all ISA DMA.  Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej 7c54de8712 Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device.  The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:08:43 +00:00
thorpej a3dbb61f55 Provide an isa_chipset_tag_t to the ISA bus device. 1998-06-09 00:08:12 +00:00
leo b8dad8ab1f Fix some severe bogons in the pci and isa interrupt system. 1998-05-25 10:42:21 +00:00
leo b821c044e6 Add isapnp stuff (Thomas Gerner) 1998-04-22 07:57:52 +00:00
leo 5a784cc595 Fix prototype of interrupt function. 1998-04-22 07:53:22 +00:00
leo bc9ebf17a7 Major overhaul of the atari bus_space implementation. 1998-04-10 08:19:53 +00:00
leo 0dd40d6952 Bus-dma implementation for the atari. Heavily based on the i386
implementation.
1998-03-10 11:42:53 +00:00
thorpej 2d73f5ea18 Update for changes to config. 1998-01-12 18:03:58 +00:00
leo a905a75ff7 Number the slots 0&1 instead of 1&2 . 1997-08-27 06:56:14 +00:00
leo 3adf93ecde isabus support 1997-07-15 08:17:39 +00:00