Author: emaste Date: Fri Mar 16 13:46:54 2012 New Revision: 233033 URL: http://svn.freebsd.org/changeset/base/233033
Log: MFC r232668: Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint. Modified: stable/8/sys/dev/aac/aac_pci.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/dev/aac/aac_pci.c ============================================================================== --- stable/8/sys/dev/aac/aac_pci.c Fri Mar 16 13:44:40 2012 (r233032) +++ stable/8/sys/dev/aac/aac_pci.c Fri Mar 16 13:46:54 2012 (r233033) @@ -402,7 +402,7 @@ aac_pci_attach(device_t dev) * * Note that some of these controllers are 64-bit capable. */ - if (bus_dma_tag_create(NULL, /* parent */ + if (bus_dma_tag_create(bus_get_dma_tag(sc->aac_dev), /* parent */ PAGE_SIZE, 0, /* algnmnt, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"