On Wed, Nov 05, 2008 at 10:43:54PM +0100, Riccardo wrote:
true. But if the gestalt remains 6 even with a HD drive chip, how can you detect it? - original IWM 800k drives - SWIM with 800k drives or mixed drives - SWIM with only 1.4k drives I'm in the second situation, btw.
We can definitely detect the difference between the second and third options, since the SWIM chip can detect the type of each drive that is connected. The driver detects the media type, but I don't recall if it explicitly checked the drive type. The swim_iop driver did that (and not much else) so the chip has the capability. Telling which chip is installed may be the hardest part, although the SWIM chip has a compatibility mode. As mentioned in another email, there is a procedure to change the mode the chip is in. If this method does something predictable on the IWM chip that doesn't put the chip into a bad state, then we can probably detect which chip is actually installed reliably. It might be interesting to disassemble the drivers in the updated ROM to see if it can cope with the IWM chip for people that tried the new ROM with the old floppy controller. Brad Boyer flar@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html