summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-20 23:16:43 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-20 23:16:43 +0000
commit62d4836a2e0449e381e2a1c757bf37e39826d660 (patch)
tree1dcbc195eaaf27489dd6fde95bbc1ce7f17d91ce
parent1487aa2f7c8a1bd0633d3f959699b1ccb1a5031c (diff)
Add definitions for host interface and USB vendor/product ids
-rw-r--r--tools/csr.c6
-rw-r--r--tools/csr.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/tools/csr.c b/tools/csr.c
index a155efcb..75507c41 100644
--- a/tools/csr.c
+++ b/tools/csr.c
@@ -379,6 +379,12 @@ char *csr_pskeytostr(uint16_t pskey)
switch (pskey) {
case CSR_PSKEY_HOSTIO_MAP_SCO_PCM:
return "Map SCO over PCM";
+ case CSR_PSKEY_HOST_INTERFACE:
+ return "Host interface";
+ case CSR_PSKEY_USB_VENDOR_ID:
+ return "USB vendor identifier";
+ case CSR_PSKEY_USB_PRODUCT_ID:
+ return "USB product identifier";
case CSR_PSKEY_INITIAL_BOOTMODE:
return "Initial device bootmode";
default:
diff --git a/tools/csr.h b/tools/csr.h
index 79795be0..c8ac5cd3 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -35,6 +35,9 @@
#define CSR_VARID_FAULT_ARG 0x6806
#define CSR_PSKEY_HOSTIO_MAP_SCO_PCM 0x01ab
+#define CSR_PSKEY_HOST_INTERFACE 0x01f9
+#define CSR_PSKEY_USB_VENDOR_ID 0x02be
+#define CSR_PSKEY_USB_PRODUCT_ID 0x02bf
#define CSR_PSKEY_INITIAL_BOOTMODE 0x03cd
char *csr_buildidtostr(uint16_t id);