summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2002-09-22 23:59:17 +0000
committerMarcel Holtmann <marcel@holtmann.org>2002-09-22 23:59:17 +0000
commit79cd53450eeb6555077f7ede0b5e02a23d7bebe8 (patch)
tree64a8d9ef58a644e94b696a3ada9a6ae5ebfc0e25
parent41f627f92dd0c0d7e1667c1f7cc877a6643c1849 (diff)
Add HCI_PCI to the device types
-rw-r--r--include/hci.h1
-rw-r--r--src/hci.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index ba01bec0..e522ee85 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -52,6 +52,7 @@ extern "C" {
#define HCI_PCCARD 2
#define HCI_UART 3
#define HCI_RS232 4
+#define HCI_PCI 5
/* HCI device flags */
enum {
diff --git a/src/hci.c b/src/hci.c
index af0ffd65..dcc24666 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -146,6 +146,10 @@ char *hci_dtypetostr(int type)
return "PCCARD";
case HCI_UART:
return "UART";
+ case HCI_RS232:
+ return "RS232";
+ case HCI_PCI:
+ return "PCI";
default:
return "UKNW";
}