Thanks for your comment Wolfgang. The driver in question is compiled as module, and the last time I checked (a year ago) there isn't a way to pass an argument to a module driver during boot time. Has this changed? The kernel is 2.4 series.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:owner-linuxppc-embedded at lists.linuxppc.org]On Behalf Of Wolfgang Denk Sent: Friday, February 22, 2002 4:57 PM To: David C. Chiu Cc: linuxppc-embedded at lists.linuxppc.org Subject: Re: Memory Pre-allocation (mem=xxx) In message <8A098FDFC6EED94B872CA2033711F86F0ABD0C at orion.ariodata.com> you wrote: > We're working on a project that requires a two megabytes block of > contiguous memory in kernel space. Although it is well documented that > memory can be reserved by using mem=xx arguments during boot time, it is > unclear (to me) as to how a driver can automatically detect the size of > the said reserved block. Pass an extra boot argument? Wolfgang Denk ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/