Author: jimharris Date: Mon Jan 11 17:54:23 2016 New Revision: 293676 URL: https://svnweb.freebsd.org/changeset/base/293676
Log: MFC r293369: ismt: fix ISMT_DESC_ADDR_RW macro Modified: stable/10/sys/dev/ismt/ismt.c Modified: stable/10/sys/dev/ismt/ismt.c ============================================================================== --- stable/10/sys/dev/ismt/ismt.c Mon Jan 11 17:53:24 2016 (r293675) +++ stable/10/sys/dev/ismt/ismt.c Mon Jan 11 17:54:23 2016 (r293676) @@ -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 */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"