From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] Gbe Controller driver support for kirkwood SOCs
Date: Mon, 25 May 2009 23:34:43 -0700 [thread overview]
Message-ID: <4A1B8D83.3010407@gmail.com> (raw)
In-Reply-To: <1242937472-30778-4-git-send-email-prafulla@marvell.com>
Hi Prafulla,
Prafulla Wadaskar wrote:
> Contributors:
> Yotam Admon <yotam@marvell.com>
> Michael Blostein <michaelbl@marvell.com
>
> Reviewed by: Ronen Shitrit <rshitrit@marvell.com>
> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> Change log:
> v2: entire rewrite/restructure of v1
> used small names for variable/function names
> readl/writel used to access SoC registers
> Soc registers accssed using pointers through net device struct
> miiphy registration done for external smi read/write access
> miiphy_link used to detect phy link presence
> cleaned for cosmetic changes
>
> v3: asm/arch/kirkwood.h included in c file
>
> v4: bugfix for phy address read
>
> cpu/arm926ejs/kirkwood/cpu.c | 8 +
> drivers/net/Makefile | 1 +
> drivers/net/kirkwood_egiga.c | 1670 ++++++++++++++++++++++++++++++++++++++++++
> drivers/net/kirkwood_egiga.h | 828 +++++++++++++++++++++
> include/netdev.h | 1 +
> 5 files changed, 2508 insertions(+), 0 deletions(-)
> create mode 100644 drivers/net/kirkwood_egiga.c
> create mode 100644 drivers/net/kirkwood_egiga.h
>
> diff --git a/cpu/arm926ejs/kirkwood/cpu.c b/cpu/arm926ejs/kirkwood/cpu.c
> index 1286cac..d37c2e2 100644
> --- a/cpu/arm926ejs/kirkwood/cpu.c
> +++ b/cpu/arm926ejs/kirkwood/cpu.c
> @@ -314,3 +314,11 @@ int arch_misc_init(void)
> return 0;
> }
> #endif /* CONFIG_ARCH_MISC_INIT */
> +
> +#ifdef CONFIG_KIRKWOOD_EGIGA
> +int cpu_eth_init(bd_t *bis)
> +{
> + kirkwood_egiga_initialize(bis);
> + return 0;
> +}
> +#endif
>
Please move this part (cpu.c) to a different patch. This one should
only include the driver itself, and I can't apply it since the cpu.c
file doesn't exist yet...
I don't have any technical problems with this patch, but please consider
the following:
1. Statistics are great to have, but most people won't look at them and
all the associated logic makes the driver very big. Please
conditionally compile that stuff in.
2. Please ensure that all lines are <= 78 characters long (80 minus the
initial character that diff puts in)
regards,
Ben
next prev parent reply other threads:[~2009-05-26 6:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-21 20:24 [U-Boot] [PATCH v10] Marvell Kirkwood family SOC support Prafulla Wadaskar
2009-05-21 20:24 ` [U-Boot] [PATCH] Marvell Sheevaplug Board support Prafulla Wadaskar
2009-05-21 20:24 ` [U-Boot] [PATCH] Marvell MV88E1116 PHY Driver support Prafulla Wadaskar
2009-05-21 20:24 ` [U-Boot] [PATCH v4] Gbe Controller driver support for kirkwood SOCs Prafulla Wadaskar
2009-05-26 6:34 ` Ben Warren [this message]
2009-05-26 6:54 ` Prafulla Wadaskar
2009-05-26 14:56 ` Stefan Roese
2009-05-27 5:26 ` Prafulla Wadaskar
2009-05-27 7:10 ` Stefan Roese
[not found] ` <73173D32E9439E4ABB5151606C3E19E201CFBDC5A1@SC-VEXCH1.marvell.com>
2009-05-30 16:06 ` [U-Boot] [PATCH] Marvell MV88E1116 PHY Driver support Ben Warren
2009-06-02 11:22 ` Prafulla Wadaskar
2009-05-22 8:21 ` [U-Boot] [PATCH] Marvell Sheevaplug Board support Stefan Roese
2009-05-22 11:02 ` Wolfgang Denk
2009-05-22 12:08 ` Prafulla Wadaskar
2009-05-22 12:17 ` Prafulla Wadaskar
2009-05-22 15:22 ` Wolfgang Denk
2009-05-25 4:56 ` [U-Boot] [PATCH v10] Marvell Kirkwood family SOC support Prafulla Wadaskar
2009-05-25 7:11 ` Stefan Roese
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=4A1B8D83.3010407@gmail.com \
--to=biggerbadderben@gmail.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