From owner-freebsd-mobile Fri May 4 7:22:24 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from hotmail.com (f208.law9.hotmail.com [64.4.9.208]) by hub.freebsd.org (Postfix) with ESMTP id 3113237B424 for ; Fri, 4 May 2001 07:22:20 -0700 (PDT) (envelope-from gregsmith59@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 4 May 2001 07:22:20 -0700 Received: from 63.195.114.87 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 04 May 2001 14:22:19 GMT X-Originating-IP: [63.195.114.87] From: "Greg Smith" To: ragnar@sysabend.org Cc: ggm@apnic.net, freebsd-mobile@freebsd.org Subject: Re: DELL Latitude 400 and pccard? (vs.Dell c800) Date: Fri, 04 May 2001 14:22:19 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 May 2001 14:22:20.0158 (UTC) FILETIME=[A0F691E0:01C0D4A5] Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jamie, This is interesting. Your c800 machine has several PCI devices on IRQ11, sound on IRQ5, UHCI on IRQ11, and the PCIC on IRQ10. >pci1: at 0.0 irq 11 >pcm0: port 0xec00-0xecff mem >0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 >chip1: irq 11 at device >15.0 on pci2 >chip2: irq 11 at device >15.1 on pci2 >pci2: (vendor=0x104c, dev=0x8027) at 15.2 irq 11 >uhci0: port 0xdce0-0xdcff irq 11 at device >31.2 on pci0 >pcic0: at port 0x3e0-0x3e1 irq 10 on isa0 >pcic0: management irq 10 using config: >device pcm > >device pcic0 at isa? irq 10 >device card > >device uhci OTOH, George gets several devices on IRQ10, sound on IRQ10, UHCI on IRQ11 and the PCIC on IRQ13! (due to FreeBSD pcic limitations): pci1: at 0.0 irq 10 uhci0: port 0xfce0-0xfcff irq 11 at device 7.2 on pci0 pcm0: mem 0xfedf0000-0xfedfffff,0xfedef000-0xfed effff irq 10 at device 8.0 on pci0 pcic-pci0: irq 10 at device 10.0 on pci0 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfc00-0xfc7f mem 0xfededc00-0xfededc7f irq 10 at device 13.0 on pci0 pcic0: at port 0x3e0-0x3e1 irq 10 on isa0 pcic0: management irq 13 using config: device card device pcic0 at isa? irq 10 device xl device uhci device pcm ========================== It does appear that Dell may have wired the PCI interrupts differently on these two machines. If PCIC can't share, or operate in polling mode, George might be out of luck. [IANA PCI expert, but my understanding is that a PC vendor wires the inta pins (for single int devices) of the different PCI devices across several programmable interrupt wires. See sample diagrams I borrowed: ,-. ,-. ,-. ,-. ,-. PIRQ4 ----| |-. ,-| |-. ,-| |-. ,-| |--------| | |S| \ / |S| \ / |S| \ / |S| |S| PIRQ3 ----|l|-. `/---|l|-. `/---|l|-. `/---|l|--------|l| |o| \/ |o| \/ |o| \/ |o| |o| PIRQ2 ----|t|-./`----|t|-./`----|t|-./`----|t|--------|t| |1| /\ |2| /\ |3| /\ |4| |5| PIRQ1 ----| |- `----| |- `----| |- `----| |--------| | `-' `-' `-' `-' `-' ,-. INTD--| | |S| INTC--|l| |o| INTB--|t| |x| INTA--| | `-' So theoretically it would be possible to design a computer that Windows could use but that FreeBSD would have problems with, due to PCIC's inability to share INTs, and apparent problems with polling mode on certain machines (notably Vaio's). I hope someone with more knowledge on PCI programmable interrupts will comment if I am off-base here.] Also, you get the chip0/chip1 messages; George didn't. I don't know what that means. To verify the pci int pin settings I boot my 4.1-Release machine in verbose mode. Maybe if Jamie (or anyone with a Dell c800) and George do that we can shed some more light on this. [example from my dmesg's: found-> vendor=0x10c8, dev=0x0004, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 <<<<<<<<<< ] Greg _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message