lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200903161140.01121.david-b@pacbell.net>
Date:	Mon, 16 Mar 2009 11:40:00 -0700
From:	David Brownell <david-b@...bell.net>
To:	Purushotam Kumar <purushotam@...com>
Cc:	davinci-linux-open-source@...ux.davincidsp.com,
	linux-kernel@...r.kernel.org, drzeus-mmc@...eus.cx
Subject: Re: [PATCH 1/1] DaVinci: MMC: MMC/SD controller driver for DaVinci/DM6446.

On Monday 16 March 2009, Purushotam Kumar wrote:
> From: Purshotam Kumar <purushotam@...com>
> 
> This patch adds support for DaVinci (DM6446) MMC/SD controller driver. This

The dm6446 is the only chip with current mainline support;
but dm355 can use it too, "support on the way" to mainline.
(Only for 2.6.30 if Kevin still has time...)

And there are other DaVinci chips that support MMC too ...
some are compatible with those two chips, some not, all
should use a version of this driver.  (And OMAP-L137 too,
same tech family but with a different marketing label.)

So I'd remove the implication that DaVinci == DM6446, or
that this driver is specific to that SoC.


> @@ -171,6 +171,14 @@ config MMC_TIFM_SD
>            To compile this driver as a module, choose M here: the
>  	  module will be called tifm_sd.
>  
> +config MMC_DAVINCI
> +        tristate "TI DAVINCI Multimedia Card Interface support"
> +        depends on MMC

Everything in that menu depends on MMC.  This should
depend on ARCH_DAVINCI instead.  :)


> +       host->clk = clk_get(&pdev->dev, NULL);

The NULL won't work with the clock code currently
included in mainline ... "MMCSDCLK" will though.

It's probably simplest to list the updated DaVinci
clock framework code as a runtime dependency, much
like EDMA support is a build-time one, for this patch.


> +       if (pdata->max_freq)
> +               mmc->f_max = pdata->max_freq;
> +       if (pdata->caps)
> +               mmc->caps |= pdata->caps;

A build-time issue is that "struct davinci_mmc_config"
is missing.  You could update this patch to include
"arch/arm/mach-davinci/include/mach/mmc.h" too.

- Dave

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ