lkml.org 
[lkml]   [2003]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BK PATCH] TTY changes for 2.5.58
Here are some minor tty patches.  They add a struct module to the
tty_driver structure and then increment and decrement the driver's
reference when the tty device assigned to that driver is in use. This
is much like other subsystems do.

This patch was posted to lkml and no one objected to it.

I've also included a patch that adds this support to the tty drivers in
the drivers/usb/ directory.

Please pull from:
bk://kernel.bkbits.net/gregkh/linux/tty-2.5

thanks,

greg k-h


drivers/char/tty_io.c | 7 +++++++
drivers/usb/class/bluetty.c | 7 +------
drivers/usb/class/cdc-acm.c | 4 +---
drivers/usb/serial/usb-serial.c | 1 +
include/linux/tty_driver.h | 1 +
5 files changed, 11 insertions(+), 9 deletions(-)
-----

ChangeSet@1.1026, 2003-01-14 16:57:38-08:00, greg@kroah.com
TTY: Added .owner for tty drivers in the drivers/usb/ directory

drivers/usb/class/bluetty.c | 7 +------
drivers/usb/class/cdc-acm.c | 4 +---
drivers/usb/serial/usb-serial.c | 1 +
3 files changed, 3 insertions(+), 9 deletions(-)
------

ChangeSet@1.1025, 2003-01-14 16:51:58-08:00, greg@kroah.com
TTY: add module reference counting for tty drivers.

Note, there are still races with unloading modules, this patch
does not fix that...

drivers/char/tty_io.c | 7 +++++++
include/linux/tty_driver.h | 1 +
2 files changed, 8 insertions(+)
------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.032 / U:6.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site