Skip to contentSkip to conversation

remove busmouse driver

PATCH New Randy.Dunlap 1 participant 1 message Sep 22, 2003 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove busmouse driver

Hi Vojtech,

This is a resend of the patch to remove the busmouse driver. The ARM people ok-ed it a few months ago, when I first sent it to you.

--
~Randy

patch_name: busmouse_delete.patch
patch_version: 2003-09-22.09:35:53
author: Randy.Dunlap <[email protected]>
description: remove old busmouse driver
product: Linux
product_versions: 2.6.0-test5-922
maintainer: [email protected]
diffstat: =

 arch/i386/defconfig        |    4
 drivers/char/Kconfig       |   26 --
 drivers/char/Makefile      |    1
 drivers/char/busmouse.c    |  456 ---------------------------------------------
 drivers/char/busmouse.h    |   27 --
 include/linux/miscdevice.h |    2
 6 files changed, 1 insertion(+), 515 deletions(-)
drivers/char/Makefile renamed from drivers/char/Makefile~busmous +0 -1
diff -Naurp ./drivers/char/Makefile~busmous ./drivers/char/Makefile
@@ -46,7 +46,6 @@ obj-$(CONFIG_PRINTER) += lp.o
 obj-$(CONFIG_TIPAR) += tipar.o
 obj-$(CONFIG_PC9800_OLDLP) += lp_old98.o
 
-obj-$(CONFIG_BUSMOUSE) += busmouse.o
 obj-$(CONFIG_DTLK) += dtlk.o
 obj-$(CONFIG_R3964) += n_r3964.o
 obj-$(CONFIG_APPLICOM) += applicom.o
drivers/char/Kconfig renamed from drivers/char/Kconfig~busmous +0 -26
diff -Naurp ./drivers/char/Kconfig~busmous ./drivers/char/Kconfig
@@ -593,32 +593,6 @@ config PC9800_OLDLP_CONSOLE
 
 source "drivers/i2c/Kconfig"
 
-
-menu "Mice"
-
-config BUSMOUSE
-	tristate "Bus Mouse Support"
-	---help---
-	  Say Y here if your machine has a bus mouse as opposed to a serial
-	  mouse. Most people have a regular serial MouseSystem or
-	  Microsoft mouse (made by Logitech) that plugs into a COM port
-	  (rectangular with 9 or 25 pins). These people say N here. 
-
-	  If you have a laptop, you either have to check the documentation or
-	  experiment a bit to find out whether the trackball is a serial mouse
-	  or not; it's best to say Y here for you.
-
-	  This is the generic bus mouse driver code. If you have a bus mouse,
-	  you will have to say Y here and also to the specific driver for your
-	  mouse below.
-
-	  This code is also available as a module ( = code which can be
-	  inserted in and removed from the running kernel whenever you want).
-	  The module will be called busmouse. If you want to compile it as a
-	  module, say M here and read <file:Documentation/modules.txt>.
-
-endmenu
-
 config QIC02_TAPE
 	tristate "QIC-02 tape support"
 	help
drivers/char/busmouse.h renamed from drivers/char/busmouse.h~busmous +0 -27
diff -Naurp ./drivers/char/busmouse.h~busmous ./drivers/char/busmouse.h
@@ -1,27 +0,0 @@
-/*
- * linux/drivers/char/busmouse.h
- *
- * Copyright (C) 1995 - 1998 Russell King
- *
- * Prototypes for generic busmouse interface
- */
-#ifndef BUSMOUSE_H
-#define BUSMOUSE_H
-
-struct busmouse {
-	int minor;
-	const char *name;
-	struct module *owner;
-	int (*open)(struct inode * inode, struct file * file);
-	int (*release)(struct inode * inode, struct file * file);
-	int init_button_state;
-};
-
-extern void busmouse_add_movementbuttons(int mousedev, int dx, int dy, int buttons);
-extern void busmouse_add_movement(int mousedev, int dx, int dy);
-extern void busmouse_add_buttons(int mousedev, int clear, int eor);
-
-extern int register_busmouse(struct busmouse *ops);
-extern int unregister_busmouse(int mousedev);
-
-#endif
include/linux/miscdevice.h renamed from include/linux/miscdevice.h~busmous +1 -1
diff -Naurp ./include/linux/miscdevice.h~busmous ./include/linux/miscdevice.h
@@ -3,7 +3,7 @@
 #include <linux/module.h>
 #include <linux/major.h>
 
-#define BUSMOUSE_MINOR 0
+/*#define BUSMOUSE_MINOR 0	FIXME OBSOLETE */
 #define PSMOUSE_MINOR  1
 #define MS_BUSMOUSE_MINOR 2
 #define ATIXL_BUSMOUSE_MINOR 3
drivers/char/busmouse.c renamed from drivers/char/busmouse.c~busmous +0 -456

456 lines not on this page · raw message

arch/i386/defconfig renamed from arch/i386/defconfig~busmous +0 -4
diff -Naur ./arch/i386/defconfig~busmous ./arch/i386/defconfig
@@ -686,10 +686,6 @@
 #
 # CONFIG_I2C_SENSOR is not set
 
-#
-# Mice
-#
-# CONFIG_BUSMOUSE is not set
 # CONFIG_QIC02_TAPE is not set
 
 #