All of lore.kernel.org
 help / color / mirror / Atom feed
* question from linuxppc group
@ 2001-09-25 20:02 Jim Potter
  2001-09-25 21:35 ` Benjamin Herrenschmidt
  2001-09-25 23:39 ` Eyal Lebedinsky
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Potter @ 2001-09-25 20:02 UTC (permalink / raw)
  To: linux-kernel

We have  a host bridge (plus PIC, mem ctlr, etc.) that is essentially
identical
for ppc and mips.  Where is the best place to put the code since we
don't want to
duplicate it for both architectures?

--
Sincerely,

Jim Potter
45th Parallel Processing
jrp@wvi.com

"It is rather for us to be here dedicated to the great
task remaining before us -- that from these honored dead
we take increased devotion to that cause for which they
gave the last full measure of devotion -- that we here
highly resolve that these dead shall not have died in vain,
that this nation under God shall have a new birth of
freedom, and that government of the people, by the people,
for the people shall not perish from the earth.

A. Lincoln, Gettysburg, 1863

ln -sf /dev/null /osama/bin/laden



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: question from linuxppc group
@ 2001-09-25 21:36 Benjamin Herrenschmidt
  0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2001-09-25 21:36 UTC (permalink / raw)
  To: Jim Potter; +Cc: linux-kernel

>We have  a host bridge (plus PIC, mem ctlr, etc.) that is essentially
>identical
>for ppc and mips.  Where is the best place to put the code since we
>don't want to
>duplicate it for both architectures?

Well, most of the PCI & interrupt frameworks are mostly arch specific.
I can't tell for MIPS, but the way you setup a PCI host bridge on PPC
was written by Paulus and me without looking at MIPS. 

I don't think there is real need to have common code here. Maybe some
common definitions (register defs for example) could go into a linux/*.h
file.

Ben.


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

end of thread, other threads:[~2001-09-25 23:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-25 20:02 question from linuxppc group Jim Potter
2001-09-25 21:35 ` Benjamin Herrenschmidt
2001-09-25 21:42   ` James Simmons
2001-09-25 21:54   ` Tom Rini
2001-09-25 23:39 ` Eyal Lebedinsky
  -- strict thread matches above, loose matches on Subject: below --
2001-09-25 21:36 Benjamin Herrenschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.