aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)AuthorFilesLines
2005-09-08Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 Linus Torvalds1-11/+2
2005-09-08[PATCH] USB: URB_ASYNC_UNLINK flag removed from the kernelAlan Stern1-11/+2
29 July 2005, Cambridge, MA: This afternoon Alan Stern submitted a patch to remove the URB_ASYNC_UNLINK flag from the Linux kernel. Mr. Stern explained, "This flag is a relic from an earlier, less-well-designed system. For over a year it hasn't been used for anything other than printing warning messages." An anonymous spokesman for the Linux kernel development community commented, "This is exactly the sort of thing we see happening all the time. As the kernel evolves, support for old techniques and old code can be jettisoned and replaced by newer, better approaches. Proprietary operating systems do not have the freedom or flexibility to change so quickly." Mr. Stern, a staff member at Harvard University's Rowland Institute who works on Linux only as a hobby, noted that the patch (labelled as548) did not update two files, keyspan.c and option.c, in the USB drivers' "serial" subdirectory. "Those files need more extensive changes," he remarked. "They examine the status field of several URBs at times when they're not supposed to. That will need to be fixed before the URB_ASYNC_UNLINK flag is removed." Greg Kroah-Hartman, the kernel maintainer responsible for overseeing all of Linux's USB drivers, did not respond to our inquiries or return our calls. His only comment was "Applied, thanks." Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-09-08Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 Linus Torvalds1-6/+0
2005-09-08[PATCH] PCI: remove CONFIG_PCI_NAMESAdrian Bunk1-6/+0
This patch removes CONFIG_PCI_NAMES. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-09-08[BNX2]: Fix bug in irq handler and add prefetchMichael Chan2-3/+5
Fix bug in bnx2_interrupt() that caused an unnecessary register read. The BNX2_PCICFG_MISC_STATUS should only be read when the status tag has not changed. Add prefetch of the status block in bnx2_msi() similar to tg3_msi(). The status block is not touched in bnx2_msi() and prefetching it will speed up bnx2_poll() that will run on the same CPU that received the MSI. Update version. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-07Merge branch 'upstream' of ↵Linus Torvalds1-0/+1
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6
2005-09-07Merge branch 'upstream' of ↵Linus Torvalds25-1850/+4847
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2005-09-07Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 Linus Torvalds1-8/+17
2005-09-07[PATCH] bogus #if (smc91x.h)[email protected]1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] -Wundef fixes (hamachi)[email protected]1-0/+4
All uses of ADDRLEN are comparisons with 64 (it's an address width). added define to 32 (again, we only care about comparisons with 64) if not defined. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] s2io u64 use for uintptr_t[email protected]1-5/+5
u64 is not uintptr_t; unsigned long is... Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] Fix smsc_ircc_init return valueBrice Goglin1-0/+1
I noticed a strange return value in smsc_ircc_init in drivers/net/irda/smsc_ircc2.c in rc4-mm1. When reaching the line "if (ircc_fir > 0 && ircc_sir > 0)", ret is 0. So I don't see the point of setting it to 0 in the "else" case. >From what I see in 2.6.12 it should probably be set to -ENODEV at the begining of the "else" case. The attached patch does this. Note that I didn't actually see any breakage caused by this. Signed-off-by: Brice Goglin <[email protected]> Cc: Dmitry Torokhov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: dont use void * where specific type will doDmitry Torokhov1-6/+4
IRDA: smsc-ircc2 - do not over-use void * pointers, use specific types wherever possible. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: use netdev_priv()Dmitry Torokhov1-12/+11
IRDA: smsc-ircc2 - use netdev_priv() instead of accessing pointer directly. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: add to sysfs as platform device, new PMDmitry Torokhov1-56/+65
IRDA: smsc-ircc2 - add sysfs support (platform device and driver) and switch power management to the new scheme. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: dont pass iobase aroundDmitry Torokhov1-35/+26
IRDA: smsc-ircc2 - cleanup - do not pass around iobase, it can be retrieved from smsc_ircc_cb structure. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: remove typedefsDmitry Torokhov1-26/+13
IRDA: smsc-ircc2 - remove excessive typedefs. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: drop DIM macro in favor of ARRAY_SIZEDmitry Torokhov1-3/+2
IRDA: smsc-ircc2 - remove home-grown DIM macro, use ARRAY_SIZE intead. Also fix out-of-bound array access. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: formatting fixesDmitry Torokhov1-326/+317
IRDA: smsc-ircc2 - some formatting changes for better readability. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] smsc-ircc2: whitespace fixesDmitry Torokhov2-217/+217
IRDA: smsc-ircc2 - whitespace fixes. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Jean Tourrilhes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] 3c59x: read current link status from phyTommy S. Christensen1-0/+1
The phy status register must be read twice in order to get the actual link state. Signed-off-by: Tommy S. Christensen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[PATCH] 3c59x PM fixesRafael J. Wysocki1-1/+17
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.html Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-07[kernel-doc] fix various DocBook build problems/warningsJeff Garzik1-0/+1
Most serious is fixing include/sound/pcm.h, which breaks the DocBook build. The other stuff is just filling in things that cause warnings.
2005-09-07[wireless ieee80211,ipw2200] Lindent source codeJeff Garzik2-1355/+1321
No code changes, just Lindent + manual fixups. This prepares us for updating to the latest Intel driver code, plus gives the source code a nice facelift.
2005-09-07[wireless] build fixes after merging WE-19Jeff Garzik2-1/+2
2005-09-06[ARCNET]: Fix return value from arcnet_send_packet().Pieter Dejaeghere1-8/+17
From: Pieter Dejaeghere <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-06[PATCH] lvalues abuse in lanceAl Viro2-2/+2
result of comma operator is not an lvalue Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] airo : WE-19 supportJean Tourrilhes1-20/+21
Dan Williams already included most parts of my WE-19 patch for the airo driver in the kernel. There was just a few bits he could not do because WE-19 itself was not in the kernel. Those are the missing bits. Tested with 2.6.13 (with real HW). Signed-off-by: Jean Tourrilhes <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] prism54 : WE-17 supportJean Tourrilhes2-1/+5
My patch that adds WE-17 support to the Prism54 driver went already in the kernel, except for a tiny bit that was dropped on the way. This is the missing bit.... Tested with 2.6.13 (with real HW). Signed-off-by: Jean Tourrilhes <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] wl3501_cs : WE-17 supportJean Tourrilhes2-2/+6
wl3501_cs won't compile with WE-19. This patches fixes it. Signed-off-by: Jean Tourrilhes <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] atmel_cs : WE-17 supportJean Tourrilhes1-15/+2
This adds support for WE-17 to the atmel_cs driver. Not tested, I don't have the HW. Signed-off-by: Jean Tourrilhes <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] iw263_netwave_we17.diffJean Tourrilhes1-2/+5
This adds support for WE-17 to the netwave_cs driver. Tested with 2.6.13 (with real HW). Signed-off-by: Jean Tourrilhes <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] ray_cs : WE-17 supportJean Tourrilhes2-420/+452
This adds support for WE-17 to the ray_cs driver. Tested with 2.6.13 (with real HW). Signed-off-by: Jean Tourrilhes <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] net: fix bonding with spider_netJens Osterkamp2-6/+31
Another small update for the spidernet driver to fix a bug encountered during testing our latest hardware with dual-ethernet support. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] net: update the spider_net driverJens Osterkamp1-10/+40
- Prevent PCI posting problems by using synchronous register access in critical places - Check return value from firmware device tree functions - fix device cleanup Signed-off-by: Arnd Bergmann <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] net: add driver for the NIC on Cell BladesJens Osterkamp5-0/+2883
This patch adds a driver for a new 1000 Mbit ethernet NIC. It is integrated on the south bridge that is used for our Cell Blades. The code gets the MAC address from the Open Firmware device tree, so it won't compile on platforms other than ppc64. This is the first public release, so I don't expect the first version to get merged, but I'd aim for integration within the 2.6.13 time frame. Cc: Utz Bacher <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] __user annotations (forcedeth.c)[email protected]1-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] iseries_veth: Update copyright noticeMichael Ellerman1-0/+1
My overlords have asked me to update the copyright notice for iseries_veth. Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] missed s/u32/pm_message_t/ (dm9000)[email protected]1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] iomem annotations (ac3200.c)[email protected]1-1/+1
no need to mess with (wrong) casts for ->mem_start, when we have the original iomem pointer used to set ->mem_start in the first place... Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06[PATCH] S2io: Hardware and miscellaneous fixes[email protected]3-28/+88
Hi, This patch contains the following hardware related fixes and other miscellaneous bug fixes. 1. Updated the definition of single and double-bit ECC errors 2. Earlier we were allocating Transmit descriptors equal to MAX_SKB_FRAGS. This was causing a boundary condition failure. Need to allocate MAX_SKB_FRAGS+1 descriptors. 3. On some platforms(like PPC), pci_alloc_consistent() can return a zero DMA address. Since the NIC cannot handle zero-addresses, a workaround has been provided. Basically, we don't use such that page. We reallocate. 4. If list_info allocation failed during driver load, check for it during driver exit and return instead of trying to dereference NULL pointer. 5. Increase the debug level of few non-critical debug messages. 6. Reset the card on critical ECC double errors only in case of XframeI since XframeII can recover from such errors. 7. Print copyright message on driver load. 8. Bumped up the driver version no. to 2.0.8.1 Signed-off-by: Ravinandan Arakali <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-09-06Merge branch 'upstream' of ↵Linus Torvalds20-233/+1735
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2005-09-05[IPW2200]: ipw2200.h needs linux/dma-mapping.hDavid S. Miller1-0/+1
Signed-off-by: David S. Miller <[email protected]>
2005-09-05[TG3]: Update driver version and release date.David S. Miller1-2/+2
Signed-off-by: David S. Miller <[email protected]>
2005-09-05[TG3]: Use status tag to check for new eventsMichael Chan1-17/+15
Use the status tag to determine if there are new events in tg3_interrupt_tagged(). We discussed about this a while ago with Grant Grundler and DaveM. This scheme makes it unnecessary to clear the updated bit in the status block when using tagged mode, and only a simple comparison is needed to determine if there are new events. The tp->lock around netif_rx_complete() and tg3_restart_ints() is also removed. It is unnecessary with DaveM's new locking scheme. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-05[TG3]: Remove status block access in tg3_msi() and add prefetchesMichael Chan1-17/+11
Remove unnecessary status block accesses in tg3_msi(). Since MSI is not shared, it is unnecessary to read the status block to determine if there are any new events in the MSI handler. It is also unnecessary to clear the updated bit in the status block. Since the poll list is per-cpu, tg3_poll() will be scheduled to run on the same CPU that received the MSI. Prefetches for the status block and the next rx descriptors are added in tg3_msi() to improve their access times when tg3_poll() runs. In the non-MSI irq handlers, we need to check the status block because interrupts may be shared. Only prefetches for the next rx descriptors are added. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-05[TG3]: Add PHY loopback testMichael Chan1-20/+53
Improve ethtool loopback self test by adding PHY loopback to the existing MAC loopback test. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-05[TG3]: Add ethtool -p supportMichael Chan1-0/+33
Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-05[TG3]: Minor 5780 and 5752 fixesMichael Chan1-5/+7
Minor SerDes bug fixes for 5780S and nvram bug fixes for 5780 and 5752. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-09-05[PATCH] orinoco: New driver - spectrum_cs.Pavel Roskin3-0/+1134
Signed-off-by: Pavel Roskin <[email protected]> diff-tree dee4f325520d4ea29397dd67ca657b7235bb1790 (from c88faac230cc9775445e5c644991c352e35c72a1) Author: Pavel Roskin <[email protected]> Date: Thu Sep 1 17:46:39 2005 -0400 New driver - spectrum_cs. Driver for 802.11b cards using RAM-loadable Symbol firmware, such as Symbol Wireless Networker LA4100, CompactFlash cards by Socket Communications and Intel PRO/Wireless 2011B. The driver implements Symbol firmware download. The rest is handled in hermes.c and orinoco.c. Utilities for downloading the Symbol firmware are available at http://sourceforge.net/projects/orinoco/ Signed-off-by: Jeff Garzik <[email protected]>