Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30453 Details for
Bug 49600
USB devices causes sytem to freeze when used with OHCI and EHCI modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
4th patch
linux-2.4.23-usb-bug-107929.patch (text/plain), 1.35 KB, created by
Andrew Yates
on 2004-05-01 08:45:30 UTC
(
hide
)
Description:
4th patch
Filename:
MIME Type:
Creator:
Andrew Yates
Created:
2004-05-01 08:45:30 UTC
Size:
1.35 KB
patch
obsolete
>diff -ur -X dontdiff linux-2.4.22-1.2130.nptl/drivers/usb/serial/usbserial.c linux-2.4.23/drivers/usb/serial/usbserial.c >--- linux-2.4.22-1.2130.nptl/drivers/usb/serial/usbserial.c 2003-08-25 04:44:42.000000000 -0700 >+++ linux-2.4.23/drivers/usb/serial/usbserial.c 2003-11-29 18:53:05.000000000 -0800 >@@ -2,8 +2,8 @@ > * USB Serial Converter driver > * > * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com) >- * Copyright (c) 2000 Peter Berger (pberger@brimson.com) >- * Copyright (c) 2000 Al Borchers (borchers@steinerpoint.com) >+ * Copyright (C) 2000 Peter Berger (pberger@brimson.com) >+ * Copyright (C) 2000 Al Borchers (borchers@steinerpoint.com) > * > * This program is free software; you can redistribute it and/or > * modify it under the terms of the GNU General Public License version >@@ -556,7 +556,10 @@ > else > generic_close(port, filp); > port->open_count = 0; >- port->tty = NULL; >+ if (port->tty) { >+ port->tty->driver_data = NULL; >+ port->tty = NULL; >+ } > } > > if (port->serial->type->owner) >@@ -1401,12 +1404,9 @@ > for (i = 0; i < serial->num_ports; ++i) { > port = &serial->port[i]; > down (&port->sem); >- if (port->tty != NULL) { >- while (port->open_count > 0) { >+ if (port->tty != NULL) >+ while (port->open_count > 0) > __serial_close(port, NULL); >- } >- port->tty->driver_data = NULL; >- } > up (&port->sem); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49600
:
30449
|
30450
|
30451
|
30452
|
30453
|
30454
|
30455
|
30456
|
30457