[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45680308.4040809@drzeus.cx>
Date: Sat, 25 Nov 2006 09:47:04 +0100
From: Pierre Ossman <drzeus-list@...eus.cx>
To: Anderson Briglia <anderson.briglia@...t.org.br>
CC: "Linux-omap-open-source@...ux.omap.com"
<linux-omap-open-source@...ux.omap.com>,
Russell King <rmk+lkml@....linux.org.uk>,
Tony Lindgren <tony@...mide.com>,
"Aguiar Carlos (EXT-INdT/Manaus)" <carlos.aguiar@...t.org.br>,
ext David Brownell <david-b@...bell.net>,
"Lizardo Anderson (EXT-INdT/Manaus)" <anderson.lizardo@...t.org.br>,
linux-kernel@...r.kernel.org
Subject: Re: [patch 3/5] [RFC] Add MMC Password Protection (lock/unlock) support
V7: mmc_lock_unlock.diff
Anderson Briglia wrote:
> @@ -244,5 +244,13 @@ struct _mmc_csd {
> #define SD_BUS_WIDTH_1 0
> #define SD_BUS_WIDTH_4 2
>
> +/*
> + * MMC_LOCK_UNLOCK modes
> + */
> +#define MMC_LOCK_MODE_ERASE (1<<3)
> +#define MMC_LOCK_MODE_UNLOCK (0<<2)
> +#define MMC_LOCK_MODE_CLR_PWD (1<<1)
> +#define MMC_LOCK_MODE_SET_PWD (1<<0)
> +
> #endif /* MMC_MMC_PROTOCOL_H */
>
This definition makes them look like bits, which is not how they are used.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists