1. 13 Oct, 2008 4 commits
    • Adrian Bunk's avatar
      net/au1000_eth.c MDIO namespace fixes · 1210dde7
      Adrian Bunk authored
      Commit 2e888103
      (phylib: add mdiobus_{read,write}) causes the
      following compile error:
      
      <--  snip  -->
      
      ...
        CC      drivers/net/au1000_eth.o
      drivers/net/au1000_eth.c:252: error: conflicting types for 'mdiobus_read'
      include/linux/phy.h:130: error: previous declaration of 'mdiobus_read' was here
      drivers/net/au1000_eth.c:263: error: conflicting types for 'mdiobus_write'
      include/linux/phy.h:131: error: previous declaration of 'mdiobus_write' was here
      ...
      make[3]: *** [drivers/net/au1000_eth.o] Error 1
      
      <--  snip  -->
      
      This patch prefixes the driver functions with au1000_ 
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1210dde7
    • Adrian Bunk's avatar
      net/tc35815.c: fix compilation · 51cf756c
      Adrian Bunk authored
      Fix an obvious typo introduced by
      commit 298cf9be
      (phylib: move to dynamic allocation of struct mii_bus).
      
      <--  snip  -->
      
      ...
        CC      drivers/net/tc35815.o
      drivers/net/tc35815.c: In function 'tc_mii_init':
      drivers/net/tc35815.c:799: error: 'err_out_free_mii_bus' undeclared (first use in this function)
      drivers/net/tc35815.c:799: error: (Each undeclared identifier is reported only once
      drivers/net/tc35815.c:799: error: for each function it appears in.)
      drivers/net/tc35815.c:781: error: label 'err_out_free_mii_bus' used but not defined
      make[3]: *** [drivers/net/tc35815.o] Error 1
      
      <--  snip  -->
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      51cf756c
    • Rafael J. Wysocki's avatar
      sky2: Fix WOL regression · 9d731d77
      Rafael J. Wysocki authored
          
      Since dev->power.should_wakeup bit is used by the PCI core to
      decide whether the device should wake up the system from sleep
      states, set/unset this bit whenever WOL is enabled/disabled using
      sky2_set_wol().
          
      Remove an open-coded reference to the standard PCI PM registers that
      is not used any more.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9d731d77
    • Petr Vandrovec's avatar
      r8169: NULL pointer dereference on r8169 load · 738e1e69
      Petr Vandrovec authored
      mmio_addr in r8169 needs to be initialized before use
      
      Maybe that all tp-> initialization should be moved before rtl_init_mac_address call,
      but this is enough to get rid of crash in rtl_rar_set due to mmio_addr being uninitialized.
      Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      738e1e69
  2. 11 Oct, 2008 36 commits