summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/xform_ipcomp.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2003-07-14 17:46:27 +0000
committerjoe <joe@FreeBSD.org>2003-07-14 17:46:27 +0000
commit917f89df7f2cb23b9fb4793891c049c44271a7e9 (patch)
tree3f1f41e782583e7c3a093929391fbe08f954ee52 /sys/netipsec/xform_ipcomp.c
parenta8deb8fb4136ae4de956420d11a6fcb076c6d4ae (diff)
downloadFreeBSD-src-917f89df7f2cb23b9fb4793891c049c44271a7e9.zip
FreeBSD-src-917f89df7f2cb23b9fb4793891c049c44271a7e9.tar.gz
As defined by USB Specification Rev 2.0 (in section 11.24.2.5), to
get a Hub descriptor, we have to set req.wValue to "Descriptor Type and Descriptor Index". In this case, Descriptor Type is 0x29 (UDESC_HUB), Descriptor Index should be 0. If I don't do a check (dev->address > 1 ... ), root hub fails. A new Cytronix 4-port USB 2.0 Hub (Cypress CY7C65640 chip) now works after this patch. Submitted by: Alexander Pohoyda <alexander.pohoyda@gmx.net> MFC after: 7 days
Diffstat (limited to 'sys/netipsec/xform_ipcomp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud