CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/05/15 13:02:16
Modified files:
sys/dev/pv : vioscsi.c
Log message:
vioscsi: Fix allocation of segments
Port the logic to calculate the number of segments in virtqueue and
dmamaps from vioblk.
This fixes the virtqueue indirect descriptors being two entries too
small the dmamaps being much larger than necessary.
If the device does not support the required number of segments, refuse
to use it.
