public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: hermes33@freenet.de
Cc: linux-mtd@lists.infradead.org
Subject: Re: number mtd partitions on 16 limits?
Date: Mon, 13 Nov 2006 12:12:35 +0200	[thread overview]
Message-ID: <1163412755.3925.34.camel@sauron> (raw)
In-Reply-To: <E1GjYhU-00007r-PL@www8.emo.freenet-rz.de>

Hi,

On Mon, 2006-11-13 at 11:06 +0100, hermes33@freenet.de wrote:
> I need more than 16 mtd partitions on a omap1610 (arm) with kernel 2.4.20. 
> I create 16 partitions. All ok, 'cat /proc/mtd' show mtd0 to mtd15. 
> I create 17 partitions. 'cat /proc/mtd' show only mtd0 to mtd15. 
> It seems to give a limit with 16 partitions. 
> Where can I change that? can someone help me?

This is because of
#define MAX_MTD_DEVICES 16
at include/linux/mtd/mtd.h. Increase this macro. I guess it is harmless
to make it 32, feel free to send a patch.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

  reply	other threads:[~2006-11-13 10:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-13 10:06 number mtd partitions on 16 limits? hermes33
2006-11-13 10:12 ` Artem Bityutskiy [this message]
2006-11-13 10:30   ` Vitaly Wool
2006-11-13 10:25 ` Timo Lindhorst
2006-11-13 11:46   ` Artem Bityutskiy
2006-11-13 16:17     ` Timo Lindhorst
2006-11-13 18:25       ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1163412755.3925.34.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=hermes33@freenet.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox