From: Greg KH <greg@kroah.com>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [BK PATCH] TTY changes for 2.5.58
Date: Tue, 14 Jan 2003 17:13:12 -0800 [thread overview]
Message-ID: <20030115011312.GA18283@kroah.com> (raw)
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(+)
------
next reply other threads:[~2003-01-15 1:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-15 1:13 Greg KH [this message]
2003-01-15 1:14 ` [PATCH] TTY changes for 2.5.58 Greg KH
2003-01-15 1:14 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030115011312.GA18283@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox