public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* new slram
@ 2001-05-21  9:42 Jochen Schaeuble
  0 siblings, 0 replies; only message in thread
From: Jochen Schaeuble @ 2001-05-21  9:42 UTC (permalink / raw)
  To: linux-mtd

Last week I checked in a new version of the slram module. The new version
supports multiple memory regions and includes some minor enhancements.
The module-parameters has also changed. To specify a device the following
parameters are required (if slram is statically compiled into the kernel,
the parameter is called slram not map)

  modprobe slram map=<devname>,<devstart>,<devlength / devend>

    <devname> : the name of the device to add (this will appear in /proc/mtd)
    <devstart>: the start of the device
    <devlength / devend>: length or end of the device. To specify the length
                          of the device add a '+' in the front of the number.

To make life easier the numbers can also be specified in megabytes or kilobytes
by adding a 'm' (or 'M') or 'k' (or 'K') at the end of the number.

Example:
  modprobe slram map=dev1,50M,+4M

  this maps the memory region from 50M to 54M to a mtd-device

  modprobe slram map=dev1,50M,+2M,dev2,52M,+4M

  this adds two devices

Any comments on this?

jochen

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-21  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-21  9:42 new slram Jochen Schaeuble

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox