summaryrefslogtreecommitdiffstats
path: root/sys/dev/ismt/ismt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ismt/ismt.c')
-rw-r--r--sys/dev/ismt/ismt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ismt/ismt.c b/sys/dev/ismt/ismt.c
index 3fbcfed..7d0622c 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 << 1) | (is_read))
+#define ISMT_DESC_ADDR_RW(addr, is_read) ((addr) | (is_read))
/* iSMT General Register address offsets (SMBBAR + <addr>) */
#define ISMT_GR_GCTRL 0x000 /* General Control */
@@ -717,6 +717,7 @@ fail:
#define ID_INTEL_S1200_SMT0 0x0c598086
#define ID_INTEL_S1200_SMT1 0x0c5a8086
#define ID_INTEL_C2000_SMT 0x1f158086
+#define ID_INTEL_DNV_SMT 0x19ac8086
static int
ismt_probe(device_t dev)
@@ -733,6 +734,9 @@ ismt_probe(device_t dev)
case ID_INTEL_C2000_SMT:
desc = "Atom Processor C2000 SMBus 2.0";
break;
+ case ID_INTEL_DNV_SMT:
+ desc = "Denverton Host SMBus Controller";
+ break;
default:
return (ENXIO);
}
OpenPOWER on IntegriCloud