From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] net: Divided code of NE2000 ethernet driver
Date: Wed, 12 Mar 2008 23:49:37 +0100 [thread overview]
Message-ID: <20080312224937.GG18968@game.jcrosoft.org> (raw)
In-Reply-To: <47CE54F4.8040606@renesas.com>
On 17:08 Wed 05 Mar , goda.yusuke wrote:
> There are more devices of the NE2000 base.
> A present code is difficult for us to support more devices.
> To support more NE2000 clone devices, separated the function.
>
> Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com>
> ---
> drivers/net/ne2000.c | 213 +++++++++---------------------
> drivers/net/ne2000.h | 316 ++++++++++++++++-----------------------------
> drivers/net/ne2000_base.h | 282 ++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 456 insertions(+), 355 deletions(-)
> create mode 100644 drivers/net/ne2000_base.h
>
> diff --git a/drivers/net/ne2000.c b/drivers/net/ne2000.c
> index b100657..4928014 100644
> --- a/drivers/net/ne2000.c
> +++ b/drivers/net/ne2000.c
> @@ -82,25 +82,11 @@ Add SNMP
>
> #ifdef CONFIG_DRIVER_NE2000
Btw please move this to the Makefile
>
> -/* wor around udelay resetting OCR */
> -static void my_udelay(long us) {
> - long tmo;
> -
> /*
> @@ -234,7 +227,7 @@ static void
> dp83902a_start_xmit(int start_page, int len)
> {
> dp83902a_priv_data_t *dp = (dp83902a_priv_data_t *) &nic;
> - cyg_uint8 *base = dp->base;
> + u8 *base = dp->base;
>
Best Regards,
J.
next prev parent reply other threads:[~2008-03-12 22:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 8:08 [U-Boot-Users] [PATCH] net: Divided code of NE2000 ethernet driver goda.yusuke
2008-03-07 7:10 ` Nobuhiro Iwamatsu
2008-03-12 22:49 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-03-25 21:53 ` Wolfgang Denk
2008-03-25 21:50 ` Wolfgang Denk
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=20080312224937.GG18968@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=u-boot@lists.denx.de \
/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