From owner-freebsd-mobile Thu Aug 9 10:22: 3 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from wentzl.cdg.chalmers.se (wentzl.cdg.chalmers.se [129.16.12.9]) by hub.freebsd.org (Postfix) with ESMTP id 41E3837B403 for ; Thu, 9 Aug 2001 10:22:00 -0700 (PDT) (envelope-from pa@cdg.chalmers.se) Received: from wilfer4.cdg.chalmers.se (EEqw6ynPIfo/szKXTnRIR2PpIe81XsVA@wilfer4.cdg.chalmers.se [129.16.12.14]) by wentzl.cdg.chalmers.se (8.8.8/8.8.8) with ESMTP id TAA27741; Thu, 9 Aug 2001 19:21:58 +0200 (MET DST) Received: from localhost (pa@localhost) by wilfer4.cdg.chalmers.se (8.8.8/8.8.8) with ESMTP id TAA04256; Thu, 9 Aug 2001 19:21:57 +0200 (MET DST) X-Authentication-Warning: wilfer4.cdg.chalmers.se: pa owned process doing -bs Date: Thu, 9 Aug 2001 19:21:57 +0200 (MET DST) From: Per Andersson To: Warner Losh Cc: Subject: Re: pccard patches problem In-Reply-To: <200108081627.f78GRh123212@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have succeded (after some experimentation) to make it work, I changed to PCI serial interrupt mode?, bits 1 and 2 in the device control register from 00 to 11. If this really is the right thing to do I'm not sure about, but it made it work for me. I doubt that the fix I made works on anything else (I guess it actually breaks a lot of things) but here is what I did: *** pcic_pci.c.org Thu Aug 9 19:16:53 2001 --- pcic_pci.c Thu Aug 9 18:34:07 2001 *************** *** 296,301 **** --- 296,302 ---- } if (sc->func_route == pci_parallel) { devcntl &= ~TI113X_DEVCNTL_INTR_MASK; + devcntl |= TI12XX_DEVCNTL_INTR_ALLSERIAL; /* XXX PA */ pci_write_config(dev, TI113X_PCI_DEVICE_CONTROL, devcntl, 1); devcntl = pci_read_config(dev, TI113X_PCI_DEVICE_CONTROL, 1); syscntl |= TI113X_SYSCNTL_INTRTIE; /Per Andersson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message