Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5] src/sys/arch/x86
Module Name: src
Committed By: snj
Date: Thu Nov 6 22:58:07 UTC 2008
Modified Files:
src/sys/arch/x86/include [netbsd-5]: ipmivar.h
src/sys/arch/x86/x86 [netbsd-5]: ipmi.c
Log Message:
Pull up following revision(s) (requested by cegger in ticket #10):
sys/arch/x86/x86/ipmi.c: revision 1.23
sys/arch/x86/include/ipmivar.h: revision 1.9
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.8.4.1 src/sys/arch/x86/include/ipmivar.h
cvs rdiff -r1.21.2.1 -r1.21.2.2 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