How to load a driver before libata
I have written a driver that needs to use I/O port 0x170. Note that this is the secondary ide port. The computers this goes on will use sata for hard drive therefore libata/ata_piix loads and controls all things hard drive.
Using suse 10.0. (2.6.13-15.8) I have tried various approaches to load prior to libata:
-in /etc/modprobe.conf I placed "install mydriver..." in front of "install ata_piix..." then ran depmod -a
-Manually edited /lib/modules/2.6.../modules.dep placing driver high up, as an experiment.
dmesg shows that libata loads first and takes the port.
Is there a way to either ensure that I load before libata/ata_piix or else ask it to leave a range of ports alone?
|