linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Multiple PCI buses in 2.4?
@ 2001-03-15 19:33 bob
  2001-03-15 21:58 ` Michel Lanners
  0 siblings, 1 reply; 3+ messages in thread
From: bob @ 2001-03-15 19:33 UTC (permalink / raw)
  To: linuxppc-dev


I'm wondering what the state of support for multiple pci buses on
PowerMacs is in 2.4? I see by looking at the code and reading the
lists that work is being done on it since 2.4.1.

The 7X00/8X00 has 2 bridge devices both of which are recognized by
2.42 in the  boot messages but an lspci only shows one bus.

00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 03)
00:0d.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 21)
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RT8029(AS)
00:0f.0 Communication controller: Comtrol Corporation RocketPort 8 Intf (rev 02)00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)

The planb video4linux device is on the other bus and upon attempting to
load the planb module I get the following...

Linux video capture interface: v1.00
PlanB: Found on bus 1, dev 13, func 0, membase 0x90000000 (base reg. 0x10)
PlanB: cannot find PCI device!

The call that fails...

pdev = pci_find_slot (bus, dev_fn);

I've worked most recently with the 2_5 kernel from bitkeeper.

Bob
--
Robert E. Brose II    N0QBJ
http://www.jriver.com/~bob/
bob@kunk.jriver.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple PCI buses in 2.4?
  2001-03-15 19:33 Multiple PCI buses in 2.4? bob
@ 2001-03-15 21:58 ` Michel Lanners
  2001-03-16 17:34   ` bob
  0 siblings, 1 reply; 3+ messages in thread
From: Michel Lanners @ 2001-03-15 21:58 UTC (permalink / raw)
  To: bob; +Cc: linuxppc-dev


On  15 Mar, this message from bob@kunk.jriver.com echoed through cyberspace:
> I'm wondering what the state of support for multiple pci buses on
> PowerMacs is in 2.4? I see by looking at the code and reading the
> lists that work is being done on it since 2.4.1.

Multiple PCI busses should work just fine, with one exception: the
chaos-based second bus in the 7x00/8x00 machines.

> The 7X00/8X00 has 2 bridge devices both of which are recognized by
> 2.42 in the  boot messages but an lspci only shows one bus.

Yes, this is because the chaos-based bus cannot be probed for device sin
the traditional way, but will die in flames if you do that. Therefore
probing it is disabled for now, and hence lspci doesn't show it.

> The planb video4linux device is on the other bus and upon attempting to
> load the planb module I get the following...
>
> Linux video capture interface: v1.00
> PlanB: Found on bus 1, dev 13, func 0, membase 0x90000000 (base reg. 0x10)
> PlanB: cannot find PCI device!

Now this is my fault, so to speak ;-) I've modified planb to use the PCI
device structure, but since that isn't available in the current 2.4
kernels, you're out of luck.

However, I'm working right now on patches tha fix the detection of the
chaos bus and its devices; so that this problem should be solved soon.

I'll send you some patches by private mail, containing my current
working sources.

Cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple PCI buses in 2.4?
  2001-03-15 21:58 ` Michel Lanners
@ 2001-03-16 17:34   ` bob
  0 siblings, 0 replies; 3+ messages in thread
From: bob @ 2001-03-16 17:34 UTC (permalink / raw)
  To: mlan; +Cc: bob, linuxppc-dev


User Michel Lanners says:

> Multiple PCI busses should work just fine, with one exception: the
> chaos-based second bus in the 7x00/8x00 machines.

Ahh ok I get it now.

> Now this is my fault, so to speak ;-) I've modified planb to use the PCI
> device structure, but since that isn't available in the current 2.4
> kernels, you're out of luck.
>
> However, I'm working right now on patches tha fix the detection of the
> chaos bus and its devices; so that this problem should be solved soon.

The patches work great so far! I haven't had a chance to try the video
input with a real signal yet, I lent out my camera, but it puts out
nice black screen with xawtv and the dmesgs are all reassuring.

Thanks,
Bob
--
Robert E. Brose II    N0QBJ
http://www.jriver.com/~bob/
bob@kunk.jriver.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-16 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-15 19:33 Multiple PCI buses in 2.4? bob
2001-03-15 21:58 ` Michel Lanners
2001-03-16 17:34   ` bob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).