From owner-freebsd-mobile Fri Jan 9 09:00:24 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA17962 for mobile-outgoing; Fri, 9 Jan 1998 09:00:24 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA17954 for ; Fri, 9 Jan 1998 09:00:18 -0800 (PST) (envelope-from ambrisko@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id IAA26854; Fri, 9 Jan 1998 08:59:11 -0800 (PST) Received: from UNKNOWN(), claiming to be "crab.whistle.com" via SMTP by alpo.whistle.com, id smtpd026852; Fri Jan 9 08:59:08 1998 Received: (from ambrisko@localhost) by crab.whistle.com (8.8.8/8.6.12) id IAA27652; Fri, 9 Jan 1998 08:56:27 -0800 (PST) From: Doug Ambrisko Message-Id: <199801091656.IAA27652@crab.whistle.com> Subject: Re: PC Cards and FreeBSD In-Reply-To: <199801091234.XAA00394@word.smith.net.au> from Mike Smith at "Jan 9, 98 11:04:31 pm" To: mike@smith.net.au (Mike Smith) Date: Fri, 9 Jan 1998 08:56:27 -0800 (PST) Cc: gdicus@nomadix.com, mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mike Smith writes: | > On initialization of the PCIC I received the following messages: | > | > +crd: ctlr(0) Intel 82365 (or clones) (5 mem & 2 I/O windows) | > +pcic: controller I/O address 0x3e0 | > +pcic: controller irq 3 (shared) | > | > It seems that the PC Card driver was written with the PCI bus in mind and | > not the ISA Bus (The ISA bus does not support shared interrupts nor does | > the internal bus of the ElanSC400 microcontroller, only the PCI bus does). | > Since the pcic is not on a PCI bus, could this be causing some problems? | | You are *still* using the PAO code. Only the nomads can help you there. | | However, bear in mind that you can "sort of" share IRQ 3, if the only | other device on it is a faithful 8250 clone and its interrupt output is | tristated off. | | > +pcic: controller I/O address 0x3e0 | > +Card inserted, slot 0 | | The 'card inserted' message is printed as a result of a pcic interrupt, | so the pcic itself is interrupting OK. So far so good. Well, that's not true. The pcic is polled via a timer and does not register the interrupt with the driver. I ran into this when I was playing with a CL-PD6832 eval card in which ISA interrupts did not work (they still don't but, I've been in crissis mode with other stuff). Apparently windows does the same type of thing. Apparently the interrupt mechanism of pcic's are not very useful. With that said, I still try to make sure there are no irq conflicts and life appears good but I don't know if it is a requirement. Doug A.