summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_sdio.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2009-05-19 19:48:18 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-05-22 14:06:00 -0400
commite70a5ac5d27166cfe5bfbe8f63017af3b09d72ce (patch)
treef6be1e95bf547baba67057951741cecc6755485e /drivers/net/wireless/libertas/if_sdio.h
parentea2d06395b6de717a5e0c4b6e55f3047cae2131f (diff)
downloadblackbird-op-linux-e70a5ac5d27166cfe5bfbe8f63017af3b09d72ce.tar.gz
blackbird-op-linux-e70a5ac5d27166cfe5bfbe8f63017af3b09d72ce.zip
libertas: define macros for SDIO model numbers
replace direct usages of SDIO model numbers with defined macros. Signed-off-by: Bing Zhao <bzhao@marvell.com> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_sdio.h')
-rw-r--r--drivers/net/wireless/libertas/if_sdio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_sdio.h b/drivers/net/wireless/libertas/if_sdio.h
index 37ada2c29aa9..cea343f9afd1 100644
--- a/drivers/net/wireless/libertas/if_sdio.h
+++ b/drivers/net/wireless/libertas/if_sdio.h
@@ -12,6 +12,10 @@
#ifndef _LBS_IF_SDIO_H
#define _LBS_IF_SDIO_H
+#define IF_SDIO_MODEL_8385 0x04
+#define IF_SDIO_MODEL_8686 0x0b
+#define IF_SDIO_MODEL_8688 0x10
+
#define IF_SDIO_IOPORT 0x00
#define IF_SDIO_H_INT_MASK 0x04
OpenPOWER on IntegriCloud