Re: rtc-ds1742.c should use resource_size_t for base address

2007-09-14 Thread David Gibson
On Fri, Sep 14, 2007 at 12:20:37PM -0500, Josh Boyer wrote: > On Fri, 14 Sep 2007 15:54:27 +1000 > David Gibson <[EMAIL PROTECTED]> wrote: > > > Currently the rtc driver, rtc-ds1742.c uses an unsigned long to store > > the base mmio address of the NVRAM/RTC. This breaks on systems like > > PowerP

Re: rtc-ds1742.c should use resource_size_t for base address

2007-09-14 Thread Josh Boyer
On Fri, 14 Sep 2007 15:54:27 +1000 David Gibson <[EMAIL PROTECTED]> wrote: > Currently the rtc driver, rtc-ds1742.c uses an unsigned long to store > the base mmio address of the NVRAM/RTC. This breaks on systems like > PowerPC 440, which is a 32-bit core with 36-bit physical addresses: IO > on th

Re: rtc-ds1742.c should use resource_size_t for base address

2007-09-14 Thread Atsushi Nemoto
On Fri, 14 Sep 2007 15:54:27 +1000, David Gibson <[EMAIL PROTECTED]> wrote: > Currently the rtc driver, rtc-ds1742.c uses an unsigned long to store > the base mmio address of the NVRAM/RTC. This breaks on systems like > PowerPC 440, which is a 32-bit core with 36-bit physical addresses: IO > on th

rtc-ds1742.c should use resource_size_t for base address

2007-09-13 Thread David Gibson
Currently the rtc driver, rtc-ds1742.c uses an unsigned long to store the base mmio address of the NVRAM/RTC. This breaks on systems like PowerPC 440, which is a 32-bit core with 36-bit physical addresses: IO on the system, including the RTC, is typically above the 4GB point, and cannot fit into a