mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 01:30:43 +00:00
ismt: fix ISMT_DESC_ADDR_RW macro
Submitted by: Masanobu SAITOH <msaitoh@netbsd.org> MFC after: 3 days
This commit is contained in:
parent
1f2c926407
commit
042231951b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293369
@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#define ISMT_DESC_LPR 0x80 /* Large Packet Received */
|
#define ISMT_DESC_LPR 0x80 /* Large Packet Received */
|
||||||
|
|
||||||
/* Macros */
|
/* 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>) */
|
/* iSMT General Register address offsets (SMBBAR + <addr>) */
|
||||||
#define ISMT_GR_GCTRL 0x000 /* General Control */
|
#define ISMT_GR_GCTRL 0x000 /* General Control */
|
||||||
|
Loading…
Reference in New Issue
Block a user