Off the top of my head, it looks like ide_init_default_hwifs creates
an uninitialised "hw_regs_t hw;" variable, fills in some fields, then
calls "ide_register_hw(&hw, NULL);" which does "memcpy(&hwif->hw, hw,
sizeof(*hw));" thus copying the unitialised fields (such as "chipset")
right over the area zeroed by init_ide_data().
Am I on the right track?
Cheers,
Andrew Pam
-- mailto:xanni@xanadu.net Andrew Pam http://www.xanadu.com.au/ Chief Scientist, Xanadu http://www.glasswings.com.au/ Technology Manager, Glass Wings http://www.sericyb.com.au/ Manager, Serious Cybernetics http://two-cents-worth.com/?105347&EG Donate two cents to our work! P.O. Box 477, Blackburn VIC 3130 Australia Phone +61 401 258 915 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/