ibmaem.c (27eb2c4b3d3e13f376a359e293c212a2e9407af5) ibmaem.c (5407e051354bdd943f6ea66562112c9868d64cf5)
1/*
2 * A hwmon driver for the IBM System Director Active Energy Manager (AEM)
3 * temperature/power/energy sensors and capping functionality.
4 * Copyright (C) 2008 IBM
5 *
1/*
2 * A hwmon driver for the IBM System Director Active Energy Manager (AEM)
3 * temperature/power/energy sensors and capping functionality.
4 * Copyright (C) 2008 IBM
5 *
6 * Author: Darrick J. Wong <djwong@us.ibm.com>
6 * Author: Darrick J. Wong <darrick.wong@oracle.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 1083 unchanged lines hidden (view full) ---

1098 struct aem_data *p1, *next1;
1099
1100 ipmi_smi_watcher_unregister(&driver_data.bmc_events);
1101 driver_unregister(&aem_driver.driver);
1102 list_for_each_entry_safe(p1, next1, &driver_data.aem_devices, list)
1103 aem_delete(p1);
1104}
1105
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 1083 unchanged lines hidden (view full) ---

1098 struct aem_data *p1, *next1;
1099
1100 ipmi_smi_watcher_unregister(&driver_data.bmc_events);
1101 driver_unregister(&aem_driver.driver);
1102 list_for_each_entry_safe(p1, next1, &driver_data.aem_devices, list)
1103 aem_delete(p1);
1104}
1105
1106MODULE_AUTHOR("Darrick J. Wong <djwong@us.ibm.com>");
1106MODULE_AUTHOR("Darrick J. Wong <darrick.wong@oracle.com>");
1107MODULE_DESCRIPTION("IBM AEM power/temp/energy sensor driver");
1108MODULE_LICENSE("GPL");
1109
1110module_init(aem_init);
1111module_exit(aem_exit);
1112
1113MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3350-*");
1114MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3550-*");
1115MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3650-*");
1116MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3655-*");
1117MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3755-*");
1118MODULE_ALIAS("dmi:bvnIBM:*:pnIBM3850M2/x3950M2-*");
1119MODULE_ALIAS("dmi:bvnIBM:*:pnIBMBladeHC10-*");
1107MODULE_DESCRIPTION("IBM AEM power/temp/energy sensor driver");
1108MODULE_LICENSE("GPL");
1109
1110module_init(aem_init);
1111module_exit(aem_exit);
1112
1113MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3350-*");
1114MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3550-*");
1115MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3650-*");
1116MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3655-*");
1117MODULE_ALIAS("dmi:bvnIBM:*:pnIBMSystemx3755-*");
1118MODULE_ALIAS("dmi:bvnIBM:*:pnIBM3850M2/x3950M2-*");
1119MODULE_ALIAS("dmi:bvnIBM:*:pnIBMBladeHC10-*");