f2cedb63df14342ad40a8b5b324fc5d94a60b665 |
|
15-Feb-2012 |
Danny Kukawka <danny.kukawka@bisect.de> |
net: replace random_ether_addr() with eth_hw_addr_random() Replace usage of random_ether_addr() with eth_hw_addr_random() to set addr_assign_type correctly to NET_ADDR_RANDOM. Change the trivial cases. v2: adapt to renamed eth_hw_addr_random() Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|
41de8d4cff21a2e81e3d9ff66f5f7c903f9c3ab1 |
|
29-Jan-2012 |
Joe Perches <joe@perches.com> |
drivers/net: Remove alloc_etherdev error messages alloc_etherdev has a generic OOM/unable to alloc message. Remove the duplicative messages after alloc_etherdev calls. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
77e1e438cbb1b8f9b7a3bb2d4f0264d1dd952d75 |
|
07-Jan-2012 |
Cesar Eduardo Barros <cesarb@cesarb.net> |
r6040: fix typo in use of MCR0 register bits Commit 4e16d6ebd65b4f2c4e3f780b4c5704beef64019c (r6040: define more MCR0 register bits) added #define values for MCR0 register bits and converted uses of hardcoded magic values to uses of these defines. However, one of the conversions looks suspicious: #define MCR0 0x00 /* Control register 0 */ +#define MCR0_RCVEN 0x0002 /* Receive enable */ +#define MCR0_XMTEN 0x1000 /* Transmission enable */ /* Init RDC private data */ - lp->mcr0 = 0x1002; + lp->mcr0 = MCR0_XMTEN | MCR0; I believe what was meant here was MCR0_XMTEN | MCR0_RCVEN, which makes sense and matches the original values. Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|
48529680dc59061eaa13ea3b1047401612b79600 |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: place comments before code checkpatch.pl complained about the line exceding 80 columns, and the comment was actually on the same line as the code, fix that. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
853d5dc95b41babb7001934becad9c944738d8e3 |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: use __aligned(size) instead of __attribute__((__aligned(size)__)) Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
e1477637967d0d8db3083bacb241c796c3c4f23b |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: use definitions for MAC_SM register read/writes Bit 1 is the reset bit of the MAC status machine register, define and use it. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
58dbc691e6ca6689402424db60f4a54745a38c67 |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: use MAC_RST bit definition with MCR1 read/writes MAC_RST bit is already defined, use it instead of 0x1 where applicable. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
4e16d6ebd65b4f2c4e3f780b4c5704beef64019c |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: define more MCR0 register bits Define more MCR0-register bits and use them in place of the bits values. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
49f26720d46476384a090c4e281be73e5de4f1e1 |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: remove unused variables and definitions Since the conversion to phylib (3831861b: r6040: implement phylib) some PHY-related variables and definitions are now useless, remove them. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
817380e1d05534880a99d84a47cc5a2df111030d |
|
04-Jan-2012 |
Florian Fainelli <florian@openwrt.org> |
r6040: use an unique MDIO bus name We should use an unique MDIO bus name which does not clash with anything else in the system like the Fixed MDIO bus. The bus is now named: r6040-<card number> which is unique in the system. Reported-by: Vladimir Kolpakov <vova.kolpakov@gmail.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
bbc13ab9d26f4ff675775dd7dc24d5cae17b85d5 |
|
16-Nov-2011 |
Florian Fainelli <florian@openwrt.org> |
r6040: fix check against MCRO_HASHEN bit in r6040_multicast_list We are checking whether the MCR0_HASHEN bit is set using a logical and instead of bitwise and, fix that. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
5bdc4f5de1345c221f5b51d73fafe3e5de718a54 |
|
07-Oct-2011 |
Florian Fainelli <florian@openwrt.org> |
r6040: bump version to 0.28 and date to 07Oct2011. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
06e92c33999fd66128c2256b0461455633c3d53c |
|
07-Oct-2011 |
Florian Fainelli <florian@openwrt.org> |
r6040: invoke phy_{start,stop} when appropriate Joe reported to me that right after a bring up of a r6040 interface the ethtool output had no consistent output with respect to link duplex and speed. Fix this by adding a missing phy_start call in r6040_up and conversely a phy_stop call in r6040_down to properly initialize phy states. Reported-by: Joe Chou <Joe.Chou@rdc.com.tw> Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
afc4b13df143122f99a0eb10bfefb216c2806de0 |
|
16-Aug-2011 |
Jiri Pirko <jpirko@redhat.com> |
net: remove use of ndo_set_multicast_list in drivers replace it by ndo_set_rx_mode Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
58565a35eab01eb5fba928af23d31a636d03a056 |
|
24-Jul-2011 |
Jeff Kirsher <jeffrey.t.kirsher@intel.com> |
r6040: Move the RDC driver Move the RDC driver into drivers/net/ethernet/rdc/ and make the necessary Kconfig and Makefile changes. CC: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|