linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: mru@users.sourceforge.net (Måns Rullgård)
To: linux-kernel@vger.kernel.org
Subject: AX8817x (USB ethernet) problem in 2.6.0-test1
Date: Mon, 21 Jul 2003 13:21:08 +0200	[thread overview]
Message-ID: <yw1x1xwkgm6z.fsf@zaphod.guide> (raw)


My Netgear FA120 USB2 ethernet adaptor isn't working properly with
Linux 2.6.0-test1.  First off, I had to modify it slightly (patch
below) to make it work at all with USB2.  Now I can send data at the
full expected speed (~11 MB/s).  The problem is that receiving is only
200 kb/s.  This is obviously annoying.  For the record, it works
perfectly with 2.4.21-pre5 and ax8817x.c version 0.9.7.  Any ideas?


Index: drivers/usb/net/ax8817x.c
===================================================================
RCS file: /home/cvs/linux-2.5/drivers/usb/net/ax8817x.c,v
retrieving revision 1.2
diff -u -r1.2 ax8817x.c
--- drivers/usb/net/ax8817x.c	21 Jun 2003 16:20:14 -0000	1.2
+++ drivers/usb/net/ax8817x.c	21 Jul 2003 09:42:58 -0000
@@ -1238,7 +1238,7 @@
 
 	usb_fill_int_urb(ax_info->int_urb, usb, usb_rcvintpipe(usb, 1),
 			 ax_info->int_buf, 8, ax_int_callback, ax_info,
-			 100);
+			 usb->speed == USB_SPEED_HIGH? 8: 100);
 
 	ret = usb_submit_urb(ax_info->int_urb, GFP_ATOMIC);
 	if (ret < 0) {


-- 
Måns Rullgård
mru@users.sf.net

             reply	other threads:[~2003-07-21 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 11:21 Måns Rullgård [this message]
2003-07-30 17:57 ` AX8817x (USB ethernet) problem in 2.6.0-test1 Greg KH
2003-07-31  8:39   ` Måns Rullgård

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=yw1x1xwkgm6z.fsf@zaphod.guide \
    --to=mru@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).