aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/sierra.c
AgeCommit message (Collapse)AuthorFilesLines
2007-07-12USB: sierra: cleanup the startup and shutdown pathGreg Kroah-Hartman1-89/+41
This removes the ugly code that was copied from the keyspan driver and allocates the in urbs in a much shorter code path that can be understood easier. Also turned off the interrupt urb when no port was open as it's not nice to keep the bus busy for no good reason at all (this should be a power savings.) All in all, this saved over 40 lines of code and cleaned things up better. Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-07-12USB: sierra: remove incorrect usage of the urb status fieldGreg Kroah-Hartman1-114/+107
You can't rely on the fact that the status really is correct like it was. Also simplified the write path and now we allocate the urb and data on the fly, instead of trying to do that really odd timeout check which I am guessing doesn't really work properly. This should speed up the device by keeping the hardware queue full easier. As a benefit, this reduces the size of the driver. Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-07-12USB: serial: sierra: clean up urb->status usageGreg Kroah-Hartman1-6/+8
This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Cc: <[email protected]> Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-05-22USB: Add support for Sierra Wireless Aircard 595UDanny Budik1-0/+2
This patch adds support for the newly released Aircard 595U EVDO modem to the Sierra Wireless driver (sierra.c) in kernel 2.6.21. I suspect that my mailer may be mangling patches so let me know and I'll try to resend it. From: Danny Budik <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-04-27USB: sierra: add more checks on shutdownGreg Kroah-Hartman1-0/+11
This should help with any potential NULL pointer usages as reported by a few users. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-04-27USB: sierra close raceOliver Neukum1-10/+4
the sierra driver does not directly use usb_kill_urb(). It uses a wrapper. This wrapper means that callbacks which are running are not killed during close, resubmitting and illicitly pushing data into the tty layer. The whole purpose of usb_kill_urb() is subverted. The wrapper must be removed. The same problem as the option driver. Signed-off-by: Oliver Neukum <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-02-07USB: Sierra Wireless auto set D0Kevin Lloyd1-9/+18
This patch ensures that the device is turned on when inserted into the system. It also adds more VID/PIDs and matches the N_OUT_URB with the airprime driver. Signed-off-by: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-02-07USB serial: add driver pointer to all usb-serial driversJohannes Hölzl1-0/+2
Every usb serial driver should have a pointer to the corresponding usb driver. So the usb serial core can add a new id not only to the usb serial driver, but also to the usb driver. Also the usb drivers of ark3116, mos7720 and mos7840 missed the flag no_dynamic_id=1. This is added now. Signed-off-by: Johannes Hölzl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-12-08[PATCH] tty: switch to ktermiosAlan Cox1-1/+1
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->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 [[email protected]: bluetooth fix] [[email protected]: sclp fix] [[email protected]: warning fix for tty3270] [[email protected]: fix tty_ioctl powerpc build] [[email protected]: uml: fix ->set_termios declaration] Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Martin Peschke <[email protected]> Acked-by: Peter Oberparleiter <[email protected]> Cc: Cornelia Huck <[email protected]> Signed-off-by: Hugh Dickins <[email protected]> Signed-off-by: Jeff Dike <[email protected]> Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-11-03USB: sierra: Fix id for Sierra Wireless MC8755 in new tableJan Luebbe1-0/+1
The new version of sierra.c has introduced tables for the 1 port and 3 port variants. The device id i added in my last patch needs to be added to the 3 port table. Signed-off-by: Jan Luebbe <[email protected]> Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-11-03USB: add another sierra wireless device idGreg Kroah-Hartman1-0/+2
As reported by Peter Kucmeroski and Jason Ganovsky. Cc: Peter Kucmeroski <[email protected]> Cc: Jason Ganovsky <[email protected]> Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-10-17USB: Add device id for Sierra Wireless MC8755Jan Luebbe1-0/+1
Adds the device id used by the UMTS cards in Lenovo X60s notebooks sold in Europe. Signed-off-by: Jan Luebbe <[email protected]> Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-10-17USB: cleanup sierra wireless driver a bitGreg Kroah-Hartman1-151/+118
This saves over 30 lines and fixes a warning from sparse and allows debugging to work dynamically like all other usb-serial drivers. Cc: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-10-17USB: Sierra Wireless driver updateKevin Lloyd1-31/+698
The largest feature in this patch is that it adds significant throughput increase to the Sierra driver and adds support for modem status line control (e.g. the DTR line). This patch also updates the current sierra.c driver so that it supports both 3-port Sierra devices and 1-port legacy devices and removes Sierra's references in other related files (Kconfig and airprime.c). Signed-off-by: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-07-12[PATCH] USB: move usb-serial.h to include/linux/usb/Greg Kroah-Hartman1-1/+1
USB serial outside of the kernel tree can not build properly due to usb-serial.h being buried down in the source tree. This patch moves the location of the file to include/linux/usb and fixes up all of the usb serial drivers to handle the move properly. Cc: Sergei Organov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-07-12[PATCH] USB: add driver for non-composite Sierra Wireless devicesKevin Lloyd1-0/+75
This patch creates a new driver, sierra.c, that supports the new non-composite Sierra Wireless WWAN devices. The older Sierra Wireless and Airprime devices are supported in airprime.c. Signed-off-by: Kevin Lloyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>