[PATCH 2/2] USB: serial: sierra driver sync with Knowledge Base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [PATCH 2/2] USB: serial: sierra driver sync with Knowledge Base
From: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx>

The following summarizes the changes in [PATCH 2/2] sierra driver:
[PATCH 2/2] sierra driver sync with SWI Knowledge Base:
- Added provisions to enable debugging by using DEBUG definition
- Added debug statement in sierra_write_room()
- Version number set to 1.7.0 to match our Knowledge Base.
Signed-off-by: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx>
---

 drivers/usb/serial/sierra.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--- a/drivers/usb/serial/sierra.c	2009-05-22 15:58:21.000000000 -0700
+++ b/drivers/usb/serial/sierra.c	2009-05-22 16:08:18.000000000 -0700
@@ -17,7 +17,9 @@
   Whom based his on the Keyspan driver by Hugh Blemings <hugh@xxxxxxxxxxxx>
 */
 
-#define DRIVER_VERSION "v.1.3.7"
+/* Uncomment to log function calls */
+/*#define DEBUG*/
+#define DRIVER_VERSION "v.1.7.0"
 #define DRIVER_AUTHOR "Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer"
 #define DRIVER_DESC "USB Driver for Sierra Wireless USB modems"
 
@@ -597,6 +599,8 @@ static int sierra_write_room(struct tty_
 	/* try to give a good number back based on if we have any free urbs at
 	 * this point in time */
 	spin_lock_irqsave(&portdata->lock, flags);
+	dev_dbg(&port->dev, "%s - outstanding_urbs: %d\n", __func__,
+		portdata->outstanding_urbs);
 	if (portdata->outstanding_urbs > N_OUT_URB * 2 / 3) {
 		spin_unlock_irqrestore(&portdata->lock, flags);
 		dev_dbg(&port->dev, "%s - write limit hit\n", __func__);


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux