summaryrefslogtreecommitdiffstats
path: root/drivers/net
Commit message (Collapse)AuthorAgeFilesLines
* [TG3]: Update driver version and reldate.David S. Miller2005-06-241-2/+2
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* [TG3]: Refinements to new locking strategy.Michael Chan2005-06-241-14/+20
| | | | | | | | | | | | | | | | | | | 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-242-179/+149
| | | | | | | | | | | | | | | | | | | | | 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-241-0/+3
| | | | | | | | | | | | | | | 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-231-10/+4
| | | | | | | | | | 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-238-8/+8
| | | | | | | | 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-231-0/+1
|\ | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
| * e1000: fix spinlock bugMitch Williams2005-06-231-0/+1
| | | | | | | | | | | | | | 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-221-4/+2
|/ | | | | | | | | | | 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-211-2/+2
| | | | | | | | | | | 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-211-3/+2
| | | | | | | | | 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-202-13/+13
| | | | | | class_simple Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Manual merge of ↵Linus Torvalds2005-06-1830-3821/+8998
|\ | | | | | | | | | | | | | | 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-044-0/+6404
| |\
| | * [PATCH] skge 64bit portabilityAl Viro2005-05-151-3/+3
| | | | | | | | | | | | | | | ptrdiff_t is %td, not %d Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| | * [PATCH] skge missing includeAl Viro2005-05-151-0/+1
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| | * [netdrvr] new driver skge, for SysKonnect cardsStephen Hemminger2005-05-124-0/+6403
| | |
| * | Automatic merge of /spare/repo/netdev-2.6 branch starfire2005-06-042-102/+386
| |\ \
| | * | [netdrvr starfire] Add GPL'd firmware, remove compat codeJeff Garzik2005-05-122-102/+386
| | |/ | | | | | | | | | | | | Contributed by Ion Badulescu <ionut@badula.org>, further fixed up by me.
| * | Automatic merge of /spare/repo/netdev-2.6 branch smc91x2005-06-042-36/+37
| |\ \
| | * | [PATCH] smc91x: more tweaks to help with RX overrunsNicolas Pitre2005-05-271-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nico@cam.org> Index: linux-2.6/drivers/net/smc91x.c ===================================================================
| | * | [PATCH] smc91x: improve diagnostic infoNicolas Pitre2005-05-272-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... 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-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-121-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | 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-046-2951/+0
| |\ \
| | * | [PATCH] remove two obsolete net driversAdrian Bunk2005-05-126-2951/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-046-31/+12
| |\ \
| | * | [netdrvrs] Use netif_carrier_* instead of IFF_RUNNING2005-05-126-31/+12
| | |/
| * | Automatic merge of /spare/repo/netdev-2.6 branch viro2005-06-042-15/+18
| |\ \
| | * | [PATCH] pcnet_cs cleanupAl Viro2005-05-151-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | killed abuse of ->rmem_end Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
| | * | [PATCH] etherh iomem annotationsAl Viro2005-05-151-7/+9
| | |/ | | | | | | | | | | | | 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-041-70/+273
| |\ \
| | * \ Automatic merge of rsync://www.fr.zoreil.com/linux-2.6.git branch HEAD2005-05-271-68/+252
| | |\ \
| | | * | [PATCH] r8169: minor cleanupRichard Dawe2005-05-271-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-271-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-56/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-obfuscate supported PCI ID Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| | | * | [PATCH] r8169: new PCI idFrancois Romieu2005-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-042-264/+69
| |\ \ \ \
| | * | | | [PATCH] orinoco: misc fixesChristoph Hellwig2005-05-151-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-152-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: Symbol 3.0x firmware needs broken_disableportChristoph Hellwig2005-05-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Pavel Roskin. Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: disconnect the network device on reset errorsChristoph Hellwig2005-05-151-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] orinoco: fix setting of 32 character ESSIDsChristoph Hellwig2005-05-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Thomas Schulz Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
| | * | | | [PATCH] Orinoco: consolidate allocation codeDavid Gibson2005-05-121-21/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-121-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | [PATCH] Orinoco: kill dump_recsDavid Gibson2005-05-121-191/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the dump_recs debugging iwpriv command. It will be replaced later with the simpler and more flexible get_rid command. Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
OpenPOWER on IntegriCloud