[BHND] correct spelling error in macro name

This commit is part of D6920 review. One of macro had wrong prefix:
 BMCA => BCMA

Reviewed by:	landonf, adrian (mentor)
Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D6920
This commit is contained in:
Michael Zhilin 2016-11-15 20:05:22 +00:00
parent 55dfce589c
commit ba3eb10d85
2 changed files with 4 additions and 4 deletions

View File

@ -274,7 +274,7 @@ bcma_is_hw_suspended(device_t dev, device_t child)
return (true);
}
if (rst & BMCA_DMP_RC_RESET)
if (rst & BCMA_DMP_RC_RESET)
return (true);
/* Is core clocked? */
@ -367,11 +367,11 @@ bcma_suspend_hw(device_t dev, device_t child)
/* Already in reset? */
rst = bhnd_bus_read_4(r, BCMA_DMP_RESETCTRL);
if (rst & BMCA_DMP_RC_RESET)
if (rst & BCMA_DMP_RC_RESET)
return (0);
/* Put core into reset */
if ((error = bcma_dmp_write_reset(child, dinfo, BMCA_DMP_RC_RESET)))
if ((error = bcma_dmp_write_reset(child, dinfo, BCMA_DMP_RC_RESET)))
return (error);
/* Clear core flags */

View File

@ -252,7 +252,7 @@
#define BCMA_DMP_IOST_MASK 0x0000FFFF
/* resetctrl */
#define BMCA_DMP_RC_RESET 0x00000001
#define BCMA_DMP_RC_RESET 0x00000001
/* config */
#define BCMA_DMP_CFG_OOB 0x00000020