Danny Kukawka
7718f2c27d
au1000_eth: use eth_hw_addr_random() instead of random_ether_addr()
...
Use eth_hw_addr_random() instead of calling random_ether_addr()
to set addr_assign_type correctly to NET_ADDR_RANDOM.
v2: adapt to eth_hw_addr_random()
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2012-02-17 15:52:30 -05:00
Pradeep A Dalvi
1d26643054
netdev: ethernet dev_alloc_skb to netdev_alloc_skb
...
Replaced deprecating dev_alloc_skb with netdev_alloc_skb in drivers/net/ethernet
- Removed extra skb->dev = dev after netdev_alloc_skb
Signed-off-by: Pradeep A Dalvi <netdev@pradeepdalvi.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2012-02-06 11:41:20 -05:00
Joe Perches
41de8d4cff
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 >
2012-01-31 16:20:48 -05:00
Florian Fainelli
f74299b6c1
au1000-eth: use an unique MDIO bus name.
...
Signed-off-by: Florian Fainelli <florian@openwrt.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2012-01-10 16:35:00 -08:00
Axel Lin
db62f684de
net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver()
...
This patch converts the drivers in drivers/net/ethernet/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com >
Cc: Vitaly Bordug <vbordug@ru.mvista.com >
Cc: Wan ZongShun <mcuos.com@gmail.com >
Cc: Nicolas Pitre <nico@fluxnic.net >
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com >
Cc: Marc Kleine-Budde <mkl@pengutronix.de >
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
Cc: Jiri Pirko <jpirko@redhat.com >
Cc: Daniel Hellstrom <daniel@gaisler.com >
Cc: Alexey Dobriyan <adobriyan@gmail.com >
Cc: Tobias Klauser <tklauser@distanz.ch >
Cc: Grant Likely <grant.likely@secretlab.ca >
Cc: Jiri Kosina <jkosina@suse.cz >
Cc: Richard Cochran <richard.cochran@omicron.at >
Cc: Jonas Bonn <jonas@southpole.se >
Cc: Sebastian Poehn <sebastian.poehn@belden.com >
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com >
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl >
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Wan ZongShun <mcuos.com@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2011-11-29 00:25:05 -05:00
Linus Torvalds
d6748066ad
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
...
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (37 commits)
MIPS: O32: Provide definition of registers ta0 .. ta3.
MIPS: perf: Add Octeon support for hardware perf.
MIPS: perf: Add support for 64-bit perf counters.
MIPS: perf: Reorganize contents of perf support files.
MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c
MIPS: Add accessor macros for 64-bit performance counter registers.
MIPS: Add probes for more Octeon II CPUs.
MIPS: Add more CPU identifiers for Octeon II CPUs.
MIPS: XLR, XLS: Add comment for smp setup
MIPS: JZ4740: GPIO: Check correct IRQ in demux handler
MIPS: JZ4740: GPIO: Simplify IRQ demuxer
MIPS: JZ4740: Use generic irq chip
MIPS: Alchemy: remove all CONFIG_SOC_AU1??? defines
MIPS: Alchemy: kill au1xxx.h header
MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines
MIPS, IDE: Alchem, au1xxx-ide: Remove pb1200/db1200 header dep
MIPS: Alchemy: Redo PCI as platform driver
MIPS: Alchemy: more base address cleanup
MIPS: Alchemy: rewrite USB platform setup.
MIPS: Alchemy: abstract USB block control register access
...
Fix up trivial conflicts in:
arch/mips/alchemy/devboards/db1x00/platform.c
drivers/ide/Kconfig
drivers/mmc/host/au1xmmc.c
drivers/video/Kconfig
sound/mips/Kconfig
2011-11-03 13:28:14 -07:00
Jiri Pirko
afc4b13df1
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 >
2011-08-17 20:22:03 -07:00
Jeff Kirsher
b955f6ca77
amd: Move AMD (Lance) chipset drivers
...
Moves the drivers for the AMD chipsets into drivers/net/ethernet/amd/
and the necessary Kconfig and Makfile changes.
The au1000 (Alchemy) driver was also moved into the same directory
even though it is not a "Lance" driver.
CC: Peter Maydell <pmaydell@chiark.greenend.org.uk >
CC: Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de >
CC: "Maciej W. Rozycki" <macro@linux-mips.org >
CC: Donald Becker <becker@scyld.com >
CC: Sam Creasey <sammy@users.qual.net >
CC: Miguel de Icaza <miguel@nuclecu.unam.mx >
CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de >
CC: Don Fry <pcnet32@frontier.com >
CC: Geert Uytterhoeven <geert@linux-m68k.org >
CC: Russell King <linux@arm.linux.org.uk >
CC: David Davies <davies@maniac.ultranet.com >
CC: "M.Hipp" <hippm@informatik.uni-tuebingen.de >
CC: Pete Popov <ppopov@embeddedalley.com >
CC: David Hinds <dahinds@users.sourceforge.net >
CC: "Roger C. Pao" <rpao@paonet.org >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2011-08-10 19:54:11 -07:00