On Wed, Mar 28, 2012 at 2:51 AM, John Baldwin <[email protected]> wrote: > 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. :(
It is completely my fault :) I did not notice the PCI dma tag change when I moved this code from my user branch to HEAD today. JC. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
