summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sis.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_sis.c')
-rw-r--r--sys/pci/if_sis.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 962f3c8..d169c98 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -1243,6 +1243,7 @@ sis_attach(dev)
MAXBSIZE, SIS_NSEG_NEW, /* maxsize, nsegments */
BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
BUS_DMA_ALLOCNOW, /* flags */
+ NULL, NULL, /* lockfunc, lockarg */
&sc->sis_parent_tag);
if (error)
goto fail;
@@ -1262,6 +1263,8 @@ sis_attach(dev)
SIS_RX_LIST_SZ, 1, /* maxsize,nsegments */
BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
0, /* flags */
+ busdma_lock_mutex, /* lockfunc */
+ &Giant, /* lockarg */
&sc->sis_ldata.sis_rx_tag);
if (error)
goto fail;
@@ -1299,6 +1302,8 @@ sis_attach(dev)
SIS_TX_LIST_SZ, 1, /* maxsize,nsegments */
BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
0, /* flags */
+ busdma_lock_mutex, /* lockfunc */
+ &Giant, /* lockarg */
&sc->sis_ldata.sis_tx_tag);
if (error)
goto fail;
@@ -1336,6 +1341,8 @@ sis_attach(dev)
MCLBYTES, 1, /* maxsize,nsegments */
BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
0, /* flags */
+ busdma_lock_mutex, /* lockfunc */
+ &Giant, /* lockarg */
&sc->sis_tag);
if (error)
goto fail;
OpenPOWER on IntegriCloud