04 Jan, 2010
1 commit
-
If no break occurred, cnt reaches 0 after the loop.
Signed-off-by: Roel Kluin
Signed-off-by: David S. Miller
16 Dec, 2009
1 commit
-
Fix sh_eth for sh7724 by adding NET_IP_ALIGN support V2.
Without this patch the receive data is misaligned.Signed-off-by: Magnus Damm
Signed-off-by: David S. Miller
19 Nov, 2009
1 commit
-
Not as fancy as coccinelle. Checkpatch errors ignored.
Compile tested allyesconfig x86, not all files compiled.grep -rPl --include=*.[ch] "\brequest_irq\s*\([^,\)]+,\s*\&" drivers/net | while read file ; do \
perl -i -e 'local $/; while (<>) { s@(\brequest_irq\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
doneSigned-off-by: Joe Perches
Signed-off-by: David S. Miller
27 Oct, 2009
2 commits
-
Conflicts:
drivers/net/sh_eth.c -
Add include asm/cacheflush.h, because declaration of __flush_purge_region
moved to asm/cacheflush.h.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller
13 Oct, 2009
2 commits
-
Add Runtime PM support to the sh_eth driver.
The clock to the ethernet hardware block will be
enabled as long as the network device is up.Signed-off-by: Magnus Damm
Tested-by: Kuninori Morimoto
Signed-off-by: David S. Miller -
Extend the sh_eth driver to allow passing the mac address
using the platform data structure. This to simplify board
setup code.Signed-off-by: Magnus Damm
Tested-by: Kuninori Morimoto
Signed-off-by: David S. Miller
29 Aug, 2009
1 commit
-
The method of ETHER_LINK pin is board dependence.
This patch adding paramters are:
- no_ether_link : If set to 1, do not use ETHER_LINK
- ether_link_active_low : If set to 1, ETHER_LINK is active low.Signed-off-by: Yoshihiro Shimoda
Signed-off-by: David S. Miller
06 Jul, 2009
1 commit
-
This patch is the result of an automatic spatch transformation to convert
all ndo_start_xmit() return values of 0 to NETDEV_TX_OK.Some occurences are missed by the automatic conversion, those will be
handled in a seperate patch.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller
26 Jun, 2009
1 commit
-
Unsigned boguscnt cannot be less than 0.
Signed-off-by: Roel Kluin
Signed-off-by: David S. Miller
13 Jun, 2009
1 commit
-
Convert magic values 1 and -1 to NETDEV_TX_BUSY and NETDEV_TX_LOCKED respectively.
0 (NETDEV_TX_OK) is not changed to keep the noise down, except in very few cases
where its in direct proximity to one of the other values.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller
27 May, 2009
1 commit
-
Signed-off-by: David S. Miller
26 May, 2009
5 commits
-
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Kuninori Morimoto
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller -
This improves readability by collecting CPU dependency code.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller -
Fix the problem that this driver not update rxdesc in sh_eth_rx.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller -
Fix the probrem that TX/RX descirptor not set physical memory.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller -
Fix the problem that may not work receive process by cache coherency issue.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller
14 Apr, 2009
1 commit
-
Signed-off-by: Alexander Beregalov
Signed-off-by: David S. Miller
19 Mar, 2009
1 commit
-
Handling of IRQ of the SH7763/SH7764 CPU which sh_eth supported was
changed.
This revises it for this change.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller
21 Nov, 2008
1 commit
-
Conflicts:
drivers/net/ixgbe/ixgbe_main.c
include/net/mac80211.h
net/phonet/af_phonet.c
20 Nov, 2008
1 commit
-
Update to change of mii_bus interface and fix some warning.
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller
11 Nov, 2008
1 commit
-
Acked-by: Marcel Holtmann
Acked-by: Greg Kroah-Hartman
Signed-off-by: Kay Sievers
Signed-off-by: David S. Miller
04 Nov, 2008
1 commit
-
The generic packet receive code takes care of setting
netdev->last_rx when necessary, for the sake of the
bonding ARP monitor.Drivers need not do it any more.
Some cases had to be skipped over because the drivers
were making use of the ->last_rx value themselves.Signed-off-by: David S. Miller
20 Oct, 2008
1 commit
-
Conflicts:
Documentation/kernel-parameters.txt
arch/sh/include/asm/elf.h
09 Oct, 2008
2 commits
-
This patch introduces mdiobus_alloc() and mdiobus_free(), and
makes all mdio bus drivers use these functions to allocate their
struct mii_bus'es dynamically.Signed-off-by: Lennert Buytenhek
Signed-off-by: David S. Miller
Acked-by: Andy Fleming -
In preparation of giving mii_bus objects a device tree presence of
their own, rename struct mii_bus's ->dev argument to ->parent, since
having a 'struct device *dev' that points to our parent device
conflicts with introducing a 'struct device dev' representing our own
device.Signed-off-by: Lennert Buytenhek
Signed-off-by: David S. Miller
Acked-by: Andy Fleming
11 Sep, 2008
1 commit
-
unsigned ndev->irq cannot be negative
Signed-off-by: Roel Kluin
Signed-off-by: Paul Mundt
14 Aug, 2008
1 commit
-
The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/net/acenic.c
drivers/net/bnx2x_link.c
drivers/net/bnx2x_main.c
drivers/net/cpmac.c
drivers/net/gianfar_sysfs.c
drivers/net/ipg.h
drivers/net/ppp_mppe.c
drivers/net/pppol2tp.c
drivers/net/r6040.c
drivers/net/sh_eth.c
drivers/net/sky2.c
drivers/net/tehuti.h
drivers/net/typhoon.cThis patch removes the said #include .
Signed-off-by: Huang Weiyi
Signed-off-by: Jeff Garzik
07 Aug, 2008
1 commit
-
Add support SH7619 Internal ethernet controler.
Signed-off-by: Yoshinori Sato
Signed-off-by: Jeff Garzik
31 Jul, 2008
1 commit
-
SH7763 has Ethernet core same as SH7710/SH7712.
Positions of some registry are different, but the basic part is the same.
I add support of ethernet of sh7763 to sh_eth.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Jeff Garzik
23 Jul, 2008
1 commit
-
The drivers were touching net queue before it has been started, so
without this patch, the drivers will potentially WARN at
net/core/dev.c:1328.I don't have the hardware for the drivers below, so this patch is
untested, and thus should be carefully peer reviewed.tc35815.c
au1000_eth.c
bfin_mac.c
macb.c
^ The four drivers are using phylib, they're calling netif_start_queue()
in open() callback. So trivially remove netif_tx_schedule_all().
Phylib will handle netif_carrier_*().cpmac.c
fec_mpc52xx.c
fs_enet/fs_enet-main.c
sh_eth.c
^ The same as above, but these were also needlessly calling
netif_carrier_*() functions. So removed queue calls and also remove
carrier calls, since phylib will handle it. fs_enet-main.c also didn't
call netif_start_queue() at open(), this is fixed now.Signed-off-by: Anton Vorontsov
Signed-off-by: David S. Miller
18 Jul, 2008
1 commit
-
They logically all want to trigger a schedule for all device
TX queues.Signed-off-by: David S. Miller
28 Jun, 2008
1 commit
-
Fix compile error on sh_eth and remove base address macro.
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Jeff Garzik
12 Jun, 2008
1 commit
-
Add support for Renesas SuperH Ethernet controller. This driver supports
SH7710 and SH7712.[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Nobuhiro Iwamatsu
Cc: Paul Mundt
Cc: Jeff Garzik
Signed-off-by: Andrew Morton
Signed-off-by: Jeff Garzik