From: David Woodhouse <dwmw2@infradead.org>
To: Oskar Stolc <stolc@intrak.sk>, mdharm@momenco.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: DiskOnChip MD2202-D256
Date: Mon, 30 Jun 2003 10:05:41 +0100 [thread overview]
Message-ID: <1056963941.25574.93.camel@passion.cambridge.redhat.com> (raw)
In-Reply-To: <20030523063820.GH13272@intrak.sk>
On Fri, 2003-05-23 at 07:38, Oskar Stolc wrote:
> Hi,
>
>
> I'm just trying to install DiskOnChip MD2202-D256 flash disk on my
> 2.4.21-rc2 linux. While loading modul by command
> 'modprobe docprobe'
>
> these messages occurred on my screen:
>
> DiskOnChip Millenium found at address 0xE0000
Please could you try the following patch:
Index: drivers/mtd/devices/docprobe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/docprobe.c,v
retrieving revision 1.37
diff -u -p -r1.37 docprobe.c
--- drivers/mtd/devices/docprobe.c 30 Jun 2003 09:01:46 -0000 1.37
+++ drivers/mtd/devices/docprobe.c 30 Jun 2003 09:04:41 -0000
@@ -135,6 +135,12 @@ static inline int __init doccheck(unsign
window, DOCControl);
#endif /* !DOC_PASSIVE_PROBE */
+ /* We need to read the ChipID register four times. For some
+ newer DiskOnChip 2000 units, the first three reads will
+ return the DiskOnChip Millennium ident. Don't ask. */
+ ReadDOC(window, ChipID);
+ ReadDOC(window, ChipID);
+ ReadDOC(window, ChipID);
ChipID = ReadDOC(window, ChipID);
switch (ChipID) {
--
dwmw2
next prev parent reply other threads:[~2003-06-30 9:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-23 6:38 DiskOnChip MD2202-D256 Oskar Stolc
2003-05-25 9:27 ` Possible GRUB problem: [Was: DiskOnChip MD2202-D256] Oskar Stolc
2003-05-25 15:16 ` Mark Meade
2003-05-27 15:04 ` Oskar Stolc
2003-05-25 15:22 ` Stephen Lee
2003-06-30 9:05 ` David Woodhouse [this message]
[not found] <E19JAHR-0000y8-Sd@pentafluge.infradead.org>
2003-05-27 2:23 ` DiskOnChip MD2202-D256 Kien Phung Chi
-- strict thread matches above, loose matches on Subject: below --
2008-06-18 15:13 diskonchip md2202-d256 Sarah Diesburg
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=1056963941.25574.93.camel@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mdharm@momenco.com \
--cc=stolc@intrak.sk \
/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