From: Pete Zaitcev <zaitcev@redhat.com>
To: jeremy@jeremya.com
Cc: linux-kernel@vger.kernel.org, zaitcev@redhat.com
Subject: Re: [PATCH] usb bulk transfer: 1024 byte packets
Date: Sat, 14 Apr 2007 09:58:52 -0700 [thread overview]
Message-ID: <20070414095852.c5e3911a.zaitcev@redhat.com> (raw)
In-Reply-To: <9457.24.247.238.75.1176556465.squirrel@secure.gandhilinux.org>
On Sat, 14 Apr 2007 09:14:25 -0400 (EDT), "Jeremy C. Andrus" <jeremy@jeremya.com> wrote:
> On Fri, April 13, 2007 22:16, Pete Zaitcev wrote:
> > The transfer size in the URB is not limited by the maximum packet
> > size. The HC driver splits up the transfer as specified by URB into
> > the required number of packets.
>
> The problem was not in the transfer from PC -> Device, but from Device
> -> PC. If I remember correctly, the 512 limit (in the
> urb->transfer_flags) is used to setup the DMA. When the device sent
> packets which were 1024 bytes in size, the urb came back with a status
> set to -EOVERFLOW.
It's a bug in your driver. Supply the correct size with the URB and
all will be fine. Like I said, HC splits up the transfer transparently,
no matter what direction.
-- Pete
prev parent reply other threads:[~2007-04-14 16:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-13 16:56 Jeremy C. Andrus
2007-04-13 18:47 ` Jeremy C. Andrus
2007-04-14 2:16 ` Pete Zaitcev
2007-04-14 13:14 ` Jeremy C. Andrus
2007-04-14 16:58 ` Pete Zaitcev [this message]
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=20070414095852.c5e3911a.zaitcev@redhat.com \
--to=zaitcev@redhat.com \
--cc=jeremy@jeremya.com \
--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
all inboxes | Powered by JetHome®