Amos Kong
1cff389ddb
mvme147: fix ram size in comment
...
The order of ram pages is 3, so the ram size is 2^3 * 4K = 32K.
Signed-off-by: Amos Kong <akong@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-06-05 15:14:21 -07:00
Geert Uytterhoeven
4ffa8fcd17
net/7990: Make lance_private.name const
...
This allows to drop a few casts.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-12-29 00:46:38 -05:00
Geert Uytterhoeven
a8ab77a83a
net/7990: Fix whitespace errors
...
Most of them reported by checkpatch.pl
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-12-29 00:46:38 -05:00
Rusty Russell
8c6ffba0ed
PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.
...
Sweep of the simple cases.
Cc: netdev@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: Julia Lawall <julia.lawall@lip6.fr >
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Acked-by: David S. Miller <davem@davemloft.net >
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org >
2013-07-15 11:25:01 +09:30
Silviu-Mihai Popescu
3ffd880d3c
ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR
...
This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase
readability.
Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com >
Acked-by: <Geert Uytterhoeven <geert@linux-m68k.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-03-12 06:57:22 -04:00
David Howells
9ffc93f203
Remove all #inclusions of asm/system.h
...
Remove all #inclusions of asm/system.h preparatory to splitting and killing
it. Performed with the following command:
perl -p -i -e 's!^#\s*include\s*<asm/system[.]h>.*\n!!' `grep -Irl '^#\s*include\s*<asm/system[.]h>' *`
Signed-off-by: David Howells <dhowells@redhat.com >
2012-03-28 18:30:03 +01: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