Call bus_dma_dmar_set_buswide(9) added in r354830.
PLX NTB sends translated DMA requests not only from itsels, but from all slots and functions of its bus. By default DMAR blocks those additional. MFC after: 1 week Sponsored by: iXsystems, Inc.
This commit is contained in:
parent
7e0269411b
commit
0d08dcc900
@ -339,6 +339,12 @@ ntb_plx_attach(device_t dev)
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
/*
|
||||
* The device occupies whole bus. In translated TLP slot field
|
||||
* keeps LUT index (original bus/slot), function is passed through.
|
||||
*/
|
||||
bus_dma_dmar_set_buswide(dev);
|
||||
|
||||
/* Identify chip port we are connected to. */
|
||||
val = bus_read_4(sc->conf_res, 0x360);
|
||||
sc->port = (val >> ((sc->ntx == 0) ? 8 : 16)) & 0x1f;
|
||||
|
Loading…
Reference in New Issue
Block a user