From 7fd9be97a9bcb30395e19804472d4e036b2186d3 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 8 Sep 2003 22:16:54 +0000 Subject: [PATCH] change base address variables to long, for 64 bit machines. --- comedi/drivers/8253.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.26.2