netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: netdev@vger.kernel.org
Cc: Magnus Damm <magnus.damm@gmail.com>,
	lethal@linux-sh.org, akpm@linux-foundation.org, jeff@garzik.org
Subject: [PATCH 00/05] smc911x: Request bus width using platform data
Date: Mon, 02 Jun 2008 20:37:06 +0900	[thread overview]
Message-ID: <20080602113706.28716.92046.sendpatchset@rx1.opensource.se> (raw)

These patches make it possible to request bus width using platform data.

Instead of keep on updating smc911x.h with board specific configuration,
use platform data to pass along bus width and irq flags to the driver.
While at it, remove some dead code.

[PATCH 01/05] smc911x: Remove unused 8-bit I/O operations
[PATCH 02/05] smc911x: Fix 16-bit I/O operations
[PATCH 03/05] smc911x: Pass along private data and use iomem
[PATCH 04/05] smc911x: Introduce platform data flags
[PATCH 05/05] smc911x: SuperH architecture support

The smc91x driver has gone through a similar change a few months ago.
http://www.mail-archive.com/netdev@vger.kernel.org/msg62427.html

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 drivers/net/Kconfig     |    2 
 drivers/net/smc911x.c   |  423 +++++++++++++++++----------------------
 drivers/net/smc911x.h   |  505 ++++++++++++++++++++++++++---------------------
 include/linux/smc911x.h |   12 +
 4 files changed, 483 insertions(+), 459 deletions(-)

             reply	other threads:[~2008-06-02 11:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 11:37 Magnus Damm [this message]
2008-06-02 11:37 ` [PATCH 01/05] smc911x: Remove unused 8-bit I/O operations Magnus Damm
2008-06-03 22:48   ` Andrew Morton
2008-06-03 23:20     ` Jeff Garzik
2008-06-02 11:37 ` [PATCH 02/05] smc911x: Fix 16-bit " Magnus Damm
2008-06-02 11:37 ` [PATCH 03/05] smc911x: Pass along private data and use iomem Magnus Damm
2008-06-02 11:37 ` [PATCH 04/05] smc911x: Introduce platform data flags Magnus Damm
2008-06-02 11:37 ` [PATCH 05/05] smc911x: SuperH architecture support 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=20080602113706.28716.92046.sendpatchset@rx1.opensource.se \
    --to=magnus.damm@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=jeff@garzik.org \
    --cc=lethal@linux-sh.org \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).