> To prevent that, the value is cached on driver probe and written back on > driver detach on pata_amd, which is necessary even when there is no Which is useless. > suspend/resume as mode programming alters the content of the register. > amd74xx cannot be unloaded, so caching is enough. Also, doesn't > suspend/resume cycle store and restore PCI space anyway? If I load the driver after a kexec or after a suspend/resume cycle both of which are quite valid your code breaks. Alan - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html