minor ps/2 mouse driver patch

David Mosberger-Tang (davidm@AZStarNet.com)
Fri, 18 Aug 1995 15:58:14 -0700


The psaux.c driver uses kernel-memory without initializing it to zero,
which introduces crashes depending on your configuration. Just apply
the following patch on top of my 1.3.18 patch and things should work
fine.

--david

--- /usr/src/386/drivers/char/psaux.c Thu Aug 3 13:51:10 1995
+++ psaux.c Fri Aug 18 03:57:43 1995
@@ -502,6 +509,7 @@
}
queue = (struct aux_queue *) kmem_start;
kmem_start += sizeof (struct aux_queue);
+ memset(queue, 0, sizeof(*queue));
queue->head = queue->tail = 0;
queue->proc_list = NULL;
if (!qp_found) {