<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/serial/keyspan.c, branch linux-2.6.24.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-08T19:46:21Z</updated>
<entry>
<title>USB: keyspan: Fix oops</title>
<updated>2008-02-08T19:46:21Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-02-01T23:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9ceb6ce700eb40d9aff44c2601b51943eea6990'/>
<id>urn:sha1:a9ceb6ce700eb40d9aff44c2601b51943eea6990</id>
<content type='text'>
If we get a data URB back from the hardware after we have put the tty to
bed we go kaboom. Fortunately all we need to do is process the URB
without trying to ram its contents down the throat of an ex-tty.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>keyspan: fix oops</title>
<updated>2008-01-22T03:39:41Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-01-22T01:18:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5569a565f7315fe7241cf963f2cc74e53871e11'/>
<id>urn:sha1:a5569a565f7315fe7241cf963f2cc74e53871e11</id>
<content type='text'>
If we get a data URB back from the hardware after we have put the tty to
bed we go kaboom.  Fortunately all we need to do is process the URB without
trying to ram its contents down the throat of an ex-tty.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@akpm@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>revert "keyspan: init termios properly"</title>
<updated>2007-11-29T17:24:54Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2007-11-29T00:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f78ba15705a5ef36b55c4e3142724e2211cb1733'/>
<id>urn:sha1:f78ba15705a5ef36b55c4e3142724e2211cb1733</id>
<content type='text'>
Revert 7eea436433b7b18045f272562e256976f593f7c0.

Lucy said:

  This patch will work with the 19HS but WILL BREAK all other Keyspan
  adapters.  It will take me a few days to get to looking at a correct fix but
  that keyspan_send_setup(port, 1) (and the '1' is the important part) must
  happen once when the port is first opened.  The cflag can just be set to
  whatever the normal default is for your serial environment.

So revert this again pending the proper fix.

Cc: Borislav Petkov &lt;bbpetkov@yahoo.de&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Lucy McCoy &lt;lucy@keyspan.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>keyspan: init termios properly</title>
<updated>2007-11-15T02:45:44Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2007-11-15T01:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eea436433b7b18045f272562e256976f593f7c0'/>
<id>urn:sha1:7eea436433b7b18045f272562e256976f593f7c0</id>
<content type='text'>
Remove redundant code leading to NULL ptr deref and let terminal config
settings take place in the proper initialization path in
usb_console_setup().

Signed-off-by: Borislav Petkov &lt;bbpetkov@yahoo.de&gt;
Cc: &lt;lucy@keyspan.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>USB: keyspan termios tidy</title>
<updated>2007-10-25T19:18:41Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2007-10-18T08:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=74240b07a908e09e18fa09f2cba44f212be9c4c3'/>
<id>urn:sha1:74240b07a908e09e18fa09f2cba44f212be9c4c3</id>
<content type='text'>
- Clear unsupported CMSPAR bit
- Clean up long chains of a-&gt;b-&gt; a bit
- Encode baud rate back into tty structure properly

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>USB: serial: keyspan: clean up urb-&gt;status usage</title>
<updated>2007-07-12T23:34:35Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2007-06-15T22:44:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95b934548049e2fd6a67853c6b5055c073bf6961'/>
<id>urn:sha1:95b934548049e2fd6a67853c6b5055c073bf6961</id>
<content type='text'>
This done in anticipation of removal of urb-&gt;status, which will make
that patch easier to review and apply in the future.


Cc: &lt;linux-usb-devel@lists.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB Serial Keyspan: add support for USA-49WG &amp; USA-28XG</title>
<updated>2007-07-12T23:29:45Z</updated>
<author>
<name>Lucy McCoy</name>
</author>
<published>2007-05-18T19:10:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ca1268e109acf6d71507398cb95cab2e670b654'/>
<id>urn:sha1:0ca1268e109acf6d71507398cb95cab2e670b654</id>
<content type='text'>
Add support for Keyspan adapters: USA-49WG and USA-28XG

Signed-off-by: Lucy P. McCoy &lt;lucy@keyspan.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>fix for bugzilla #7544 (keyspan USB-to-serial converter)</title>
<updated>2007-02-07T23:44:38Z</updated>
<author>
<name>Rainer Weikusat</name>
</author>
<published>2007-01-03T14:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdcba53e2d58272bcdb5f1fad694602ccf02ad46'/>
<id>urn:sha1:fdcba53e2d58272bcdb5f1fad694602ccf02ad46</id>
<content type='text'>
At least the Keyspan USA-19HS USB-to-serial converter supports
two different configurations, one where the input endpoints
have interrupt transfer type and one where they are bulk endpoints.
The default UHCI configuration uses the interrupt input endpoints.
The keyspan driver, OTOH, assumes that the device has only bulk
endpoints (all URBs are initialized by calling usb_fill_bulk_urb
in keyspan.c/ keyspan_setup_urb). This causes the interval field
of the input URBs to have a value of zero instead of one, which
'accidentally' worked with Linux at least up to 2.6.17.11 but
stopped to with 2.6.18, which changed the UHCI support code handling
URBs for interrupt endpoints. The patch below modifies to driver to
initialize its input URBs either as interrupt or as bulk URBs,
depending on the transfertype contained in the associated endpoint
descriptor (only tested with the default configuration) enabling
the driver to again receive data from the serial converter.

Greg K-H reworked the patch.

Signed-off-by: Rainer Weikusat &lt;rweikusat@sncag.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[PATCH] tty: switch to ktermios</title>
<updated>2006-12-08T16:28:57Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2006-12-08T10:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=606d099cdd1080bbb50ea50dc52d98252f8f10a1'/>
<id>urn:sha1:606d099cdd1080bbb50ea50dc52d98252f8f10a1</id>
<content type='text'>
This is the grungy swap all the occurrences in the right places patch that
goes with the updates.  At this point we have the same functionality as
before (except that sgttyb() returns speeds not zero) and are ready to
begin turning new stuff on providing nobody reports lots of bugs

If you are a tty driver author converting an out of tree driver the only
impact should be termios-&gt;ktermios name changes for the speed/property
setting functions from your upper layers.

If you are implementing your own TCGETS function before then your driver
was broken already and its about to get a whole lot more painful for you so
please fix it 8)

Also fill in c_ispeed/ospeed on init for most devices, although the current
code will do this for you anyway but I'd like eventually to lose that extra
paranoia

[akpm@osdl.org: bluetooth fix]
[mp3@de.ibm.com: sclp fix]
[mp3@de.ibm.com: warning fix for tty3270]
[hugh@veritas.com: fix tty_ioctl powerpc build]
[jdike@addtoit.com: uml: fix -&gt;set_termios declaration]
Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Martin Peschke &lt;mp3@de.ibm.com&gt;
Acked-by: Peter Oberparleiter &lt;oberpar@de.ibm.com&gt;
Cc: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>usb: keyspan free urb cleanup</title>
<updated>2006-12-01T22:23:34Z</updated>
<author>
<name>Mariusz Kozlowski</name>
</author>
<published>2006-11-08T14:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cadc1378fe9cdee9515842a4bf9f42228448ad2'/>
<id>urn:sha1:1cadc1378fe9cdee9515842a4bf9f42228448ad2</id>
<content type='text'>
- usb_free_urb() cleanup

Signed-off-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
