Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2001 14:22:19 -0000
From:      "Greg Smith" <gregsmith59@hotmail.com>
To:        ragnar@sysabend.org
Cc:        ggm@apnic.net, freebsd-mobile@freebsd.org
Subject:   Re: DELL Latitude 400 and pccard? (vs.Dell c800)
Message-ID:  <F208nkZvLQET7ffSsnu0000072d@hotmail.com>

next in thread | raw e-mail | index | archive | help
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: <ATI model 4d46 graphics accelerator> at 0.0 irq 11

>pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem
>0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
>chip1: <PCI to CardBus bridge (vendor=104c device=ac42)> irq 11 at device
>15.0 on pci2
>chip2: <PCI to CardBus bridge (vendor=104c device=ac42)> irq 11 at device
>15.1 on pci2
>pci2: <unknown card> (vendor=0x104c, dev=0x8027) at 15.2 irq 11

>uhci0: <UHCI (generic) USB controller> port 0xdce0-0xdcff irq 11 at device
>31.2 on pci0

>pcic0: <VLSI 82C146> 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: <ATI Mobility-1 graphics accelerator> at 0.0 irq 10

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq 11 
at
device 7.2 on pci0

pcm0: <Crystal Semiconductor CS4281> mem 
0xfedf0000-0xfedfffff,0xfedef000-0xfed
effff irq 10 at device 8.0 on pci0
pcic-pci0: <TI PCI-1410 PCI-CardBus Bridge> 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: <VLSI 82C146> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F208nkZvLQET7ffSsnu0000072d>