svn commit: r233570 - head/sys/mips/nlm
Jayachandran C.
jchandra at FreeBSD.org
Tue Mar 27 18:26:36 UTC 2012
Author: jchandra
Date: Tue Mar 27 18:26:35 2012
New Revision: 233570
URL: http://svn.freebsd.org/changeset/base/233570
Log:
Fix size of PCI softc.
Modified:
head/sys/mips/nlm/xlp_pci.c
Modified: head/sys/mips/nlm/xlp_pci.c
==============================================================================
--- head/sys/mips/nlm/xlp_pci.c Tue Mar 27 18:22:14 2012 (r233569)
+++ head/sys/mips/nlm/xlp_pci.c Tue Mar 27 18:26:35 2012 (r233570)
@@ -331,7 +331,8 @@ static device_method_t xlp_pci_methods[]
DEVMETHOD_END
};
-DEFINE_CLASS_1(pci, xlp_pci_driver, xlp_pci_methods, 0, pci_driver);
+DEFINE_CLASS_1(pci, xlp_pci_driver, xlp_pci_methods, sizeof(struct pci_softc),
+ pci_driver);
DRIVER_MODULE(xlp_pci, pcib, xlp_pci_driver, pci_devclass, 0, 0);
static devclass_t pcib_devclass;
More information about the svn-src-head
mailing list