linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCI support
@ 2001-10-12 18:38 Kevin Fry
  2001-10-12 19:09 ` Dan Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Fry @ 2001-10-12 18:38 UTC (permalink / raw)
  To: linuxppc emb3dd3d list


I'm trying to setup a PCI bridge on our 8260 board here, and was
wondering if a driver exists for the Tundra Powerspan. We're using Hard
Hat Linux 2.0 JE

If I write my own drivers, where would the board-specific PCI routines
go in the kernel code? I found the function prototypes in linux/pci.h,
but couldn't find any pci code itself.  Does HHL 2.0 JE support PCI?

Thanks!
Kevin Fry


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

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

* Re: PCI support
  2001-10-12 18:38 PCI support Kevin Fry
@ 2001-10-12 19:09 ` Dan Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Taylor @ 2001-10-12 19:09 UTC (permalink / raw)
  To: Kevin Fry; +Cc: linuxppc-embedded


The code would have to be added in one or two places.  First, update
the PCI code in .../linux/arch/ppc/kernel; your hardware may be like
a sandpoint, but could be chrp.  If, as I suspect, the PowerSPAN is
NOT a transparent PCI-PCI bridge, you will also need to modify the
.../linux/drivers/pci/pci.c code that handles child busses.  I usually
put an "else if" inside the "for" loop after "pcibios_fixup_bus()".
That way the existing code handles any transparent bridges, then I can
specify an implementation-dependent bridge, either by bus & device, by
checking checking the vendor and device IDs, or both.  You have to do
all of the same things that the transparent bridge does, so just copy,
paste, and edit the code inside that "if".  You need to have the kernel
code done first, since that will have the config cycle handling and
memory/io space mapping.

Kevin Fry wrote:
>
> I'm trying to setup a PCI bridge on our 8260 board here, and was
> wondering if a driver exists for the Tundra Powerspan. We're using Hard
> Hat Linux 2.0 JE
>
> If I write my own drivers, where would the board-specific PCI routines
> go in the kernel code? I found the function prototypes in linux/pci.h,
> but couldn't find any pci code itself.  Does HHL 2.0 JE support PCI?
>
> Thanks!
> Kevin Fry
>

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

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

end of thread, other threads:[~2001-10-12 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-12 18:38 PCI support Kevin Fry
2001-10-12 19:09 ` Dan Taylor

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).