[PATCH] cyclades cleanups

From: Marcelo Tosatti
Date: Mon May 03 2004 - 14:20:03 EST


The following patch against 2.6.6-rc3-bk5:

- cleanups for cyclades Kconfig entry (Adrian Bunk/me)
- janitors project: remove dead function (Don Koch)

Please apply

diff -Nur linux-2.6.5.orig/drivers/char/Kconfig linux-2.6.5/drivers/char/Kconfig
--- linux-2.6.5.orig/drivers/char/Kconfig 2004-05-03 15:38:58.972659880 -0300
+++ linux-2.6.5/drivers/char/Kconfig 2004-05-03 15:45:44.365030872 -0300
@@ -112,15 +112,13 @@
tristate "Cyclades async mux support"
- This is a driver for a card that gives you many serial ports. You
- would need something like this to connect more than two modems to
+ This driver supports Cyclades Z and Y multiserial boards.
+ You would need something like this to connect more than two modems to
your Linux box, for instance in order to become a dial-in server.
For information about the Cyclades-Z card, read

- As of 1.3.9x kernels, this driver's minor numbers start at 0 instead
- of 32.
To compile this driver as a module, choose M here: the
module will be called cyclades.

diff -Nur linux-2.6.5.orig/drivers/char/cyclades.c linux-2.6.5/drivers/char/cyclades.c
--- linux-2.6.5.orig/drivers/char/cyclades.c 2004-05-03 15:38:58.977659120 -0300
+++ linux-2.6.5/drivers/char/cyclades.c 2004-05-03 15:48:27.348253656 -0300
@@ -681,16 +681,6 @@
static void cy_throttle (struct tty_struct *tty);
static void cy_send_xchar (struct tty_struct *tty, char ch);

-static unsigned long
-cy_get_user(unsigned long *addr)
- unsigned long result = 0;
- int error = get_user (result, addr);
- if (error)
- printk ("cyclades: cy_get_user: error == %d\n", error);
- return result;
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/