Skip to content

Commit

Permalink
synclink_gt: enable RI interrupt
Browse files Browse the repository at this point in the history
- Enable ring indicator interrupt.

- Remove vendor specific CVS version tags.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Paul Fulghum authored and Linus Torvalds committed Jan 16, 2009
1 parent 158bc69 commit a6b2f87
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions drivers/char/synclink_gt.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* $Id: synclink_gt.c,v 4.50 2007/07/25 19:29:25 paulkf Exp $
*
* Device driver for Microgate SyncLink GT serial adapters.
*
* written by Paul Fulghum for Microgate Corporation
Expand Down Expand Up @@ -91,7 +89,6 @@
* module identification
*/
static char *driver_name = "SyncLink GT";
static char *driver_version = "$Revision: 4.50 $";
static char *tty_driver_name = "synclink_gt";
static char *tty_dev_prefix = "ttySLG";
MODULE_LICENSE("GPL");
Expand Down Expand Up @@ -1309,7 +1306,7 @@ static int read_proc(char *page, char **start, off_t off, int count,
off_t begin = 0;
struct slgt_info *info;

len += sprintf(page, "synclink_gt driver:%s\n", driver_version);
len += sprintf(page, "synclink_gt driver\n");

info = slgt_device_list;
while( info ) {
Expand Down Expand Up @@ -2441,7 +2438,7 @@ static void program_hw(struct slgt_info *info)
info->ri_chkcount = 0;
info->dsr_chkcount = 0;

slgt_irq_on(info, IRQ_DCD | IRQ_CTS | IRQ_DSR);
slgt_irq_on(info, IRQ_DCD | IRQ_CTS | IRQ_DSR | IRQ_RI);
get_signals(info);

if (info->netcount ||
Expand Down Expand Up @@ -3576,7 +3573,7 @@ static void slgt_cleanup(void)
struct slgt_info *info;
struct slgt_info *tmp;

printk("unload %s %s\n", driver_name, driver_version);
printk(KERN_INFO "unload %s\n", driver_name);

if (serial_driver) {
for (info=slgt_device_list ; info != NULL ; info=info->next_device)
Expand Down Expand Up @@ -3619,7 +3616,7 @@ static int __init slgt_init(void)
{
int rc;

printk("%s %s\n", driver_name, driver_version);
printk(KERN_INFO "%s\n", driver_name);

serial_driver = alloc_tty_driver(MAX_DEVICES);
if (!serial_driver) {
Expand Down Expand Up @@ -3650,9 +3647,8 @@ static int __init slgt_init(void)
goto error;
}

printk("%s %s, tty major#%d\n",
driver_name, driver_version,
serial_driver->major);
printk(KERN_INFO "%s, tty major#%d\n",
driver_name, serial_driver->major);

slgt_device_count = 0;
if ((rc = pci_register_driver(&pci_driver)) < 0) {
Expand Down

0 comments on commit a6b2f87

Please sign in to comment.