From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] resend#3 [PATCH 6/8] ColdFire: Add MCF547x_8x FEC driver
Date: Wed, 16 Jan 2008 21:33:13 -0500 [thread overview]
Message-ID: <478EBE69.7080204@gmail.com> (raw)
In-Reply-To: <12005258853263-git-send-email-Tsi-Chung.Liew@freescale.com>
Hi Tsi-Chung,
Tsi-Chung Liew wrote:
<snip>
> +
> +static int fec_send(struct eth_device *dev, volatile void *packet, int length);
> +static int fec_recv(struct eth_device *dev);
> +static int fec_init(struct eth_device *dev, bd_t * bd);
> +static void fec_halt(struct eth_device *dev);
>
You don't need these prototypes.
> +extern int fecpin_setclear(struct eth_device *dev, int setclear);
> +
> +#ifdef CFG_DISCOVER_PHY
> +extern void mii_init(void);
> +extern uint mii_send(uint mii_cmd);
> +extern int mii_discover_phy(struct eth_device *dev);
> +extern int mcffec_miiphy_read(char *devname, unsigned char addr,
> + unsigned char reg, unsigned short *value);
> +extern int mcffec_miiphy_write(char *devname, unsigned char addr,
> + unsigned char reg, unsigned short value);
> +#endif
>
There's no need to #ifdef prototypes, and the extern'ed ones are in
header files that
you've included (or should be).
Since this patch relies on others in the series, it doesn' t make sense
for me to apply it.
John, if the code compiles fine with these removed, please add this to
the patch and apply:
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Thanks very much for your contribution, Tsi-Chung.
regards,
Ben
next prev parent reply other threads:[~2008-01-17 2:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 23:24 [U-Boot-Users] resend#3 [PATCH 6/8] ColdFire: Add MCF547x_8x FEC driver Tsi-Chung Liew
2008-01-17 2:33 ` Ben Warren [this message]
2008-01-17 17:49 ` Liew Tsi Chung
2008-01-17 18:27 ` Ben Warren
2008-01-17 18:32 ` Liew Tsi Chung
2008-01-17 18:36 ` Ben Warren
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=478EBE69.7080204@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