commit | 3621cec5b5847348248e749c647219f409550f2f | [log] [tgz] |
---|---|---|
author | Brice Goglin <brice@myri.com> | Mon Dec 18 11:51:22 2006 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Dec 26 16:28:20 2006 -0500 |
tree | e418a97312d73fab082f26943a615ba59e9365b7 | |
parent | df30a740e4647b035e44a94e6977ad42a94cb850 [diff] |
myri10ge: make msi configurable at runtime through sysfs Now that IRQ are requested is called on open() and freed on close(), we can safely switch from/to MSI without unloading the module. We are guaranteed to correctly free IRQ even if the sysfs file got written in the meantime since the MSI initialization is stored in mgp->msi_enabled. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>