Re: [linux-usb-devel] [PATCH] usbnet: Zero padding byte if there is tail room in skb.

2007-06-26 Thread David Brownell
On Tuesday 26 June 2007, Peter Korsgaard wrote: > Usbnet adds a padding byte if a 0 byte packet would be sent. Zero > padding byte if there is tail room in skb. > > Signed-of-by: Peter Korsgaard <[EMAIL PROTECTED]> > --- > drivers/net/usb/usbnet.c |9 ++--- drivers/net patches should go t

[linux-usb-devel] [PATCH] usbnet: Zero padding byte if there is tail room in skb.

2007-06-26 Thread Peter Korsgaard
Usbnet adds a padding byte if a 0 byte packet would be sent. Zero padding byte if there is tail room in skb. Signed-of-by: Peter Korsgaard <[EMAIL PROTECTED]> --- drivers/net/usb/usbnet.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) Index: linux-2.6.22-rc6/drivers/net/usb/us

[linux-usb-devel] [patch] usbnet: fix kconfig for usbnet drivers

2007-06-22 Thread Andreas Herrmann
Fix kernel build error: drivers/built-in.o: In function `usbnet_set_settings': : undefined reference to `mii_ethtool_sset' drivers/built-in.o: In function `usbnet_get_settings': : undefined reference to `mii_ethtool_gset' drivers/built-in.o: In function `usbnet_get_link': : undefined referen

[linux-usb-devel] [PATCH] usbnet: add a mutex around phy register access

2006-08-20 Thread Arnd Bergmann
When working on the mcs7830, I noticed the need for a mutex in its mdio_read/mdio_write functions. A related problem seems to be present in the asix driver in the respective functions. This introduces a mutex in the common usbnet driver and uses it from the two hardware specific drivers. Signed-o

[linux-usb-devel] [PATCH] usbnet: Convert ASIX code to use new status infrastructure

2005-04-23 Thread Greg KH
commit 7ea13c9c0e40d24c5f45a3a6bee8a2a39bfb1df4 tree b8a64ad2f988b45cc9183d07cbfe33432c03be20 parent fb3b4ebc0be618dbcc2326482a83c920d51af7de author David Hollis <[EMAIL PROTECTED]> 1114207622 -0700 committer Greg KH <[EMAIL PROTECTED]> 1114207622 -0700 [PATCH] usbnet: Convert ASIX code to use

Re: [linux-usb-devel] [PATCH] usbnet oops on sparc64

2004-04-09 Thread Ryan Veety
On Fri, 9 Apr 2004, David Brownell wrote: > Ryan Veety wrote: > > I'm not sure if this is sparc specific, but since 2.4.5 I get an oops > > loading usbnet. Attached is a tiny patch to usbcore that fixes the oops > > for me. The problem is usb_disable_interface is called before any > > alternates

Re: [linux-usb-devel] [PATCH] usbnet oops on sparc64

2004-04-09 Thread Randy.Dunlap
On Fri, 09 Apr 2004 08:10:40 -0700 David Brownell wrote: | > Unable to handle kernel NULL pointer dereference | > tsk->{mm,active_mm}->context = 058f | > tsk->{mm,active_mm}->pgd = f80067ac9000 | > \|/ \|/ | > "@'/ .. \`@" | > /_| \__/

Re: [linux-usb-devel] [PATCH] usbnet oops on sparc64

2004-04-09 Thread David Brownell
Ryan Veety wrote: I'm not sure if this is sparc specific, but since 2.4.5 I get an oops loading usbnet. Attached is a tiny patch to usbcore that fixes the oops for me. The problem is usb_disable_interface is called before any alternates are set. Hmm? That doesn't sound right. If you apply the b

[linux-usb-devel] [PATCH] usbnet oops on sparc64

2004-04-09 Thread Ryan Veety
I'm not sure if this is sparc specific, but since 2.4.5 I get an oops loading usbnet. Attached is a tiny patch to usbcore that fixes the oops for me. The problem is usb_disable_interface is called before any alternates are set. PROMLIB: Sun IEEE Boot Prom 4.0.6 2001/02/19 09:56 Linux version 2.6

[linux-usb-devel] PATCH usbnet: GeneLink/NDIS tweaks

2002-04-08 Thread David Brownell
This patch, from Oliver, discards slightly less data in cases where memory is very tight. The GeneLink framing can batch several packets in one transmission, so it's always possible to at least report the last one, since it's already sitting in an SKB and we won't need a new one. Please merge in

[linux-usb-devel] PATCH: usbnet

2001-11-20 Thread David Brownell
Here's an update to the version of usbnet found in 2.4.14, incorporating GL-620A support and a tweak to the Prolific support (some chip versions fail on set_interface calls). Note that this isn't the update that seems to have gotten into the 2.4.15 pre3-to-pre8 kernels, though it circulated a bit

[linux-usb-devel] PATCH: usbnet

2001-10-17 Thread David Brownell
Attached is a patch for usbnet.c against 2.4.12-pre2, which: - fixes a nasty bug, "ifdown" deadlocked SMP - supports a new device - adds EXPORT_NO_SYMBOLS There are also some minor cleanups in preparation for a larger patch later (for GeneSys 620 support). I'm not sure when that dea