diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-07-08 11:45:21 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-07-08 11:45:21 +0000 |
commit | 39519245f25c517424d1f2ccbed07777c8e060fa (patch) | |
tree | f004c53fe7187cbe51d090b6b0fc094730b768d2 | |
parent | 0ed4f8572e1b32b4dd57304db14351f0e0c59119 (diff) |
Add adapter type for SDIO
-rw-r--r-- | include/hci.h | 3 | ||||
-rw-r--r-- | src/hci.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/hci.h b/include/hci.h index becbbb06..4cd8c7d9 100644 --- a/include/hci.h +++ b/include/hci.h @@ -48,12 +48,13 @@ extern "C" { #define HCI_DEV_RESUME 6 /* HCI device types */ -#define HCI_VHCI 0 +#define HCI_VIRTUAL 0 #define HCI_USB 1 #define HCI_PCCARD 2 #define HCI_UART 3 #define HCI_RS232 4 #define HCI_PCI 5 +#define HCI_SDIO 6 /* HCI device flags */ enum { @@ -138,8 +138,8 @@ static int hci_str2uint(hci_map *map, char *str, unsigned int *val) char *hci_dtypetostr(int type) { switch (type) { - case HCI_VHCI: - return "VHCI"; + case HCI_VIRTUAL: + return "VIRTUAL"; case HCI_USB: return "USB"; case HCI_PCCARD: @@ -150,8 +150,10 @@ char *hci_dtypetostr(int type) return "RS232"; case HCI_PCI: return "PCI"; + case HCI_SDIO: + return "SDIO"; default: - return "UKNW"; + return "UNKNOWN"; } } |