Hello All. Let me preface this question with the following statement: I have never before modified kernel code. I am very much a novice at this so any help at all would be greatly appreciated! :) Okay, I am trying to interface a CompactFlash memory card to an SA1110 processor running arm-linux. Specifically, I'm using a nanoEngine from Brightstar Engineering. I have purchased an adaptor that converts a CompactFlash card to a regular 44-pin IDE interface. I have hooked up the obvious pins like data lines, address lines and the read/write strobes. All other signals that I didn't know what they were for I hooked up to the GPIO pins (in case I needed to use them later). So, to interface this, I began browsing through the kernel code. In the "drivers" directory, I found a directory called "ide" and this looked promising. In that directory, there was a file called ide-disk.c. I was happy to see this. But now comes the big step ... where do I need to modify these files to tell them that a new drive has been added? Do I need to tell it the address lines that were connected? I'm assuming it isn't "plug-n-play" ... right? Also, if it turns out that I did need some of the lines other than just the strobes, data and address lines, where do I tell the ide driver what GPIO lines I hooked up? I know this is a lot, and I'm probably biting off more than I can chew, but I have to start somewhere, right? Thanks so much, Philip Ferguson Massachusetts Institute of Technology Space Systems Lab _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
