Date: Mon, 07 Aug 2000 10:11:16 -0600 From: Warner Losh <imp@village.org> To: Brian Candler <B.Candler@pobox.com> Cc: freebsd-mobile@FreeBSD.ORG, shigeru@iij.ad.jp Subject: Re: Ricoh RL5C475 PCI-PCMCIA adaptor and interrupts Message-ID: <200008071611.KAA32605@harmony.village.org> In-Reply-To: Your message of "Mon, 07 Aug 2000 10:12:45 BST." <20000807101245.C13919@linnet.org> References: <20000807101245.C13919@linnet.org> <20000806204051.A805@linnet.org> <200008062052.OAA26562@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000807101245.C13919@linnet.org> Brian Candler writes: : We may have a clash of terminology; this bit is actually set to 1 in the : existing (unmodified) code, but I had to clear it for my board. : : So, in your laptop, does the 475 appear as a PCI device? But then they have : wired the ISA interrupt pins directly to the ISA interrupt controller? : Yeuch. Yes. No. They have a PCI <-> ISA interrupt converter chip, I think, that does this. There's a standard for doing this and I have datasheets on it. : In that case, we would need a clean way to distinguish between: : (1) a 475 which is actually sitting on a PCI card : (2) a 475 which is directly connected We need a clean way to distinguish between a PCI card and a builtin device. Other chips have similar problems. The TI1225 appears to be fixed by this (well, it boots now where before it would hang my system 3/4 though boot). : and as you say, short of probing interrupts, that's difficult to do. BTW, a : note in the Linux pcmcia-cs-3.1.19 code says that interrupt probing for : Ricoh chips seems to be unreliable, and it is disabled (except for checking : for a stuck-on interrupt) Yuck. : > What does dmesg say for you when you boot? I'm interested only in the : > pcic-pci* line(s). : : I'll dig this out when I'm next in front of the machine. It said something : along the lines of Ricoh 5C475 at slot 8.0 on irq 11. So it did have an IRQ listed? OK. I don't have one listed. IIRC, the 1221 and 1225 based cards that I have do have an IRQ assigned by the BIOS. Maybe that's the test we need. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008071611.KAA32605>