Re: [linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-13 Thread James Painter
David Hollis wrote: I wonder if it might just be simpler to wrap the 'val' in cpu_to_le16 in the ax8817x_mdio_read/write functions. Would make the rest of the code cleaner and easier to follow. Pointers to these functions are set in the dev->mii structure, and must follow the ethtool_mii

Re: [linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-13 Thread David Hollis
On Fri, 2005-08-12 at 23:40 -0600, James Painter wrote: > > I caught a bunch of endian problems when back porting the current > usbnet.c code to 2.4 for use on a big-endian mips processor (tivo). > Another one of those things I mean to wrap up to submit a patch for, but > haven't yet. I ha

Re: [linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-12 Thread James Painter
David Hollis wrote: Interesting, I wonder if anyone else is using these devices on other PPC or like systems? I suppose they may be trying to use them but not having much success and just not reporting it. I wouldn't be too surprised if it's an endian issue, though the PHY handling has been a

RE: [linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-12 Thread David Hollis
On Fri, 2005-08-12 at 16:06 +0200, Magnus wrote: > > David Hollis <[EMAIL PROTECTED]> wrote: > > There were some fixes incorporated not too long ago that deal with the > > speed negotiation, but those should already be incorporated into the > > kernel you are running. It is possible that there a

RE: [linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-12 Thread Magnus
> David Hollis <[EMAIL PROTECTED]> wrote: > There were some fixes incorporated not too long ago that deal with the > speed negotiation, but those should already be incorporated into the > kernel you are running. It is possible that there are endian issues but > I don't have any non-x86 hardware

Re: [linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-12 Thread David Hollis
On Fri, 2005-08-12 at 03:02 +0200, Magnus wrote: > Problem description: > I can't set the NIC speed. It's fixed to 10 mbps, half-duplex, no matter > what I do. > I'm sure isn't tools reporting speed incorrectly, tests reveal speeds around > 1mb/s (10mbit) on 100mbit net. > > I have tried both se

[linux-usb-devel] usbnet problem with Dlink DUB-E100

2005-08-11 Thread Magnus
Hi all, Not sure where to post this, so please redirect me if this isn't the place. I'm having some problems with my USB2 NIC, DLink DUB-E100. According to the specs it should be able to run 100mbit FDX on High-speed USB 2.0. It's also listed on http://www.linux-usb.org/usbnet/ as a supported ad