summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2008-07-1437-tty-tidy-usb-cp2101Alan Cox
Bring up to coding style Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1436-tty-usb-console-fix-termiosAlan Cox
Setting CFLAG bits is all well and good but you must sort out ispeed and ospeed properly. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1435-tty-tidy-usb-consoleAlan Cox
Code tidy Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1434-tty-tidy-usb-serial-busAlan Cox
Tidy up Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1433-tty-belkin_sa-cleanupAlan Cox
Coding style tidy up for belkin_sa Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1432-whiteheat-fix-termiosAlan Cox
Termios tidy up, plus fix break and DTR. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1431-whiteheat-coding-styleAlan Cox
Bring ezusb and whiteheat into line with the coding style Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1430-usb-serial-api-changeAlan Cox
USB serial likes to use port->tty back pointers for the real work it does and to do so without any actual locking. Unfortunately when you consider hangup events, hangup/parallel reopen or even worse hangup followed by parallel close events the tty->port and port->tty pointers are not guaranteed to be the same as port->tty is the active tty while tty->port is the port the tty may or may not still be attached to. So rework the entire API to pass the tty struct. For console cases we need to pass both for now. This shows up multiple drivers that immediately crash with USB console some of which have been fixed in the process. Longer term we need a proper tty as console abstraction Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-1429-more-tty_port-fieldsAlan Cox
Move more bits into the tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1427-cyclades-use-tty_portAlan Cox
Switch cyclades to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1426-cleanup-tiocmsetAlan Cox
Reverse the order of one test and it gets much more readable Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1425-synclink-use-tty_portAlan Cox
Switch the synclink ports to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1424-stallion-use-tty_portAlan Cox
Switch the stallion driver to use the tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1423-atmel_serial-fix-tty_port-breakageAlan Cox
[PATCH -next] atmel_serial: Fix tty_port breakage From: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> The tty pointer has been moved into a tty_port field, so we need to use ->info->port.tty instead of just ->info->tty. Fixes these build errors: David Brownell <david-b@pacbell.net> wrote: > drivers/serial/atmel_serial.c: In function 'atmel_rx_from_ring': > drivers/serial/atmel_serial.c:665: error: 'struct uart_info' has no member named 'tty' > drivers/serial/atmel_serial.c: In function 'atmel_rx_from_dma': > drivers/serial/atmel_serial.c:672: error: 'struct uart_info' has no member named 'tty' > drivers/serial/atmel_serial.c: In function 'atmel_startup': > drivers/serial/atmel_serial.c:797: error: 'struct uart_info' has no member named 'tty' > make[2]: *** [drivers/serial/atmel_serial.o] Error 1 Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Alan Cox <alan@redhat.com>
2008-07-1422-rocketport-use-tty_portAlan Cox
Switch the rocketport to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1421-mxser-use-tty_portAlan Cox
Switch mxser to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1420-moxa-use-tty_portAlan Cox
Switch MOXA to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1419-istallion-use-tty_portAlan Cox
Switch istallion to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1418-isicom-use-tty_portAlan Cox
Switch isicom to use a tty_port structure for some fields Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1417-riscom-tty-remove-dud-checksAlan Cox
Chris Malley posted a patch removing a NULL check in the riscom8 driver. Further analysis shows that even more of the tests are irrelevant so we can delete lots of stuff Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1416-riscom8-use-tty_portAlan Cox
Switch riscom8 to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1415-gs-use-tty_portAlan Cox
Switch drivers using the old "generic serial" driver to use the tty_port structures Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1414-esp-use-tty_portAlan Cox
Switch esp to use the new tty_port structures Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1413-epca-use-tty_portAlan Cox
Switch the EPCA driver to include and begin using a tty_port structure Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1411-tty-rest-fix-tty-port-breakageAlan Cox
Fix compile errors in SGI console drivers (linux-next tree) From: Takashi Iwai <tiwai@suse.de> The below is the patch to replace blindly all possible places, including Jack's fixes. Signed-off-by: Takashi Iwai <tiwai@suse.de> (Reviewed and checked rather than blindly added) Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1410-ioc3_serial-fix-tty-port-breakageAlan Cox
[PATCH] - Fix compile errors in SGI console drivers (linux-next tree) From: Jack Steiner <steiner@sgi.com> Fix compile errors in SGI console drivers caused by changes to the tty_port structures in the linux-next tree. Signed-off-by: Jack Steiner <steiner@sgi.com> Acked-by: Alan Cox <alan@redhat.com>
2008-07-1409-tty-ppc-fix-zilogStephen Rothwell
Hi Alan, Today's linux-next build (powerpc allyesconfig) failed like this: drivers/serial/pmac_zilog.c: In function 'pmz_receive_chars': drivers/serial/pmac_zilog.c:245: error: 'struct uart_info' has no member named 'tty' drivers/serial/pmac_zilog.c:250: error: 'struct uart_info' has no member named 'tty' I applied the patch below (which builds but may, or may not, be correct). -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2008-07-1408-tty-sparc-fixStephen Rothwell
Hi Alan, Today's linux-next build (sparc64 defconfig) failed like this: drivers/serial/sunhv.c: In function `receive_chars': drivers/serial/sunhv.c:188: error: structure has no member named `tty' drivers/serial/sunsu.c: In function `receive_chars': drivers/serial/sunsu.c:314: error: structure has no member named `tty' drivers/serial/sunsab.c: In function `receive_chars': drivers/serial/sunsab.c:121: error: structure has no member named `tty' I applied the following patch (which, again, may not be correct). Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2008-07-1407-serial-core-use-tty_portAlan Cox
Switch the serial_core based drivers to use the new tty_port structure. We can't quite use all of it yet because of the dynamically allocated extras in the serial_core layer. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1406-tty-introduce-tty_portAlan Cox
Every tty driver has its own concept of a port structure and because they all differ we cannot extract commonality. Begin fixing this by creating a structure drivers can elect to use so that over time we can push fields into this and create commonality and then introduce common methods. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1405-serial_vcsAdrian Bunk
This patch removes CVS keywords that weren't updated for a long time in comments, printk's and MODULE_DESCRIPTION's (no printk's or MODULE_DESCRIPTION's are completely removed). While doing this I also found and fixed a missing \n in a printk in m32r_sio.c Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1404-rio_vcsAdrian Bunk
This patch removes ancient VCS tags (either protected by #ifdef SCCS_LABELS or commented out). Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-1403-ldisc-refAlan Cox
Move the line disciplines towards a conventional ->ops arrangement. For the moment the actual 'tty_ldisc' struct in the tty is kept as part of the tty struct but this can then be changed if it turns out that when it all settles down we want to refcount ldiscs separately to the tty. Pull the ldisc code out of /proc and put it with our ldisc code. Signed-off-by: Alan Cox <alan@redhat.com>
2008-07-14atmel_serial: Implement flush_buffer() hookHaavard Skinnemoen
Avoid dumping garbage to the serial port when the tty is flushed. This tends to happen when rebooting from a serial console. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Alan Cox <alan@redhat.com>
2008-07-14serial: Add flush_buffer() operation to uart_opsHaavard Skinnemoen
Serial drivers using DMA (like the atmel_serial driver) tend to get very confused when the xmit buffer is flushed and nobody told them. They also tend to spew a lot of garbage since the DMA engine keeps running after the buffer is flushed and possibly refilled with unrelated data. This patch adds a new flush_buffer operation to the uart_ops struct, along with a call to it from uart_flush_buffer() right after the xmit buffer has been cleared. The driver can implement this in order to syncronize its internal DMA state with the xmit buffer when the buffer is flushed. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Alan Cox <alan@redhat.com>
2008-07-14Merge commit 'voltage/reg-for-linus'Stephen Rothwell
2008-07-14Merge commit 'drm/drm-next'Stephen Rothwell
Conflicts: include/Kbuild
2008-07-14Merge commit 'hdlc/hdlc-next'Stephen Rothwell
Conflicts: drivers/net/wan/cosa.c drivers/net/wan/hdlc_fr.c drivers/net/wan/pc300_drv.c
2008-07-14Merge commit 'mfd/for-next'Stephen Rothwell
2008-07-14Merge commit 'generic-ipi/auto-generic-ipi-next'Stephen Rothwell
Conflicts: arch/powerpc/mm/slice.c arch/s390/kernel/time.c arch/x86/kvm/vmx.c init/main.c net/iucv/iucv.c virt/kvm/kvm_main.c
2008-07-14Merge commit 'md/for-next'Stephen Rothwell
2008-07-14Merge commit 'm68knommu/for-next'Stephen Rothwell
2008-07-14Merge commit 'kgdb/kgdb-next'Stephen Rothwell
2008-07-14Merge commit 'backlight/for-mm'Stephen Rothwell
Conflicts: drivers/video/backlight/Kconfig drivers/video/backlight/Makefile
2008-07-14Merge commit 'leds/for-mm'Stephen Rothwell
2008-07-14Merge commit 'battery/master'Stephen Rothwell
Conflicts: drivers/power/Kconfig drivers/power/Makefile
2008-07-14Merge commit 'pcmcia/master'Stephen Rothwell
2008-07-14Merge branch 'tmp'Stephen Rothwell
Conflicts: drivers/atm/Makefile drivers/char/ip2/ip2main.c drivers/media/dvb/ttpci/Makefile drivers/usb/serial/ti_fw_3410.h drivers/usb/serial/ti_fw_5052.h drivers/usb/serial/ti_usb_3410_5052.c sound/pci/Kconfig sound/pci/maestro3.c sound/pci/ymfpci/ymfpci_main.c
2008-07-14Revert "edgeport-ti: use request_firmware()"Stephen Rothwell
This reverts commit 19aeeb5b95d53d0865ae811fc4dcc66639d661cf.
2008-07-14Merge commit 'embedded/master'Stephen Rothwell