uts/common/io/zyd/zyd_usb.c uses hex identifiers for devices, should use *BSD usbdevs.h ?
The hardware identifiers used in common/io/zyd/zyd_usb.c uses hex identifiers for specific hardware, but this makes it very difficult to understand which devices these correspond to.
*BSD has a usbdev.h file which uses defines to identify the manufacturer, and the specific devices. Since one of the projects identified on the Illumos page is to tie net80211 and wifi devices more closely to their origins in *BSD, this seems like a reasonable first step.
Updated by Ben Taylor over 6 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 50
usbdevs.h gets generated from the usr/src/uts/common/io/usb/usbdevs file by the usr/src/uts/common/io/usb/usbdevs2h.awk script, as part of the build of the usr/src/uts/common/sys/Makefile.
Should be able to unwind the hardcoded hexadecimal identifiers for devices in zyd_usb.c to use the defines in the usbdevs.h file