From: <cah...@po...> - 2003-01-03 11:23:24
|
Hi Geert! I think I found out thay way to switch fastata register to another set. I use ide_hwif_t->selectproc. Is it safe ? It's written that it tweaks hardware to select drive... Inside procedure I change hwif->io_ports and hwif->hw.io_ports. I think it should work but I have another problem. Can you possibly take a look at the source in attachment (should I post it to the list ?). I don't know why but during loading /bin/sh something trashes fastata_offsets !!! When kernel enters fastata_switch_register_set (immediately before kernel panics) fastata_offset contents is trashed (I know it because offsets address is the same as in previous calls). BTW. ELBOX programmer said that ide-interrupts on second port can only be found by polling specific fastata register, so a driver for second port cannot be interrupt-driven as gayle and others are. Regards Krystian Baclawski PS. Happy New Year 2003 ! --------------r-e-k-l-a-m-a----------------- Super tanie kwatery narciarskie. Od 300 zl/osoba/tydzien http://wycieczki.onet.pl |