fixed 2.4 compile error and some bugs
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 30 Sep 2001 17:01:06 +0000 (17:01 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 30 Sep 2001 17:01:06 +0000 (17:01 +0000)
comedi/drivers/cb_pcidas64.c

index 2dea4eb04fe60e2c2852d3ddd19faa0e88571a3b..2bca6c2f119c4a31c9027d9d9a37fcd6b70b1084 100644 (file)
@@ -573,10 +573,10 @@ found:
                return -EIO;
        }
 
-       request_mem_region(plx_iobase, PLX9080_IOSIZE, "cb_pcidas64");
-       devpriv->plx9080_phys_iobase = dio_counter_iobase;
+       request_mem_region(plx9080_iobase, PLX9080_IOSIZE, "cb_pcidas64");
+       devpriv->plx9080_phys_iobase = plx9080_iobase;
        request_mem_region(main_iobase, MAIN_IOSIZE, "cb_pcidas64");
-       devpriv->main_phys_iobase = dio_counter_iobase;
+       devpriv->main_phys_iobase = main_iobase;
        request_mem_region(dio_counter_iobase, DIO_COUNTER_IOSIZE, "cb_pcidas64");
        devpriv->dio_counter_phys_iobase = dio_counter_iobase;