Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 09:03:30 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r261424 - head/sys/dev/mmc
Message-ID:  <20140203170330.GC89104@funkthat.com>
In-Reply-To: <201402030256.s132uNjk086555@svn.freebsd.org>
References:  <201402030256.s132uNjk086555@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Lepore wrote this message on Mon, Feb 03, 2014 at 02:56 +0000:
> Author: ian
> Date: Mon Feb  3 02:56:23 2014
> New Revision: 261424
> URL: http://svnweb.freebsd.org/changeset/base/261424
> 
> Log:
>   Sort the list.
> 
> Modified:
>   head/sys/dev/mmc/mmc.c
> 
> Modified: head/sys/dev/mmc/mmc.c
> ==============================================================================
> --- head/sys/dev/mmc/mmc.c	Mon Feb  3 02:52:07 2014	(r261423)
> +++ head/sys/dev/mmc/mmc.c	Mon Feb  3 02:56:23 2014	(r261424)
> @@ -1756,10 +1756,11 @@ static driver_t mmc_driver = {
>  };
>  static devclass_t mmc_devclass;
>  
> -DRIVER_MODULE(mmc, ti_mmchs, mmc_driver, mmc_devclass, NULL, NULL);
>  DRIVER_MODULE(mmc, at91_mci, mmc_driver, mmc_devclass, NULL, NULL);
> -DRIVER_MODULE(mmc, sdhci_pci, mmc_driver, mmc_devclass, NULL, NULL);
>  DRIVER_MODULE(mmc, sdhci_bcm, mmc_driver, mmc_devclass, NULL, NULL);
>  DRIVER_MODULE(mmc, sdhci_fdt, mmc_driver, mmc_devclass, NULL, NULL);
> -DRIVER_MODULE(mmc, sdhci_ti, mmc_driver, mmc_devclass, NULL, NULL);
>  DRIVER_MODULE(mmc, sdhci_imx, mmc_driver, mmc_devclass, NULL, NULL);
> +DRIVER_MODULE(mmc, sdhci_pci, mmc_driver, mmc_devclass, NULL, NULL);
> +DRIVER_MODULE(mmc, sdhci_ti, mmc_driver, mmc_devclass, NULL, NULL);
> +DRIVER_MODULE(mmc, ti_mmchs, mmc_driver, mmc_devclass, NULL, NULL);
> +

Is there a reason we don't make mmc_driver/mmc_devclass global and put
all of these defines in their respective file instead of poluting an MI
file w/ MD info?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140203170330.GC89104>