From: Frank Mori Hess Date: Mon, 8 Sep 2003 22:16:54 +0000 (+0000) Subject: change base address variables to long, for 64 bit machines. X-Git-Tag: r0_7_69~223 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7fd9be97a9bcb30395e19804472d4e036b2186d3;p=comedi.git change base address variables to long, for 64 bit machines. --- diff --git a/comedi/drivers/8253.h b/comedi/drivers/8253.h index 89f1351e..734f7f77 100644 --- a/comedi/drivers/8253.h +++ b/comedi/drivers/8253.h @@ -217,7 +217,7 @@ static inline void i8253_cascade_ns_to_timer_2div(int i8253_osc_base, * * FMH */ -static inline int i8254_load(unsigned int base_address, +static inline int i8254_load(unsigned long base_address, unsigned int counter_number, unsigned int count, unsigned int mode) { unsigned int byte; @@ -240,7 +240,7 @@ static inline int i8254_load(unsigned int base_address, return 0; } -static inline int i8254_mm_load(unsigned int base_address, +static inline int i8254_mm_load(unsigned long base_address, unsigned int counter_number, unsigned int count, unsigned int mode) { unsigned int byte; @@ -264,7 +264,7 @@ static inline int i8254_mm_load(unsigned int base_address, } /* Returns 16 bit counter value, should work for 8253 also.*/ -static inline int i8254_read(unsigned int base_address, unsigned int counter_number) +static inline int i8254_read(unsigned long base_address, unsigned int counter_number) { unsigned int byte; int ret;