[linux-usb-devel] usb mass storage

2002-07-18 Thread Cw . Wang
Dear Sir, Sorry to bother you. I'm newbie with develop usb mass storage for bulk only and using SCSI primary command set under Embedded host platform. But after reading of SPC-2 command set, I can't find READ_10 = 0x28(opcode). Only READ BUFFER available. Can anyone would tell me whi

[linux-usb-devel] Re: [PATCH 2.5.25] usbnet queuing

2002-07-18 Thread Greg KH
On Mon, Jul 15, 2002 at 06:45:50PM -0700, David Brownell wrote: > This patch: > > - Enables use of bulk queueing > - Avoids stopping the tx queue until it's really needed > > If enabling bulk queuing causes any problems in any of the > HCDs, we'll want to find out ... :) > > Please merge to Lin

[linux-usb-devel] Re: question on TD allocation in ohci-hcd.c

2002-07-18 Thread David Brownell
Oliver Neukum wrote: > Am Donnerstag, 18. Juli 2002 23:45 schrieben Sie: > >>>is there a deeper reason for the TDs being allocated under a spinlock? >> >>The presence of an annoying hashtable needed for bus_to_virt() >>style mappings. Minimally, stuffing the hashbuckets needs to >>be reentrant,

Re: [linux-usb-devel] Host USB / ro initrd root(was RE: SA1111 USBHost Issues (ADS))

2002-07-18 Thread Justin C. Noel
On Thu, 18 Jul 2002, David Brownell wrote: > The SA- root hub init code is supposed to initialize dev->speed > for its root hub ... SPEED_UNKNOWN is an error. A one-line fix ... :) > Seems like that was a problem with the old usb-ohci driver. I'm now using ohci-hcd as Christopher suggest

[linux-usb-devel] Re: question on TD allocation in ohci-hcd.c

2002-07-18 Thread Oliver Neukum
Am Donnerstag, 18. Juli 2002 23:45 schrieben Sie: > > is there a deeper reason for the TDs being allocated under a spinlock? > > The presence of an annoying hashtable needed for bus_to_virt() > style mappings. Minimally, stuffing the hashbuckets needs to > be reentrant, and that's done as part of

[linux-usb-devel] patch to also use the atomic pool for storage

2002-07-18 Thread Oliver Neukum
Hi, currently there's a problem with storage. The vm may use it to page out dirty pages in order to free memory. Unfortunately this operation needs memory itself. The included patch should help the problem by retrying a failed memory allocation in ohci from the atomic pool. In the long run we ne

[linux-usb-devel] Re: question on TD allocation in ohci-hcd.c

2002-07-18 Thread David Brownell
> is there a deeper reason for the TDs being allocated under a spinlock? The presence of an annoying hashtable needed for bus_to_virt() style mappings. Minimally, stuffing the hashbuckets needs to be reentrant, and that's done as part of allocation. After my next set of OHCI patches I hope to p

[linux-usb-devel] question on TD allocation in ohci-hcd.c

2002-07-18 Thread Oliver Neukum
Hi, is there a deeper reason for the TDs being allocated under a spinlock? Regards Oliver --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___

Re: [linux-usb-devel] Host USB / ro initrd root(was RE: SA1111 USBHost Issues (ADS))

2002-07-18 Thread David Brownell
> Thanks for the update. I was able to get it working by compiling as a > module and adding a line to the case statment in urb.c in > usb_submit_urb that was switching on dev->speed. I added a fall > through for USB_SPEED_UNKNOWN to USB_SPEED_FULL. I don't know why the > ADS Bitsy SA111 is retu

[linux-usb-devel] Host USB / ro initrd root(was RE: SA1111 USB Host Issues (ADS))

2002-07-18 Thread Justin C. Noel
> > Looks like __init code calling __exit or __devexit code when > > built into a module. > > 3. Here's the patch: > > --- linux-2.5.24-rmk1-ch2/drivers/usb/host/usb-ohci-sa.c.orig > Wed Jul 17 18:29:21 2002 > +++ linux-2.5.24-rmk1-ch2/drivers/usb/host/usb-ohci-sa.c Thu Jul > 18 10:16:09

Re: [linux-usb-devel] [OT] Draft Press Release - USB 2.0 support

2002-07-18 Thread Randy.Dunlap
On Thu, 18 Jul 2002, David Brownell wrote: | > The Linux kernel typically achieves I/O rates of from 10-20 MBytes/sec | > with the 2.4.19 kernel using readily available retail USB 2.0 hard | > drives. These rates currently compare favorably with the speeds that | > other operating systems achieve

Re: [linux-usb-devel] [OT] Draft Press Release - USB 2.0 support

2002-07-18 Thread David Brownell
> Most major Linux distributions will include USB 2.0 support in the > near future. Redhat and Mandrake both currently include limited USB > 2.0 support. Jason Ziller, chairman of the USB Implementers Forum, > said "I am excited about Hi-Speed USB 2.0 being included in the latest > Linux kernel.

[linux-usb-devel] [PATCH] Fix init/exit attributes in SA-1111 ohci drvier (was RE: SA1111 USB Host Issues (ADS))

2002-07-18 Thread Christopher Hoover
> > > drivers/built-in.o: In function `sa_ohci_init': > > > drivers/built-in.o(.text.init+0x3bb4): relocation truncated > > > to fit: R_ARM_PC24 text.exit > > > drivers/built-in.o(.text.init+0x3c08): relocation truncated > > > to fit: R_ARM_PC24 text.exit > > > > Looks like __init code call

Re: [linux-usb-devel] Re: unending timeouts

2002-07-18 Thread Martin Diehl
On Wed, 17 Jul 2002, Duncan Sands wrote: > Hi Dave, it is the same with both UHCIs. I've been looking > at where the port reset (which kills the modem) actually happens. > It is in uhci-hub.c, in the routine uhci_hub_control (case SetPortFeature). > The code is as follows (not my favorite coding