lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2.3.99-pre3-6] Was: atixlmouse.c revisited
Date
OK, here's the atixlmouse.c-patch relative to 2.3.99-pre3-6:

--- linux/drivers/char/atixlmouse.c.orig Wed Mar 22 14:02:00 2000
+++ linux/drivers/char/atixlmouse.c Wed Mar 22 14:03:31 2000
@@ -127,7 +127,7 @@ static int __init atixl_busmouse_init(vo
printk(KERN_INFO "\nATI Inport ");
else
{
- free_region(ATIXL_MSE_DATA_PORT,3);
+ release_region(ATIXL_MSE_DATA_PORT,3);
return -EIO;
}
outb(0x80, ATIXL_MSE_CONTROL_PORT); /* Reset the Inport device */
@@ -138,7 +138,7 @@ static int __init atixl_busmouse_init(vo
if (msedev < 0)
{
printk("Bus mouse initialisation error.\n");
- free_region(ATIXL_MSE_DATA_PORT,3); /* Was missing */
+ release_region(ATIXL_MSE_DATA_PORT,3); /* Was missing */
}
else
printk("Bus mouse detected and installed.\n");


>
> Peter Blomgren wrote:
> >
> > Alan, there's another problem with atixlmouse.c. When compiled
> > as a module, free_region is unresolved. After looking at the
> > code I'm wondering if s/free_region/release_region/g is the right
> > thing to do?
>
> yep...
>
> Jeff
>
> --
> Jeff Garzik | Tact is the ability to tell a man
> Building 1024 | he has an open mind when he has a
> MandrakeSoft, Inc. | hole in his head. (-random fortune)
>


--
\Peter.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.713 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site