Nope, it doesn't fake IDE. It's a bit like EMM - it lives in upper memory, and
you page in a 8K or 4K chunk of the flash at a time.
In the first page there's a BIOS extension which adds an INT 13h handler to
drive it, and the driver always leaves the thing with the first page mapped
in, in case you reboot suddenly.
I knocked up a driver for something similar once. Take a look on
ftp.yggdrasil.com in the mirror of dwmw2.robinson.cam.ac.uk. It's called
mtd-98xxxx.tar.gz - You'll need to play with it a bit, and it's only a module
so far, but it should give you enough to go on.
---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/