summaryrefslogtreecommitdiffstats
path: root/sys/pccard/i82365.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-06-16 06:18:16 +0000
committerimp <imp@FreeBSD.org>2001-06-16 06:18:16 +0000
commit2819707a6c5bef060addfc4e4e04b99055305ddf (patch)
treef8a28603beb7199ec20695bacb5f90568492be2d /sys/pccard/i82365.h
parentb08196841eaf11b05d90c5456e6c5206f940bff7 (diff)
downloadFreeBSD-src-2819707a6c5bef060addfc4e4e04b99055305ddf.zip
FreeBSD-src-2819707a6c5bef060addfc4e4e04b99055305ddf.tar.gz
On PC-98, map IRQ 6 to IRQ 7 at the pcic level. That is, when we're
told to use IRQ 6, progam the pcic to use irq 7 instead. Evidentally, at least some of the cards are wired this way. If you want to use irq 6, configure it. All the mapping is done just before we set the interrupt registers. See [FreeBSD98-testers 5064] for details. Added commentary about valid interrupts on some CBUS pc98 CL PD6722 based cards. Submitted by: Hiroshi TSUKADA-san <hiroshi@kiwi.ne.jp>
Diffstat (limited to 'sys/pccard/i82365.h')
-rw-r--r--sys/pccard/i82365.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h
index a243168..633923f 100644
--- a/sys/pccard/i82365.h
+++ b/sys/pccard/i82365.h
@@ -267,11 +267,11 @@
*
* For NEC PC98 machines, irq 3, 5, 6, 9, 10, 11, 12, 13 are allowed.
* These correspond to the C-BUS signals INT 0, 1, 2, 3, 41, 42, 5, 6
- * respectively. This is with the desktop C-BUS addin card. I don't
- * know if this corresponds to laptop usage or not.
+ * respectively. This is with the desktop C-BUS addin card.
*
- * I'm not sure the proper way to map these interrupts, but it looks
- * like pc98 is a subset of ibm-at so no actual mapping is required.
+ * Hiroshi TSUKADA-san writes in FreeBSD98-testers that cbus IRQ
+ * 6 is routed to the IRQ 7 pin of the pcic in pc98 cbus based
+ * cards. I do not know how pc98 laptop models are wired.
*/
#ifdef PC98
#define PCIC_INT_MASK_ALLOWED 0x3E68 /* PC98 */
OpenPOWER on IntegriCloud