Skip to contentSkip to conversation

21554 device driver

DISCUSSION bhupinder sahran 3 participants 3 messages Aug 3, 2001 – Aug 4, 2001

lore
Share & tools
lore
#0 lore raw

hello friends
i am Bhupender Saharan.
i have ported linux on MPC8240 board.
on the PCI bus of MPC8240 i am having a 21554(non transparent) pci bridge.
i need a driver for this bridge.
if u guys can send a refernce code or link, that will be nice for me.
thanx in advance.

with regards
Bhupi

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

#1 lore raw

Hi,

Sorry, I can't point you to info on setting up such a beast.
However, the 8240 is able to handle up to 5 pci devices on it's own and has an internal arbiter. 66Mhz PCI too in some configurations.
Therefore I'm curious about the fact that you apparently want to interface to more than 5 PCI devices. Is this correct? Seems extreme for an embedded system.

Cheers, Ron

Quoted 20 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of bhupinder sahran
Sent: Friday, August 03, 2001 4:38 PM
To: [email protected]
Subject: 21554 device driver

hello friends
i am Bhupender Saharan.
i have ported linux on MPC8240 board.
on the PCI bus of MPC8240 i am having a 21554(non transparent) pci bridge.
i need a driver for this bridge.
if u guys can send a refernce code or link, that will be nice for me.
thanx in advance.

Quoted 5 lines

with regards
Bhupi

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

#2 lore raw
Quoted 4 lines · Ron Bianco

However, the 8240 is able to handle up to 5 pci devices on it's own and has an internal arbiter. 66Mhz PCI too in some configurations.
Therefore I'm curious about the fact that you apparently want to interface to more than 5 PCI devices. Is this correct? Seems extreme for an embedded system.

As mentioned in the original post, the 21554 is a non-transparent PCI bridge. This is normally used to make a device such as an 8240 into a peripheral of a workstation or server.

In answer to the original question on drivers for the 21554, such code is generally application dependent. I've been thinking of writing a general framework for non-transparent bridging, but at the moment nothing exists. So the first thing you need to do is decide on the protocol between the applications on each side of the bridge. If the protocol is IP, then there's code you'll be able to use as a starting point, such as Montavista's Hard Hat Net:

http://www.mvista.com/products/hardhat.html

--
Adrian Cox http://www.humboldt.co.uk/

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