On Sun, 28 Sep 2008, Brad Boyer wrote:
The Guide to Mac Family Hardware says that IRQ and DRQ are connected
to the OSS. AFAICT, DRQ is wired to VIA2 CA2 on all machines that have
VIA2/RBV.
The Guide also says that the PCR bits 1-3 on VIA2 are related to DRQ. Do
we know if we're setting the right values there?
Well, that is partly why I tested the Mac II, PB 150 and PB 190. On the PB
150 (RBV) there is no PCR. But on the Mac II we have all of the relevant
schematics and data, so I'm certain that we've set that correctly. The PB
190 has a "quadra-style" VIA, so it is most likely set correctly there too
(or so I like to think! Macsbug says PCR is 0 on both Mac II and PB 190
which make no sense to me.)
...
The odd thing about the DRQ on the IIfx going to OSS is that the list in
mac_oss.h has defines for all 16 interrupt bits, and there's only one
for SCSI. My understanding is that the list was based on the A/UX
headers from Apple and should be accurate. I never tried to request one
of the IRQs in the set that we don't have claimed by any driver to see
if one of them really is the DRQ.
I just checked the oss.h A/UX header file and it agrees with mac_oss.h.
But perhaps DRQ was unused by A/UX (although the SCSI DMA chip would have
needed it)? That might explain why oss.h lists 3 unused IRQs. Or perhaps
DRQ and IRQ lines from the NCR5380 core share the same OSS IRQ.
Finn
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html