lkml.org 
[lkml]   [2015]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFT PATCH] mips: mpc30x_defconfig: convert to use libata PATA drivers
    Date
    IDE subsystem has been deprecated since 2009 and the majority
    (if not all) of Linux distributions have switched to use
    libata for ATA support exclusively. However there are still
    some users (mostly old or/and embedded non-x86 systems) that
    have not converted from using IDE subsystem to libata PATA
    drivers. This doesn't seem to be good thing in the long-term
    for Linux as while there is less and less PATA systems left
    in use:

    * testing efforts are divided between two subsystems

    * having duplicate drivers for same hardware confuses users

    This patch converts mpc30x_defconfig to use libata PATA
    drivers.

    PS This platform still uses "ide0=base[,ctl[,irq]]" hack in
    its defconfig. The hack itself has been removed in 2008 and
    this platform should be converted to using PATA platform host
    driver (pata_platform) instead.

    Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
    ---
    Build tested only.
    If you have affected hardware please test. Thank you.

    arch/mips/configs/mpc30x_defconfig | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/mips/configs/mpc30x_defconfig b/arch/mips/configs/mpc30x_defconfig
    index 7a34660..a2c045f 100644
    --- a/arch/mips/configs/mpc30x_defconfig
    +++ b/arch/mips/configs/mpc30x_defconfig
    @@ -27,9 +27,9 @@ CONFIG_INET_XFRM_MODE_BEET=m
    CONFIG_NETWORK_SECMARK=y
    CONFIG_CONNECTOR=m
    CONFIG_ATA_OVER_ETH=m
    -# CONFIG_MISC_DEVICES is not set
    -CONFIG_IDE=y
    -CONFIG_IDE_GENERIC=y
    +CONFIG_BLK_DEV_SD=y
    +CONFIG_ATA=y
    +CONFIG_PATA_LEGACY=y
    CONFIG_NETDEVICES=y
    # CONFIG_NETDEV_1000 is not set
    # CONFIG_NETDEV_10000 is not set
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-09-14 18:21    [W:2.943 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site