Improve description strings for USB device-mode serial ports.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2018-05-21 16:33:13 +00:00
parent daebf30e66
commit ce03d69d10
3 changed files with 6 additions and 6 deletions

View File

@ -78,9 +78,9 @@ enum {
#define MODEM_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR
#define MODEM_DEFAULT_PRODUCT_ID 0x27dd
#define MODEM_DEFAULT_INTERFACE "Modem interface"
#define MODEM_DEFAULT_INTERFACE "Virtual serial port"
#define MODEM_DEFAULT_MANUFACTURER USB_TEMPLATE_MANUFACTURER
#define MODEM_DEFAULT_PRODUCT "Modem Test Device"
#define MODEM_DEFAULT_PRODUCT "Virtual serial port"
#define MODEM_DEFAULT_SERIAL_NUMBER "March 2008"
static struct usb_string_descriptor modem_interface;
@ -284,7 +284,7 @@ modem_init(void *arg __unused)
parent = SYSCTL_ADD_NODE(&modem_ctx_list,
SYSCTL_STATIC_CHILDREN(_hw_usb_templates), OID_AUTO,
parent_name, CTLFLAG_RW,
0, "USB Modem device side template");
0, "Virtual serial port device side template");
SYSCTL_ADD_U16(&modem_ctx_list, SYSCTL_CHILDREN(parent), OID_AUTO,
"vendor_id", CTLFLAG_RWTUN,
&usb_template_modem.idVendor, 1, "Vendor identifier");

View File

@ -91,7 +91,7 @@ enum {
#define MULTI_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR
#define MULTI_DEFAULT_PRODUCT_ID 0x05dc
#define MULTI_DEFAULT_MODEM "Virtual serial console"
#define MULTI_DEFAULT_MODEM "Virtual serial port"
#define MULTI_DEFAULT_ETH_MAC "2A02030405060789AB"
#define MULTI_DEFAULT_ETH_CONTROL "Ethernet Comm Interface"
#define MULTI_DEFAULT_ETH_DATA "Ethernet Data Interface"

View File

@ -90,13 +90,13 @@ enum {
#define SERIALNET_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR
#define SERIALNET_DEFAULT_PRODUCT_ID 0x05dc
#define SERIALNET_DEFAULT_MODEM "USB Modem Interface"
#define SERIALNET_DEFAULT_MODEM "Virtual serial port"
#define SERIALNET_DEFAULT_ETH_MAC "2A02030405060789AB"
#define SERIALNET_DEFAULT_ETH_CONTROL "USB Ethernet Comm Interface"
#define SERIALNET_DEFAULT_ETH_DATA "USB Ethernet Data Interface"
#define SERIALNET_DEFAULT_CONFIGURATION "Default configuration"
#define SERIALNET_DEFAULT_MANUFACTURER USB_TEMPLATE_MANUFACTURER
#define SERIALNET_DEFAULT_PRODUCT "SERIALNET"
#define SERIALNET_DEFAULT_PRODUCT "Serial/Ethernet device"
#define SERIALNET_DEFAULT_SERIAL_NUMBER "January 2015"
static struct usb_string_descriptor serialnet_modem;