[PATCH 2.3.99-pre3-6] Was: atixlmouse.c revisited

From: Peter Blomgren (blomgren@monster.stanford.edu)
Date: Wed Mar 22 2000 - 17:09:06 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:37 EST