From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH 00/09] sh: clean up pci code
Date: Tue, 19 Feb 2008 12:34:20 +0000 [thread overview]
Message-ID: <20080219123420.4266.2965.sendpatchset@clockwork.opensource.se> (raw)
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(-)
next reply other threads:[~2008-02-19 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 12:34 Magnus Damm [this message]
2009-03-11 8:31 ` [PATCH 00/09] sh: clean up pci code Paul Mundt
2009-03-12 2:23 ` Magnus Damm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080219123420.4266.2965.sendpatchset@clockwork.opensource.se \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox