Date: Mon, 11 Jan 2016 17:54:24 +0000 (UTC) From: Jim Harris <jimharris@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r293676 - stable/10/sys/dev/ismt Message-ID: <201601111754.u0BHsOnP039121@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601111754.u0BHsOnP039121>