Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2012 18:26:35 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233570 - head/sys/mips/nlm
Message-ID:  <201203271826.q2RIQZhR098376@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203271826.q2RIQZhR098376>