lkml.org 
[lkml]   [2011]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -next] staging: fix more ET131X build errors
    From: Randy Dunlap <rdunlap@xenotime.net>

    ET131X is a network device, so it should depend on
    NETDEVICES. (This part won't be needed when the driver
    moves to drivers/net/.) It also uses PHYLIB interfaces,
    so it should select PHYLIB. Fixes these build errors:

    ERROR: "phy_connect" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_find_first" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "mdiobus_register" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "mdiobus_alloc" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_stop" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_start" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "mdiobus_free" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "mdiobus_unregister" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_print_status" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_ethtool_gset" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_ethtool_sset" [drivers/staging/et131x/et131x.ko] undefined!
    ERROR: "phy_mii_ioctl" [drivers/staging/et131x/et131x.ko] undefined!

    Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
    Cc: Mark Einon <mark.einon@gmail.com>
    ---
    drivers/staging/et131x/Kconfig | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    Apply after "depends on NET" patch.
    --- next-2011-1115.orig/drivers/staging/et131x/Kconfig
    +++ next-2011-1115/drivers/staging/et131x/Kconfig
    @@ -1,6 +1,7 @@
    config ET131X
    tristate "Agere ET-1310 Gigabit Ethernet support"
    - depends on PCI && NET
    + depends on PCI && NET && NETDEVICES
    + select PHYLIB
    default n
    ---help---
    This driver supports Agere ET-1310 ethernet adapters.

    \
     
     \ /
      Last update: 2011-11-16 02:09    [W:0.022 / U:95.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site