From owner-freebsd-mobile Fri Mar 12 12: 5:37 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from psasolar.colltech.com (psasolar.colltech.com [208.229.236.14]) by hub.freebsd.org (Postfix) with ESMTP id 20F5E14BE6 for ; Fri, 12 Mar 1999 12:05:29 -0800 (PST) (envelope-from elakin@colltech.com) Received: (from elakin@localhost) by psasolar.colltech.com (VER/What/1.0) id OAA27720; Fri, 12 Mar 1999 14:05:09 -0600 (CST) Message-ID: <19990312140508.D29967@psasolar.colltech.com> Date: Fri, 12 Mar 1999 14:05:08 -0600 From: Eric Lakin To: kerberus@inetu.net Cc: freebsd-mobile@freebsd.org Subject: Re: CTX laptop & PCMCIA UPDATE References: <3.0.32.19990312090122.02020100@blueneptune.com> <36E911AA.D32AE289@inetu.net> <19990312124930.B29967@psasolar.colltech.com> <36E92613.47AC58D@inetu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93 In-Reply-To: <36E92613.47AC58D@inetu.net>; from Kerberus on Fri, Mar 12, 1999 at 02:34:59PM +0000 X-Disclaimer: Yow! I said THAT?!? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ack. my (2) errors. First, "device pcic?" are disabled in your kernel, right? The pcic code isn't even IN there then. You'll actually need to re-compile the pcic module - "cd /sys/modules/pcic; CFLAGS=-DPCIC_DEBUG make;" Copy the pcic.ko that results to /modules (after backing up the orig =). Reboot. Obviously i didn't test my suggestions before sending. However, i DID this time ;) Before an IRQ is assigned to the PCIC, you should get a message like: Freelist of IRQ's <0x8e88> Now what do you do with THAT? well... $ bc bla bla copyright ibase=16 # input is in base 16 obase=2 # output is in base 2 8E88 # note the E, not e 1000111010001000 quit $ Each digit of the binary number is an IRQ, starting with 15 and going down to 0. A "1" is a free IRQ. The above means that the IRQs free on my system are 15 11 10 9 7 3. On Fri, Mar 12, 1999 at 02:34:59PM +0000, Kerberus spread the following propaganda: > Ok ive done this..... and just for kicks and giggles i also added in the snd0 > controller at irq5 to see if it loads and initializes it, then forcing the pcic to > look else where, i also changed the machdep.pccard.pcic_irq to 11 which doesnt appear > attached to anything that i can see from dmesg, now the PCIC_DEBUG has been compiled > in also, where does it send the debug info to ??? messages or ???? its surely not > showing any debug info at boot ?? > > Eric Lakin wrote: > > > Try putting "options PCIC_DEBUG" in your kernel config and rebuilding it. > > This will tell you what IRQ's are available when the PCIC driver configures > > itself. The pcic code DOES check the machdep.pccard.pcic_irq but will not > > use that IRQ if it isn't available. > > > > also: IRQ 13 (below) is not a valid IRQ for pcic. the valid ones are: > > 3 4 5 7 9 10 11 12 14 15 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message