Re: Linux-2.1.62.. (busmouse patch)

Sven Verdoolaege (skimo@breughel.ufsia.ac.be)
Tue, 4 Nov 1997 00:10:40 +0100


On Mon, Nov 03, 1997 at 01:04:01PM -0800, Linus Torvalds wrote:
>
> Hi,
> I just made 2.1.62 available. This one should
>
> - fix some remaining NFS problems. A very big thanks to Bill Hawes who
> has been simply invaluable in finding and fixing the NFS client bugs,
> and has been willing to try out some suggestions of mine.
> - quota and isdn should compile and may even work. I don't see any reason
> why they shouldn't work, but I haven't tested them myself. Caveat
> tester.
> - removed last traces of irq2dev_map[], and the world is a better place
> for it. Thanks to Gordon Chaffee for much of this - I've wanted it
> done for a long time, but haven't been interested enough to do it
> myself.
>
> Any comments/problems?
>
This has been needed since 2.1.60

--- busmouse.c.orig Mon Nov 3 20:29:31 1997
+++ busmouse.c Mon Nov 3 20:35:49 1997
@@ -159,8 +159,8 @@
* writes are disallowed
*/

-static long write_mouse(struct inode * inode, struct file * file,
- const char * buffer, unsigned long count)
+static ssize_t write_mouse(struct file * file,
+ const char * buffer, size_t count, loff_t *ppos)
{
return -EINVAL;
}
@@ -169,8 +169,8 @@
* read mouse data. Currently never blocks.
*/

-static long read_mouse(struct inode * inode, struct file * file,
- char * buffer, unsigned long count)
+static ssize_t read_mouse(struct file * file,
+ char * buffer, size_t count, loff_t *ppos)
{
int r;
int dx;

skimo