* [PATCH 00/09] sh: clean up pci code
@ 2008-02-19 12:34 Magnus Damm
2009-03-11 8:31 ` Paul Mundt
2009-03-12 2:23 ` Magnus Damm
0 siblings, 2 replies; 3+ messages in thread
From: Magnus Damm @ 2008-02-19 12:34 UTC (permalink / raw)
To: linux-sh
These patches rework the pci code for the sh architecture.
Currently each board implements some kind of ioport to address mapping. Some
boards use generic_io_base others try passing addresses as io ports. This is
the first set of patches that try to unify the pci code as much as possible
to avoid duplicated code. This will in the end lead to fewer lines board
specific code and more generic code.
Only high level stuff so far. These patches avoid changing low level bits,
I have patches for sh7751 and sh7780 doing that already. I'll post then
later on this week after some more testing.
Have fun and people with pci host controllers - please test!
/ magnus
arch/sh/boards/dreamcast/setup.c | 6 -
arch/sh/boards/titan/io.c | 2
arch/sh/drivers/pci/fixups-lboxre2.c | 23 +++----
arch/sh/drivers/pci/fixups-r7780rp.c | 35 +++++-----
arch/sh/drivers/pci/fixups-rts7751r2d.c | 23 +++----
arch/sh/drivers/pci/fixups-sdk7780.c | 52 ++++++++--------
arch/sh/drivers/pci/fixups-se7780.c | 36 +++++------
arch/sh/drivers/pci/ops-cayman.c | 3
arch/sh/drivers/pci/ops-dreamcast.c | 17 ++---
arch/sh/drivers/pci/ops-landisk.c | 4 -
arch/sh/drivers/pci/ops-lboxre2.c | 6 -
arch/sh/drivers/pci/ops-r7780rp.c | 5 -
arch/sh/drivers/pci/ops-rts7751r2d.c | 6 -
arch/sh/drivers/pci/ops-sdk7780.c | 5 -
arch/sh/drivers/pci/ops-se7780.c | 5 -
arch/sh/drivers/pci/ops-sh03.c | 2
arch/sh/drivers/pci/ops-sh4.c | 40 ++++++------
arch/sh/drivers/pci/ops-snapgear.c | 4 -
arch/sh/drivers/pci/ops-titan.c | 5 -
arch/sh/drivers/pci/pci-auto.c | 1
arch/sh/drivers/pci/pci-sh4.h | 15 ++--
arch/sh/drivers/pci/pci-sh5.c | 15 +++-
arch/sh/drivers/pci/pci-sh5.h | 1
arch/sh/drivers/pci/pci-sh7751.c | 100 +++++++++++++++----------------
arch/sh/drivers/pci/pci-sh7751.h | 5 -
arch/sh/drivers/pci/pci-sh7780.c | 57 ++++++++---------
arch/sh/drivers/pci/pci-sh7780.h | 5 -
arch/sh/drivers/pci/pci.c | 30 ++++++---
arch/sh/kernel/io.c | 5 +
arch/sh/mm/ioremap_32.c | 4 -
include/asm-sh/pci.h | 80 ++++++++++++++----------
31 files changed, 321 insertions(+), 276 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 00/09] sh: clean up pci code
2008-02-19 12:34 [PATCH 00/09] sh: clean up pci code Magnus Damm
@ 2009-03-11 8:31 ` Paul Mundt
2009-03-12 2:23 ` Magnus Damm
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2009-03-11 8:31 UTC (permalink / raw)
To: linux-sh
On Tue, Feb 19, 2008 at 09:34:20PM +0900, Magnus Damm wrote:
> These patches rework the pci code for the sh architecture.
>
> Currently each board implements some kind of ioport to address mapping. Some
> boards use generic_io_base others try passing addresses as io ports. This is
> the first set of patches that try to unify the pci code as much as possible
> to avoid duplicated code. This will in the end lead to fewer lines board
> specific code and more generic code.
>
> Only high level stuff so far. These patches avoid changing low level bits,
> I have patches for sh7751 and sh7780 doing that already. I'll post then
> later on this week after some more testing.
>
> Have fun and people with pci host controllers - please test!
>
I've merged this series in to the sh/pci-rework topic branch. It needs
some more work, some of which I've already done, but it makes more sense
to concentrate development in one place and merge it when it's ready.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 00/09] sh: clean up pci code
2008-02-19 12:34 [PATCH 00/09] sh: clean up pci code Magnus Damm
2009-03-11 8:31 ` Paul Mundt
@ 2009-03-12 2:23 ` Magnus Damm
1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2009-03-12 2:23 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 11, 2009 at 5:31 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Tue, Feb 19, 2008 at 09:34:20PM +0900, Magnus Damm wrote:
>> These patches rework the pci code for the sh architecture.
>>
>> Currently each board implements some kind of ioport to address mapping. Some
>> boards use generic_io_base others try passing addresses as io ports. This is
>> the first set of patches that try to unify the pci code as much as possible
>> to avoid duplicated code. This will in the end lead to fewer lines board
>> specific code and more generic code.
>>
>> Only high level stuff so far. These patches avoid changing low level bits,
>> I have patches for sh7751 and sh7780 doing that already. I'll post then
>> later on this week after some more testing.
>>
>> Have fun and people with pci host controllers - please test!
>>
> I've merged this series in to the sh/pci-rework topic branch. It needs
> some more work, some of which I've already done, but it makes more sense
> to concentrate development in one place and merge it when it's ready.
Thanks. Let me know if there is any specific pci task you want me to
focus on. I mainly remembering a lot of board-specific code that would
be difficult to test without access to hardware.
Cheers,
/ magnus
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-12 2:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19 12:34 [PATCH 00/09] sh: clean up pci code Magnus Damm
2009-03-11 8:31 ` Paul Mundt
2009-03-12 2:23 ` Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox