udev already "tries" to enumerate storage devices in bus order, assuming that a custom kernel is not being used, the following order is used:
1) Storage controllers (IDE and SCSI), one at a time, in bus order
2) Bridges, docking stations, input devices, serial devices, intelligent devices, together.
3) ide-generic (for old-fashioned ISA controllers)
This should mean that the internal IDE driver is loaded before the one in the docking station (assuming they are different controller chips, which I doubt).
I've never got confirmation of this, because nobody with this configuration has had the patience to help provide the necessary information, but I strongly suspect that the Laptop itself is the problem and that when the docking station is plugged in, the ports are all changed *anyway* and that driver order makes no difference.
udev already "tries" to enumerate storage devices in bus order, assuming that a custom kernel is not being used, the following order is used:
1) Storage controllers (IDE and SCSI), one at a time, in bus order
2) Bridges, docking stations, input devices, serial devices, intelligent devices, together.
3) ide-generic (for old-fashioned ISA controllers)
This should mean that the internal IDE driver is loaded before the one in the docking station (assuming they are different controller chips, which I doubt).
I've never got confirmation of this, because nobody with this configuration has had the patience to help provide the necessary information, but I strongly suspect that the Laptop itself is the problem and that when the docking station is plugged in, the ports are all changed *anyway* and that driver order makes no difference.