public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ipmisensors
@ 2009-08-07  8:30 Maarten Vanraes
  0 siblings, 0 replies; only message in thread
From: Maarten Vanraes @ 2009-08-07  8:30 UTC (permalink / raw)
  To: linux-kernel

Hello,

( I would like to request that you CC me in replies )

I'm trying to fix the ipmisensors patch to 2.6.30.2 (which is the xen-based 
kernel i now use; the patch was written for 2.6.17 and contains numerous 
deprecated code)

I do have the problem that the ipmi_msghandler module doesn't seem to generate 
events at modprobe.

the  ipmisensors_new_smi, ipmisensors_smi_gone &  ipmisensors_msg_handler are 
never executed...

can i get any hints?

Kind regards,

Maarten


/* ipmisensors driver data */
static struct ipmisensors_data driver_data = {
        .driver_name = "bmc",
        .bmc_data = LIST_HEAD_INIT(driver_data.bmc_data),
        .interfaces = 0,
        .smi_watcher = {
                        .owner = THIS_MODULE,
                        .new_smi = ipmisensors_new_smi,
                        .smi_gone = ipmisensors_smi_gone,
                        },
        .ipmi_hndlrs = {
                        .ipmi_recv_hndl = ipmisensors_msg_handler,
                        },
};

....

in __init function:

        /* register IPMI interface callback(s) */
        error = ipmi_smi_watcher_register(&driver_data.smi_watcher);
        if (error) {
                printk(KERN_WARNING
                       "ipmisensors: can't register smi watcher\n");
                return error;
        }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-07  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07  8:30 ipmisensors Maarten Vanraes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox