Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 10:47:02 -0400
From:      Jake Burkholder <jake@locore.ca>
To:        Andrew Kenneth Milton <akm@theinternet.com.au>
Cc:        freebsd-sparc@FreeBSD.ORG
Subject:   Re: Weird PCI interface
Message-ID:  <20020613104702.B257@locore.ca>
In-Reply-To: <20020613185253.H44400@zeus.theinternet.com.au>; from akm@theinternet.com.au on Thu, Jun 13, 2002 at 06:52:54PM %2B1000
References:  <20020613020923.C44400@zeus.theinternet.com.au> <20020613185253.H44400@zeus.theinternet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Thu, Jun 13, 2002 at 06:52:54PM +1000,
	Andrew Kenneth Milton said words to the effect of;

> +-------[ Andrew Kenneth Milton ]----------------------
> | I was playing with some stuff to muck with the video card on the sun5
> | I have.
> | 
> | dmesg shows;
> | pci2: <display, VGA> at device 2.0 (no driver attached)
> 
> I did a boot -v, and I think it shows the actual problem...
> 
> PCI_* stuff is returning the physical bus number in the PCI selector,
> but, actually uses the logical bus number when trying to access the
> devices.
> 
> I'm not sure which is correct scenario, whether it should return the
> logical bus in the selector, or whether it should use physical bus when
> looking up the device.

Hmm.  Thanks for looking at this.  I don't know much about PCI so
I can't be of much help...  tmm is very busy right now with
university but he said he had a break coming up soon, so he may
be able to help you figure out what's going on then.

Keep digging is all I can suggest.

Jake

> 
> ------------------------------------------------------------------------
> pci0: physical bus=0
> found-> vendor=0x108e, dev=0x5000, revid=0x11
>         bus=0, slot=1, func=0
>         class=06-04-00, hdrtype=0x01, mfdev=1
> found-> vendor=0x108e, dev=0x5000, revid=0x11
>         bus=0, slot=1, func=1
>         class=06-04-00, hdrtype=0x01, mfdev=1
> pci0: <PCI bus> on pcib0
> pcib1: <APB PCI-PCI bridge> at device 1.0 on pci0
> pcib1:   secondary bus     2
> pcib1:   subordinate bus   255
> pcib1:   I/O decode        0x0-0x1fffff, 0x200000-0x3fffff, 0x400000-0x5fffff, 0
> x600000-0x7fffff, 0x800000-0x9fffff, 0xa00000-0xbfffff
> pcib1:   memory decode     0x0-0x1fffffff, 0x20000000-0x3fffffff, 0x40000000-0x5
> fffffff, 0x60000000-0x7fffffff, 0x80000000-0x9fffffff, 0xa0000000-0xbfffffff
> pci1: physical bus=2
> pci1: <PCI bus> on pcib1
> pcib2: <APB PCI-PCI bridge> at device 1.1 on pci0
> pcib2:   secondary bus     1
> pcib2:   subordinate bus   1
> pcib2:   I/O decode        0xc00000-0xdfffff, 0xe00000-0xffffff
> pcib2:   memory decode     0xe0000000-0xffffffff
> pci2: physical bus=1
>         map[10]: type 1, range 32, base f0000000, size 24, enabled
>         map[14]: type 1, range 32, base f1000000, size 23, enabled
> found-> vendor=0x108e, dev=0x1000, revid=0x01
>         bus=1, slot=1, func=0
>         class=06-80-00, hdrtype=0x00, mfdev=1
>         map[10]: type 1, range 32, base e0000000, size 15, memory disabled
> found-> vendor=0x108e, dev=0x1001, revid=0x01
>         bus=1, slot=1, func=1
>         class=02-00-00, hdrtype=0x00, mfdev=1
>         intpin=a, irq=33
>         map[10]: type 1, range 32, base e1000000, size 24, memory disabled
>         map[14]: type 4, range 32, base 00000000, size  8, port disabled
> found-> vendor=0x1002, dev=0x4754, revid=0x9a
>         bus=1, slot=2, func=0
>         class=03-00-00, hdrtype=0x00, mfdev=0
>         intpin=a, irq=15
>         map[10]: type 4, range 32, base 00c00000, size  3, enabled
>         map[14]: type 4, range 32, base 00c00008, size  2, enabled
>         map[18]: type 4, range 32, base 00c00010, size  3, enabled
>         map[1c]: type 4, range 32, base 00c00018, size  2, enabled
>         map[20]: type 4, range 32, base 00c00020, size  4, enabled
> found-> vendor=0x1095, dev=0x0646, revid=0x03
>         bus=1, slot=3, func=0
>         class=01-01-8f, hdrtype=0x00, mfdev=0
>         intpin=a, irq=32
> pci2: <PCI bus> on pcib2
> 
> 
> -- 
> Totally Holistic Enterprises Internet|                      | Andrew Milton
> The Internet (Aust) Pty Ltd          |  M:+61 416 022 411   |
> ACN: 082 081 472 ABN: 83 082 081 472 |akm@theinternet.com.au| Carpe Daemon
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-sparc" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




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