Hi !
On a board we are developping we use a Winbond "553" chip for the IDE
controller. Originally, I compiled the kernel with support for only our
board (another board I added in the list of "footbridge" archs). Things
worked fine except the IDE controller gave me lots of "lost interrupts".
I finally found that the code in sl82c105c was used with this chip and
that part of this code is under compile option "CONFIG_ARCH_NETWINDER".
This WEIRD, since this option only means that netwinder support is
enabled, not that we are running on a netwinder. If I add support for
both our board _and_ netwinder in the kernel compile options, then
magically, my IDE began to work. I beleive this options should be changed
to something like:
-#ifdef CONFIG_ARCH_NETWINDER
+#ifdef CONFIG_HOST_FOOTBRIDGE
+if (machine_is_netwinder() || machine_is_my_board()) {
[.../...]
+}
If this is ok, then I'll post a patch, along with fixes to the pcnet32
driver for the strongarm (appropriate cache flush/inval.)
I've not yet figured out what this added IDE code does (and why it's only
defined for the netwinder), but I'm still having a problem with the
second IDE controller of the winbond, which is still giving me
lost_interrupts.
Any clue ?
--
E-Mail: <mailto:[EMAIL PROTECTED]>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]