public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: David Hollis <dhollis@davehollis.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, pktoss@gmail.com
Subject: [RESEND] [PATCH] asix.c: Fix AX88178 connectivity with 10/100 networks
Date: Thu, 20 Nov 2008 10:25:41 -0500	[thread overview]
Message-ID: <1227194741.4420.37.camel@dhollis-lnx> (raw)

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

Add AX_MEDIUM_ENCK also when speed = 10/100Mbps.  This makes the Belkin
F5D5055 device work properly.

Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
Acked-by: David Hollis <dhollis@davehollis.com>

[-- Attachment #2: Type: text/x-patch, Size: 536 bytes --]

--- a/drivers/net/usb/asix.c	2008-11-20 09:50:04.000000000 -0500
+++ b/drivers/net/usb/asix.c	2008-11-20 09:50:36.000000000 -0500
@@ -1102,12 +1102,14 @@ static int ax88178_link_reset(struct usb
 	mode = AX88178_MEDIUM_DEFAULT;
 
 	if (ecmd.speed == SPEED_1000)
-		mode |= AX_MEDIUM_GM | AX_MEDIUM_ENCK;
+		mode |= AX_MEDIUM_GM;
 	else if (ecmd.speed == SPEED_100)
 		mode |= AX_MEDIUM_PS;
 	else
 		mode &= ~(AX_MEDIUM_PS | AX_MEDIUM_GM);
 
+	mode |= AX_MEDIUM_ENCK;
+
 	if (ecmd.duplex == DUPLEX_FULL)
 		mode |= AX_MEDIUM_FD;
 	else

             reply	other threads:[~2008-11-20 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 15:25 David Hollis [this message]
2008-11-21  4:41 ` [RESEND] [PATCH] asix.c: Fix AX88178 connectivity with 10/100 networks David Miller

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=1227194741.4420.37.camel@dhollis-lnx \
    --to=dhollis@davehollis.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=pktoss@gmail.com \
    /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