Date: Mon, 20 Jun 2011 20:49:31 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 195054 for review Message-ID: <201106202049.p5KKnVqD099048@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@195054?ac=10 Change 195054 by jhb@jhb_jhbbsd on 2011/06/20 20:48:48 Oops, allocate the full softc. Affected files ... .. //depot/projects/pci/sys/x86/x86/mptable_pci.c#13 edit Differences ... ==== //depot/projects/pci/sys/x86/x86/mptable_pci.c#13 (text+ko) ==== @@ -223,7 +223,8 @@ static devclass_t hostb_devclass; -DEFINE_CLASS_0(pcib, mptable_hostb_driver, mptable_hostb_methods, 1); +DEFINE_CLASS_0(pcib, mptable_hostb_driver, mptable_hostb_methods, + sizeof(struct mptable_hostb_softc)); DRIVER_MODULE(mptable_pcib, legacy, mptable_hostb_driver, hostb_devclass, 0, 0); /* PCI to PCI bridge driver. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106202049.p5KKnVqD099048>