Summary of changes from v2.6.11 to v2.6.12-rc1 ============================================== [PATCH] 8139too Interframe Gap Time [PATCH] 8139too: use netdev_priv Use netdev_priv where appropriate, and get rid of "can't happen anymore" assert's. Signed-off-by: Stephen Hemminger [PATCH] wireless iomem annotations and fixes, switch to io{read,write} hermes.c switched to ioread/iowrite from homegrown analogs, its users updated. Fixed direct dereferencing of ioremapped memory in orinoco_plx. Signed-off-by: Al Viro [PATCH] fealnx iomem annotations, switch to io{read,write} Signed-off-by: Al Viro [PATCH] rtl8139too.c: Fix missing pci_disable_dev From: Thomas Gleixner Simple fix to make pci_enable/disable symetric and avoid the warning on module unload. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik [PATCH] rtl8139too.c: Fix missing pci_disable_dev Simple fix to make pci_enable/disable symetric and avoid the warning on module unload. Signed-off-by: Thomas Gleixner Signed-off-by: Jeff Garzik check rc of copy_to_user (pointed out by John Cherry) fix wsize mount parm so it works to control writes allow reads bigger than 64K (although Samba does not handle them yet). Signed-off-by: Steve French (sfrench@us.ibm.com) [CIFS] Fix set of mount option rsize so it can be set above negotiated buffer size. Signed-off-by: Steve French (sfrench@us.ibm.com) [CIFS] Enable reads over 64K by setting large read and write capability at SMB session negotiation Signed-off-by: Steve French (sfrench@us.ibm.com) [CIFS] Fix whitespace Signed-off-by: Steve French (sfrench@us.ibm.com) [CIFS] Fix default mode on cifs module parms in sysfs Pointed out by Domen Puncer Signed-off-by: Steve French (sfrench@us.ibm.com) [PATCH] smc-mca iomem annotations and isa-ectomy switched to ioremap + normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] smc-ultra iomem annotations + isa-ectomy switched to ioremap + normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] smc-ultra32 iomem annotations + isa-ectomy switched to ioremap + normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] wd iomem annotations + isa-ectomy switched to ioremap + normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] ewrk3 iomem annotations + isa-ectomy switched to ioremap + normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] es3210 iomem annotions and isa-ectomy switched to ioremap + normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] arcnet: remove casts Remove casts of (void *) pointers. drivers/net/arcnet/arc-rawmode.c | 4 ++-- drivers/net/arcnet/arc-rimi.c | 14 +++++++------- drivers/net/arcnet/arcnet.c | 30 +++++++++++++++--------------- drivers/net/arcnet/com20020.c | 6 +++--- drivers/net/arcnet/com90io.c | 4 ++-- drivers/net/arcnet/com90xx.c | 8 ++++---- drivers/net/arcnet/rfc1051.c | 8 ++++---- drivers/net/arcnet/rfc1201.c | 12 ++++++------ 8 files changed, 43 insertions(+), 43 deletions(-) Signed-off-by: Domen Puncer Signed-off-by: Jeff Garzik Enable bus mastering before saving our state, or we'll only be able to load the modules one time. Signed-off-by: David Dillow Teach typhoon to use port IO on machines that need it. It will attempt to use MMIO, but if that fails (or the user asks), it will fallback to port IO. Signed-off-by: David Dillow Use module_param() and add descriptions. Signed-off-by: David Dillow Fixup the version reporting to match 3Com. Signed-off-by: David Dillow Version 03.001.008 of the Typhoon firmware, courtesy of 3Com. Fixes various crypto bugs on the 3CR990B family, among other issues. Signed-off-by: David Dillow Bump version and release date. Signed-off-by: David Dillow kallsyms: gate page patch breaks module lookups >Your recent patch looks to break module kallsyms lookups.... >It looks like if CONFIG_KALLSYMS_ALL is set then we never look up module >addresses. Separate lookups for kernel and modules when CONFIG_KALLSYMS_ALL=y. Signed-off-by: Keith Owens Signed-off-by: Sam Ravnborg [PATCH] net/act2001-sir: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/irtty-sir: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/ma600-sir: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/xirc2ps_cs: replace Wait() with msleep() Any comments would be appreciated. Description: Use msleep() instead of Wait() to guarantee the task delays as expected. Remove definition of Wait(). Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/sir_dev: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/ni65: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/ns83820: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/tekram-sir: replace schedule_timeout() with msleep() Any comments would be appreciated. Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer [PATCH] net/ewrk3: replace schedule_timeout() with msleep_interruptible() Any comments would be, as always, appreciated. -Nish Description: Uses msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer JFS: base static allocations on physical memory size On larger systems, performance is improved with a larger allocation of tlocks & tblocks. Base the default size of these allocations on the physical memory size. Signed-off-by: Dave Kleikamp [netdrvr mv643xx] This patch removes code that is redundant or useless. The biggest area is in pre-initializing the RX and TX descriptor rings, which only obfuscates the driver since the ring data is overwritten without being used. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch removes spin delays (count to 1000000, ugh) and instead waits with udelay or msleep for hardware flags to change. It also adds a spinlock to protect access to the MV64340_ETH_SMI_REG, which is shared across ports. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch fixes the code that enables hardware checksum generation. The previous code has so many problems that it appears to never have worked 2.6. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch replaces the use of the pci_map_* functions with the corresponding dma_map_* functions. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch adds device driver model support to the mv643xx_eth driver. This is a change to the driver's programming interface. Platform code must now pass in the address of the MV643xx ethernet registers and IRQ. If firmware doesn't set the MAC address, platform code must also pass in the MAC address. Also, note that local MV_READ/MV_WRITE macros are used rather than using global macros. Keeping the macro names minimizes the patch size. The names will be changed to mv_read/mv_write in a later cosmetic cleanup patch. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch adds support for passing additional parameters via the platform_device interface. These additional parameters are: size of RX and TX descriptor rings port_config value port_config_extend value port_sdma_config value port_serial_control value PHY address Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch makes the use of the MV64340_RX_QUEUE_FILL_ON_TASK config macro more consistent, though the macro remains undefined, since the feature still does not work properly. Signed-off-by: Steven J. Hill Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This patch simplifies the mv64340_eth_set_rx_mode function without changing its behavior. Signed-off-by: Dale Farnsworth [CIFS] remove old cifs_readdir routine Signed-off-by: Steve French (sfrench@us.ibm.com) [CIFS] get rid of tcp peek usage on cifs socket. Makes more sense to read normally first four bytes off the socket (then read the rest of the frame) rather than peek first few bytes then read because we were having to retry the peek multiple times when peek would return less than four bytes and four bytes is the minimum we ever get. Signed-off-by: Steve French (sfrench@us.ibm.com) [CIFS] Fix length check for short smbs in cifs demultiplexing and remove unneeded debug messages Signed-off-by: Steve French (sfrench@us.ibm.com) ALSA CVS update PCM Midlevel Sumary: Fix comment of snd_pcm_lib_malloc_pages() Fixed comment of snd_pcm_lib_malloc_pages() by Kirill Smelkov . Signed-off-by: Takashi Iwai [ALSA] Fix typos in doc Documentation Fixed typos in the document by Kirill Smelkov Signed-off-by: Takashi Iwai [ALSA] fix typo Documentation Signed-off-by: Clemens Ladisch [ALSA] Fix struct alignment on PPC64 IOCTL32 emulation Fixed the struct size mismatch (due to alignment) of snd_ctl_elem_value_t for PPC64. Signed-off-by: Takashi Iwai [ALSA] Add missing FORWARD ioctl IOCTL32 emulation Added the missing FORWARD ioctl. Signed-off-by: Takashi Iwai [ALSA] Fix struct size mismatch IOCTL32 emulation Fixed the struct size mismatch - should work on SPARC64 now, too. Signed-off-by: Takashi Iwai [ALSA] Show firmware loading state in proc file Digigram VX core Show the firmware loading state in proc file. Signed-off-by: Takashi Iwai [ALSA] Fix compilation on big-endian arch RME HDSP driver Fixed typo in the code for big-endian architectures. Signed-off-by: Takashi Iwai [ALSA] AC'97 Audio support for Intel ICH7 Intel8x0 driver This patch adds the ICH7 AC'97 DID the the intel8x0.c AC'97 audio driver. This patch was build against 2.6.11-rc1. Signed-off-by: Jason Gaston Signed-off-by: Takashi Iwai [ALSA] Fix silent output on some machines with AD1981x codecs AC97 Codec Fixed the default state of 'Headphone Jack Sense' switch on AD1981x codecs. Setting this on affects the output of some machines (e.g. Thindpads). The default value is set on only hardwares which are known to work. Signed-off-by: Takashi Iwai [ALSA] don't use broken legacy interfaces on M-Audio Quattro/Omnistudio USB generic driver Interfaces 0-2 of M-Audio Quattro/Omnistudio devices duplicate functionality of interfaces 3-5 and cause errors when used with those. Add a quirk to tell the driver not to use them. Signed-off-by: Clemens Ladisch [ALSA] AK4117 code - fixed cosmetic typos AK4117 receiver Signed-off-by: Jaroslav Kysela [ALSA] Add support for Chaintech 9CJS ICE1712 driver Added the support for Chaintech 9CJS by Delmaire Maxime. Signed-off-by: Takashi Iwai [ALSA] Add workaround for buggy ATI IXP hardwares ATIIXP-modem driver Added a workaround for buggy ATI IXP hardwares which returns bogus DMA pointer register value. Signed-off-by: Takashi Iwai [ALSA] Add missing inclusion of linux/device.h Digigram VX core,Digigram VX222 driver,Digigram VX Pocket driver Added the missing inclusion of Signed-off-by: Takashi Iwai [ALSA] Simplify the general ac97 volume/switch callback AC97 Codec Simplified the control callbacks of general AC97 volumes/switches. Signed-off-by: Takashi Iwai [ALSA] Add quirk for HP pavilion ZV5030US ATIIXP driver Added ac97 quirk for HP Pavilion ZV5030US to bind the control with mute-LED. Signed-off-by: Takashi Iwai [ALSA] Add quirk for HP nc8000 Intel8x0 driver Added ac97 quirk for HP nc8000. The list is sorted again. Signed-off-by: Takashi Iwai [ALSA] Enable HP jack sense for FSC Scenic-W AC97 Codec Enable 'Headphone Jack Sense' control on FSC Scenic-W as default, too. Signed-off-by: Takashi Iwai [ALSA] Add Intel HDA driver Documentation,PCI drivers,HDA generic driver,HDA Codec driver HDA Intel driver Added a new Intel High-Definition audio driver. The driver consists of two separate modules: the generic support module for HD codecs (snd-hda-codec), and the driver for Intel ICH6/7 chipset (snd-hda-intel). The snd-hda-intel was called formerly snd-azx in the ALSA 1.0.8 rlease. Signed-off-by: Takashi Iwai [ALSA] unlocked/compat_ioctl rewrite for control API Control Midlevel ioctl handler for control API is rewritten using unlocked/compat_ioctl. The 32bit wrapper is merged to the core module. Added a new register/unregister function for compat control ioctls. Signed-off-by: Takashi Iwai [ALSA] unlocked/compat_ioctl rewrite for PCM API PCM Midlevel The ioctl handler for PCM API is rewritten using unlocked/compat_ioctl. The 32bit wrapper is merged to the core module. Signed-off-by: Takashi Iwai [ALSA] unlocked/compat_ioctl rewrite for hwdep, rawmidi, timer and sequencer API HWDEP Midlevel,RawMidi Midlevel,Timer Midlevel,ALSA sequencer The ioctl handler for hwdep, rawmidi, timer and sequencer API are rewritten using unlocked/compat_ioctl. The 32bit wrapper is merged to the core module. Signed-off-by: Takashi Iwai [ALSA] unlocked/compat_ioctl rewrite for OSS compatible drivers ALSA<-OSS emulation,ALSA<-OSS sequencer The ioctl handlers for OSS compatible drivers are rewritten using unlocked/compat_ioctl. Signed-off-by: Takashi Iwai [ALSA] Export new register/unregister functions ALSA Core Export new register/unregister functions for compat control-ioctls. Signed-off-by: Takashi Iwai [ALSA] Remove snd-ioctl32 entry ALSA Core Remove the entry for snd-ioctl32. The 32bit wrapper is built in the core module. Signed-off-by: Takashi Iwai [ALSA] Use DEFINE_SPINLOCK(), DEFINE_RWLOCK() macros ALSA Core,PCM Midlevel,Timer Midlevel,ALSA sequencer ALSA<-OSS sequencer Replace spin/rwlock definitions with DEFINE_SPINLOCK() and DEFINE_RWLOCK() macros. Signed-off-by: Takashi Iwai JFS: fix livelock waiting for stale metapage Several waitors were keeping mp->count from going to zero, so we would never release the page. Simplify the logic by doing a busy wait without locking the metapage. Signed-off-by: Dave Kleikamp JFS: add missing include This is why it's a good idea to compile & test before checking in the code. Signed-off-by: Dave Kleikamp JFS: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. The current code uses TASK_INTERRUPTIBLE; however, it does not check for signals, so I do not think the change to msleep() is necessarily bad. Signed-off-by: Nishanth Aravamudan Signed-off-by: Dave Kleikamp [ALSA] remove obsolete sound/core/ioctl32 directory The compatibility layer is integrated to ALSA midlevel code now. [SOCK] make sk_alloc use kmalloc for non performance critical families With this we can have aggregate protocol specific struct proto_sock allocated for non performance critical protocols. We still check for slab == NULL && zero_it == 1 to allocate from the generic "sock" slab cache, but this will be removed when all the network families stop using sk_protinfo, when the generic "sock" slab cache will be removed. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [APPLETALK] stop using sk_protinfo Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [DECNET] Don't use sk_protinfo + private sock slab cache DecNET already uses a private sock slab cache, but initializes sk->sk_protinfo, pointing to (sk + 1), this is wrong because at sk_free time we call sk->sk_destruct, that by default points to sock_def_destruct, that does a kfree on sk->sk_protinfo, since it was initialized at net_proto_family->create() time (dn_create), but in decnet sk_protinfo was not kmalloced, it was allocated piggybacked to struct sock. This doesn't causes problems because decnet sets sk->sk_destruct to a custom function that doesn't calls kfree(sk->sk_protinfo), but to reach a long time goal of killing sk_protinfo lets just make DN_SK return sk + 1. I left merging dn_scp with dn_sock for later, as the current state suits my needs to introduce connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [AF_PACKET] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [ECONET] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [NETLINK] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [X25] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [PF_KEY] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [LLC] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [IRDA] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [PPPOX] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [ATM] stop using sk_protinfo Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller [CIFS] misc cleanup - compare pointers to NULL not zero Signed-off-by: Steve French (sfrench@us.ibm.com) [ALSA] add more Yamaha USB MIDI quirks USB generic driver add support for Yamaha UC-MX, UC-KX, CLP-175, SPX2000 Signed-off-by: Clemens Ladisch [ALSA] fix usage of preprocessor directive inside macro HDA Intel driver gcc-2 complains about preprocessor directives inside a macro argument list Signed-off-by: Clemens Ladisch [ALSA] Warning doc about VIA82xx recording Documentation Add warning about the consequences of adjusting the 'Input Source Select' of VIA82xx. Signed-off-by: Ross Kendall Axe Signed-off-by: Takashi Iwai [ALSA] Special AC97 patch for ASUS W1000/CMI9739 laptop AC97 Codec This patch fixes sound output on the ASUS W1000 laptop with the CMI9739 chip. It wrongly reports that it has a SPDIF in, when in fact we wish to use the EAPD pin. Signed-off-by: James Courtier-Dutton Signed-off-by: Takashi Iwai [ALSA] replace schedule_timeout() with msleep() RawMidi Midlevel Use msleep instead of schedule_timeout() to guarantee the task delays as expected. This also removes a dependence on the value of HZ. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] replace schedule_timeout() with msleep() Digigram VX core Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] insert set_current_state() before schedule_timeout() GUS Library Insert set_current_state() before schedule_timeout(). Without the insertion, schedule_timeout() returns immediately. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] replace schedule_timeout() with msleep_interruptible() GUS Library Use msleep_interruptible() instead of custom wait code involving schedule_timeout() to guarantee the task delays as expected. This also removes a dependence on the value of HZ. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] insert set_current_state() before schedule_timeout() Wavefront drivers Insert set_current_state() before schedule_timeout(). Without the insertion, schedule_timeout() returns immediately, resulting in an effective busy-wait. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] replace schedule_timeout() with msleep() EMU8000 driver Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Takashi Iwai [CIFS] Add support for updating Windows NT times/dates (part 1) Signed-off-by: Steve French (sfrench@us.ibm.com) [ALSA] Removed file added by mistake Removed include/sound/version.h~ [netdrvr mv643xx] This patch cleans up the handling of receive skb sizing. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] With this patch, the driver now calls netif_carrier_off/netif_carrier_on on a link down/up condition. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Add support for PHYs/boards that don't support autonegotiation. Signed-off-by: Brian Waite Signed-off-by: Dale Farnsworth [netdrvr mv643xx] This one liner removes a spurious left paren fixing an obvious syntax error in the #ifndef MV64340_NAPI case [netdrvr mv643xx] Add a function to detect at runtime whether a PHY is attached to the specified port, and use it to cause the probe routine to fail when there is no PHY. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Run mv643xx_eth.[ch] through scripts/Lindent Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Additional whitespace cleanups, mostly changing spaces to tabs in comments [netdrvr mv643xx] Rename MV_READ => mv_read and MV_WRITE => mv_write Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Big rename. Change MV64340 => MV643XX and mv64340 => mv643xx Signed-off-by: Dale Farnsworth [PATCH] net/cs89x0: replace schedule_timeout() with msleep() Hi, Description: The existing wait is in TASK_INTERRUPTIBLE, but does not check for signals (especially problemtic for a 30 msec wait!) as being a cause for schedule_timeout()s return. Use msleep() instead, to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jeff Garzik [PATCH] net/airo: replace schedule_timeout() with msleep()/ssleep() Hi, Description: Use msleep()/ssleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jeff Garzik [PATCH] net/cosa: replace schedule_timeout() with msleep() Hi, Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Also uses the set_current_state() macro instead of direct assignment in a pair of spots. I am still concerned about those sleeps, as TASK_INTERRUPTIBLE() is used without any checking for signals. Hence I used msleep() for the longer delay. Perhaps the 30 jiffy delay has not been updated for the larger HZ values and thus could be changed to msleep(300). Signed-off-by: Nishanth Aravamudan Signed-off-by: Jeff Garzik [PATCH] pcnet32: 79c976 with fiber optic fix After testing this patch I agree that it should be applied. The one change I made was to print the device name (ethN) instead of 'pcnet32'. Tested ia32. From: Guido Guenther , Lars Munch Skip PHY selection on Allied Telesyn 2701FX, it looses the link otherwise. Fix up the AT 2700FX as well. Signed-Off-By: Guido Guenther Signed-off-by: Andrew Morton signed-off-by: Don Fry Signed-off-by: Jeff Garzik [PATCH] ibmtr 1/2: iomem annotations - trivial part Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] ibmtr 2/2: ibmtr annotations - the rest The rest of annotations and cleanup: ->sram_virt abuse removed, we have separate ->sram_phys now (not remapped) and keep ->sram_virt an iomem pointer. Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] sis900: add infrastructure needed for standard netif messages Infrastructure needed for standard netif messages - add msg_level to sis900_private - define default msg level - set default value for sis900_debug Update module parameter description Ethtool support for debugging output level Signed-off-by: Daniele Venzano Signed-off-by: Jeff Garzik [PATCH] sis900: version bump; remove broken URL Version bump Remove broken link to documentation Signed-off-by: Daniele Venzano Signed-off-by: Jeff Garzik [PATCH] sis900 printk audit Change priority of printk where appropriate Remove two cryptic and useless printk Signed-off-by: Daniele Venzano Signed-off-by: Jeff Garzik [PATCH] sis900: debugging output update Add some init debugging printk Use netif_msg macros before printing debug messages Signed-off-by: Daniele Venzano Signed-off-by: Jeff Garzik [PATCH] sis900: chiprev i/o cleanups Chip revision is now a member of sis_priv structure Kill all calls to pci_read_config_byte but one Change the code to use sis_priv->chipset_rev Signed-off-by: Daniele Venzano Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in the 3c515 driver Use netdev_priv in the 3c515 driver. Signed-off-by: Steffen Klassert Signed-off-by: Jeff Garzik [PATCH] Add MODULE_VERSION to the 3c515 driver Add MODULE_VERSION to the 3c515 driver. Signed-off-by: Steffen Klassert Signed-off-by: Jeff Garzik [PATCH] sk_mca - netdev_priv() Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] sk_mca - iomem and isa-ectomy usual isa-ectomy and iomem annotations Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] ibmlana part 1 (netdev_priv()) switched to netdev_priv() Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] ibmlana part 2 (iomem annotations and isa-ectomy) the usual switch to ioremap and normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] 3c503 (iomem + isa-ectomy) switch to ioremap() and normal iomem access primitives Signed-off-by: Al Viro Signed-off-by: Jeff Garzik [PATCH] prism54: use NULL for pointer Use NULL instead of 0 for pointer: drivers/net/wireless/prism54/isl_ioctl.c:1753:16: warning: Using plain integer as NULL pointer drivers/net/wireless/prism54/isl_ioctl.c:1753:26: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik Move MII-related constants from b44/tg3 drivers to linux/mii.h. [PATCH] Au1000 driver updates o mii-tool support o MAC address memcpy fix o VLAN support Signed-off-by: Jeff Garzik [PATCH] Remove Baget network driver Remove the support for Baget, a Russian embedded system suffering from bitrot for way too long. Signed-off-by: Jeff Garzik [PATCH] IOC3 driver updates o Fix build if CONFIG_SERIAL_8250 is disabled. o Add support for setting the MAC address via ifconfig o Generally try to pretend we're a better PCI citizen than the broken piece of silicon that the IOC3 is actually is. Signed-off-by: Jeff Garzik [PATCH] Jazzsonic driver updates o Resurrect the Jazz SONIC driver after years of it not having been tested o Convert from Space.c initialization to module_init / platform device. Signed-off-by: Jeff Garzik [PATCH] Marvell MV-64340 driver upda o Momentum Ocelot 3 also features a MV-64340 o Momentum Jaguar ATX does not need the special casing in the driver. Signed-off-by: Jeff Garzik [PATCH] Meth driver updates General driver updates, now approaching reliability of some definition. Signed-off-by: Jeff Garzik [PATCH] S2IO syntax fixes Syntactic nitpicking - C wants a space between the "include" and "<" just gcc happens to be tollerant. Signed-off-by: Jeff Garzik [PATCH] SB1250 driver updates o Fix initialization of internal sbmac eth1 o Clean up comments o Add in new module parameter handling o Fix printing of device name before register_netdevice Signed-off-by: Jeff Garzik [PATCH] SGI Seeq updates o Support for setting the MAC address o Make some sort of attempt at dealing with multicast in order to support IPv6 etc. The Seeq 8003 was built in the assumption nobody was ever going to need multicast, it seems. Signed-off-by: Jeff Garzik Fix bugs generating and parsing ConfigROMs with Extended ROM entries. Signed-off-by: Steve Kinneberg Signed-off-by: Jody McIntyre Fix bug where 4 times Extended ROM Leaf size would be read when parsing in csr1212. Added NULL check for csr1212_rom_cache_malloc return value. Signed-off-by: Steve Kinneberg Signed-off-by: Jody McIntyre Fix buffer overflow in csr1212.c. Signed-off-by: Steve Kinneberg Signed-off-by: Jody McIntyre Use wmb() to make sure things get flushed before setting the wakup bit. Signed-off-by: Ben Collins Submitted-by: Keith Bengston Signed-off-by: Jody McIntyre Fix GCC 3.4 compile error with inline keyword in function prototype. Signed-off-by: Adrian Bunk Signed-off-by: Steve Kinneberg Signed-off-by: Jody McIntyre kbuild: Makefile.lib - small cleanup Combine duplicate code in two smaller 'functions' Signed-off-by: Sam Ravnborg fix nodemgr parsing subdirectories in unit directory and tiny bugfix in sbp2 unit directory parsing (for PowerFile) Signed-off-by: Jody McIntyre kbuild: Introdude KBUILD_NOCMDDEP When tossing around with different gcc compilers there is no way to tell kbuild to ignore the new name of the compiler. The new option KBUILD_NOCMDDEP tell kbuild not to check the commandline for changes. This should be used with care because the resulting kernel may become inconsistent if one part is build with 2.96, and another part build with 3.3.4. So use only when you know what you are doing. Syntax: make KBUILD_NOCMDDEP=1 Original request for this feature came from hpa. Signed-off-by: Sam Ravnborg kbuild arch/i386: make install no longer check vmlinux make install is often executed as root or on a different mechine via NFS To avoid updating vmlinux due to directory changes or similar the install target for i386 no longer has vmlinux as a prerequisite. Now modules_install and install are aligned in this respect. Signed-off-by: Sam Ravnborg kbuild: default value for INSTALL_PATH set to /boot Most architectures uses /boot for there kernel image, so let this be reflected by the kernel. If INSTALL_PATH shell variable is set then this will have effect. If INSTALL_PATH is set one the commanline to make like this: make INSTALL_PATH=/nfs/boot install then this will override both kbuild and shell variable. If an arch prefer another default this must be set in the arch Makefile Signed-off-by: Sam Ravnborg kbuild: (trivial) spelling fix in comment in Makefile From: John Kacur Signed-off-by: Sam Ravnborg kbuild: add '--extra=+f' to ctags in Makefile in order to search for file names From: John Kacur Signed-off-by: Sam Ravnborg kbuild: Warn when building external modules without modversions This adds a warning when building external modules (M= or SUBDIRS= syntax) and there is no Module.symvers in the object tree. A missing Module.symvers is a clear sign that the kernel tree itself was never compiled. The resulting modules will work, but no symbol version information will be attached to kernel symbols the module uses (because that information comes from Module.symvers), and so the module will be more unsafe. Futhermore the external module will not record what other modules it is depended on. The test works with CONFIG_MODVERSIONS enabled or disabled. Signed-off-by: Andreas Gruenbacher Signed-off-by: Sam Ravnborg kbuild: Nicer printout when Module.symvers is missing Signed-off-by: Sam Ravnborg kbuild: Dont include absolute filenames in binaries The kbuild utilities are compiled with absolute patch names, so paths starting with $RPM_BUILD_ROOT would end up in the binaries. To avoid this, remove all references to __FILE__ (directly and indirectly via assert()). Signed-off-by: Andreas Gruenbacher Signed-off-by: Sam Ravnborg kernel/configs.c: make a variable static This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk Acked-by: Randy Dunlap Signed-off-by: Sam Ravnborg kallsyms: kallsyms.c - make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg kbuild: update scripts/namespace.pl The patch below removes some false positives I've observed. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg kbuild: make 'make help' show all *config targets and update descriptions slightly. "make help" doesn't show "make randconfig" nor "make config" as options and the description of oldconfig could be better (IMHO). Patch below adds the missing targets to the help and updates the description of oldconfig. Signed-off-by: Jesper Juhl Signed-off-by: Sam Ravnborg The wrong version of the parmtype patch was merged, incompletely, and the part that got merged got broken on the way. Here are the fixes: Move __MODULE_INFO to modparam.h: This macro is used in modparam.h; there are users who include this header but not module.h. The latter includes modparam.h already. __MODULE_INFO(parmtype, name##type, #name ":" #type) does not evaluate to __MODULE_INFO(parmtype, footype, "foo:int") as was the idea, but to __MODULE_INFO(parmtype, fooint, "foo:int") when type is bound to int. In more complicated cases, we get syntax erros. Re-introduce the __MODULE_PARM_TYPE macro; this is cleaner than renaming the type parameter. Add the parmtype definition which was dropped during the merge to to the obsolete but still heavily used MODULE_PARM macro. Signed-off-by: Andreas Gruenbacher Signed-off-by: Sam Ravnborf Christoph Hellwig: avoid obsolete scsi APIs in sbp2 Signed-off-by: Jody McIntyre Olaf Hering: Fix sw-suspend issue sw-suspend does not work with our kernel. khpsbpkt will die because down_interruptible returns -EINTR on suspend. As a result, hpsb packet delivery will not work anymore after resume. Signed-off-by: Jody McIntyre This patch makes sure we check the return value of copy_to_user() in drivers/ieee1394/raw1394.c::raw1394_read() with the added bonus of silencing this warning: include/asm/uaccess.h: In function `raw1394_read': drivers/ieee1394/raw1394.c:446: warning: ignoring return value of `__copy_to_user', declared with attribute warn_unused_result I've submitted this before, but never got an ACK or NACK, and the patch is still relevant against latest Linus bk (2.6.10-rc2-bk11 atm). Signed-off-by: Jesper Juhl Signed-off-by: Jody McIntyre From Stefan Richter: In trunk/ohci1394.c, duplicate code has slipped in which sets max_packet_size to 512 and prints a log notice. See "Serial EEPROM Sanity check" further down in ohci_initialize(). Since the latter code is more appropriate, the former is deleted by the attached patch. Signed-off-by: Jody McIntyre Damien Douxchamps: I have tested and updated a patch from Randy Dunlap that fixes missing entries in the modules.ieee1394map file. The patch is against latest SVN (1234). The patch adds the following entries for IIDC cameras that would not be detected otherwise: video1394 0x0000000c 0x000000 0x000000 0x00a02d 0x000101 video1394 0x0000000c 0x000000 0x000000 0x00a02d 0x000102 raw1394 0x0000000c 0x000000 0x000000 0x00a02d 0x000101 raw1394 0x0000000c 0x000000 0x000000 0x00a02d 0x000102 This is necessary because the IIDC consortium interpreted the 1394 specifications differently. They have been summoned by the 1394TA to change their numbering policy so that these entries are final and will not grow forever in number. Signed-off-by: Jody McIntyre Fixes a bug in the channel reservation : If dma resources allocation fails, the channel was not freed. I fixed that by marking the channel allocated after the dma resources allocation succeeded. Also changed the error return value from ioctl. Signed-off-by: Philippe De Muyter Signed-off-by: Dan Dennedy Signed-off-by: Jody McIntyre Change some variables and functions that were needlessly global static. Removes several functions that weren't used anywhere in the kernel. Removes many unnecessary EXPORT_SYMBOL's. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre Some Lindent cleanup (most removed to its own patch by scjody) Adds basic sysfs support for udev etc. Signed-off-by: Daniel Drake Signed-off-by: Jody McIntyre Cleanup with Lindent. Signed-off-by: Jody McIntyre Move simple class to ieee1394 core and register as /sys/class/ieee1394_protocol. Add sysfs/udev support to video1394 and dv1394 using simple class ieee1394_protocol. Signed-off-by: Dan Dennedy Signed-off-by: Jody McIntyre Dan Dennedy: Ignore any return value from devfs since it is non-critical, and a EEXIST return prevents the module from loading! Signed-off-by: Jody McIntyre This closes a small vmalloc leak on insmod/rmmod. Signed-off-by: Jim Radford Signed-off-by: Jody McIntyre We need to update the old csr1212 cache's bus generation after a bus reset once we decide it is still valid. Closes a vmalloc leak on *every* bus reset. Signed-off-by: Jim Radford Signed-off-by: Jody McIntyre Sets the sendtime of a packet _before_ adding it to pending_packet_queue, to prevent premature expiry (which leads to "unsolicited response packet" errors, among other things). Signed-off-by: Jody McIntyre dma.c vfree() checking cleanups. Signed-off by: James Lamanna Signed-off-by: Domen Puncer Signed-off-by: Jody McIntyre Fixed removal of old partial datagrams. Since max_partial_datagrams can be changed at runtime, there may be _more_ than max_partial_datagrams in the list. Also removed obsolote comment. Signed-off-by: Jody McIntyre Bugfix for Logical Unit Number in unit directory -- popular with multi-bay enclosures -- while not breaking Logical Unit Directory. Signed-off-by: Dan Dennedy Signed-off-by: Jody McIntyre Dan Dennedy: bugfix for logical unit directory lun number Signed-off-by: Jody McIntyre Adds a disable_irm option to ieee1394.ko which disables all Isochronous Resource Manager functionality, useful to work around certain problems, e.g. iPod detection. Signed-off-by: Jody McIntyre Dan Dennedy: reorganise LUN handling to resolve oops Signed-off-by: Jody McIntyre [PATCH] kbuild: Use -Wno-pointer-sign for gcc 4.0 Compiling an allyesconfig kernel straight with a gcc 4.0 snapshot gives nearly 10k new warnings like: warning: pointer targets in passing argument 5 of `cpuid' differ in signedness Since the sheer number of these warnings was too much even for the most determined kernel janitors (I actually asked ;-) and I don't think it's a very serious issue to have these mismatches I submitted an new option to gcc to disable it. It was incorporated in gcc mainline now. This patch makes the kernel compilation use it. There are still quite a lot of new warnings with 4.0 (mostly about uninitialized variables), but the compile log looks much nicer nnow. Signed-off-by: Andi Kleen Signed-off-by: Sam Ravnborg [PATCH] kbuild: no redundant srctree in tags file Avoid cluttering the tags/TAGS generated file with $(srctree) in the paths if this is not needed. This has two advantages: - Saving about 20M on the size of the resulting tags file (which are used currently to store the absolute path of the file names rather than the relative one) when KBUILD_OUTPUT is not set. - Keeping the tags file valid when the directory is renamed. No change is done for who does make tags O=..., if this is wanted (I would find that incommodous and non-typical for a developer, but anyway I've not ruined functionality in that case). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg [PATCH] kbuild: fix for i386 cross compile I used to be be able to cross compile for i386 on my x86_64 machine, but recently something (gcc/binutils?) changed, and it stopped working. Following patch makes cross compile work with: make ARCH=i386 CFLAGS_KERNEL="-m32" AFLAGS_KERNEL="-m32" bzImage Without the patch I'm getting the following error: SYSCALL arch/i386/kernel/vsyscall-syms.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: Relocatable linking with relocations from format elf32-i386 (arch/i386/kernel/vsyscall-sysenter.o) to format elf64-x86-64 (arch/i386/kernel/vsyscall-syms.o) is not supported collect2: ld returned 1 exit status Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg [PATCH] kbuild: skip depmod if not executable I've cross-compiled Linux on i386-netbsdelf2.0 for arm-linux for quite some time now and everything seems to be working perfectly except for one minor glitch in the build process that halts module installation (needlessly, IMHO). Specifically, if System.map exists $(DEPMOD) is run ("for convenience" as the comment says in the Makefile). However, on NetBSD I don't have $(DEPMOD) available so the command fails and make exits with non-zero exit status. Please consider the attached patch to add a check for $(DEPMOD) so that missing $(DEPMOD) won't halt the whole build process. From: Tero Niemela Signed-off-by: Sam Ravnborg Fix revisions to match svn Signed-off-by: Jody McIntyre Fix whitespace/indenting to match SVN. Signed-off-by: Jody McIntyre Dan Dennedy: change allocation to GPF_ATOMIC to fix timing issue when this is called from raw1394.c:arm_register(). Signed-off-by: Jody McIntyre Fix PCILynx bus resets. Signed-off-by: Ben Collins Signed-off-by: Jody McIntyre Update ieee1394 maintainers. Signed-off-by: Jody McIntyre pcilynx.c: pcilynx: reduce stack usage in add_card(), from 800 to 308 bytes (on i386), by dynamically allocating struct i2c_adapter i2c_adapter; /* 492 bytes */ Signed-off-by: Randy Dunlap Signed-off-by: Jody McIntyre [PATCH] Use netdev_priv in YAM driver o Convert the YAM driver to use netdev_priv(). o If dev is valid there is no point in checking netdev_priv()'s return value for being NULL. o Fix build warning. Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in mkiss driver Convert the mkiss driver to use netdev_priv(). Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in bpqether driver Convert the bpqether driver to use netdev_priv(). Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in baycom_par driver Eleminate the last remaining instance of a direct reference to the priv member of struct net_device. This was debug code only, so use BUG_ON() instead of printk. Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in baycom_ser_hdx driver Eleminate the last remaining instance of a direct reference to the priv member of struct net_device. This was debug code only, so use BUG_ON() instead of printk. Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in hdlcdrv driver Eleminate the last remaining instance of a direct reference to the priv member of struct net_device. The paranoia check code of the same type that has been eleminated from many other drivers, so do this here also. Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in baycom_ser_fdx driver Eleminate the last remaining instance of a direct reference to the priv member of struct net_device. This was debug code only, so use BUG_ON() instead of printk. Signed-off-by: Jeff Garzik [PATCH] Use netdev_priv in baycom_epp driver Eleminate the last remaining instance of a direct reference to the priv member of struct net_device. The paranoia check code of the same type that has been eleminated from many other drivers, so do this here also. Signed-off-by: Jeff Garzik [PATCH] Reformat DMASCC driver Feed dmascc through indent, remove the RCS $Id string. Signed-off-by: Jeff Garzik [PATCH] remove dp83840.h dp83840.h is included once but none of the definitions it contains is actually used. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik [PATCH] remove bogus exports in ppp From: Paul Mackerras Remove unnecessary exports from ppp_generic.c. Signed-off-by: Christoph Hellwig Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik [PATCH] ray_cs: reduce stack usage (sockaddr) Signed-off-by: Jeff Garzik [PATCH] eepro100 kill obsolete ifdefs pci layer should provide enough dummy functions for such ugly hacks to be unneccessary these days. Please apply, Signed-off-by: Pavel Machek Signed-off-by: Jeff Garzik [PATCH] smc91x: allow RX of VLAN packets This patch allows for VLAN packets to be received. The initial patch was from Andrew de Quincey. While there, it also adds a test against an impossible hardware state in theory but that happened in practice where the chip returns a packet length of 0 which, once the status words have been substracted, causes the transfer of data with a negative length. Flaky hardware is probably to blame here but better guard ourselves against that than crashing the kernel. David Brownell was the happy victim of such hw. Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik [PATCH] use datacs in smc91x driver From: Ian Campbell Below is a patch to support the second 32-bit DATACS chipselect in the smc91x driver to transfer data. Support is enabled by adding a resource to the platform device named 'smc91x-data32'. My platform has a 16-bit chip select for the primary IO region and no DMA. I found that throughput went from roughly 50mbit/s to 80mbit/s. I tested by throwing UDP packets at it using mgen (9000 packets/second with UDP payload of 1472 bytes is roughly 100mbit/s, I think) and counting the packets received in 60s, I then did the same for transmitting. The measurements are very rough but the improvement seems fairly significant to me. Patch was compiled for lubbock and neponset and compiled and tested on my PXA platform. Signed-off-by: Ian Campbell Signed-off-by: Nicolas Pitre Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik 1394 uses skbs, so select NET. kbuild: Fix debugging leftover So now check for commandline options actually works again. Signed-off-by: Sam Ravnborg prismtech: Avoid recompile when changing compile dir -I$(PWD) is superflous - and caused absolute path to be stored in build command - this casuses recompile when using symlink to kernel. Also deleted commented out -DCONFIG_PRISM_WDS. CONFIG_PRISM_WDS are not present in any of the source files. Signed-off-by: Sam Ravnborg [IPV4]: Splitting of ip_route_{in,out}put_slow(). From: Einar Lueck This patch splits up ip_route_[in|out]put_slow in inlined functions. Basic idea: * improve overall comprehensibility * allow for an easier application of patch for improved multipath support Signed-off-by: David S. Miller Re-added Ben Collins to 1394. Signed-off-by: Jody McIntyre [PATCH] Add compat_ioctl to SD Add compat_ioctl entry point to SD Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Add compat_ioctl to st Call new compat_ioctl host vector from tape driver Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Add comment for compat_ioctl to SR Add comment that SR doesn't support compat_ioctl (because it doesn't pass down any driver ioctls right now) Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Add compat_ioctl to osst Add compat_ioctl to osst Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Convert aacraid to compat_ioctl Convert aacraid driver to the compat_ioctl entry points. I don't have hardware, so this is only compile tested, but I just did some transformations on the existing code. Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Add compat_ioctl to SG Add compat_ioctl to SG driver Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Convert megaraid2 to compat_ioctl Convert megaraid2 driver to new compat_ioctl entry points. Signed-off-by: Andi Kleen Signed-off-by: James Bottomley [PATCH] Add compat_ioctl to mptctl Convert mptctl to compat_ioctl. I also changed it to unlocked_ioctl while I was on it. Signed-off-by: Andi Kleen Signed-off-by: James Bottomley mptfusion: delete watchdogs timers from mptctl and mptscsih From: Moore, Eric Dean 1) mptscsih.c: I have changed task management requests so they complete in same thread before returning to os. I removed the TMtimer code. (2) mptctl.c: I have deleted both TMtimer and timer code. Replaced with wait_event_interruptible_timeout. So commands are now completed in same thread. (3) mptctl_do_fw_download - nasty polling of global parameters that are set in contents of interrupt handler(mptctl_reply), now using wait_event_interruptible_timeout. (4) I have cleaned up mptctl_reply. Signed-off-by: Eric Moore Signed-off-by: James Bottomley SCSI: fix compat_ioctl compile warnings Signed-off-by: James Bottomley [PATCH] drop some attibutes from the FC transport class I think the hardware_version, firmware_version, rom_version and driver_version don't belong to the FC transport class, there's nothing specific to FC or even SCSI specific in them. Signed-off-by: James Bottomley SCSI: Add device io statistics From: James.Smart@Emulex.Com Adds io statistics (requests, completions, error count) as generic attributes for scsi devices. Signed-off-by: James Bottomley SCSI: fix io statistics compile warnings Signed-off-by: James Bottomley Input: i8042 - move panicblink with the rest of module parameters, add proper entry to kernel-parameters.txt Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: add serio->start() and serio->stop() callback methods that are called whenever serio port is finishes being registered or unregistered. The callbacks are useful for drivers that share interrupt between several ports and there is a danger that interrupt handler will reference port that was just unregistered. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: i8042 - make use of new serio start() and stop() callbacks to ensure that i8042 interrupt handler that is shared among several ports does not reference deleted ports. Also rename i8042_valies structure to i8042_port, consolidate handling of KBD, AUX and MUX ports, rearrange interrupt handler code. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: rearrange serio event processing to get rid of duplicate events - do not sumbit event into the event queue if similar event has not been processed yet; also once event has been processed check the queue and delete events of the same type that have been accumulated in the mean time. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: evdev - return -EINVAL from evdev_read if read buffer is too small. Based on a patch by James Lamanna. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: synaptics - use DMI to detect Toshiba Satellite notebooks and automatically reduce touchpad reporting rate to 40 pps as they have trouble handling high rate (80 pps). Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: twidjoy - apparently Kconfig and Makefile disagreed on the name for config option so the module was never built. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: use msecs_to_jiffies instead of homegrown ms_to_jiffies when setting timer for autorepeat handling. This will make sure that autorepeat is scheduled correctly when HZ != 1000. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: use msecs_to_jiffies instead of manually calculating delay for Toshiba bouncing keys workaround to the code works with HZ != 1000. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: remove serio->private in favor of using driver-specific data in device structure, add serio_get_drvdata/serio_put_drvdata to access it. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: replace serio's type field with serio_id structure and add id_table to serio drivers to split initial matching and probing routines for better sysfs integration and to assist hotplug scripts in loading proper drivers. Add serio_hotplug to notify userspace about new ports. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: make serio implementation more in line with standard driver model implementations. serio_register_port is always asynchronous to allow freely registering child ports. When deregistering serio core still takes care of destroying children ports first. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: make serio's connect routines return error code instead of void. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: i8042 - fix 'noloop' module parameter description Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: serio - export id.type, id.proto, id.id and id.extra as sysfs attributes to assist hotplug scripts in recovering lost boot-time serio hotplug events. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: Make some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik Input: i8042 - call i8042_platform_exit to release resources acquired by i8042_platform_init when controller initialization fails. Signed-off-by: Prarit Bhargava Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: Don't even try to reset the i8042 controller when it's not willing to talk to us at all - it's probably not there. Signed-off-by: Vojtech Pavlik input: This patch adds support to uinput for Linux's force feedback interface. With these changes, it's possible to write drivers for force feedback joysticks and similar devices in userspace. It also adds a way to set the physical path of devices created via uinput, and it has a couple trivial bugfixes. Signed-off-by: Micah Dowty Signed-off-by: Andrew Morton Signed-off-by: Vojtech Pavlik input: joydump_connect: reduce stack usage from 2048 to 44 bytes (on i386) by allocating 'buf' dynamically; struct joydump buf[BUF_SIZE]; // 2048 bytes Signed-off-by: Randy Dunlap Signed-off-by: Vojtech Pavlik input: mousedev_packet() incorrectly clears list->ready when called with "tail == head - 1". The effect is that the last mouse event from the hardware isn't reported to user space until another hardware mouse event arrives. This can make the left mouse button get stuck when tapping on a touchpad. When this happens, the button doesn't unstick until the next time you interact with the touchpad. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik input: Some Synaptics touchpads have a middle mouse button that also works as a scroll wheel. Scroll data is reported as packets with w == 2 and the scroll amount in byte 1, treated as a signed character. For some reason, the smallest possible wheel movement is reported as a scroll amount of 4 units. This amount is typically spread out over more than one packet, so the driver has to accumulate scroll delta values to correctly deal with this. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik input: Here it is, with the suggestions from Pete and Dmitry included. The patch does the following: * Compensates for the lack of floating point arithmetic by keeping track of remainders from the integer divisions. * Removes the xres/yres scaling so that you get the same speed in the X and Y directions even if your screen does not the same aspect ratio as your touchpad. * Sets scale factors to make the speed for synaptics and alps equal to each other and equal to the synaptics speed from 2.6.10. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik input: Correct Y axis range for ALPS touchpads. From: Peter Osterlund Signed-off-by: Vojtech Pavlik input: Add support for Logitech MX300 mouse in PS/2 mode. From: Daniel Johnson Signed-off-by: Vojtech Pavlik input: Add support for the Logitech MX1000 mouse in PS/2 mode. input: Cleanup the Kconfig menus for the input subsystem. From: Roman Zippel Signed-off-by: Vojtech Pavlik [PATCH] SCSI sim710.c: make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley input: When hardware tapping is disabled on an ALPS touchpad, the touchpad generates exactly the same data for a single tap and a fast double tap. The effect is that the second tap in the double tap sequence is lost. To fix this problem, this patch enables hardware tapping and converts the resulting tap and gesture bits to standard finger pressure values (z), which is what mousedev.c and the userspace X driver expects. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik input: Only parse a "z == 127" packet as a relative Dualpoint stick packet if the touchpad actually is a Dualpoint device. The Glidepoint modelsdon't have a stick, and can report z == 127 for a very wide finger. If such a packet is parsed as a stick packet, the mouse pointer will typically jump to one corner of the screen. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik input: This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Vojtech Pavlik Input: make serio drivers register asynchronously. This should speed up boot process as some drivers take a long time probing for supported devices. Also change __inline__ to inline in serio.h Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: Add support for Sharp Zaurus SL-C7cc Corgi keyboards. From: Richard Purdie Signed-off-by: Vojtech Pavlik input: Add support for Sharp SL-C7xx touchscreen (Corgi). From: Richard Purdie Signed-off-by: Vojtech Pavlik [PATCH] ata_pci_remove_one used freed memory Attempting to unload a serial ATA driver module gave me a kernel memory fault. I think this problem occurs in all configurations, but I should mention that my configuration may be slightly unusual in that I configured my BIOS not to do IDE emulation with SATA disks, and I don't actually have any disks plugged in. The problem was that ata_pci_remove_one would call scsi_host_put(ap->host), which would free the memory used to hold host_set->ports, but host_set->ports was used later in ata_pci_remove_one. So, the following patch reorders some of the steps in ata_pci_remove_one and seems to eliminate the problem, at least to the extent that I can unload and reload the module, although I do not have a SATA disk handy for testing (I'm expecting one to arrive later today). The patch actually makes the code four lines shorter, although two of those lines come from putting an assignement and variable declaration in the same line. Since the patch is a little hard to read, here is a description of the edit steps. 1. Moved pci_release_regions() to toward the end of the routine to facilitate merging the loops before and after it. Also, I think that calls that are good candidates for consolidating into the bus-level code in the future (instead of individual drivers) are best put at the beginning or end of the driver routines so that it is clearer if there would be problems doing such consolidation. 2. Moved the cacluation of ioaddr into the only if-branch that uses it. 3. Moved the call to scsi_host_put to after the code that checks ATA_FLAG_NO_LEGACY. Signed-off-by: Jeff Garzik input: New driver for ICS MicroClock MK712 TouchScreens. Signed-off-by: Vojtech Pavlik Input: add resume method to serio bus so ports are properly set up at resume time. Remove calls to serio_reconnect from i8042 as they should now be reconnected in course of regular resume process. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: Add MCC devices to HID blacklist, cleanup whitespace along the way. From: Mark Glines Signed-off-by: Vojtech Pavlik input: Fix poll() behavior of input handlers on disconnect. Signed-off-by: Vojtech Pavlik input: HP HIL support (from PARISC Linux tree). From: Helge Deller Signed-off-by: Vojtech Pavlik input: Typo fix in atkbd.c comment From: Christian Ludwig Signed-off-by: Adrian Bunk Signed-off-by: Vojtech Pavlik I have a buggy USB HID device (APC SmartUPS) in which the designers forgot that ReportCount is a global item. Consequently, according to the report descriptor, several reports have multiple copies of the same usage in each field. When you actually query the device, however, only a single copy of the usage is returned. hid-core catches the expected vs. actual length mismatch and fails the transfer. This effectively makes the buggy reports inaccessible even though enough data is present to populate one usage (which is all userspace wants anyway). This patch changes hid-core to only warn (if debug is enabled) on such reports rather than failing the transfer. Signed-off-by: Adam Kropelin Signed-off-by: Vojtech Pavlik input: Document the adapter schematic needed for parkbd.c, right in the source. Signed-off-by: Vojtech Pavlik input: Typo fix in parkbd.c comment Signed-off-by: Vojtech Pavlik input: Fix ExplorerPS/2 wheel emulation for wheel events > 8 ticks. Signed-off-by: Vojtech Pavlik input: This patch adds support for a Wacom new tablet, Intuos3, and its associated tools. From: Ping Cheng Signed-off-by: Andrew Morton Signed-off-by: Vojtech Pavlik input: ere's a patch that removes a few pointless comparisons; "scancode" is unsigned so it can never be <0 which makes the test pointless. Also, there are a few instances where signed and unsigned variables are comared, and as far as I can tell they really should just all be unsigned. Signed-off-by: Jesper Juhl Signed-off-by: Vojtech Pavlik input: This patch removes the bouncing email address of Victor Krapivin from MODULE_AUTHOR. Signed-off-by: Adrian Bunk Signed-off-by: Vojtech Pavlik input: This patch fixes an oops in ns558 when no ports are found and at the same time the driver gets registered with the PnP subsystem. Since there is no need for port->type struct member, it removes it. Patch based on a patch from Matthieu Castet and Adam Belay Signed-off-by: Vojtech Pavlik Input: fix compie error in twidjoy.c Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: Do a kill_fasync() in input handlers on device disconnect to notify a client using poll() that the device is gone. Signed-off-by: Vojtech Pavlik input: Properly set input.phys in Griffin Powermate driver. From: Duraid Madina Signed-off-by: Vojtech Pavlik input: Now that ACPIPnP is available, replace ACPI probing in i8042 with PnP probing. From: Matthieu Castet Signed-off-by: Vojtech Pavlik input: Fix i8042 PnP printk()'s and pnp_driver name. Signed-off-by: Vojtech Pavlik input: Make the polling interval for mice a configurable parameter of the HID driver. This is useful when a faster response from a mouse is beneficial, ie games. Signed-off-by: Mikkel Krautz Signed-off-by: Vojtech Pavlik [PATCH] convert pci_dev->slot_name usage to pci_name() Prepare for removal of pci_dev->slot_name Signed-off-by: Dave Jones Signed-off-by: Greg Kroah-Hartman [PATCH] Remove pci_dev->slot_name This is a pointer to dev.bus_id, which is properly accessed through the pci_name() function. Signed-off-by: Dave Jones Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: Remove unneeded instructions from ibmphp_pci.c this patch removes some unneeded code from ibmphp_pci.c. First I thought it is a bug and the second line should have been "sec_no = (int) sec_number". But than I found exactly the same read only 9 lines higher and after it the line I expected the second one to be. Between the 2 pci_bus_read_config_byte's are only some checks so I don't expect them to return different results. And sec_no is and int so removing this wont change anything at all. Signed-off-by: Rolf Eike Beer Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: pci_proc_domain There's no need for the architectures to know how to name busses, so replace pci_name_bus with pci_proc_domain -- a predicate to allow architectures to choose whether domains are included in /proc/bus/pci or not. I've converted all architectures but only tested ia64 and a CONFIG_PCI_DOMAINS=n build. Signed-off-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: Make pci_claim_resource __devinit ia64 calls pci_claim_resource() from pcibios_fixup_bus(), which is __devinit, so pci_claim_resource() needs to be __devinit too. Signed-off-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: fix pci_remove_legacy_files() crash The legacy_io which is the member of pci_bus struct might be NULL. It should be checked. This patch checks 'b->legacy_io', NULL or not. Signed-off-by: MUNEDA Takahiro Acked-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: NUMA-Q PCI config access arg validation Fix NUMA-Q PCI config access bus validation. "bus" indexes into BUS2QUAD, which is mp_bus_id_to_node[MAX_MP_BUSSES]. This depends on the "pci_raw_ops should use unsigned args" patch I posted earlier today (no functional dependency; it just happens to be very close textually). Signed-off-by: Bjorn Helgaas Signed-off-by: Martin J. Bligh Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: pci_raw_ops should use unsigned args Convert pci_raw_ops to use unsigned segment (aka domain), bus, and devfn. With the previous code, various ia64 config accesses fail due to segment sign-extension problems. ia64: - With a signed seg >= 0x8, unwanted sign-extension occurs when "seg << 28" is cast to u64 in PCI_SAL_EXT_ADDRESS() - PCI_SAL_EXT_ADDRESS(): cast to u64 *before* shifting; otherwise "seg << 28" is evaluated as unsigned int (32 bits) and gets truncated when seg > 0xf - pci_sal_read(): validate "value" ptr as other arches do - pci_sal_{read,write}(): return -EINVAL rather than SAL error status arch/i386/pci/direct.c | 12 ++++++---- arch/i386/pci/mmconfig.c | 6 +++-- arch/i386/pci/numa.c | 6 +++-- arch/i386/pci/pcbios.c | 6 +++-- arch/ia64/pci/pci.c | 53 ++++++++++++++++++--------------------------- arch/x86_64/pci/mmconfig.c | 8 ++++-- include/linux/pci.h | 6 +++-- 7 files changed, 51 insertions(+), 46 deletions(-) Signed-off-by: Bjorn Helgaas Acked-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman input: For now, a bug in the PSX controllers support in gamecon prevents hot-swapping of such controllers. If a controllers is removed then all the controllers stop working and cpu usage gets high. The attached patch (against 2.6.11-rc3) corrects this bug by checking the information read from the controller. If the message length is bigger than the maximum possible, then it means the controller is not there and therefore this value should be discarded. Note that this is a re-send of a previous patch now that the patch of Peter (which had to be applied before this one) has been intregrated in the vanilla kernel. It's Peter's version modified to apply cleanly against 2.6.11-rc3 plus a fix in the comment. Signed-off-by: Peter Nelson Signed-off-by: Eric Piel Input: make sure that all instances of ns558 are released upon module unload. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: On some architectures the atomic ops return `long'. Fix a printk() in serio.c to take that into account. Signed-off-by: Andrew Morton Signed-off-by: Vojtech Pavlik input: A Chicony keyboard doesn't like get_report on its non-exisiting PS/2 mouse interface. Add to HID blacklist. From: Stuart Hayes Seen-by: Pete Zaitcev Signed-off-by: Vojtech Pavlik input: Change touchscreen drivers NOT to rescale their values to a 4:3 shape. Signed-off-by: Vojtech Pavlik input: Move #include inside #ifdef __KERNEL__ in serio.h, to make it userspace-compilable. Signed-off-by: Vojtech Pavlik input: Fix range checks for the HIDIOC[GS]USAGES ioctl() to allow reading full number of bytes. From: Hal Tolley Signed-off-by: Vojtech Pavlik input: Add a new ID to the Logitech ForceFeedback joystick driver. From: Rainer Kümmerle Acked-by: Johann Deneux Signed-off-by: Vojtech Pavlik input: this patch turns off the pc speaker when pcspkr.ko is unloaded, else it would never stop Signed-off-by: Matthieu Castet Signed-off-by: Vojtech Pavlik [PATCH] arch/i386/kernel/pci/irq.c: Wrong message output The following has been reported in the wild for kernel 2.6.8-24: PCI: Enabling device 0000:00:05.0 (0000 -> 0002) PCI: No IRQ known for interrupt pin @ of device 0000:00:05.0. Probably buggy MP table. It should read "No IRQ known for interrupt pin A", but the 'pin' variable has already been decremented (from 1 to 0), so the line: printk(KERN_WARNING "PCI: No IRQ known for interrupt pin %c of device %s.%s\n", 'A' + pin - 1, dev->slot_name, msg); causes "pin @" to be output, because 'A' + 0 - 1 == '@'. The supplied patch should fix it. It also removes a redundant check for a nonzero pin. Signed-off-by: Mark F. Haigh Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: Dynids - passing driver data Currently, code exists in the pci layer to allow userspace to specify driver data when adding a pci dynamic id from sysfs. However, this data is never used and there exists no way in the existing code to use it. This patch allows device drivers to indicate that they want driver data passed to them on dynamic id adds by initializing use_driver_data in their pci_driver->pci_dynids struct. The documentation has also been updated to reflect this. Signed-off-by: Brian King Signed-off-by: Greg Kroah-Hartman [NET]: Remove protocol specific hacks in skb_ip_make_writable() These cause more trouble than anything else. In fact these silly checks keep the ipt action from working with targets that mangle the data area. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller [IPV6]: match TCP port selection behavior with ipv4 This patch makes TCP over IPV6 select ports the same way the current TCPv4 code does. It uses a hash function to provide a starting offset and a free running counter to provide seed. This changes the port selection semantics to match TCPv4 as well. If the port is in use but to a different remote address, it will get reused. It looks like the TCPv6 code was not updated when the TCPv4 code changed. Now the code in ipv4/tcp_ipv4.c and ipv6/tcp_ipv6.c are almost identical for tcp_hash_connect. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller Resolve ATM conflicts. [IPSEC]: Stop using dst->xfrm Here is a precursor to the xfrm dst consolidation that I talked about. In order to be able to store multiple SAs in one dst, we need to stop using dst->xfrm directly. The following patch does that for the ->output() functions. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller Input: alps - fix protocol validation rules causing touchpad to lose sync if an absolute packet is received after a relative packet with negative Y displacement. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: Add support for serial ELO touchscreens, including Elo IntelliTouch, AccuTouch and SecureTouch. Signed-off-by: Vojtech Pavlik input: Fix a code example in a comment in hiddev.c From: Jens B. Jorgensen Signed-off-by: Vojtech Pavlik input: Fix Elo touchscreen touch detection. Signed-off-by: Vojtech Pavlik Input: rename gameport->driver to gameport->port_data in preparation to sysfs integration. Signed-off-by: Dmitry Torokhov Input: more renames in gameport in preparations to sysfs integration - gameport_dev -> gameport_driver - gameport_[un]register_device -> gameport_[un]register_driver Signed-off-by: Dmitry Torokhov Input: make connect and disconnect methods mandatory for gameport drivers since that's where gameport_{open|close} are called from to actually bind driver to a port. Signed-off-by: Dmitry Torokhov Input: prepare for dynamic gameport allocation: - provide functions to allocate and free gameports; - provide functions to properly set name and phys; - dynamically allocated gameports are automatically announced in kernel logs and freed when unregistered. Signed-off-by: Dmitry Torokhov Input: convert input/gameport to dynamic gameport allocation. Signed-off-by: Dmitry Torokhov Input: convert sound/oss to dynamic gameport allocation. Signed-off-by: Dmitry Torokhov Input: convert sound/pci to dynamic gameport allocation. Signed-off-by: Dmitry Torokhov Input: integrate gameport drivers info dribver model/sysfs, create "gameport" bus. drivers' connect() routines now return error code instead of void. Signed-off-by: Dmitry Torokhov Input: complete gameport sysfs integration, ports are now devices in driver model. Implemented similarly to serio. Signed-off-by: Dmitry Torokhov Input: remove gameport->private in favor of using driver-specific data in device structure, add gameport_get/set_drvdata to access it. Signed-off-by: Dmitry Torokhov input: Fix keybit initialization in MK712 touchscreen driver. With this, the driver is tested to work properly. From: Richard Koch Signed-off-by: Vojtech Pavlik [PATCH] : net/core: move set MAC into separate function This moves the SIOCSIFHWADDR code from dev_ifsioc() into a separate new function, dev_set_mac_address(). This provides a single entry point for all callers performing MAC address changes. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik [PATCH] : bonding: use wrappers to change mtu and MAC This updates the bonding driver to use the dev_set_mtu() and dev_set_mac_address() wrapper functions. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik [PATCH] bonding: change misleading warning This updates a warning message that the bonding driver issues when some modes are unable to determine the link speed of a slave device. The old message led users to believe that bonding was slowing their gigabit devices to 100 Mb/sec. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik [PATCH] bonding: Update kconfig description This patch updates the very-outdated Kconfig description for bonding. Users reading the help text in menuconfig or xconfig would see text that implied that bonding only supports static link aggregation, and required a specific switch to make it work. The new description mentions multiple bonding modes and points the user to the bonding.txt documentation. Signed-off-by: Mitch Williams Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik [PATCH] bonding: Update/rewrite bonding.txt This is a complete overhaul of the bonding.txt documentation. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik [PATCH] sundance: attempt to address high irqs due to TX overflow In at least some versions of Kernel 2.6 (2.6.8.1, 2.6.11-rc2) the driver drivers/net/sundance.c creates high interrupt load (~ 100 interrupts per second) even in case of no network traffic at all. It seems that some sort of TX overflow handling is misplaced and triggers interrupts very often even in case of no data to send. The TX overflow handling has been moved to a more appropriate place. While there, an off by one error of reading the TX status has also been corrected by moving the read after the break. Thanks to Jeroen who tested the patch (also with high workload). Interrupts are down to normal and there are no obvious side effects. input: Looks like someone forgot the ARCH_ Signed-off-by: Dave Jones Signed-off-by: Vojtech Pavlik input: Add pin numbers to parkbd.c documentation. Signed-off-by: Vojtech Pavlik input: HID list handling cleanup, fix two bugs in pid.c and one in hid-core.c that the cleanup uncovered. Remove a workaround for BTC keyboard 46e:5303, because it's breaking other devices. Instead enable QUIRK_NOGET for this keyboard. Change set_idle handling to use a '0' report ID, meaning all reports instead of iterating over each individual report ID. This shouldn't change much, since most normal devices have only one report with id '0'. Signed-off-by: Vojtech Pavlik [PATCH] net/s2io: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. This makes the code independent of HZ values (particularly important when HZ changes or is dynamic). Compile- and boot-tested. Signed-off-by: Nishanth Aravamudan Acked-by: Ravinandan Arakali Signed-off-by: Jeff Garzik input: Store alps hardware version info in the input_dev structure, so that it shows up in /proc/bus/input/devices. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik Input: psmouse should probe for "special" protocols only if max protocol is greater than IMEX so that proto=imps and proto=exps options work. Fix Kensington case. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik [ALSA] Add newline to printk ALSA Core Added the newline to printk error output. Signed-off-by: Takashi Iwai [ALSA] Ascii chars only RME HDSP driver Signed-off-by: Jaroslav Kysela [ALSA] Remove descriptions of obsolete options Documentation Removed descriptions of obsolete irq_mask and irq_list options for vxpocket, vxp440 and pdaudiocf drivers. Signed-off-by: Takashi Iwai [ALSA] Remove pm_register/pm_unregister SA11xx UDA1341 driver,ALSA Core,ISA Removed pm_register() and pm_unregister(). Use platform_device for suspend/resume, instead. The current implemention is still a hack. The whole ISA drivers should be rewritten with a proper bus definition. Signed-off-by: Takashi Iwai [ALSA] HDSP fixes Documentation,RME HDSP driver * init sequence cleanup and firmware upload related bugfixes * more robust revision detection scheme (should transparently handle new revisions) * allow hdsploader and the kernel fw loader to coexist this is useful for cardbus user who compiled the driver in-kernel (userspace may not be ready to upload the firmware when the card is probed) * removed confusing and obsolete passthru option (was interfering with the mixer when opening the device for capture or playback) this change requires a recompile of the userspace tools against the patched hdsp.h * removed confusing and obsolete line_outs_monitor module param * made precise_ptr the default behaviour, and runtime tweakable (removed corresponding module param) * add an alsa ctl to disable the use of the midi tasklet, and process midi data in the interrupt handler (using the tasklet is still the default) this is mainly intended for users of Ingo Molnar's RT patch * metering fix for Multiface/Digiface users (closes ALSA BUG #0000801) * small endianness fix * ALSA-Configuration.txt HDSP entry update * error messages cleanup Signed-off-by: Thomas Charbonnel Signed-off-by: Takashi Iwai [ALSA] Changes 'Music' to 'Synth' in mixer control names EMU10K1/EMU10K2 driver Changes 'Music' to 'Synth' in mixer control names Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai [ALSA] Interpret negative index as bitmask of permissible indexes Documentation,ALSA Core Currently arguments of the 'index' option from 0 through SNDRV_CARDS-1 force a module to take the specified index. Index -1 makes the module take the first available index. This patch extends this convention so that a negative index value is interpreted as a bitmask of the permitted indexes. Special cases: -1 0xffffffff 0 and up -2 0xfffffffe 1 and up -4 0xfffffffc 2 and up ... The patch includes also corrections of ALSA-Configuration.txt document. Signed-off-by: Thomas Hood Signed-off-by: Takashi Iwai [ALSA] Set default index of modem and bt87x drivers to -2 Documentation,ATIIXP-modem driver,BT87x driver,Intel8x0-modem driver VIA82xx-modem driver Set the default index value of modem and bt87x drivers to -2 so that the first slot is excluded when no index option is given. This gives other uadio drivers a chance to put them as the primary driver. Signed-off-by: Takashi Iwai [ALSA] use cached idVendor/idProduct values USB generic driver use the vendor/product IDs in the state structure instead of reading them again from the device Signed-off-by: Clemens Ladisch [ALSA] driver model type fixes for ALSA SA11xx UDA1341 driver,Control Midlevel,ALSA Core,Digigram VX core ES18xx driver,OPL3SA2 driver,AD1848 driver,CS4231 driver,ATIIXP driver ATIIXP-modem driver,CS4281 driver,ES1938 driver,ES1968 driver Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,VIA82xx driver VIA82xx-modem driver,ALI5451 driver,CS46xx driver,HDA Codec driver HDA Intel driver,NM256 driver,Trident driver,YMFPCI driver PDAudioCF driver,Digigram VX Pocket driver,PPC PMAC driver Fixes by Pavel Machek : suspend() routines no longer get u32 as their parameter (they get pm_message_t, which is u32 for now, but will change in 2.6.12 or so). This fixes ALSA to notice this, and uses constants with right types where appropriate. It results in no code changes. [Best results will be when patching against latest -mm, you may get some warnings if you patch it into older kernel, but it should still do the right thing.] Please apply, Pavel [In addition, suspend callback type is changed to follow to the standard style taking no state argument -- Takashi] Signed-off-by: Takashi Iwai [ALSA] Fix descriptions about suspend/resume callbacks Documentation Fixed the descriptions about suspend/resume callbacks. The suspend callback takes pm_message_t argument, and resume takes no extra argument now. Signed-off-by: Takashi Iwai [ALSA] Remove unused variable USB USX2Y Removed an unused variable to fix a compile warning. Signed-off-by: Takashi Iwai [ALSA] Fix resume callback HDA Codec driver Fixed resume callback to follow the recent change of PM callbacks. Signed-off-by: Takashi Iwai [ALSA] Fix inclusion of pm.h ALSA Core Added the missing inclusion of linux/pm.h. Signed-off-by: Takashi Iwai [ALSA] Fix suspend/resume functions ALSA Core Fix the suspend/resume callback functions to follow the last change. (This fix was missing in the last patch.) Signed-off-by: Takashi Iwai [ALSA] intel8x0 - fixed timeout in the 'get current DMA pointer' routine Intel8x0 driver Patch-level: High Signed-off-by: Wei Ni Signed-off-by: Jaroslav Kysela [ALSA] intel8x0 - fix for broken PCI ID define for ICH6 Intel8x0 driver Patch-level: High Signed-off-by: Jean Delvare Signed-off-by: Jaroslav Kysela [ALSA] Fix compile error (due to last suspend/resume fix) PPC PMAC driver Fixed the forgotten caller of suspend/resume callbacks to follow the recent PM fixes. Signed-off-by: Takashi Iwai [ALSA] Fix 32bit calls to snd_pcm_channel_info() PCM Midlevel Fix 32-bit calls to snd_pcm_channel_info(). Signed-off-by: Brian Gerst Signed-off-by: Takashi Iwai [ALSA] hdsp ghost midi device fix RME HDSP driver * Prevents the creation of a second midi device for cards with only one midi I/O Signed-off-by: Thomas Charbonnel Signed-off-by: Takashi Iwai [ALSA] Kconfig: cleanup sound menu ALSA Core This properly indents the sound menu. Signed-off-by: Roman Zippel Signed-off-by: Takashi Iwai [ALSA] replace interruptible_sleep_on_timeout() with wait_event_interruptible_timeout() RawMidi Midlevel Use wai_event_interruptible_timeout() instead of deprecated interruptible_sleep_on_timeout(). Patch is compile-tested. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] Add quirk for LEGEND ZhaoYang 3100CF Maestro3 driver Added a quirk entry for LEGEND ZhaoYang 3100CF. Signed-off-by: Takashi Iwai [ALSA] capture EXTINs with multichannel device EMU10K1/EMU10K2 driver This patch changes the emu10k1 multichannel capture device (hw:x,2) to capture the 16 external inputs by default. This involves adding DSP code to route the EXTINs to the FXBUS2 (EFX capture) channels and setting the corresponding FXWC bits by default. This allows capturing multiple inputs simultaneously. It completely bypasses the capture controls of the mixer. With my Audigy2 ZS I can capture LineIn, Line2, and Aux2 at the same time (6 channels). Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai [ALSA] simplify snd_usbmidi_count_bits() USB generic driver This makes the bit counting code smaller and simpler. Signed-off-by: Charles C. Bennett Signed-off-by: Clemens Ladisch [ALSA] Novation and MOTU USB MIDI support USB generic driver Rewrote USB MIDI protocol handling code to use callbacks for each protocol; added support for Novation and MOTU protocols; changed detection code to allow interrupt endpoints. Signed-off-by: Clemens Ladisch [ALSA] Korg1212 updates KORG1212 driver This patches covers the following issues: - solves double 'spin_lock_irqsave' problems; - eliminate the use of deprecated function 'sleep_on_timeout'; - clarify some 'printk' messages; and - logs korg DMA Errors due to PCI congestion. Signed-off-by: Haroldo Gamal Signed-off-by: Takashi Iwai [ALSA] remove interruptible_sleep_on_timeout() usage GUS Library Replace deprecated interruptible_sleep_on_timeout() with wait_event_timeout(). Code is not identical, as the current sleeping system is 1 jiffy at a time checking atomic_read()'s return every iteration. Patch is compile-tested. Signed-off-by: Nishanth Aravamudan Signed-off-by: Takashi Iwai [ALSA] Remove interruptible_sleep_on_timeout(). ALSA<-OSS sequencer Use wait_event_interruptible_timeout() instead of deprecated interruptible_sleep_on_timeout(). Signed-off-by: Takashi Iwai [ALSA] Add __iomem prefix BT87x driver Added __iomem prefix to the mmio pointer. Signed-off-by: Takashi Iwai [ALSA] Add quirk for Fujitsu S6210 Intel8x0 driver Added ac97_quirk for Fujitsu S6210. Signed-off-by: Takashi Iwai [ALSA] MPU-401 PnP support Documentation,MPU401 UART Replace the ACPI PnP code with generic PnP calls. Signed-off-by: Clemens Ladisch [ALSA] enable disabling of isapnp OPL3SA2 driver Fixed a logic error that prevented the 'isapnp=0' module parameter from taking effect. Signed-off-by: Clemens Ladisch [ALSA] fixes als100 not detecting opl3 ALS100 driver This patch fixes issue when opl3 device couldn't be found due to numbering of devices in pnp card, because search of opl3 device started from mpu device, which could have number greater than opl3 could. Example: MPU is 00:01.03 and OPL is 00:01.01 Signed-off-by: Anton Romanov Signed-off-by: Clemens Ladisch [ALSA] Bind master and HP controls with hp_only quirk AC97 Codec Bind master and HP controls when hp_only quirk is given, instead of removing master control. This fixes the problem of some laptops which require sync'ed volume for PC-speaker and headphone output. Signed-off-by: Takashi Iwai [ALSA] fix sound/isa/gus/interwave.c compile with PNP=n AMD InterWave driver Emmanuel Colbus sent this patch one month ago with the following description: There is a trivial bug in the file sound/isa/gus/interwave.c . The variable isapnp is defined only if CONFIG_PNP is enabled, but it is always used few lines after. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai [ALSA] add 96Khz support and setting sample rate for direct SPDIF output EMU10K1/EMU10K2 driver This patch should add support for 96Khz 'direct SPDIF' aka 'SPDIF Bypass' (not P16V) playback mode available on the Audigy1 and 2 and newer SBLives (?). It lets you bypass the 48khz DSP resampling when using the card in digital mode. It also adds 96khz analog playback support, good for testing but less interesting because it's downsampled to 48khz. A new mixer control 'Audigy SPDIF Output Sample Rate' is created, you can choose 44100, 48000, or 96000. Standard SPDIF playback, AC3 passthrough (real 96khz playback), and analog playback (96khz is resampled to 48khz in the DSP) all work with a 16 bit,96khz wav file. Only the last was tested due to lack of any SPDIF hardware. This was derived mostly from the opensource.creative.com driver. All that was needed for 96khz playback to work in analog mode was changing the format to 8000_96000 (looks like the creative driver supports 192khz too). And, of course this sample rate has always been supported (albeit downsampled) because if you have 48khz samples in a soundfont the envelope engine has to be able to pitch shift them in both directions. I still have not been able to figure out how to get 24 bit playback to work. This is possible, independent of the P16V, for spdif and analog 24/48 playback via the DSP. I do know how to access the full 24 bits from the ADC from within the DSP, just not how to get it in there. For one thing I have no idea which 24 bit format it supports. Some of them seemed to work with JACK but produced noise. This was generated with my multichannel patch but it applies against ALSA CVS as well. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai [ALSA] MPU-401 driver cleanup MPU401 UART Correctly check for error codes returned by pnp_register_driver, use a common function for registering the sound card, and remove many #ifdef's. Signed-off-by: Matthieu Castet Signed-off-by: Clemens Ladisch [ALSA] add STAC9708 output bias mixer control AC97 Codec This adds a mixer control for an undocumented bit of the STAC9708 that somehow affects the analog output. This should help reducing the distortion at high output levels on ymfpci and SBLive cards. Signed-off-by: Clemens Ladisch [ALSA] Added ICE1724 - ESI Juli@ code (not complete) + AK4114 code + AK4358 Serial BUS drivers,AK4114 receiver,AK4XXX AD/DA converters ICE1712 driver,ICE1724 driver Initial incomplete driver for ESI Juli@ cardcards based on ICE1724, AK4114, AK4358 and AK5385. The ICE1724 and ICE1712 main files plus some drivers are also updated (cleanups and new callbacks). Signed-off-by: Jaroslav Kysela [ALSA] fix typo in assignment of snd_ak4114_spdif_playback_put AK4114 receiver snd_ak4114_spdif_playback_put was assigned to the .get callback which resulted in a duplicate initialization of that member Signed-off-by: Clemens Ladisch [ALSA] AK4114 - fixed workqueue initialization & removed debug code AK4114 receiver Signed-off-by: Jaroslav Kysela [ALSA] Added support for Terratec PHASE 22 ICE1712 driver,ICE1724 driver I've struggled for a couple of days with Terratec Phase 22 card. Chips used on it are well known but the combination is somehow unique. Phase 88 should have been similar... but it actually uses 1712 instead of 1721 (Envy24HT-S). So here is the patch against release 1.0.8 that adds Phase 22 to ice1724. I've tested only analog part (balances 1/4 TRS in and outs). Signed-off-by: Misha Zhilin Signed-off-by: Takashi Iwai [ALSA] Remove unused yss225.h Wavefront drivers yss225.h is just obsolete, not used/read by any codes. Let's remove it. Signed-off-by: Takashi Iwai [ALSA] split snd_emu10k1_trigger_voice into trigger and prepare functions EMU10K1/EMU10K2 driver This patch provides better sync between multiple voices by separating the trigger_voice function into prepare_voice which sets up the volume and filter parameters and trigger_voice which sets pitch target, current and initial pitch and enables the voice interrupt. For standard PCM this should not make much of a difference but will be important for minimizing phase error between voices for multichannel PCM. This behavior was derived from the opensource.creative.com driver. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai [ALSA] Fix rate setting on multiple codecs AC97 Codec From Ron Cococcia : Fixed the PCM rate setting on multiple AC97 codecs. Signed-off-by: Takashi Iwai [ALSA] fix typo in midi code RME HDSP driver fix typo in midi code Signed-off-by: Thomas Charbonnel Signed-off-by: Takashi Iwai [ALSA] Add support for Audigy2LS on MSI motherboard CA0106 driver Add support for Audigy2LS on MSI motherboard. Fixes Bug #0901 Signed-off-by: James Courtier-Dutton Signed-off-by: Takashi Iwai [ALSA] Enables SPDIF output on the Audigy2 Value EMU10K1/EMU10K2 driver Enables SPDIF output on the Audigy2 Value. It seems to work for PCM, but not AC3 yet. Signed-off-by: James Courtier-Dutton Signed-off-by: Takashi Iwai [ALSA] Add ac97_quirk for Dell machine Intel8x0 driver Added ac97_quirk option for Dell machine. Signed-off-by: Takashi Iwai input: Make ati_remote clean up properly when removing either the device or the module. Signed-off-by: Ville Syrjala Signed-off-by: Vojtech Pavlik input: Some changes to ati_remote key assignments: - Channel up/down keys are reversed on my ATI Remote Wonder. - Use KEY_TV, KEY_DVD and KEY_OK where appropriate. - Replace KEY_PLAYCD with KEY_PLAY. Signed-off-by: Ville Syrjala Signed-off-by: Vojtech Pavlik Input: fix race timer handling races in gameport-based joystick drivers by moving pollig timer down into gameport and using spinlock to protect it. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik input: Properly ignore padding fields in HID reports. Bug-found-by: Ted <6x0124@yahoo.com.tw> Signed-off-by: Vojtech Pavlik [PKT_SCHED]: Extended Matches API An extended match (ematch) is a small classifiction tool not worth writing a full classifier for. Ematches can be interconnected to form a logic expression and get attached to classifiers to extend their functionatlity. The userspace part transforms the logic expressions into an array consisting of multiple sequences of interconnected ematches separated by markers. Precedence is implemented by a special ematch kind referencing a sequence beyond the marker of the current sequence causing the current position in the sequence to be pushed onto a stack to allow the current position to be overwritten by the position referenced in the special ematch. Matching continues in the new sequence until a marker is reached causing the position to be restored from the stack. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller [PKT_SCHED]: Simple comparison ematch (cmp) The cmp ematch compares a static value provided by userspace against a 8, 16, or 32bit chunk read from the packet. The reading offset is provided by userspace and based on one of the skb layers (mac|nh|h). The ematch provides functionality to transform the byte order of the chunk and/or apply a mask and understands the operands eq, lt, and gt. Basically, it is very similiar to the u32 (e)match but tries filling the gaps left behind. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller [PKT_SCHED]: Multi byte comparison ematch (nbyte) The nbyte ematch allows comparing any number of bytes at an arbitary offset based on one of the skb layers. Its main usage is intended for IPv6 addresses but may be used for any kind of pattern. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller [PKT_SCHED]: u32 ematch The u32 ematch behaves exactly the same as a u32 match and will replace it in the long term. It allows the underlying classifiers to give hints about the position of the next protocol header (i.e. nexthdr+). Signed-off-by: Thomas Graf Signed-off-by: David S. Miller [PKT_SCHED]: Metadata ematch (meta) The meta ematch allows comparing various metadata values against static values from usersapce or other metadata values. It currently supports various numeric meta values such as netfilter mark, packet length, security level, interface indices, tc classid, load average, a random value but also variable length values such as interface names. Adding support for additional meta values is as easy as writing a data collector (usually 1-5 lines of code) and assign it to a id and type by putting it into the meta operations table. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller [PKT_SCHED]: Basic classifier The basic classifier is the most simple classifier one can think of, it doesn't do anything on its own but to support extended matches and actions. A basic classifier returns true if no ematches or actions are configured and thus can also be used as a catch-all classifier. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller [ATM]: fore200e needs to be converted over to sk_atm(). Signed-off-by: David S. Miller [TIMER]: Export avenrun for packet scheduler meta ematch. Signed-off-by: David S. Miller [IPSEC]: Merge xfrm{4,6}_bundle_ok/stale_bundle This patch merges __xfrm4_bundle_ok/__xfrm6_bundle_ok/stale_bundle so that when I add MTU verification code I don't have to put it in three places. It also moves the tests on dst->dev and dst->obsolete outside the loop since the former is identical throughout the bundle and the latter can only be positive on the final element which also happens to be dst->path. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller JFS: Fix array overflow On a system with more than 64 processors, commit_threads was too big and caused an array overflow. Always limit it to MAX_COMMIT_THREADS. Also, avoid waking up more than one commit thread at a time. Signed-off-by: Dave Kleikamp [WORKQUEUE]: Add cancel_rearming_delayed_work() From: Arjan van de Ven cancel_rearming_delayed_workqueue() is only used inside workqueue.c; make this function static (the more useful wrapper around it later in that function remains non-static and exported) Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: David S. Miller [IPVS]: Fix deadlock in update_defense_level() This function invokes si_meminfo() from timer context, which doesn't work due to bdev_lock not being an IRQ safe lock. So move it to keventd context. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller [IPV4]: Make loopback idev stick around. As it is when loopback_dev loses all of its IPv4 addresses its corresponding idev will be destroyed. Unfortunately as of last August route.c relies on the loopback idev to kill references to other idev objects. The end result is that when you do ip a f dev lo, unregistering other devices will hang until those dst objects referring to their idev objects die of natural causes. Of course this may never happen if the processes holding those references get dead-locked by invoking an operation that takes the RTNL. A simple solution is to make sure that loopback's idev sticks around all the time. Incidentally this also fixes the setting of some flags on the loopback idev object as currently the code that does it won't be called if you add the addresses to lo after bring it up. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller [IPV6]: Make loopback idev stick around. Mirror the ipv4 change. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller [XFRM]: stale_bundle()'s test was reversed Signed-off-by: Herbert Xu Signed-off-by: David S. Miller input: Fix Microtouch USB touchscreen Y axis direction. [0,0] should be upper left corner. Signed-off-by: Vojtech Pavlik Input: fix timer handling race in sidewinder joystick driver by switching to gameport's polling facilities. Signed-off-by: Dmitry Torokhov Signed-off-by: Vojtech Pavlik [netdrvr mv643xx] Fix a few places I missed in the previous rename patch. Rename: mv64x60 => mv643xx Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Fix handling of unaligned tiny fragments not handled by hardware Check all fragments instead of just the last. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Increment tx_ring_skbs before calling eth_port_send, since otherwise the irq handler may check and decrement it before we increment it. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Clear transmit l4i_chk even when the hardware ignores it. Not absolutely necessary, but makes debugging easier. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Trivial. Remove repeated comment. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Call netif_carrier_off when closing the driver. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Update tx_bytes statistic when using hw tcp/udp checksum generation. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] We already set ETH_TX_ENABLE_INTERRUPT whenever we set ETH_TX_LAST_DESC. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Disable tcp/udp checksum offload to hardware. It generally works, but the hardware appears to generate the wrong checksum if the hw checksum generation wasn't used in the previous packet sent. I'm increasingly confident this is a hardware error. We'll disable hw tcp/udp checksum generation until we have a fix or workaround. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Enable the mv643xx ethernet support on platforms using the MV64360 chip. Signed-off-by: Dale Farnsworth [netdrvr mv643xx] Add ethtool support to the mv643xx ethernet driver. Initially, we add statistics and link status reporting. Signed-off-by: Dale Farnsworth [PATCH] drivers/pci/*: convert to pci_register_driver convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO). Signed-off-by: Christophe Lucas Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: Fix OSHP calls in shpchp and pciehp drivers Here is a patch to fix a problem in OSHP calls in shpchp and pciehp drivers that was detected in 2.6.11-rc3. In this kernel, calls to acpi_evaluate_object() to evaluate OSHP returned AE_BUFFER_OVERFLOW with the existing code. Earlier kernels didn't return this error code. The correct fix should be making return_buffer pointer NULL for no value is returned from this method. Signed-off-by: Dely Sy Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: Add PCI quirk for SMBus on the Toshiba Satellite A40 The Toshiba Satellite A40 laptop hides its SMBus device, much like a number of Asus boards reputedly do. This prevents access to the LM90 hardware monitoring chip. This simple patch extends the PCI quirk used for the Asus and HP systems to this Toshiba laptop. Signed-off-by: Frans Pop Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: allow x86_64 to do pci express On Mon, Feb 14, 2005 at 10:47:01AM +0100, Piotr Kaczuba wrote: > On Mon, Feb 14, 2005 at 10:18:43AM +0100, Andi Kleen wrote: > > Piotr Kaczuba writes: > > > Is there a reason why "PCI access mode" config option isn't available for > > > x86_64? Due to this, PCIE config options aren't available either. > > > > There is no 64bit PCI BIOS, so access is always direct. > > > > I assume you mean mmconfig access with "PCIE config options", that is > > a separate config option and available. > > I mean the PCIEPORTBUS option which depends on PCI_GOMMCONFIG or > PCI_GOANY. I assume that due to PCI_MMCONFIG / PCI_GOMMCONFIG mismatch > it's not available on x86_64. Ok, that's a bug in PCIEPORTBUS. Best is probably to completely remove the dependency, it doesn't make much sense (the code has to handle the case of mmconfig not being available at runtime anyways) Remove bogus dependency in PCI Express root driver. Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman [PATCH] pci/quirks.c: unhide SMBus device on Samsung P35 laptop this patch is needed to make the SMBus device on my Samsung P35 laptop visible. By default, it doesn't appear as a pci device. Patch tested, works perfectly for me. Please apply. Signed-off-by: Carl-Daniel Hailfinger Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: clean up the msi api Remove the call to request_mem_region() in msix_capability_init() to grab the MSI-X vector table. Drivers should be using pci_request_regions() so that they own all of the PCI BARs, and the MSI-X core should trust it's being called by a correct driver. Signed-off-by: Roland Dreier Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: pci.ids update