When chaining TRBs, calculate the TD Size as described in section
authormpi <mpi@openbsd.org>
Fri, 2 Jan 2015 18:06:25 +0000 (18:06 +0000)
committermpi <mpi@openbsd.org>
Fri, 2 Jan 2015 18:06:25 +0000 (18:06 +0000)
commit6c7284e609546a922e70009d739c7b3ec3697258
tree15854005211503d9c5b374e78ddaeee1d790feeb
parent4c76dd6696f951e1fcc9acf2a1cc56c160b4a944
When chaining TRBs, calculate the TD Size as described in section
4.11.2.4 instead of using one TRB per packet.  Also make sure that
it is not greater than 31.

While here be paranoid about xfer buffer crossing a 64k boundary
and use a supplementary TRB in such case.

Fix a problem with uplcom(4) on Intel xHCI reported by jasper@.
sys/dev/usb/xhci.c
sys/dev/usb/xhcireg.h