From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Marvell 88E1118 interrupt fix
Date: Thu, 29 Jan 2009 00:22:41 -0800 [thread overview]
Message-ID: <49816751.3000500@gmail.com> (raw)
In-Reply-To: <1233188241-23025-1-git-send-email-ron_madrid@sbcglobal.net>
Ron Madrid wrote:
> This patch adjusts the LED control so that interrupt lines are not reading LEDs
> and effectively causing indefinite interrupts to the controller.
>
> Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
> ---
> drivers/net/tsec.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
> index d7da081..c9aa29d 100644
> --- a/drivers/net/tsec.c
> +++ b/drivers/net/tsec.c
> @@ -1141,6 +1141,9 @@ struct phy_info phy_info_M88E1118 = {
> {MIIM_CONTROL, MIIM_CONTROL_RESET, NULL},
> {0x16, 0x0002, NULL}, /* Change Page Number */
> {0x15, 0x1070, NULL}, /* Delay RGMII TX and RX */
> + {0x16, 0x0003, NULL}, /* Change Page Number */
> + {0x10, 0x021e, NULL}, /* Adjust LED control */
> + {0x16, 0x0000, NULL}, /* Change Page Number */
> {MIIM_GBIT_CONTROL, MIIM_GBIT_CONTROL_INIT, NULL},
> {MIIM_ANAR, MIIM_ANAR_INIT, NULL},
> {MIIM_CONTROL, MIIM_CONTROL_RESET, NULL},
> @@ -1152,6 +1155,7 @@ struct phy_info phy_info_M88E1118 = {
> /* Status is read once to clear old link state */
> {MIIM_STATUS, miim_read, NULL},
> /* Auto-negotiate */
> + {MIIM_STATUS, miim_read, &mii_parse_sr},
> /* Read the status */
> {MIIM_88E1011_PHY_STATUS, miim_read,
> &mii_parse_88E1011_psr},
>
Applied to net repo.
thanks,
Ben
prev parent reply other threads:[~2009-01-29 8:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 0:17 [U-Boot] [PATCH] Marvell 88E1118 interrupt fix Ron Madrid
2009-01-29 8:22 ` Ben Warren [this message]
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=49816751.3000500@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.