summaryrefslogtreecommitdiff
path: root/sys/dev/ismt
diff options
context:
space:
mode:
authorJim Harris <jimharris@FreeBSD.org>2016-01-07 21:16:44 +0000
committerJim Harris <jimharris@FreeBSD.org>2016-01-07 21:16:44 +0000
commit042231951b17bd4b7f7fc00d0091066676a534b6 (patch)
tree81f2c41a3a9f7bfefe3a405d756e08db9bc465ad /sys/dev/ismt
parent1f2c92640755d4b95b7785b098b898e5e58db9ee (diff)
Notes
Diffstat (limited to 'sys/dev/ismt')
-rw-r--r--sys/dev/ismt/ismt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ismt/ismt.c b/sys/dev/ismt/ismt.c
index dc90e3f07d41..3fbcfed0af62 100644
--- a/sys/dev/ismt/ismt.c
+++ b/sys/dev/ismt/ismt.c
@@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$");
#define ISMT_DESC_LPR 0x80 /* Large Packet Received */
/* Macros */
-#define ISMT_DESC_ADDR_RW(addr, is_read) ((addr) | (is_read))
+#define ISMT_DESC_ADDR_RW(addr, is_read) ((addr << 1) | (is_read))
/* iSMT General Register address offsets (SMBBAR + <addr>) */
#define ISMT_GR_GCTRL 0x000 /* General Control */