Date: Wed, 27 Sep 2006 04:46:48 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 106757 for review Message-ID: <200609270446.k8R4km6D027686@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106757 Change 106757 by imp@imp_lighthouse on 2006/09/27 04:45:59 fix spelling and values of a few registers. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91_mcireg.h#3 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91_mcireg.h#3 (text+ko) ==== @@ -51,8 +51,8 @@ #define MCI_CR_PWSDIS (0x1u << 3) /* (MCI) Power Save Mode Disable */ #define MCI_CR_SWRST (0x1u << 7) /* (MCI) Software Reset */ /* -------- MCI_MR : (MCI Offset: 0x4) MCI Mode Register -------- */ -#define MCI_MR_CLKDIV (0x1u << 0) /* (MCI) Clock Divider */ -#define MCI_MR_PWSDIV (0x1u << 8) /* (MCI) Power Saving Divider */ +#define MCI_MR_CLKDIV (0xffu << 0) /* (MCI) Clock Divider */ +#define MCI_MR_PWSDIV (0x3fu << 8) /* (MCI) Power Saving Divider */ #define MCI_MR_PDCPADV (0x1u << 14) /* (MCI) PDC Padding Value */ #define MCI_MR_PDCMODE (0x1u << 15) /* (MCI) PDC Oriented Mode */ #define MCI_MR_BLKLEN (0x1u << 18) /* (MCI) Data Block Length */ @@ -68,8 +68,8 @@ #define MCI_DTOR_DTOMUL_65536 (0x6u << 4) /* (MCI) DTOCYC x 65536 */ #define MCI_DTOR_DTOMUL_1M (0x7u << 4) /* (MCI) DTOCYC x 1048576 */ /* -------- MCI_SDCR : (MCI Offset: 0xc) MCI SD Card Register -------- */ -#define MCI_SDCR_SCDSEL (0x1u << 0) /* (MCI) SD Card Selector */ -#define MCI_SDCR_SCDBUS (0x1u << 7) /* (MCI) SD Card Bus Width */ +#define MCI_SDCR_SDCSEL (0x1u << 0) /* (MCI) SD Card Selector */ +#define MCI_SDCR_SDCBUS (0x1u << 7) /* (MCI) SD Card Bus Width */ /* -------- MCI_CMDR : (MCI Offset: 0x14) MCI Command Register -------- */ #define MCI_CMDR_CMDNB (0x1Fu << 0) /* (MCI) Command Number */ #define MCI_CMDR_RSPTYP (0x3u << 6) /* (MCI) Response Type */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609270446.k8R4km6D027686>