* [PATCH]2.6.10-rc1 on Sibyte
@ 2004-10-26 2:10 Manish Lachwani
2004-10-26 2:18 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Manish Lachwani @ 2004-10-26 2:10 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Hello !
Attached patch for getting 2.6.10-rc1 running on the Broadcom Sibyte.
tested on the SWARM board
Thanks
Manish Lachwani
--- drivers/char/sb1250_duart.c.orig 2004-10-25 18:42:10.000000000 -0700
+++ drivers/char/sb1250_duart.c 2004-10-25 18:41:52.000000000 -0700
@@ -660,10 +660,7 @@
unsigned int line = tty->index;
unsigned long flags;
- MOD_INC_USE_COUNT;
-
if ((line >= tty->driver->num) || !sb1250_duart_present[line]) {
- MOD_DEC_USE_COUNT;
return -ENODEV;
}
@@ -709,7 +706,6 @@
spin_lock_irqsave(&open_lock, flags);
if (tty_hung_up_p(filp)) {
- MOD_DEC_USE_COUNT;
spin_unlock_irqrestore(&open_lock, flags);
return;
}
@@ -739,7 +735,6 @@
tty->ldisc.flush_buffer(tty);
tty->closing = 0;
- MOD_DEC_USE_COUNT;
}
@@ -834,7 +829,6 @@
MODULE_DESCRIPTION("SB1250 Duart serial driver");
MODULE_AUTHOR("Justin Carlson, Broadcom Corp.");
-
#ifdef CONFIG_SIBYTE_SB1250_DUART_CONSOLE
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-26 2:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26 2:10 [PATCH]2.6.10-rc1 on Sibyte Manish Lachwani
2004-10-26 2:18 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox