It's fixed and booting very happily now, thanks!
-Corey
Peter Stuge wrote:
On Sat, Jul 28, 2007 at 12:07:51AM -0400, Corey Osgood wrote:
How is the device configured? cmd_base and ctrl_base are hard-coded in FILO when the device is in compatibility mode. The IO ports are only read from PCI config space for native PCI mode controllers.
Bingo, that explains it. The device defaults to different IO ports than FILO expects, the same IO ports that SATA defaults to. Oops.
Ok.
Also - can you try not setting the IDE device to compat mode but rather to native PCI mode - compat is for DOS anyway. ;)
Tried that as well, with no luck:
[..]
I'm about to go through the fun of disabling the SATA device and see if I can get IDE working without having to worry about that conflict, and then try to get at least one mode working.
You can of course also hack the correct ports into FILO at least for testing.
If you make cmd_base port n and ctrl_base n+0x204 just change to #define IDE_BASEx n right at the start of ide.c and find_ide_controller_compat() should do the right thing.
//Peter