aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
Commit message (Collapse)AuthorAge
* [PATCH] Remove duplicate file in Documentation/networking ↵Tobias Klauser2005-06-25
| | | | | | | | | | | | (drivers_net_wan_Kconfig) wanpipe.txt and wan-router.txt in Documentation/networking contain the exact same information (diff between the two shows no drivers/net/wan/Kconfig. Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [TG3]: Update driver version and reldate.David S. Miller2005-06-24
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* [TG3]: Refinements to new locking strategy.Michael Chan2005-06-24
| | | | | | | | | | | | | | | | | | | 1. Move tp->irq_sync = 0 to before the interrupt mailbox IO in tg3_enable_ints() so that the interrupt handler will always see irq_sync == 0 when interrupts are enabled. 2. Remove the tg3_enable_ints() call in tg3_reset_hw(). Interrupts are always enabled explicitly or through tg3_netif_start(). This is to prevent interrupts being enabled while poll is disabled. 3. Update trans_start with jiffies in tg3_netif_stop() to prevent false NETDEV WATCHDOG. 4. Pass in the proper irq_sync parameter to tg3_full_lock() depending on netif_running() in some of the ethtool set calls. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* [TG3]: Eliminate all hw IRQ handler spinlocks.David S. Miller2005-06-24
| | | | | | | | | | | | | | | | | | | | | Move all driver spinlocks to be taken at sw IRQ context only. This fixes the skb_copy() we were doing with hw IRQs disabled (which is illegal and triggers a BUG() with HIGHMEM enabled). It also simplifies the locking all over the driver tremendously. We accomplish this feat by creating a special sequence to synchronize with the hw IRQ handler using a binary state and synchronize_irq(). This idea is from Herbert Xu. Thanks to Michael Chan for helping to track down all of the race conditions in initial versions of this code. Signed-off-by: David S. Miller <davem@davemloft.net>
* [TG3]: Fix missing memory barriers and SD_STATUS_UPDATED bit clearing.David S. Miller2005-06-24
| | | | | | | | | | | | | | | There must be a rmb() between reading the status block tag and calling tg3_has_work(). This was missing in tg3_mis() and tg3_interrupt_tagged(). tg3_poll() got it right. Also, SD_STATUS_UPDATED must be cleared in the status block right before we call tg3_has_work(). Only tg3_poll() got this wrong. Based upon patches and commentary from Grant Grundler and Michael Chan. Signed-off-by: David S. Miller <davem@davemloft.net>
* [SLIP]: Simplify sl_free_bufs()Jesper Juhl2005-06-24
| | | | | | | | | | We can avoid assignments to the local variable 'tmp' and actually get rid of tmp alltogether in sl_free_bufs(). This patch does that. This is safe since both kfree() and slhc_free() handles NULL pointers gracefully. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
* [PATCH] Convert users to tty_unregister_ldisc()Alexey Dobriyan2005-06-23
| | | | | | | | tty_register_ldisc(N_FOO, NULL) => tty_unregister_ldisc(N_FOO) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge 'misc-fixes' branch of ↵Linus Torvalds2005-06-23
|\ | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
| * e1000: fix spinlock bugMitch Williams2005-06-23
| | | | | | | | | | | | | | This patch fixes an obvious and nasty bug where we could exit the transmit routine while holding tx_lock. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
* | [LTPC]: Replace schedule_timeout() with ssleep()/msleep()Nishanth Aravamudan2005-06-23
|/ | | | | | | | | | | Use ssleep() / msleep() [as appropriate] instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Acked-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br> Signed-off-by: Maximilian Attems <janitor@sternwelten.at> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* [PATCH] m32r: Remove include/asm-m32r/m32102peri.hHirokazu Takata2005-06-21
| | | | | | | | | | | This patch removes an obsolete header file include/asm-m32r/m32102peri.h. In this header, there are some undesirable single character types, like V. And the header is almost no longer used. Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] 3c59x: remove superfluous vortex_debug test from boomerang_start_xmit()John W. Linville2005-06-21
| | | | | | | | | 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 <linville@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] class: convert drivers/* to use the new class api instead of ↵gregkh@suse.de2005-06-20
| | | | | | class_simple Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Manual merge of ↵Linus Torvalds2005-06-18
|\ | | | | | | | | | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git This is a fixed-up version of the broken "upstream-2.6.13" branch, where I re-did the manual merge of drivers/net/r8169.c by hand, and made sure the history is all good.
| * Automatic merge of /spare/repo/netdev-2.6 branch skge2005-06-04
| |\
| | * [PATCH] skge 64bit portabilityAl Viro2005-05-15
| | | | | | | | | | | | | | | ptrdiff_t is %td, not %d Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| | * [PATCH] skge missing includeAl Viro2005-05-15
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| | * [netdrvr] new driver skge, for SysKonnect cardsStephen Hemminger2005-05-12
| | |
| * | Automatic merge of /spare/repo/netdev-2.6 branch starfire2005-06-04
| |\ \
| | * | [netdrvr starfire] Add GPL'd firmware, remove compat codeJeff Garzik2005-05-12
| | |/ | | | | | | | | | | | | Contributed by Ion Badulescu <ionut@badula.org>, further fixed up by me.
| * | Automatic merge of /spare/repo/netdev-2.6 branch smc91x2005-06-04
| |\ \
| | * | [PATCH] smc91x: more tweaks to help with RX overrunsNicolas Pitre2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nico@cam.org> Index: linux-2.6/drivers/net/smc91x.c ===================================================================
| | * | [PATCH] smc91x: improve diagnostic infoNicolas Pitre2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and remove duplicate status defines. Signed-off-by: Nicolas Pitre <nico@cam.org> Index: linux-2.6/drivers/net/smc91x.c ===================================================================
| | * | [PATCH] smc91x warning fixNicolas Pitre2005-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A few IO addr type conversions were missing. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| | * | [PATCH] smc91x addr config checkNicolas Pitre2005-05-12
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | The PAGE_SIZE mask is indeed confusing. Use the exact mask for this context which has nothing to do with memory pages at all. Also cast to int since the value to compare with is an int. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * | Automatic merge of /spare/repo/netdev-2.6 branch remove-drivers2005-06-04
| |\ \
| | * | [PATCH] remove two obsolete net driversAdrian Bunk2005-05-12
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The options FMV18X and SK_G16 do depend on the non-available CONFIG_OBSOLETE even in kernel 2.4 - IOW, the last time it was able to select them was in kernel 2.2 (or even before). Since it seems noone misses these drivers, this patch removes them. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * | Automatic merge of /spare/repo/netdev-2.6 branch iff-running2005-06-04
| |\ \
| | * | [netdrvrs] Use netif_carrier_* instead of IFF_RUNNING2005-05-12
| | |/
| * | Automatic merge of /spare/repo/netdev-2.6 branch viro2005-06-04
| |\ \
| | * | [PATCH] pcnet_cs cleanupAl Viro2005-05-15
| | | | | | | | | | | | | | | | | | | | | | | | killed abuse of ->rmem_end Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| | * | [PATCH] etherh iomem annotationsAl Viro2005-05-15
| | |/ | | | | | | | | | | | | the usual echo Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| * | Automatic merge of /spare/repo/netdev-2.6 branch r81692005-06-04
| |\ \
| | * \ Automatic merge of rsync://www.fr.zoreil.com/linux-2.6.git branch HEAD2005-05-27
| | |\ \
| | | * | [PATCH] r8169: minor cleanupRichard Dawe2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - more consistent prototypes; - rtl8169_rx_interrupt() o the error condition should be rare; o goto removal. Signed-off-by: Richard Dawe <rich@phekda.gotadsl.co.uk> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: add ethtool support for dumping the chip statisticsStephen Hemminger2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There aren't lots of statistics available, but this is what is available according to the RealTek documentation. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: ethtool message level control supportStephen Hemminger2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - ratelimit the too much work at interrupt message, so if under massive packet load the console doesn't get flooded; - removal of a few PFX used in contexts where dev->name is available; - s/->slot_name/pci_name/; - printed_version is redundant with the debug option. Remove it and let the user decide. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: add module parameter (media)Francois Romieu2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add module parameter description for the media option. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: add module parameter (copybreak)Stephen Hemminger2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add module parameter description for copybreak. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: identify the napi versionStephen Hemminger2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To tell if driver is configured for NAPI or not, put -NAPI on driver version. Remove the NAPI printk since the complete version information is displayed once in the pci probe routine or returned via ethtool. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: de-obfuscate supported PCI IDFrancois Romieu2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-obfuscate supported PCI ID Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: new PCI idFrancois Romieu2005-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The USR 997902 is based on the 8169 chipset. The value has been extracted from the sources of the driver which comes with the manufacturer's cdrom. Heads-up and test by TommyDrum <mycooc@yahoo.it>. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| * | | | Automatic merge of /spare/repo/netdev-2.6 branch orinoco-hch2005-06-04
| |\ \ \ \
| | * | | | [PATCH] orinoco: misc fixesChristoph Hellwig2005-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | small fixes from CVS that didn't fit elsewhere Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: make orinoco_stop() staticChristoph Hellwig2005-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: Symbol 3.0x firmware needs broken_disableportChristoph Hellwig2005-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Pavel Roskin. Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: disconnect the network device on reset errorsChristoph Hellwig2005-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: fix setting of 32 character ESSIDsChristoph Hellwig2005-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Thomas Schulz Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] Orinoco: consolidate allocation codeDavid Gibson2005-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate allocation of firmware buffers. In the process, remove duplication of a workaround for an old symbol firmware bug, and fix a bug where we could retry the workaround, even if it already failed to help. Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| | * | | | [PATCH] Orinoco: don't set channel in managed modeDavid Gibson2005-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't attempt to manually set the channel in infrastructure mode, the firmware doesn't like that much. Also don't attempt to override the firmware's default channel number for IBSS mode (I believe default channel can vary by regulatory domain). Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>