=================================================================== RCS file: /MkLinux/floppy-darwin/NOTES,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- floppy-darwin/NOTES 2002/03/28 07:24:49 1.5 +++ floppy-darwin/NOTES 2002/04/01 03:20:11 1.6 @@ -2,13 +2,17 @@ Okay, here's what's still broken: -Getting kernel panics in calls to IOMalloc after a while. I don't think -we're being a bad citizen, AFAICT. It's just doing the whole 0x300 thing. -Might be bad hardware, I suppose. Oddly enough, this only started when -I added write support. +Turning off debugging results in non-working driver. Appears to be caused +by timing in swimiiicommonhal.c. I need to walk through the driver and +compare it to a hardware state diagram or something.... See where I need +to add delays and what sort of delays I need to add. I've done a quick +hack that works really well for now, though. Every printf in that file +has been replaced with a delay(100); printf(blah) with a quick-and-dirty +macro, or if debugging is turned off, it's replaced with just a delay(100). +I'm happy to say that not only does it work, it's freaking fast.... :-) -WARNINGS (that might be mistakes): +WARNINGS (that should be cleaned up): - Need to include headers for kvtophys, delay, flush_dcache, invalidate_dcache, IOMalloc, sleep, wakeup in order to verify usage.... - Verify use of invalidate_dcache in place of invalidate_cache_for_io. - warning: passing arg 2 of dbdma_start from incompatible pointer type