Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/x86



Module Name:    src
Committed By:   cegger
Date:           Mon Nov  3 12:25:53 UTC 2008

Modified Files:
        src/sys/arch/x86/include: ipmivar.h
        src/sys/arch/x86/x86: ipmi.c

Log Message:
The functions called from ipmi_match use the DEVNAME macro. But the softc is 
allocated on the stack and the accessed sc_dev member is not initialized.

Initialize the sc_dev.dv_xname in ipmi_match, which is enough to make DEVNAME 
work. Finally this also allows the device_t/softc split.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sys/arch/x86/include/ipmivar.h
cvs rdiff -r1.22 -r1.23 src/sys/arch/x86/x86/ipmi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index