From owner-freebsd-mobile Mon Aug 7 9:11:45 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id AF93637B965 for ; Mon, 7 Aug 2000 09:11:41 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA87511; Mon, 7 Aug 2000 10:11:32 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA32605; Mon, 7 Aug 2000 10:11:16 -0600 (MDT) Message-Id: <200008071611.KAA32605@harmony.village.org> To: Brian Candler Subject: Re: Ricoh RL5C475 PCI-PCMCIA adaptor and interrupts Cc: freebsd-mobile@FreeBSD.ORG, shigeru@iij.ad.jp 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> Date: Mon, 07 Aug 2000 10:11:16 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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