svn commit: r343912 - head/sys/dev/pms/freebsd/driver/common

Tycho Nightingale tychon at FreeBSD.org
Fri Feb 8 16:05:39 UTC 2019


Author: tychon
Date: Fri Feb  8 16:05:38 2019
New Revision: 343912
URL: https://svnweb.freebsd.org/changeset/base/343912

Log:
  pms(4) should use bus_get_dma_tag() to get parent tag.
  
  Reviewed by:	imp
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/dev/pms/freebsd/driver/common/lxutil.c

Modified: head/sys/dev/pms/freebsd/driver/common/lxutil.c
==============================================================================
--- head/sys/dev/pms/freebsd/driver/common/lxutil.c	Fri Feb  8 14:56:28 2019	(r343911)
+++ head/sys/dev/pms/freebsd/driver/common/lxutil.c	Fri Feb  8 16:05:38 2019	(r343912)
@@ -63,7 +63,7 @@ STATIC agBOOLEAN agtiapi_typhAlloc( ag_card_info_t *th
   struct agtiapi_softc *pmsc = thisCardInst->pCard;
   int wait = 0;
 
-  if( bus_dma_tag_create( agNULL,                      // parent
+  if( bus_dma_tag_create( bus_get_dma_tag(pmsc->my_dev), // parent
                           32,                          // alignment
                           0,                           // boundary
                           BUS_SPACE_MAXADDR,           // lowaddr


More information about the svn-src-head mailing list