aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] sky2: handle tx timeoutStephen Hemminger2005-12-121-3/+14
| | | | | | | Put more logic in to try and handle transmit timeout recovery. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: interrupt coalescing tuningStephen Hemminger2005-12-121-15/+11
| | | | | | | | Adjust interrupt deferral values for better performance and avoid starvation issues under stress. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: interrupt/poll optimizationStephen Hemminger2005-12-121-4/+2
| | | | | | | | Optimize poll routine by not clearing interrupt till after processing, and checking for more work before re-enable. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: transmit complete routine optimizationStephen Hemminger2005-12-121-19/+16
| | | | | | | Hand optimize transmit completion routine. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: transmit complete index optimizationStephen Hemminger2005-12-121-16/+19
| | | | | | | | | Change transmit complete handling to use the status values in the poll list because they are in-cache, rather than reading non-cached memory for chips status. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: transmit logic fixesStephen Hemminger2005-12-121-4/+3
| | | | | | | | | | | Some transmit side small fixes: * When computing number of list elements per transmit, do full comparision to check for checksuming. * Get rid of racy check for tx_complete * Change stop test to match wake condition. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: tx/rx ring data structure splitStephen Hemminger2005-12-122-13/+20
| | | | | | | | | Split Tx and Rx ring into two different data structures. Tx needs the next value (to handle partial status), and Rx always needs the mapaddr (to handle resubmitting same buffer). Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: map length optimizationStephen Hemminger2005-12-122-30/+29
| | | | | | | | Don't need to keep track of mapping length in ring structure because we can get the same info from other info. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: ring distance optimizationStephen Hemminger2005-12-121-1/+1
| | | | | | | Faster way to compute ring distance. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: no irq disable needed during txStephen Hemminger2005-12-121-13/+9
| | | | | | | Don't need to disable interrupts during the transmit routine. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: phy processing in workqueue rather than taskletStephen Hemminger2005-12-122-31/+33
| | | | | | | | Do phy processing in a work queue rather than a tasklet. This means we can let bottom halves run. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: ethtool get/set interrupt coalescingStephen Hemminger2005-12-121-12/+103
| | | | | | | Add support for get/set the interrupt coalescing settings. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: copy threshold as module parameterStephen Hemminger2005-12-121-2/+5
| | | | | | | | Make the copy threshold a module parameter for those who may want to turn it off. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: device structure alignmentStephen Hemminger2005-12-121-4/+4
| | | | | | | | It is a useful optimization to rearrange the structure slightly to align receive and transmit portions. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sky2: don't die if we see chip rev 0xb5Stephen Hemminger2005-12-121-10/+8
| | | | | | | | There maybe new versions of Yukon2 in the future, so make the driver more robust to handle this. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* Merge branch 'master'Jeff Garzik2005-12-121-6/+9
|\
| * [TG3]: remove warning on raceStephen Hemminger2005-12-061-6/+9
| | | | | | | | | | | | | | | | [ Move assosciated code comment to the correct spot, and update driver version and release date -DaveM ] Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [PATCH] sky2: interrupt not cleared.Stephen Hemminger2005-12-031-0/+1
| | | | | | | | | | | | | | | | One of the rearrangements dropped this and it means sky2 spins in napi/interrupt. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ixp2000: change netif_schedule_test to __netif_schedule_prepStephen Hemminger2005-12-031-1/+1
| | | | | | | | | | | | | | Sky2 update changed name of netif_schedule_test to __netif_schedule_prep Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] Duplicate IPW_DEBUG option for ipw2100 and 2200Brice Goglin2005-12-015-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | There are currently two IPW_DEBUG options in drivers/net/wireless/Kconfig (one for ipw2100 and one for ipw2200). The attached patch splits it into IPW2100_DEBUG and IPW2200_DEBUG. Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org> Cc: "James P. Ketrenos" <ipw2100-admin@linux.intel.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ipw2200: kzalloc conversion and Kconfig dependency fixTakis2005-12-012-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Use kzalloc for IPW2200 - Fix config dependency for IPW2200 Signed-off-by: Panagiotis Issaris <takis@issaris.org> Cc: James Ketrenos <jketreno@linux.intel.com> Cc: Yi Zhu <yi.zhu@intel.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | Merge branch 'upstream-fixes'Jeff Garzik2005-12-018-64/+53
|\ \ | |/
| * [netdrvr skge] fix typo, fix buildJeff Garzik2005-12-011-1/+1
| |
| * [netdrvr fmvj18x_cs] fix multicast bugKomuro2005-12-011-21/+11
| | | | | | | | | | | | * use set_rx_mode to (re)initialize the multicast table. * MC_FILTERBREAK is 64 (= 8 * 8bit) * remove local_info_t.mc_filter
| * [wireless airo] reset card in initMatthieu CASTET2005-12-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without this patch after an rmmod, modprobe the card won't work anymore until the next reboot. This patch seem safe to apply for all cards as the bsd driver already do that. I had to add a timeout because strange things happen (issuecommand will fail) if the card is already reseted (after a reboot). PS : it seems there are missing reset when leaving monitor mode... Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
| * [PATCH] skge: handle VLAN checksum correctly on yukon rev 0Stephen Hemminger2005-12-011-3/+1
| | | | | | | | | | | | | | | | | | | | If using UDP over VLAN, with the skge driver there is a possibility of generating an incorrect checksum. This is a unlikely occurrence because it is only an issue on Yukon revision 0, and that revision doesn't seem to exist on any current hardware (probably early prototype). Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] orinoco: fix setting power management parametersPavel Roskin2005-12-011-2/+1
| | | | | | | | | | | | | | | | Power management parameters could not be set by iwconfig due to incorrect error handling. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] jazzsonic: Fix platform device codeRalf Baechle2005-12-011-1/+1
| | | | | | | | | | | | | | | | Use platform_driver_unregister not driver_unregister to unregister a struct platform_driver. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] jazzsonic: Fix build error.Ralf Baechle2005-12-011-1/+1
| | | | | | | | | | | | | | jazz_sonnic_device -> jazz_sonic_device Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] mipsnet: Fix Copyright notice.Ralf Baechle2005-12-011-25/+5
| | | | | | | | | | | | | | Sorry, no sekr1t mips c0dez ;-) Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] ibm_emac: fix graceful stop timeout handlingEugene Surovegin2005-12-012-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes graceful stop timeout handling in PPC4xx EMAC driver. Currently, when we stop TX/RX channels we just do some number of loops without relying on actual spent time. This has finally bitten me on one of our systems (heavy network traffic during start up, RX channel is stopped several times to configure multicast list). Graceful channel stop can take up to 1 frame time, so I've added device specific timeout counter which depends on current link speed and calls to udelay() to really wait required amount of time before giving up. Signed-off-by: Eugene Surovegin <ebs@ebshome.net> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] airo.c: add support for IW_ENCODE_TEMP (i.e. xsupplicant)Dan Streetman2005-12-011-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hello Jeff, this patch changes causes the airo driver to not reset the card when a temporary WEP key is set, when the IW_ENCODE_TEMP flag is used. This is needed for xsupplicant as 802.1x, LEAP, etc. change WEP keys frequently after authentication and resetting the card causes infinite reauthentication. Javier and Jean agree with the patch, Javier suggested I send this to you, can you apply this? Thanks. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ixp2000: add driver version, bump version to 0.2Lennert Buytenhek2005-12-011-0/+4
| | | | | | | | | | Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ixp2000: add netpoll supportLennert Buytenhek2005-12-011-0/+12
| | | | | | | | | | | | | | Add netpoll support to the ixp2000 driver. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] enp2611: disable/enable SERDES carrier on interface down/upLennert Buytenhek2005-12-011-0/+5
| | | | | | | | | | | | | | | | Disable/enable the SERDES carrier when an interface is administratively downed/upped. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] pm3386: implement resetLennert Buytenhek2005-12-011-1/+31
| | | | | | | | | | | | | | | | Implement pm3386 reset. A reset zeroes out the internally stored MAC addresses, so we need to save and reload them by hand. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] pm3386: add hook for setting carrierLennert Buytenhek2005-12-012-0/+6
| | | | | | | | | | | | | | | | | | Add a pm3386 hook for disabling/enabling the SERDES carrier, so that we can disable it when the interface is administratively downed, and enable it when it is upped. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] pm3386: add hook for setting MAC addressLennert Buytenhek2005-12-012-0/+8
| | | | | | | | | | | | | | | | | | | | When we reset the pm3386, it loses its internally stored MAC addresses that were programmed into it by the bootloader (and are used by the hardware for the generation of PAUSE frames.) Add a hook to allow setting these addresses so that we can program them back by hand. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ixp2000: report MAC addresses for each port on initLennert Buytenhek2005-12-011-0/+8
| | | | | | | | | | | | | | | | After initialising, report the MAC address that we're using for each port. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] enp2611: report link up/down eventsLennert Buytenhek2005-12-011-0/+5
| | | | | | | | | | | | | | Report carrier going up/down. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] enp2611: use 'dev' in link status timerLennert Buytenhek2005-12-011-4/+4
| | | | | | | | | | | | | | | | We assign nds[i] to a local variable 'dev', which we never use afterwards. Use the local variable instead. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] enp2611: don't check netif_running() in link status timerLennert Buytenhek2005-12-011-3/+0
| | | | | | | | | | | | | | | | Even after an interface has gone !netif_running(), we still want to catch the 'carrier went down' event for our internal bookkeeping. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ixp2000: use netif_rx_schedule_testLennert Buytenhek2005-12-011-7/+1
| | | | | | | | | | | | | | | | | | | | The sky2 driver introduced netif_rx_schedule_test(). This is exactly what we need, so remove our local version of this function (which was called netif_rx_schedule_prep_notup) and use the generic one instead. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] caleb/pm3386: include proper header filesLennert Buytenhek2005-12-012-0/+2
| | | | | | | | | | | | | | | | Make caleb.c and pm3386.c include their own header files, to catch incorrect prototype definitions. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] pm3386: remove unnecessary udelaysLennert Buytenhek2005-12-011-13/+0
| | | | | | | | | | | | | | Remove a number of unnecessary udelay() calls. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] pm3386: zero stats properlyLennert Buytenhek2005-12-011-1/+1
| | | | | | | | | | | | | | Zero our stats structure properly. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ixp2000: register netdevices lastLennert Buytenhek2005-12-011-18/+17
| | | | | | | | | | | | | | | | Do not register our netdevices with the kernel until we've actually finished setting up the hardware and microcode. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sk98lin: remove /proc interfaceshemminger@osdl.org2005-12-013-308/+2
| | | | | | | | | | | | | | | | Remove device specific proc interface. It doesn't handle renames correctly; it ain't worth fixing. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sk98lin: remove redundant fields in device infoshemminger@osdl.org2005-12-012-44/+34
| | | | | | | | | | | | | | | | Shrink size of per device data by removing redundant fields or things that are only used at boot up. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sk98lin: allow ethtool checksum on/off per portshemminger@osdl.org2005-12-013-36/+79
| | | | | | | | | | | | | | Allow control of checksumming parameters via ethtool. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>