pms(4) should use bus_get_dma_tag() to get parent tag.

Reviewed by:	imp
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Tycho Nightingale 2019-02-08 16:05:38 +00:00
parent 8157763ec7
commit 41f6c3f0e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343912

View File

@ -63,7 +63,7 @@ STATIC agBOOLEAN agtiapi_typhAlloc( ag_card_info_t *thisCardInst )
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