01 Apr, 2006
2 commits
-
The "3c59x: use mii_check_media" patch introduced a netif_carrier_off in
vortex_up. 10base2 stoped working because of this. This is removed.Tx/Rx reset is back in vortex_up because the 3c900B-Combo stops working after
changing from half duplex to full duplex when Tx/Rx reset is done with
vortex_timer.Also brought back some mii stuff to be sure that it does not break something
else.Thanks to Pete Clements for reporting and testing.
Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The pre-2.6.16 patch "3c59x collision statistics fix" accidentally caused
vortex_error() to not run iowrite16(TxEnable, ioaddr + EL3_CMD) if we got a
maxCollisions interrupt but MAX_COLLISION_RESET is not set.Thanks to Pete Clements for reporting and testing.
Acked-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Mar, 2006
6 commits
-
Remove some whitespaces and codingstyle issues.
Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Remove per-driver versioning.
Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use ethtool_op_get_link instead of vortex_get_link.
Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Handle netif_carrier_{on,of} also if media is forced to 10baseT/100baseTx.
Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Set the polling interval for media changes to 5 seconds if link is down and
60 seconds if link is up.Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Check for media changes and netif_carrier by using mii_check_media() if mii is
used.Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
26 Mar, 2006
1 commit
-
Remove the assumption that driver_register() returns the number of devices
bound to the driver. In fact, it returns zero for success or a negative
error value.Signed-off-by: Bjorn Helgaas
Acked-by: Jeff Garzik
Acked-by: Marc Zyngier
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
04 Mar, 2006
2 commits
07 Feb, 2006
1 commit
04 Feb, 2006
1 commit
-
Count the total number of packets with collisions during transmission in
vp->stats.collisions.Signed-off-by: Steffen Klassert
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Jan, 2006
1 commit
-
They deal with wrapping correctly and are nicer to read. Also make
jiffies-holding variables unsigned long.Signed-off-by: Marcelo Feitoza Parisi
Signed-off-by: Alexey Dobriyan
Cc: Jeff Garzik
Signed-off-by: Andrew Morton
Signed-off-by: Jeff Garzik
07 Nov, 2005
10 commits
-
It is not valid to enable scatter/gather without hardware checksum support
of some kind. (akpm: applies only to the old boomerang cards).Signed-off-by: Stephen Hemminger
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add capability for 3c59x driver to use memory-mapped PCI I/O resources.
This may improve performance for those devices so equipped. This will be
the default behaviour for IS_CYCLONE and IS_TORNADO devices. Additionally,
it can be enabled/disabled individually for up to MAX_UNITS number of
devices via the use_mmio module option or for all units via the
global_use_mmio option. The use_mmio option overrides the global_use_mmio
option for those devices specified.Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Only increment rx_dropped in case of lack of resources (i.e. not for
frames with errors).Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add support for ETHTOOL_GPERMADDR to 3c59x.
Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Correct several (apparently cut & paste) grammatical typos in module
parameter descriptions. They seem to have originated as copies of the
description for "global_options".Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Beautify the array initilizations for the module parameters.
Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add bounds checking to usage of hw_checksums module parameter array.
Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
In order to spare some I/O operations, be more intelligent about when to
read from the PHY.Pointed out by Bogdan Costescu.
Signed-off-by: Tommy S. Christensen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Clean up mdio_read routines in 3c59x.c to use the MII_* macros defined in
include/linux/mii.hSigned-off-by: Neil Horman
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Convert 3c59x driver to use pci_iomap API. This makes it easier to enable
the use of memory-mapped PCI I/O resources.Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Sep, 2005
2 commits
-
The phy status register must be read twice in order to get the actual link
state.Signed-off-by: Tommy S. Christensen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch adds some missing pci-related calls to the suspend and resume
routines of the 3c59x driver. It also makes the driver free/request IRQ on
suspend/resume, in accordance with the proposal at:
http://lists.osdl.org/pipermail/linux-pm/2005-May/000955.htmlSigned-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
29 Jun, 2005
1 commit
-
Many drivers use skb->tail unnecessarily.
In these situations, the code roughly looks like:
dev = dev_alloc_skb(...);
[optional] skb_reserve(skb, ...);
... skb->tail ...
But even if the skb_reserve() happens, skb->data equals
skb->tail. So it doesn't make any sense to use anything
other than skb->data in these cases.Another case was the s2io.c driver directly mucking with
the skb->data and skb->tail pointers. It really just wanted
to do an skb_reserve(), so that's what the code was changed
to do instead.Another reason I'm making this change as it allows some SKB
cleanups I have planned simpler to merge. In those cleanups,
skb->head, skb->tail, and skb->end pointers are removed, and
replaced with skb->head_room and skb->tail_room integers.Signed-off-by: David S. Miller
Acked-by: Jeff Garzik
22 Jun, 2005
1 commit
-
Remove the superfluous test of "if (vortex_debug > 3)" inside the "if
(vortex_debug > 6)" clause early in boomerang_start_xmit.Signed-off-by: John W. Linville
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
06 May, 2005
1 commit
-
During a warm boot the device is in D3 and has troubles coming out of it.
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!