PERFORCE change 195054 for review

John Baldwin jhb at FreeBSD.org
Mon Jun 20 20:49:32 UTC 2011


http://p4web.freebsd.org/@@195054?ac=10

Change 195054 by jhb at 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. */


More information about the p4-projects mailing list