On Sun, Nov 02, 2008 at 11:29:54AM +1100, Finn Thain wrote:
I think that unless we can probe for the SWIM chip, we should put this information in arch/m68k/mac/config.c. A floppy_type member could be added to struct mac_model to clean up the init code here. That init code could then simply test macintosh_config like all the other drivers that can't or don't probe.
I didn't think about it when I commented earlier, but I agree with this suggestion. I think there are 5 types we need to put in the table: MAC_FLOPPY_IWM MAC_FLOPPY_SWIM_ADDR1 MAC_FLOPPY_SWIM_ADDR2 MAC_FLOPPY_SWIM_IOP MAC_FLOPPY_AV We don't have to use this exact naming, but this is the basic categories, and this driver should handle number 2 and 3 (and maybe 1). 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