Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2012 17:21:25 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "Jayachandran C." <jchandra@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r233570 - head/sys/mips/nlm
Message-ID:  <201203271721.25441.jhb@freebsd.org>
In-Reply-To: <201203271826.q2RIQZhR098376@svn.freebsd.org>
References:  <201203271826.q2RIQZhR098376@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, March 27, 2012 2:26:35 pm Jayachandran C. wrote:
> 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;

Oops, not sure how I missed this one earlier. :(

-- 
John Baldwin



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