Multiple PCI buses in 2.4?
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/
[email protected]
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On 15 Mar, this message from [email protected] echoed through cyberspace:
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 6 lines
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, membase0x90000000(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 [email protected] | http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
User Michel Lanners says:
Quoted 2 lines
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.
Quoted 6 lines
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/
[email protected]
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/