summaryrefslogtreecommitdiffstats
path: root/tools/serial_probe/serial.c
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-21 17:10:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-21 17:10:48 +0000
commit4fce7d7b935d55219c999bc5bbd2ac02c516b0e1 (patch)
tree85c42fa0a312aa02c3fc6b3991c219f20187a96f /tools/serial_probe/serial.c
parent9820415d8a1e4bdc572683330f57aa1acb937d4c (diff)
downloaddrakx-4fce7d7b935d55219c999bc5bbd2ac02c516b0e1.tar
drakx-4fce7d7b935d55219c999bc5bbd2ac02c516b0e1.tar.gz
drakx-4fce7d7b935d55219c999bc5bbd2ac02c516b0e1.tar.bz2
drakx-4fce7d7b935d55219c999bc5bbd2ac02c516b0e1.tar.xz
drakx-4fce7d7b935d55219c999bc5bbd2ac02c516b0e1.zip
remove special mouse handling (not needed anymore)
Diffstat (limited to 'tools/serial_probe/serial.c')
-rw-r--r--tools/serial_probe/serial.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/serial_probe/serial.c b/tools/serial_probe/serial.c
index bf1944553..0bedd0fd0 100644
--- a/tools/serial_probe/serial.c
+++ b/tools/serial_probe/serial.c
@@ -991,28 +991,6 @@ struct device *serialProbe(enum deviceClass probeClass, int probeFlags,
/* see if we found any PnP signature */
if (pnp_strlen != 0) {
- if (*pnp_string == 'M') { /* Legacy mouse */
- if (probeClass == CLASS_MOUSE || probeClass == CLASS_UNSPEC) {
- serdev = serialNewDevice(NULL);
- serdev->type=CLASS_MOUSE;
- serdev->device=strdup(port+5);
- serdev->desc=strdup("Generic Serial Mouse");
- serdev->driver=strdup("generic");
- if (devlist)
- serdev->next = devlist;
- devlist = (struct device *)serdev;
- if (probeFlags & PROBE_ONE) {
- tcsetattr(fd, TCSANOW, &origattr);
- tcflush(fd, TCIOFLUSH);
- close(fd);
- return devlist;
- }
- }
- tcsetattr(fd, TCSANOW, &origattr);
- close(fd);
- continue;
- }
-
/* fill in the PnP com structure */
if (parse_pnp_string( pnp_string, pnp_strlen, &pnp_id )<0) {
DEBUG("Got PNP data back, but failed to parse. Aborting\n");