commit ec1248e70edc5cf7b485efcc7b41e44e10f422e5 tree 80ca10a1ad9dc572e131a56a93fcf0c63c14d168 parent 3d1f337b3e7378923c89f37afb573a918ef40be5 parent 55e9dce37ddf3ab358ba1d1e9eef4ee4bd8174a6 author Linus Torvalds Tue, 21 Mar 2006 09:33:19 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:33:19 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6: [CRYPTO] aes: Fixed array boundary violation [CRYPTO] tcrypt: Fix key alignment [CRYPTO] all: Add missing cra_alignmask [CRYPTO] all: Use kzalloc where possible [CRYPTO] api: Align tfm context as wide as possible [CRYPTO] twofish: Use rol32/ror32 where appropriate commit 3d1f337b3e7378923c89f37afb573a918ef40be5 tree 386798378567a10d1c7b24f599cb50f70298694c parent 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e parent 5e35941d990123f155b02d5663e51a24f816b6f3 author Linus Torvalds Tue, 21 Mar 2006 09:31:48 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:31:48 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (235 commits) [NETFILTER]: Add H.323 conntrack/NAT helper [TG3]: Don't mark tg3_test_registers() as returning const. [IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2 [IPV6]: Nearly complete kzalloc cleanup for net/ipv6 [IPV6]: Cleanup of net/ipv6/reassambly.c [BRIDGE]: Remove duplicate const from is_link_local() argument type. [DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking [TG3]: make drivers/net/tg3.c:tg3_request_irq() static [BRIDGE]: use LLC to send STP [LLC]: llc_mac_hdr_init const arguments [BRIDGE]: allow show/store of group multicast address [BRIDGE]: use llc for receiving STP packets [BRIDGE]: stp timer to jiffies cleanup [BRIDGE]: forwarding remove unneeded preempt and bh diasables [BRIDGE]: netfilter inline cleanup [BRIDGE]: netfilter VLAN macro cleanup [BRIDGE]: netfilter dont use __constant_htons [BRIDGE]: netfilter whitespace [BRIDGE]: optimize frame pass up [BRIDGE]: use kzalloc ... commit 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e tree 62691bd915e2e3c2e6648306d3fb893f7a1dc57e parent 08a4ecee986dd98e86090ff5faac4782b6765aed parent 71a8924bee63d891f6256d560e32416a458440b3 author Linus Torvalds Tue, 21 Mar 2006 09:25:47 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:25:47 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (81 commits) [PATCH] USB: omninet: fix up debugging comments [PATCH] USB serial: add navman driver [PATCH] USB: Fix irda-usb use after use [PATCH] USB: rtl8150 small fix [PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids [PATCH] USB: cp2101: add new device IDs [PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS [PATCH] USB: vicam.c: fix a NULL pointer dereference [PATCH] USB: ZC0301 driver bugfix [PATCH] USB: add support for Creativelabs Silvercrest USB keyboard [PATCH] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader [PATCH] USB: storage: unusual_devs.h entry 0420:0001 [PATCH] USB: storage: another unusual_devs.h entry [PATCH] USB: storage: sandisk unusual_devices entry [PATCH] USB: fix initdata issue in isp116x-hcd [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces [PATCH] USB: ub 03 drop stall clearing [PATCH] USB: ub 02 remove diag [PATCH] USB: ub 01 remove first_open ... commit 08a4ecee986dd98e86090ff5faac4782b6765aed tree 74df5de49f38c432a6a18303b0c6d834fd09028f parent ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 parent b3229087c5e08589cea4f5040dab56f7dc11332a author Linus Torvalds Tue, 21 Mar 2006 09:25:15 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:25:15 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (23 commits) [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path [PATCH] sysfs: don't export dir symbols [PATCH] get_cpu_sysdev() signedness fix [PATCH] kobject_add_dir [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data [PATCH] sysfs: fix problem with duplicate sysfs directories and files [PATCH] Kobject: kobject.h: fix a typo [PATCH] Kobject: provide better warning messages when people do stupid things [PATCH] Driver core: add macros notice(), dev_notice() [PATCH] firmware: fix BUG: in fw_realloc_buffer [PATCH] sysfs: kzalloc conversion [PATCH] fix module sysfs files reference counting [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() [PATCH] Clean up module.c symbol searching logic [PATCH] kobj_map semaphore to mutex conversion [PATCH] kref: avoid an atomic operation in kref_put() [PATCH] handle errors returned by platform_get_irq*() [PATCH] driver core: platform_get_irq*(): return -ENXIO on error ... commit ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 tree 3785afef7c0f7b72ec87f88fc19b88bfb48386fe parent e031d33efde817ce6b4f907f0fa1ff021301748f parent 2b422383c3d8dcd203dd9aea70155be6258dbf6c author Linus Torvalds Tue, 21 Mar 2006 09:23:46 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:23:46 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: README: bzip2 is not new Documentation/Changes: remove outdated translation references remove dead Radeon URL SCSI_AACRAID: add a help text update the i386 defconfig MAINTAINERS: remove the LANMEDIA entry Move ip2.c and ip2main.c to drivers/char/ip2/ where the other files commit e031d33efde817ce6b4f907f0fa1ff021301748f tree 2e9ba300db601f61fdc32813f55114d363d3d4e2 parent 52aef8183fbedb0232b20127b089e85e7aa095e3 parent 48e08101c0fa0e1767cdef13fdaea79cad3106a2 author Linus Torvalds Tue, 21 Mar 2006 09:22:41 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:22:41 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Update defconfigs. [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. [MIPS] TX49XX has prefetch. [MIPS] Kill tlb-andes.c. [MIPS] War on whitespace: cleanup initial spaces followed by tabs. [MIPS] Makefile crapectomy. [MIPS] Reformat __xchg(). [MIPS] Mention Broadcom part number for BigSur board [MIPS] Remove CONFIG_BUILD_ELF64. [MIPS] Further sparsification for 32-bit compat code. [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend [MIPS] Signal cleanup [MIPS] Reformat all of signal32.c with tabs instead of space for consistency [MIPS] Delete unused sys32_waitpid. [MIPS] Make I/O helpers more customizable [MIPS] Symmetric Uniprocessor support for Qemu. [MIPS] sc-rm7k.c cleanup [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. [MIPS] Add early console for Cobalt. commit 52aef8183fbedb0232b20127b089e85e7aa095e3 tree 4c06b3351284f222a9cd825e6f1ea8543e7656c2 parent 28c006c1f09ea92d4f2585a087a188955ce3f64c parent fd02e8038eb943755e8727a0ea193c037a51714f author Linus Torvalds Tue, 21 Mar 2006 09:22:08 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:22:08 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (47 commits) IB/mthca: Query SRQ srq_limit fixes IPoIB: Get rid of useless test of queue length IB/mthca: Correct reported SRQ size in MemFree case. IB/mad: Fix oopsable race on device removal IB/srp: Coverity fix to srp_parse_options() IB/mthca: Coverity fix to mthca_init_eq_table() IB: Coverity fixes to sysfs.c IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue IPoIB: Fix build now that neighbour destructor is in neigh_params IB/uverbs: Use correct alt_pkey_index in modify QP IB/umad: Add support for large RMPP transfers IB/srp: Add SCSI host attributes to show target port IB/cm: Check cm_id state before handling a REP IB/mthca: Update firmware versions IB/mthca: Optimize large messages on Sinai HCAs IB/uverbs: Fix query QP return of sq_sig_all IB: Fix modify QP checking of "current QP state" attribute IPoIB: Fix multicast race between canceling and completing IPoIB: Clean up if posting receives fails IB/mthca: Use an enum for HCA page size ... commit 28c006c1f09ea92d4f2585a087a188955ce3f64c tree 2615749653cd3ba4852d2f5ed22f21eec0cd5712 parent cbe037b46f564188045937e6006c5c1d6093618a parent 7abe53155b77c31028a7158883bc9aac705790da author Linus Torvalds Tue, 21 Mar 2006 09:20:47 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:20:47 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] Fix cosmetic typo in asm/irq.h [ARM] 3367/1: CLCD mode no longer supported on the RealView boards [ARM] 3366/1: Allow the 16bpp mode configuration in the CLCD control register commit cbe037b46f564188045937e6006c5c1d6093618a tree a06d32fbe5c19fbd674ab3df05476743803c9615 parent f0481730c827421cf1548bfd73c073c0f47f2907 parent cd85f6e2f58282186ad720fc18482be228f0b972 author Linus Torvalds Tue, 21 Mar 2006 09:20:12 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:20:12 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (112 commits) [libata] sata_mv: fix irq port status usage [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() [PATCH] libata: use local *id instead of dev->id in ata_dev_configure() [PATCH] libata: check Word 88 validity in ata_id_xfer_mask() [PATCH] libata: fix class handling in ata_bus_probe() [PATCH] ahci: enable prefetching for PACKET commands libata: turn on ATAPI by default [PATCH] sata_sil24: lengthen softreset timeout [PATCH] sata_sil24: exit early from softreset if SStatus reports no device [PATCH] libata: fix missing classes[] initialization in ata_bus_probe() [PATCH] libata: kill unused xfer_mode functions [PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers [PATCH] libata: use xfer_mask helpers in ata_dev_set_mode() [PATCH] libata: use ata_id_xfermask() in ata_dev_configure() [PATCH] libata: add xfer_mask handling functions [PATCH] libata: improve xfer mask constants and update ata_mode_string() [PATCH] libata: rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK [PATCH] libata: kill unused pio_task and packet_task [PATCH] libata: convert pio_task and packet_task to port_task [PATCH] libata: implement port_task ... commit f0481730c827421cf1548bfd73c073c0f47f2907 tree 0d25ab7377afd270995f8c31d2953ffa32c8aa40 parent c4a1745aa09fc110afdefea0e5d025043e348bae parent ecb73774e5f5b5f635a70073086c3f57b4ca4ae6 author Linus Torvalds Tue, 21 Mar 2006 09:01:08 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:01:08 -0800 Merge kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git with fixups This merges the DVB tree, but fixes up the history that had gotten screwed up by a broken commit. The history is fixed up by re-doing the commit properly (taking the resolve from the final result of the original), and then cherry-picking the commits that followed the broken merge. * dvb: (190 commits) V4L/DVB (3545): Fixed no_overlay option and quirks on saa7134 driver V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion V4L/DVB (3538): Bt8xx documentation update V4L/DVB (3537a): Whitespace cleanup V4L/DVB (3533): Add WSS (wide screen signalling) module parameters V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. V4L/DVB (3530): Kconfig: remove VIDEO_AUDIO_DECODER V4L/DVB (3529): Kconfig: add menu items for cs53l32a and wm8775 A/D converters V4L/DVB (3528): Kconfig: fix ATSC frontend menu item names by manufacturer V4L/DVB (3527): VIDEO_CPIA2 must depend on USB V4L/DVB (3525): Kconfig: remove VIDEO_DECODER V4L/DVB (3524): Kconfig: add menu items for saa7115 and saa7127 V4L/DVB (3494): Kconfig: select VIDEO_MSP3400 to build msp3400.ko V4L/DVB (3522): Fixed a trouble with other PAL standards V4L/DVB (3521): Avoid warnings at video-buf.c V4L/DVB (3514): SAA7113 doesn't have auto std chroma detection mode V4L/DVB (3513): Remove saa711x driver V4L/DVB (3509): Make a needlessly global function static. V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect V4L/DVB (3504): Medion 7134: Autodetect second bridge chip ... Signed-off-by: Linus Torvalds commit ecb73774e5f5b5f635a70073086c3f57b4ca4ae6 tree d8313c4007896c78dfe05884a7740cb048ffd62a parent 08f1d0b99f4e2203935d86640a7fec5c233b777c author Mauro Carvalho Chehab Fri, 17 Mar 2006 20:54:32 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:54:02 -0800 V4L/DVB (3545): Fixed no_overlay option and quirks on saa7134 driver Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab commit 08f1d0b99f4e2203935d86640a7fec5c233b777c tree 924b69bf3ef08d9b13582aeee50720392a135ddb parent 8abe58aee6c682b5d300ce8e792821475646d79d author Manu Abraham Fri, 17 Mar 2006 18:21:17 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:54:00 -0800 V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 8abe58aee6c682b5d300ce8e792821475646d79d tree b002b77108c8f2e1bb021f9db7ae4b40d8f50a77 parent a8733ca5141c256322ab5ea9fd3074942a209bba author Uwe Bugla Thu, 16 Mar 2006 20:37:05 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:59 -0800 V4L/DVB (3538): Bt8xx documentation update Signed-off-by: Uwe Bugla Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit a8733ca5141c256322ab5ea9fd3074942a209bba tree b1c197500cdeabe8e863d6aecb6c8e3740c25909 parent 4caba4261f2649215710ac0298bd7814080000ad author Mauro Carvalho Chehab Fri, 17 Mar 2006 10:37:02 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:57 -0800 V4L/DVB (3537a): Whitespace cleanup Signed-off-by: Mauro Carvalho Chehab commit 4caba4261f2649215710ac0298bd7814080000ad tree 13f37c47560cb8692ac0ee5f6187647f576da932 parent 265366e8fb8c31706711aea5f79d763816a968db author Oliver Endriss Fri, 17 Mar 2006 05:29:15 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:55 -0800 V4L/DVB (3533): Add WSS (wide screen signalling) module parameters Add wss_cfg_4_3 and wss_cfg_16_9 configuration options. Firmware 2623 or later required. Both parameters are bit masks: - bit 15: disable WSS - bit 14: send short WSS burst, then turn off WSS - bit 13..0: WSS bits as specified by the standard These parameters are useful if you own a broken tv set which does not handle wss correctly. Default settings: - wss_cfg_4_3: 0x4008 - wss_cfg_16_9: 0x0007 These should work with most devices. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 265366e8fb8c31706711aea5f79d763816a968db tree 13841d27e621067180884f00d4019580674c28d5 parent ad5125913be0a723a2e17824ec688d4890bf978b author Perceval Anichini Thu, 16 Mar 2006 11:22:47 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:54 -0800 V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Modified av7110 and budget drivers to include the new file. Signed-off-by: Perceval Anichini Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit ad5125913be0a723a2e17824ec688d4890bf978b tree 64db03969bf5e91e3b9d1078709950b4e5f5b9aa parent e273db7a99eabb4b2ba66dbaa90a63894cb2f2e3 author Michael Krufky Thu, 16 Mar 2006 14:53:23 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:53 -0800 V4L/DVB (3530): Kconfig: remove VIDEO_AUDIO_DECODER - removed VIDEO_AUDIO_DECODER Kconfig menu item. VIDEO_MSP3400, VIDEO_CS53L32A and VIDEO_WM8775 now each have their own menu items. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e273db7a99eabb4b2ba66dbaa90a63894cb2f2e3 tree ea935a2a807a6dd8a3dd323023726e44f5b55b32 parent f5c08a2ee906381d85a6f0a3ca309fd56cf3b90f author Michael Krufky Thu, 16 Mar 2006 14:48:38 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:52 -0800 V4L/DVB (3529): Kconfig: add menu items for cs53l32a and wm8775 A/D converters - created Kconfig item, VIDEO_CS53L32A, for the cs53l32a module which supports the Cirrus Logic CS53L32A Low Voltage Stereo A/D Converter. - created Kconfig item, VIDEO_WM8775, for the wm8775 module which supports the Wolfson Microelectronics WM8775 high performance stereo A/D Converter. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f5c08a2ee906381d85a6f0a3ca309fd56cf3b90f tree 6793d765aa7f42dab52e760f4153e891386a1c8d parent e690e14c9476aa46ec49ce8e24a591f786aa4766 author Michael Krufky Thu, 16 Mar 2006 13:18:25 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:50 -0800 V4L/DVB (3528): Kconfig: fix ATSC frontend menu item names by manufacturer - Corrected typo for NxtWave NXT200X - Added "Oren" manufacturer name to menu items for OR51132 and OR51211 - Removed "(pcHDTV HDx000 card)" from Oren frontends menu item names, This isn't necessary, as these frontends are selected by the card drivers, build configuration (DVB_BT8XX and VIDEO_CX88_DVB). Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e690e14c9476aa46ec49ce8e24a591f786aa4766 tree 6da6208288a96263f7142377b0018bad842d1f09 parent baacb5bf47eb4066d5f715529d5e68b004ad574c author Adrian Bunk Thu, 16 Mar 2006 12:53:53 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:49 -0800 V4L/DVB (3527): VIDEO_CPIA2 must depend on USB CONFIG_VIDEO_CPIA2=y, CONFIG_USB=n results in the following compile <-- snip --> ... LD .tmp_vmlinux1 drivers/built-in.o: In function `set_alternate':cpia2_usb.c:(.text+0x443aa2): undefined reference to `usb_set_interface' drivers/built-in.o: In function `cpia2_usb_stream_resume': undefined reference to `usb_alloc_urb' drivers/built-in.o: In function `cpia2_usb_stream_resume': undefined reference to `usb_submit_urb' drivers/built-in.o: In function `cpia2_usb_stream_pause': undefined reference to `usb_kill_urb' drivers/built-in.o: In function `cpia2_usb_stream_pause': undefined reference to `usb_free_urb' drivers/built-in.o: In function `cpia2_usb_disconnect':cpia2_usb.c:(.text+0x443e14): undefined reference to `usb_driver_release_interface' drivers/built-in.o: In function `cpia2_usb_transfer_cmd': undefined reference to `usb_control_msg' drivers/built-in.o: In function `cpia2_usb_transfer_cmd': undefined reference to `usb_control_msg' drivers/built-in.o: In function `cpia2_usb_complete':cpia2_usb.c:(.text+0x444836): undefined reference to `usb_submit_urb' drivers/built-in.o: In function `cpia2_usb_cleanup': undefined reference to `usb_deregister' drivers/built-in.o: In function `cpia2_usb_init': undefined reference to `usb_register_driver' Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit baacb5bf47eb4066d5f715529d5e68b004ad574c tree 0a475bb857a622d97c3d9c7bbff5abf820699ff0 parent ac9ec9358e63878b105f48f5f094105dff7d9833 author Michael Krufky Thu, 16 Mar 2006 02:59:09 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:48 -0800 V4L/DVB (3525): Kconfig: remove VIDEO_DECODER - removed VIDEO_DECODER Kconfig menu item. VIDEO_CX25840, VIDEO_SAA711X and VIDEO_SAA7127 now each have their own menu items. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ac9ec9358e63878b105f48f5f094105dff7d9833 tree 72abee794d515a1ad4b4a7d511828c195d03c058 parent cfdd4ad0661e57db353ff36c2e8c57fc956cf6fb author Michael Krufky Thu, 16 Mar 2006 02:53:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:47 -0800 V4L/DVB (3524): Kconfig: add menu items for saa7115 and saa7127 - created Kconfig menu item, VIDEO_SAA711X, for the saa7115 module, which supports SAA7113, SAA7114 and SAA7115 video decoders. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit cfdd4ad0661e57db353ff36c2e8c57fc956cf6fb tree 6a81b022ac68a1949223d69be0496ae02d9154d2 parent 02c17224da6182d11cde34d57b27b93aaa7206cf author Michael Krufky Mon, 13 Mar 2006 23:44:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:45 -0800 V4L/DVB (3494): Kconfig: select VIDEO_MSP3400 to build msp3400.ko The msp3400 driver is currently only being built if the bttv driver is selected. There are new drivers that will be needing msp3400, so simply including msp3400 in the Makefile is no longer appropriate. This patch creates VIDEO_MSP3400, and alters VIDEO_BT848, VIDEO_PVRUSB2 and VIDEO_AUDIO_DECODER each to select VIDEO_MSP3400. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 02c17224da6182d11cde34d57b27b93aaa7206cf tree 37c07631c17f5c4ce2ed0dd0cb1f570e58de25cc parent 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 author Mauro Carvalho Chehab Thu, 16 Mar 2006 18:44:07 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:44 -0800 V4L/DVB (3522): Fixed a trouble with other PAL standards V4L2_STD_PAL define is not correct. It specifies only 50Hz PAL standards. This patch fixes saa7113 color config for other PAL video standards. Signed-off-by: Mauro Carvalho Chehab commit 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 tree 2dbd3ce5f7349b46974e8759895aa5827c14d04d parent f89982a978974cc2fb74f512d7ec7438e0e851ea author Mauro Carvalho Chehab Wed, 15 Mar 2006 17:52:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:43 -0800 V4L/DVB (3521): Avoid warnings at video-buf.c Signed-off-by: Mauro Carvalho Chehab commit f89982a978974cc2fb74f512d7ec7438e0e851ea tree da9f6499f89f73fd0308f6ec98839ed41d5bba20 parent f5762e441d5022ecc5b66b5fe54e41e2ac5d02be author Mauro Carvalho Chehab Tue, 14 Mar 2006 16:33:33 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:41 -0800 V4L/DVB (3514): SAA7113 doesn't have auto std chroma detection mode This patch makes chroma standard selection based at possible values, according with datasheet. Signed-off-by: Mauro Carvalho Chehab commit f5762e441d5022ecc5b66b5fe54e41e2ac5d02be tree 6afff3bc33f4d8a2dca15a681902316d230eb811 parent c04e89b1f2c624fbb1e57874062491c2b987c7e2 author Mauro Carvalho Chehab Mon, 13 Mar 2006 13:31:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:40 -0800 V4L/DVB (3513): Remove saa711x driver Now, em28xx uses saa7115 instead of saa711x. saa7115 driver is capable of handling saa 7113, 7114 and 7115. Signed-off-by: Mauro Carvalho Chehab commit c04e89b1f2c624fbb1e57874062491c2b987c7e2 tree 35851248f05529e604c0dcd90ee6458c5a08ddc6 parent 77cc5319900054662861cb147f300b1d1d22fcc5 author Adrian Bunk Wed, 15 Mar 2006 16:17:11 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:37 -0800 V4L/DVB (3509): Make a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 77cc5319900054662861cb147f300b1d1d22fcc5 tree e466424e389bc28c2f869728491fed40508e9452 parent ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f author Markus Rechberger Wed, 15 Mar 2006 09:31:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:34 -0800 V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect Detaching the device didn't clean up several device files in /dev/dvb, after applying that patch all dvb devices disappeared as expected. Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f tree 71e22f12307169af9a5ad96a51766b38736f3953 parent 67ac9a40f90db57b09f7d98f72d8d0344acefbac author Michael Krufky Tue, 14 Mar 2006 19:02:12 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:33 -0800 V4L/DVB (3504): Medion 7134: Autodetect second bridge chip The device, Medion 7134, has two saa7134 chips on it, but only one of them is functional in the current saa7134 driver. This patch adds autodetection for the second, unsupported saa7134 chip, as SAA7134_BOARD_MD7134_BRIDGE_2, and displays a message to the user (in dmesg) indicating that the second chip isn't yet functional. This is useful for users, since two instances of the saa7134 driver will spawn. This patch will prevent confusion by warning the user that only one of the chips on the board are functional. There are other versions of the SAA7134_BOARD_MD7134 with only a single saa7134 bridge/decoder -- those devices will not be affected by this patch. Only devices containing the second chip will display the warning. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 67ac9a40f90db57b09f7d98f72d8d0344acefbac tree 836d847d1708ec8aa2fe4e3a01e315203210a840 parent 12a219da0a74d1d797475addbccaedf2343be571 author Michael Krufky Tue, 14 Mar 2006 16:18:49 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:32 -0800 V4L/DVB (3503): Whitespace: fix incorrect indentation of curly bracket Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 12a219da0a74d1d797475addbccaedf2343be571 tree c6610dd1976b8d36b94e8b2e70a4c1dfe73a3577 parent 34731df288a5ffe4b0c396caf8cd24c6a710a222 author Michael Krufky Tue, 14 Mar 2006 16:07:42 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:30 -0800 V4L/DVB (3502): Saa7134: make unsupported secondary decoder message generic There are already some supported devices that contain two saa713x chips on-board, where only one of these chips is currently functional in the driver. We are already printing a warning message for the second saa7134 decoder in SAA7134_BOARD_AVERMEDIA_A169_B. This patch alters that case to make it generic, so that other cards in the same situation can use it. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 34731df288a5ffe4b0c396caf8cd24c6a710a222 tree 06738b1c00d2bee0df3b42d125b2ca4e03fc18b0 parent 4304954eb668ce66fc58f1cab9abb9a9e2584549 author Andreas Oberritter Tue, 14 Mar 2006 17:31:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:29 -0800 V4L/DVB (3501): Dmxdev: use dvb_ringbuffer Use dvb_ringbuffer instead of an own buffer implementation in dmxdev.[ch]. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 4304954eb668ce66fc58f1cab9abb9a9e2584549 tree d0cfb5b30f033ce3736c1977d71d984d7074cbf3 parent 19478843e4f8af7de9b297876519ee8b98c2f5ad author Andreas Oberritter Tue, 14 Mar 2006 17:30:09 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:27 -0800 V4L/DVB (3500): Ringbuffer: don't reset pointers to zero Oliver Endriss spotted, that resetting read and write pointers on flush() requires additional locking and breaks the av7110 driver. Therefore this patch partially reverts the previous patch titled "make dvb_ringbuffer compatible to dmxdev_buffer". Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 19478843e4f8af7de9b297876519ee8b98c2f5ad tree 3ba0739399f7acbdc5a96d46bff9f6b17c1c520c parent 5e5890e16ea917ad489a7778f51631bdb14523a2 author Mauro Carvalho Chehab Tue, 14 Mar 2006 17:24:57 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:26 -0800 V4L/DVB (3499): Fix a bug when more than MAXBOARDS were plugged on em28xx Coverity reported a bug at checking max number of supported boards by em28xx init code. Signed-off-by: Mauro Carvalho Chehab commit 5e5890e16ea917ad489a7778f51631bdb14523a2 tree 42501c5da6b45b6357201c8fa8c6b6d0c0d9163e parent 49444fe1239cc26882d1b1fdcc658b3bdf8df942 author Michael Krufky Tue, 14 Mar 2006 01:25:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:25 -0800 V4L/DVB (3497): Remove redundant makefile inclusion of tuner.o VIDEO_MXB selects VIDEO_TUNER, so we don't have to include tuner.o in the Makefile. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 49444fe1239cc26882d1b1fdcc658b3bdf8df942 tree f1e567475419a2f4a6cc17cbd8a721f8eb312ddc parent f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 author Michael Krufky Tue, 14 Mar 2006 00:52:20 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:24 -0800 V4L/DVB (3496): Cpia2: move Kconfig build logic into cpia2/Kconfig Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 tree c76a52168fde687ced2a2224c9beca5eb274616c parent 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 author Michael Krufky Tue, 14 Mar 2006 00:35:07 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:22 -0800 V4L/DVB (3495): Kconfig: select VIDEO_CX25840 to build cx25840 a/v decoder module The cx25840 module requires external firmware in order to function, so it must select FW_LOADER, but saa7115 and saa7129 do not require it. This patch creates VIDEO_CX25840, and alters VIDEO_DECODER to select it. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 tree 889d77d98d5584c7f90293344e56da62fd77a891 parent ae24601b47c3f4a56545ef4cd4e7c821ac1db598 author Duncan Sands Tue, 14 Mar 2006 12:12:39 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:21 -0800 V4L/DVB (3488): Snd_cx88_create: don't dereference NULL core If the call to cx88_core_get returns a NULL value, it is dereferenced by cx88_reset, and perhaps by cx88_core_put. Spotted by the Coverity checker. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit ae24601b47c3f4a56545ef4cd4e7c821ac1db598 tree 562258e9fdec32a9b7410a8467dc5315bdbfe8c3 parent 9d9d6baeca6f9174b8e7fd219a62a8fa09d61cc7 author Eric Sesterhenn Mon, 13 Mar 2006 13:17:11 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:19 -0800 V4L/DVB (3485): BUG_ON() Conversion in drivers/video/media Signed-off-by: Eric Sesterhenn Signed-off-by: Mauro Carvalho Chehab commit 9d9d6baeca6f9174b8e7fd219a62a8fa09d61cc7 tree d98ceaf625ca9b16536b641476c9fc93177bd79b parent fc34f165317403444d254a27bc356dc5de0bbc3d author Andreas Oberritter Mon, 13 Mar 2006 13:14:34 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:17 -0800 V4L/DVB (3484): Make dvb_ringbuffer compatible to dmxdev_buffer Added variable 'error' to struct dvb_ringbuffer, which is set to zero on init() and flush(). Also reset read an write pointers to zero on flush() to get less fragmented data. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit fc34f165317403444d254a27bc356dc5de0bbc3d tree 1bfd73382f95e229100ab9824acc425fe376bf10 parent 9f9c907fdc331fc6062d758f46f65cb0d2dd11be author Michael Krufky Mon, 13 Mar 2006 03:41:44 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:16 -0800 V4L/DVB (3479): Cleanup mangled whitespace Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9f9c907fdc331fc6062d758f46f65cb0d2dd11be tree 4e699fdfeb360a02fa9d1ba880d65b4a47ffe77e parent a5daecbaebda687d62c2ba1f46adaa96e4394282 author Marcin Rudowski Sun, 12 Mar 2006 00:03:47 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:15 -0800 V4L/DVB (3449): Cx88 default picture controls values This patch fixes default values for some picture controls: - brightness set to 50% by default (now is 0%) - hue set to 50% by default (now is 0%) - sets saturation to datasheet value - volume set to 0dB (now is -32dB) and some left small fixes: - twice offset adding - balance didn't follow datasheet (bits[0:5] = attenuation; bit[6] = channel to provide attenuation) Signed-off-by: Marcin Rudowski Signed-off-by: Ian Pickworth Signed-off-by: Mauro Carvalho Chehab commit a5daecbaebda687d62c2ba1f46adaa96e4394282 tree 84b8d689cc4bf12ec923e85d8c631049ada67c6d parent 49239c35f28e53f280b47efdbccfdf2cbd728993 author Matheus Izvekov Sat, 11 Mar 2006 23:54:58 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:14 -0800 V4L/DVB (3448): Cx88-input.c: add IR remote control support to CX88_BOARD_PROLINK_PLAYTVPVR This patch adds support for the IR remote control found in the card CX88_BOARD_PROLINK_PLAYTVPVR. Signed-off-by: Matheus Izvekov Signed-off-by: Mauro Carvalho Chehab commit 49239c35f28e53f280b47efdbccfdf2cbd728993 tree 5a06826c3ea236bcd9d66bf76367d863dad4f1f5 parent 68593af311aadb541b3b70acea175dea8e9cf7ca author Matheus Izvekov Sat, 11 Mar 2006 23:54:24 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:12 -0800 V4L/DVB (3447): Cx88-cards.c: fix values of gpio0 for card CX88_BOARD_PROLINK_PLAYTVPVR This patch changes the gpio0 values for the card CX88_BOARD_PROLINK_PLAYTVPVR to the ones observed using RegSpy from the dscaler project. Signed-off-by: Matheus Izvekov Signed-off-by: Mauro Carvalho Chehab commit 68593af311aadb541b3b70acea175dea8e9cf7ca tree ec38cccc0099c961e539005dc42adc28447c3231 parent f3629be8388a679590eb919919ee63e2715ec25e author Rickard Osser Sat, 11 Mar 2006 17:14:12 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:11 -0800 V4L/DVB (3446): Saa7134: add support for AVerMedia A169 Dual Analog tuner card - Added support for AVerMedia A169 Dual Analog tuner card (dual saa7134 decoders - only 1 working right now) - Added autodetection for both parts of the card. It shows up like 2 cards, B1 and B - Enabled tuner B1, SVIDEO on B1 and composite1 through SVIDEO, FIXME: B is more or less dead at this point and I suspect the FM-radio is on the B part of the board Signed-off-by: Rickard Osser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f3629be8388a679590eb919919ee63e2715ec25e tree d97efc61c0845959da4918041fec21c88b9df76a parent fd2f26771b14a321f4003366fdf99a2484fa6b2a author Michael Krufky Sat, 11 Mar 2006 17:02:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:10 -0800 V4L/DVB (3445): LG TALN series: add PAL / SECAM support - added tuner_lg_taln_pal_secam_ranges - renamed tuner 66 from TUNER_LG_NTSC_TALN_MINI to TUNER_LG_TALN - updated FlyTV mini Asus Digimatrix with new tuner Thanks-to: Rickard Osser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fd2f26771b14a321f4003366fdf99a2484fa6b2a tree 22b566b4999bd8f37355d81378b93f668d6efbba parent b1b168e62390b720e46271937355edba0a6e30bf author Michael Krufky Sat, 11 Mar 2006 16:21:36 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:09 -0800 V4L/DVB (3444): Saa7134: small whitespace cleanup - matched indents on quotes within a printk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b1b168e62390b720e46271937355edba0a6e30bf tree 5582db482b1fc6127eb3e597ea39a9f8ee683d9e parent 9050d942b7dc55cd8e6d9b2c1ce260656021f0fb author Michael Krufky Sat, 11 Mar 2006 16:12:35 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:07 -0800 V4L/DVB (3443): Thomson FE6600: add missing "count" array element - added missing "count" element in Thomson FE6600 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9050d942b7dc55cd8e6d9b2c1ce260656021f0fb tree 6906a570d9519b7368c626704413a317dda3c7e5 parent f705e6e4940c4e803240b77c6c63fb2d47a97b59 author Mauro Carvalho Chehab Fri, 10 Mar 2006 16:46:50 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:06 -0800 V4L/DVB (3439): Added no_overlay option and quirks to saa7134 Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab commit f705e6e4940c4e803240b77c6c63fb2d47a97b59 tree 0460c86284575f3662ea2c74bb56f713951cc043 parent bbad7dc5488a04fadebd7fa8aa051d81c2ae0080 author Andreas Oberritter Fri, 10 Mar 2006 15:22:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:05 -0800 V4L/DVB (3438): Optical cleanup for dmxdev.c Used Lindent, manually changed some line breaks. Removed invalid email addresses, useless casts and useless initialization of return values. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit bbad7dc5488a04fadebd7fa8aa051d81c2ae0080 tree ec1ddb9229f93e7a3b911b68d1e5aae800249ea7 parent 6abe6bff6fc62832bc8cce3886b9670ba2542601 author Andreas Oberritter Fri, 10 Mar 2006 15:21:58 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:04 -0800 V4L/DVB (3437): Fix typo in enum name and use enum in struct dmxdev_filter Rename 'enum dmxdevype' to 'enum dmxdev_type' and use this enum instead of int for the member 'type' of struct dmxdev_filter. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 6abe6bff6fc62832bc8cce3886b9670ba2542601 tree af38646bed34ff33aa6a95395a1d9a634b320542 parent 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 author Andreas Oberritter Fri, 10 Mar 2006 15:21:43 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:02 -0800 V4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter The member dvbdev gets initialized once but is never used after that. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 tree 01078a40df1d15b3b14c81b3f085a75b8ad64b35 parent 4aca4831aafad64a8622cd855c5f952228d75d72 author Andreas Oberritter Fri, 10 Mar 2006 15:21:28 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:01 -0800 V4L/DVB (3435): Remove 'pid' from struct dmxdev_filter The PID value is already stored in struct dmx_sct_filter_params which is a member of struct dmxdev_filter. Acked-by: Johannes Stezenbach Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 4aca4831aafad64a8622cd855c5f952228d75d72 tree 9efeaaba608910282c881abe93a9afacd205a1ea parent 7947a220e5fe1373f1830b41fb7376bef636f113 author Marcin Rudowski Thu, 09 Mar 2006 16:09:51 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:00 -0800 V4L/DVB (3425): Correct gpio values for Aver 303 Studio in v4l-dvb tree Old values generally works in A2 mono, but new ones allows: - detect and use Nicam stereo - mute in tv - use radio FM Signed-off-by: Marcin Rudowski Signed-off-by: Mauro Carvalho Chehab commit 7947a220e5fe1373f1830b41fb7376bef636f113 tree 86637a1019721539cef1c94050c806e50fb2e504 parent cef4e7af71ec16aba13ae291e41262a8913a56d8 author Mauro Carvalho Chehab Thu, 09 Mar 2006 16:09:20 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:58 -0800 V4L/DVB (3424): Updated CARDLIST.tuner with newer tenna string Also Removed whitespaces introduced by previous tena patch Signed-off-by: Mauro Carvalho Chehab commit cef4e7af71ec16aba13ae291e41262a8913a56d8 tree c2565606eed842f898869b2a63b258d25a241007 parent 99ca99915068806552d1f90ce50bed4c7387d65a author Ian Pickworth Thu, 09 Mar 2006 12:03:40 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:57 -0800 V4L/DVB (3423): Fix cx88 error messages on balance change There is an error in the cx88 code that causes this message in the syslog when balance is changed at full volume: Mar 4 18:35:08 ian2 kernel: cx88[0]: irq pci [0x1] vid* Mar 4 18:35:39 ian2 last message repeated 348 times Mar 4 18:36:01 ian2 last message repeated 564 times ... and so on The attached patch cures this problem. Signed-off-by: Ian Pickworth Signed-off-by: Marcin Rudowski Signed-off-by: Mauro Carvalho Chehab commit 99ca99915068806552d1f90ce50bed4c7387d65a tree 24fbe348f28d65c215f7ed9c37ff49c909d0578a parent efcf55cb5c21d7142aeb1a5a4c14e40960600bd6 author Duncan Sands Thu, 09 Mar 2006 11:20:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:56 -0800 V4L/DVB (3420): Nskips maybe used uninitialized in bttv_risc_overlay The Coverity checker (previously Stanford checker) noticed that the value of nskips could be read even if it was never written. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit efcf55cb5c21d7142aeb1a5a4c14e40960600bd6 tree 0f0b87521ce22495623fad9e1534b8164e0eec57 parent b05005772f34497eb2b7415a651fe785cbe70e16 author Mauro Carvalho Chehab Thu, 09 Mar 2006 11:17:43 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:55 -0800 V4L/DVB (3419): This patch fixes Tuner TNF5335 family Radio now works. Tuner now supports both PAL/D and STD/MN models Signed-off-by: Mauro Carvalho Chehab commit b05005772f34497eb2b7415a651fe785cbe70e16 tree b176aeb7fa9baf69e77ddd83e844727490bfcf28 parent 044f324f6ea5d55391db62fca6a295b2651cb946 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Linus Torvalds Tue, 21 Mar 2006 08:52:18 -0800 committer Linus Torvalds Tue, 21 Mar 2006 08:52:18 -0800 Merge branch 'origin' Conflicts: Documentation/video4linux/CARDLIST.cx88 drivers/media/video/cx88/Kconfig drivers/media/video/em28xx/em28xx-video.c drivers/media/video/saa7134/saa7134-dvb.c Resolved as in the original merge by Mauro Carvalho Chehab commit 48e08101c0fa0e1767cdef13fdaea79cad3106a2 tree a73350ce66c8a03febc0a033b68a46181b7e659c parent 17256052ff8c50f2330d2f297745fdbd6f37b720 author Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] Update defconfigs. Signed-off-by: Ralf Baechle commit 17256052ff8c50f2330d2f297745fdbd6f37b720 tree 023d98b156e70f7aee35afce952ce54c217c1da6 parent 947df17cb1be4c7239280a77263c249fde1379ef author Martin Michlmayr Mon, 20 Mar 2006 02:51:20 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. Put in a blank line between CPU entries in /proc/cpuinfo, just like most other architectures (i386, ia64, x86_64) do. Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle --- commit 947df17cb1be4c7239280a77263c249fde1379ef tree 1e32d0e81848e59a9796c3034208aa72432583d0 parent de862b488e81172d4c610945efd9f3fc7f4b84a7 author H. Peter Anvin Fri, 24 Feb 2006 21:20:29 -0800 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. This patch adjusts the offset argument passed into sys_mmap2 to be always shifted 12, even when the native page size isn't 4K. This is what all existing userspace libraries expect. Signed-off-by: H. Peter Anvin Signed-off-by: Ralf Baechle --- commit de862b488e81172d4c610945efd9f3fc7f4b84a7 tree 677cde48279d65350e9dc2bb92204c2efd59b11a parent c6281edb1d5e307f056fff0e174f60fa6133adc5 author Atsushi Nemoto Fri, 17 Mar 2006 12:59:22 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] TX49XX has prefetch. The TX49XX has the prefetch instruction. It supports only Pref_Load (hint 0). Actually changes in this patch except for Kconfig are not have any effects, I added these changes to prevent misuse of unsupported hints. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit c6281edb1d5e307f056fff0e174f60fa6133adc5 tree 6cc6a0e1beb403fe60740b42137aa81e3759efc1 parent a3dddd560ee936495466d85ecc97490d171e8d31 author Thiemo Seufer Tue, 14 Mar 2006 14:35:27 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Kill tlb-andes.c. Basically identical to c-r4k.c, so maintaining one is really enough. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit a3dddd560ee936495466d85ecc97490d171e8d31 tree e9b5d778b5249ce348d2285a9b886b83c510d813 parent 59b3e8e9aac69d2d02853acac7e2affdfbabca50 author Ralf Baechle Sat, 11 Mar 2006 08:18:41 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] War on whitespace: cleanup initial spaces followed by tabs. Signed-off-by: Ralf Baechle commit 59b3e8e9aac69d2d02853acac7e2affdfbabca50 tree d66a8b17f62dfea581923bf1685477809b4d74a7 parent 0cea043b56443aef8a77539cdd79451f5d55009d author Ralf Baechle Wed, 08 Mar 2006 11:35:00 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Makefile crapectomy. Dump all the ridiculously complicated stuff that was needed support compilers older and newer than 3.0. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 0cea043b56443aef8a77539cdd79451f5d55009d tree 17368d7b32d8025471604101ea4037632c9e578b parent a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 author Ralf Baechle Fri, 03 Mar 2006 09:42:05 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Reformat __xchg(). Signed-off-by: Ralf Baechle commit a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 tree 12d180613e02ff66c34c30334135016d875402c5 parent 8145095cd8fd466980ea6401f26a52e462275222 author Martin Michlmayr Wed, 01 Mar 2006 01:55:05 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Mention Broadcom part number for BigSur board Mention the Broadcom part number for the BigSur board (BCM91480B) in Kconfig, just like it's done for other Broadcom boards. Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle commit 8145095cd8fd466980ea6401f26a52e462275222 tree c6f8642c2137f5fb053f018185cfd15ff7a34c00 parent 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a author Ralf Baechle Wed, 22 Feb 2006 23:06:55 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Remove CONFIG_BUILD_ELF64. This option is no longer usable with supported compilers. It will be replaced by usage of -msym32 in a separate patch. Signed-off-by: Ralf Baechle commit 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a tree debe814488e9e36ac0870f2c97af23d229a2570e parent b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 author Atsushi Nemoto Tue, 21 Feb 2006 16:05:11 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Further sparsification for 32-bit compat code. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 tree 29b0b689886a3cb6ece801eac5b15da08dc2f489 parent 9c6031cc93626a194a9ef32d62b078ef1b396c45 author Atsushi Nemoto Tue, 21 Feb 2006 01:27:59 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9c6031cc93626a194a9ef32d62b078ef1b396c45 tree ccc33703eb7e47193f06cbe995754efde92e658b parent 6254944faf5ff96b8b468457e3e2b2dcacc29fb7 author Atsushi Nemoto Sun, 19 Feb 2006 23:46:44 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Signal cleanup Move function prototypes to asm/signal.h to detect trivial errors and add some __user tags to get rid of sparse warnings. Generated code should not be changed. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 6254944faf5ff96b8b468457e3e2b2dcacc29fb7 tree 5bae0042d6f83bf348c422d05fc29296a6a21b37 parent af2667f7efa64706c78b8bee1398726fc86b42ad author Martin Michlmayr Sat, 18 Feb 2006 20:06:32 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Reformat all of signal32.c with tabs instead of space for consistency Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle commit af2667f7efa64706c78b8bee1398726fc86b42ad tree 126b18451aa5ded3fcaf4219c7645fd4ab726112 parent a8433137ea9143bb3a2bc18a3407b5a130fdb868 author Ralf Baechle Sun, 19 Feb 2006 03:20:07 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Delete unused sys32_waitpid. Signed-off-by: Ralf Baechle commit a8433137ea9143bb3a2bc18a3407b5a130fdb868 tree ff40223bf542173015c070a988a4f3b0554f89ea parent c1449c8fa40859eb269025a7db85b34115205f5b author Atsushi Nemoto Fri, 17 Feb 2006 01:36:24 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Make I/O helpers more customizable 1. Move ioswab*() and __mem_ioswab*() to mangle-port.h. This gets rid of CONFIG_SGI_IP22 from include/asm-mips/io.h. 2. Pass a virtual address to *ioswab*(). Then we can provide mach-specific *ioswab*() and can do every evil thing based on its argument. It could be useful on machines which have regions with different endian conversion scheme. 3. Call __swizzle_addr*() _after_ adding mips_io_port_base. This unifies the meaning of the argument of __swizzle_addr*() (always virtual address). Then mach-specific __swizzle_addr*() can do every evil thing based on the argument. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit c1449c8fa40859eb269025a7db85b34115205f5b tree f92bf4d9544aec45b978ed8e3f638018054b3a5c parent 37caa934af02bc01d0e1366a49e1c89360fa0f29 author Ralf Baechle Wed, 15 Feb 2006 15:17:19 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Symmetric Uniprocessor support for Qemu. SMP bits needed to builds and run an SMP kernel. While only a single processor is supported ATM it's still useful for some SMP debugging using Qemu. Signed-off-by: Ralf Baechle commit 37caa934af02bc01d0e1366a49e1c89360fa0f29 tree 96f0a41a3edbd0404358a92e5af5c1739ce311ac parent bbad8123f3a40a7b262e8e52d0bc10da67d719bb author Atsushi Nemoto Wed, 15 Feb 2006 18:25:48 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] sc-rm7k.c cleanup Use blast_scache_range, blast_inv_scache_range for rm7k scache routine. Output code should be logically same. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit bbad8123f3a40a7b262e8e52d0bc10da67d719bb tree 5ff67d7159b91f5144efaf6dfc63bafde1150de7 parent e87dddeb92618d9dbb8b9f946a193739a4447609 author Ralf Baechle Wed, 15 Feb 2006 13:06:34 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:44 +0000 [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. Signed-off-by: Ralf Baechle commit e87dddeb92618d9dbb8b9f946a193739a4447609 tree 4a07a4edf9c2ddb2f3f9a36118120144af476d44 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Peter Horton Sun, 12 Feb 2006 17:10:25 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:44 +0000 [MIPS] Add early console for Cobalt. Signed-off-by: Peter Horton Signed-off-by: Ralf Baechle commit 55e9dce37ddf3ab358ba1d1e9eef4ee4bd8174a6 tree e850e9052d4db68905cb6c444e269ed7c719301e parent 06b42aa94b65806b4f8c5fc893ef97a2f491fb32 author David McCullough Wed, 15 Mar 2006 21:08:51 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:10 +1100 [CRYPTO] aes: Fixed array boundary violation The AES setkey routine writes 64 bytes to the E_KEY area even though there are only 60 bytes there. It is in fact safe since E_KEY is immediately follwed by D_KEY which is initialised afterwards. However, doing this may trigger undefined behaviour and makes Coverity unhappy. So by combining E_KEY and D_KEY into one array we sidestep this issue altogether. This problem was reported by Adrian Bunk. Signed-off-by: Herbert Xu commit 06b42aa94b65806b4f8c5fc893ef97a2f491fb32 tree f0d97bffb17bf4539c86bfcf1a38af3a441608bb parent 20ea340489ddee7b3a438ee58f32f2608cc145de author Atsushi Nemoto Mon, 13 Mar 2006 21:39:23 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:09 +1100 [CRYPTO] tcrypt: Fix key alignment Force 32-bit alignment on keys in tcrypt test vectors. Also rearrange the structure to prevent unnecessary padding. Signed-off-by: Atsushi Nemoto Signed-off-by: Herbert Xu commit 20ea340489ddee7b3a438ee58f32f2608cc145de tree 9ecb385a31b3a742e2e2faa0a40a57aaf276736c parent bbeb563f7bb5e703e4d60c18bed81c987781343f author Atsushi Nemoto Mon, 13 Mar 2006 21:30:29 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:09 +1100 [CRYPTO] all: Add missing cra_alignmask The "des3_ede" and "serpent" lack cra_alignmask. Signed-off-by: Atsushi Nemoto Signed-off-by: Herbert Xu commit bbeb563f7bb5e703e4d60c18bed81c987781343f tree 681d7b0b923e71e7ad38c7b41a6de2b72cce3f21 parent f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd author Eric Sesterhenn Mon, 06 Mar 2006 21:42:07 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] all: Use kzalloc where possible this patch converts crypto/ to kzalloc usage. Compile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: Herbert Xu commit f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd tree 345a25e1e1b2bcd647074844003d61b7d27e4e39 parent a5f8c473052bc693cdbe2f9ae4b424b993886ff5 author Herbert Xu Wed, 25 Jan 2006 22:34:01 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] api: Align tfm context as wide as possible Since tfm contexts can contain arbitrary types we should provide at least natural alignment (__attribute__ ((__aligned__))) for them. In particular, this is needed on the Xscale which is a 32-bit architecture with a u64 type that requires 64-bit alignment. This problem was reported by Ronen Shitrit. The crypto_tfm structure's size was 44 bytes on 32-bit architectures and 80 bytes on 64-bit architectures. So adding this requirement only means that we have to add an extra 4 bytes on 32-bit architectures. On i386 the natural alignment is 16 bytes which also benefits the VIA Padlock as it no longer has to manually align its context structure to 128 bits. Signed-off-by: Herbert Xu commit a5f8c473052bc693cdbe2f9ae4b424b993886ff5 tree 0ec45cbad059c744a27d85902ba2db6b0e960f41 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Denis Vlasenko Mon, 16 Jan 2006 17:42:28 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] twofish: Use rol32/ror32 where appropriate Convert open coded rotations to rol32/ror32. Signed-off-by: Herbert Xu commit 5e35941d990123f155b02d5663e51a24f816b6f3 tree 90499f3247e64210213d7b4da936f739d7a9711c parent 30ca3e376e82cc44488b1d377adfb10b5818548e author Jing Min Zhao Mon, 20 Mar 2006 23:41:17 -0800 committer David S. Miller Mon, 20 Mar 2006 23:41:17 -0800 [NETFILTER]: Add H.323 conntrack/NAT helper Signed-off-by: Jing Min Zhao Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 30ca3e376e82cc44488b1d377adfb10b5818548e tree c1f14cf8e3514c10640ec288535d1fcd45ae48f8 parent 322f74a432f976328e834a8663f2e75eb5933ecc author David S. Miller Mon, 20 Mar 2006 23:02:36 -0800 committer David S. Miller Mon, 20 Mar 2006 23:02:36 -0800 [TG3]: Don't mark tg3_test_registers() as returning const. Signed-off-by: David S. Miller commit 322f74a432f976328e834a8663f2e75eb5933ecc tree 78c0415bc4902862eef3b33254fc516ad24b6872 parent 0c600eda4b1c9f8f6d1bd643d494db5a29842fbe author Ingo Oeser Mon, 20 Mar 2006 23:01:47 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:47 -0800 [IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2 Here are some possible (and trivial) cleanups. - use kzalloc() where possible - invert allocation failure test like if (object) { /* Rest of function here */ } to if (object == NULL) return NULL; /* Rest of function here */ Signed-off-by: Ingo Oeser Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 0c600eda4b1c9f8f6d1bd643d494db5a29842fbe tree 3340fda7a4f9f481e7f91ed1f376c7b4bd5e9a6e parent 78c784c47a2be593480cb6c69829a59f0504d575 author Ingo Oeser Mon, 20 Mar 2006 23:01:32 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:32 -0800 [IPV6]: Nearly complete kzalloc cleanup for net/ipv6 Stupidly use kzalloc() instead of kmalloc()/memset() everywhere where this is possible in net/ipv6/*.c . Signed-off-by: Ingo Oeser Signed-off-by: David S. Miller commit 78c784c47a2be593480cb6c69829a59f0504d575 tree dc300e4a1b4205e770c3629d359aa83deea72929 parent b3e83d6d187664be56a1591ccfa99124b88f0582 author Ingo Oeser Mon, 20 Mar 2006 23:01:17 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:17 -0800 [IPV6]: Cleanup of net/ipv6/reassambly.c Two minor cleanups: 1. Using kzalloc() in fraq_alloc_queue() saves the memset() in ipv6_frag_create(). 2. Invert sense of if-statements to streamline code. Inverts the comment, too. Signed-off-by: Ingo Oeser Signed-off-by: David S. Miller commit b3e83d6d187664be56a1591ccfa99124b88f0582 tree 58973aa72cb93585fcd4d8eb04da27f5133e211e parent 3400112794724d9bdc3de6e1ce1475b726e6ca7d author Andrew Morton Mon, 20 Mar 2006 23:00:56 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:56 -0800 [BRIDGE]: Remove duplicate const from is_link_local() argument type. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 3400112794724d9bdc3de6e1ce1475b726e6ca7d tree dcf7dd0027f0cae9a974c250436f75c769801978 parent 81789ef5c9a435fbf94224987efe6fbb97ffab09 author Adrian Bunk Mon, 20 Mar 2006 23:00:29 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:29 -0800 [DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking The Coverity checker noted this inconsequent NULL checking in dnrt_drop(). Since all callers ensure that NULL isn't passed, we can simply remove the check. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 81789ef5c9a435fbf94224987efe6fbb97ffab09 tree bdabc8f8c5ffaa68febd0a84c48052c59723b4c5 parent 12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 author Adrian Bunk Mon, 20 Mar 2006 23:00:14 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:14 -0800 [TG3]: make drivers/net/tg3.c:tg3_request_irq() static This patch makes the needlessly global function tg3_request_irq() static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 tree 101653418df0f9ec62bc6854a31c34983d034eea parent f4ad2b162d653e4a6e57d598119e3820c65fef71 author Stephen Hemminger Mon, 20 Mar 2006 22:59:49 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:49 -0800 [BRIDGE]: use LLC to send STP The bridge code can use existing LLC output code when building spanning tree protocol packets. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f4ad2b162d653e4a6e57d598119e3820c65fef71 tree 142e7160b4dda4c4080d688d82bb1462a10f7e03 parent fda93d92d7824159d8532995072dde2bee4bc4b3 author Stephen Hemminger Mon, 20 Mar 2006 22:59:36 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:36 -0800 [LLC]: llc_mac_hdr_init const arguments Cleanup of LLC. llc_mac_hdr_init can take constant arguments, and it is defined twice once in llc_output.h that is otherwise unused. Signed-off-by: Stephen Hemminger Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fda93d92d7824159d8532995072dde2bee4bc4b3 tree ba28fcd6637d848bbee4a6e22f642a69cbe1c71f parent cf0f02d04a830c8202e6a8f8bb37acc6c1629a91 author Stephen Hemminger Mon, 20 Mar 2006 22:59:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:21 -0800 [BRIDGE]: allow show/store of group multicast address Bridge's communicate with each other using Spanning Tree Protocol over a standard multicast address. There are times when testing or layering bridges over existing topologies or tunnels, when it is useful to use alternative multicast addresses for STP packets. The 802.1d standard has some unused addresses, that can be used for this. This patch is restrictive in that it only allows one of the possible addresses in the standard. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cf0f02d04a830c8202e6a8f8bb37acc6c1629a91 tree 8f3c7af9aee5ea2e1b889c27660e8587307025df parent 18fdb2b25be37e49b1669b5c394671f8c5b6550f author Stephen Hemminger Mon, 20 Mar 2006 22:59:06 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:06 -0800 [BRIDGE]: use llc for receiving STP packets Use LLC for the receive path of Spanning Tree Protocol packets. This allows link local multicast packets to be received by other protocols (if they care), and uses the existing LLC code to get STP packets back into bridge code. The bridge multicast address is also checked, so bridges using other link local multicast addresses are ignored. This allows for use of different multicast addresses to define separate STP domains. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 18fdb2b25be37e49b1669b5c394671f8c5b6550f tree 494e70fe7215849709352b826c54ea0c8154ac20 parent f8ae737deea1be001d7d8ac11c382a7b73a1c98f author Stephen Hemminger Mon, 20 Mar 2006 22:58:49 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:49 -0800 [BRIDGE]: stp timer to jiffies cleanup Cleanup the get/set of bridge timer value in the packets. It is clearer not to bury the conversion in macro. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f8ae737deea1be001d7d8ac11c382a7b73a1c98f tree fdf933b58a17e525e38683e1f8d5a52c4708964b parent fdeabdefb227be9aa932f59a23ddb47e003e643e author Stephen Hemminger Mon, 20 Mar 2006 22:58:36 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:36 -0800 [BRIDGE]: forwarding remove unneeded preempt and bh diasables Optimize the forwarding and transmit paths. Both places are called with bottom half/no preempt so there is no need to use spin_lock_bh or rcu_read_lock. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fdeabdefb227be9aa932f59a23ddb47e003e643e tree 79e3cddb546374bf2b0137bf1463e70746c4d436 parent 8b42ec39264a1e7a508f5d80169a5fb137bcc833 author Stephen Hemminger Mon, 20 Mar 2006 22:58:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:21 -0800 [BRIDGE]: netfilter inline cleanup Move nf_bridge_alloc from header file to the one place it is used and optimize it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8b42ec39264a1e7a508f5d80169a5fb137bcc833 tree 34962088422c343b4d2494c1dfadf657fc198b42 parent f8a26028611fb93ac935ac32a72793f7fcb56a88 author Stephen Hemminger Mon, 20 Mar 2006 22:58:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:05 -0800 [BRIDGE]: netfilter VLAN macro cleanup Fix the VLAN macros in bridge netfilter code. Macros should not depend on magic variables. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f8a26028611fb93ac935ac32a72793f7fcb56a88 tree 90c7d08c6f1ef47a1eeb108e0d566315061f9ffa parent 789bc3e5b66d3664f651f6c10a188c8e3e025037 author Stephen Hemminger Mon, 20 Mar 2006 22:57:46 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:46 -0800 [BRIDGE]: netfilter dont use __constant_htons Only use__constant_htons() for initializers and switch cases. For other uses, it is just as efficient and clearer to use htons Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 789bc3e5b66d3664f651f6c10a188c8e3e025037 tree baaf4ff0ee9876323ba68d2fedf6c6dd0fc06536 parent d5513a7d32de721a9e396c2b32cf277d5cef5fb6 author Stephen Hemminger Mon, 20 Mar 2006 22:57:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:32 -0800 [BRIDGE]: netfilter whitespace Run br_netfilter through Lindent to fix whitespace. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d5513a7d32de721a9e396c2b32cf277d5cef5fb6 tree aecdea676fae6ef1390ac4f6e63a6196db2ebf79 parent cee4854122d4347b2f6f10fe7f007a48fada29a0 author Stephen Hemminger Mon, 20 Mar 2006 22:57:18 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:18 -0800 [BRIDGE]: optimize frame pass up The netfilter hook that is used to receive frames doesn't need to be a stub. It is only called in two ways, both of which ignore the return value. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cee4854122d4347b2f6f10fe7f007a48fada29a0 tree ffff0f0438b9b4729c0fc0c9880e19a221beff28 parent 3b781fa10bcdb148924d1847f68899583e0d66ef author Stephen Hemminger Mon, 20 Mar 2006 22:57:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:03 -0800 [BRIDGE]: use kzalloc Use kzalloc versus kmalloc+memset. Also don't need to do memset() of bridge address since it is in netdev private data that is already zero'd in alloc_netdev. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3b781fa10bcdb148924d1847f68899583e0d66ef tree 2d2bece150642dad1484748e6da7d22582bed188 parent a95fcacdc33fa12836c306deb085ef3e68bca15a author Stephen Hemminger Mon, 20 Mar 2006 22:56:50 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:50 -0800 [BRIDGE]: use kcalloc Use kcalloc rather than kmalloc + memset. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a95fcacdc33fa12836c306deb085ef3e68bca15a tree 5fa7e0c410772d9a112062f24ded2bc72c76a895 parent e3efe08e9a2c24232711dc573bf2decd2d93e335 author Stephen Hemminger Mon, 20 Mar 2006 22:56:38 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:38 -0800 [BRIDGE]: use setup_timer Use the now standard setup_timer function. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e3efe08e9a2c24232711dc573bf2decd2d93e335 tree 8b1171e3cca8efed1560269037ef860adb5c82ff parent 9ebddc1aa386f257125a569b41f90418b63b4d5f author Stephen Hemminger Mon, 20 Mar 2006 22:56:25 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:25 -0800 [BRIDGE]: remove unneeded bh disables The STP timers run off softirq (kernel timers), so there is no need to disable bottom half in the spin locks. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9ebddc1aa386f257125a569b41f90418b63b4d5f tree 4f0ed919d84754e1690ef7badec50f0079677f8d parent 74ca4e5acd7d09a5133bb75043c2c474347f2c7e author Andrew Morton Mon, 20 Mar 2006 22:55:24 -0800 committer David S. Miller Mon, 20 Mar 2006 22:55:24 -0800 [BRIDGE] br_netfilter: Warning fixes. net/bridge/br_netfilter.c: In function `br_nf_pre_routing': net/bridge/br_netfilter.c:427: warning: unused variable `vhdr' net/bridge/br_netfilter.c:445: warning: unused variable `vhdr' Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 74ca4e5acd7d09a5133bb75043c2c474347f2c7e tree edbdb7d723e21a99c5a4b5b38b533bc581fa86fa parent c8b2a6c50cacc98c924233a9e474c74c0370b6b8 author Andrew Morton Mon, 20 Mar 2006 22:55:02 -0800 committer David S. Miller Mon, 20 Mar 2006 22:55:02 -0800 [BRIDGE] ebtables: Build fix. net/bridge/netfilter/ebtables.c:1481: warning: initialization makes pointer from integer without a cast Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c8b2a6c50cacc98c924233a9e474c74c0370b6b8 tree 1fc8b3fe45ba61a68cd39c8ce64986d50067815b parent dbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 author David S. Miller Mon, 20 Mar 2006 22:53:42 -0800 committer David S. Miller Mon, 20 Mar 2006 22:53:42 -0800 [SPARC]: Fixup SO_PEERSEC value on 32-bit sparc. Sparc64 and Sparc32 have to have identical socket call numbering in order to handle compat layer stuff properly. Signed-off-by: David S. Miller commit dbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 tree bf06c5a2bb2ac353f9ff4f1959a6165bfb24e8f0 parent 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 author David S. Miller Mon, 20 Mar 2006 22:52:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:52:32 -0800 [INET]: Fix typo in Arnaldo's connection sock compat fixups. "struct inet_csk" --> "struct inet_connection_sock" :-) Signed-off-by: David S. Miller commit 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 tree a1e3881117aa4b687bacace28c794e7cc3522827 parent a4bf3902427a128455b8de299ff0918072b2e974 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:51:53 -0800 committer David S. Miller Mon, 20 Mar 2006 22:51:53 -0800 [DCCP] feat: Pass dccp_minisock ptr where only the minisock is used This is in preparation for having a dccp_minisock embedded into dccp_request_sock so that feature negotiation can be done prior to creating the full blown dccp_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a4bf3902427a128455b8de299ff0918072b2e974 tree 5269cd4d84702a0a728b390e08242be01252d20d parent e6f507196c2b50243beb09b1bfa4639f999d4d1e author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:50:58 -0800 committer David S. Miller Mon, 20 Mar 2006 22:50:58 -0800 [DCCP] minisock: Rename struct dccp_options to struct dccp_minisock This will later be included in struct dccp_request_sock so that we can have per connection feature negotiation state while in the 3way handshake, when we clone the DCCP_ROLE_LISTEN socket (in dccp_create_openreq_child) we'll just copy this state from dreq_minisock to dccps_minisock. Also the feature negotiation and option parsing code will mostly touch dccps_minisock, which will simplify some stuff. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e6f507196c2b50243beb09b1bfa4639f999d4d1e tree 216886fba2700aa01970046e4c7412dce6638fa1 parent 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 author Catherine Zhang Mon, 20 Mar 2006 22:49:00 -0800 committer David S. Miller Mon, 20 Mar 2006 22:49:00 -0800 [SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup Signed-off-by: Catherine Zhang Signed-off-by: Arnaldo Carvalho de Melo commit 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 tree b5f79a92ec01b4a97f26d48cae11566498641822 parent f94691acf9df35d5cd828373e35391bdc4a3fde6 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:48:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:48:35 -0800 [NET]: Identation & other cleanups related to compat_[gs]etsockopt cset No code changes, just tidying up, in some cases moving EXPORT_SYMBOLs to just after the function exported, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f94691acf9df35d5cd828373e35391bdc4a3fde6 tree 12dc4af7981198751367d304e43fb4f0058a83d8 parent c841aa030437bdf1b6fb22d93eb760e35380a4ed author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:47:55 -0800 committer David S. Miller Mon, 20 Mar 2006 22:47:55 -0800 [SK_BUFF]: export skb_pull_rcsum *** Warning: "skb_pull_rcsum" [net/bridge/bridge.ko] undefined! *** Warning: "skb_pull_rcsum" [net/8021q/8021q.ko] undefined! *** Warning: "skb_pull_rcsum" [drivers/net/pppoe.ko] undefined! *** Warning: "skb_pull_rcsum" [drivers/net/ppp_generic.ko] undefined! Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c841aa030437bdf1b6fb22d93eb760e35380a4ed tree f23ec860be9deb035eacc15359549d2808a7ee15 parent e35fc385655ac584902edd98dd07ac488e986aa1 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:47:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:47:37 -0800 [SECURITY] getpeersec: Fix build breakage A recent changeset removes dummy_socket_getpeersec, replacing it with two new functions, but still references the removed function in the security_fixup_ops table, fix it by doing the replacement operation in the fixup table too. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e35fc385655ac584902edd98dd07ac488e986aa1 tree aa50ab6de762a5edc7f699bb77fdb94009995c8d parent dec73ff0293d59076d1fd8f4a264898ecfc457ec author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:46:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:46:40 -0800 [INFINIBAND] ipoib: Remove leftover use of neigh_ops->destructor Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit dec73ff0293d59076d1fd8f4a264898ecfc457ec tree 251a87b4b98d073fcd3753e01eea5ea44aaf9570 parent d1d47beef8ecaeedc368f00780d02cfa5e540005 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:46:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:46:16 -0800 [ICSK] compat: Introduce inet_csk_compat_[gs]etsockopt Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d1d47beef8ecaeedc368f00780d02cfa5e540005 tree 389d4636e2db419f3291f0cfcdfc8b25e2ef3853 parent 3fdadf7d27e3fbcf72930941884387d1f4936f04 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:45:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:45:37 -0800 [SNAP]: Remove leftover unused hdr variable Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3fdadf7d27e3fbcf72930941884387d1f4936f04 tree 167072cf1e60b6b307610563614b435ff0caa52d parent c750360938b403e6cc193d293cfbcb099dd6c60e author Dmitry Mishin Mon, 20 Mar 2006 22:45:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:45:21 -0800 [NET]: {get|set}sockopt compatibility layer This patch extends {get|set}sockopt compatibility layer in order to move protocol specific parts to their place and avoid huge universal net/compat.c file in the future. Signed-off-by: Dmitry Mishin Signed-off-by: David S. Miller commit c750360938b403e6cc193d293cfbcb099dd6c60e tree ac7b248bb0c9927dc8edd38e8dbc2f35fc12077e parent afb5bb57440f7c419b1214628d32c92293f1cfd4 author Dave Jones Mon, 20 Mar 2006 22:44:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:44:52 -0800 [IPV6]: remove useless test in ip6_append_data We've already dereferenced 'np' a dozen times at this point, so it's safe to say it's not null. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit afb5bb57440f7c419b1214628d32c92293f1cfd4 tree bd93564fc26c41ddaa07e742d46eb25107a4748b parent cbb042f9e1292434e3cacb90e67d8d381aeac5a9 author Adrian Bunk Mon, 20 Mar 2006 22:44:24 -0800 committer David S. Miller Mon, 20 Mar 2006 22:44:24 -0800 [PKT_SCHED]: Let NET_CLS_ACT no longer depend on EXPERIMENTAL This option should IMHO no longer depend on EXPERIMENTAL. Signed-off-by: Adrian Bunk ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit cbb042f9e1292434e3cacb90e67d8d381aeac5a9 tree cc42f42232e56b68111cfebdc175197d8607bdd7 parent ecba320f2e95c9a0c35011d1ecb1db4419980536 author Herbert Xu Mon, 20 Mar 2006 22:43:56 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:56 -0800 [NET]: Replace skb_pull/skb_postpull_rcsum with skb_pull_rcsum We're now starting to have quite a number of places that do skb_pull followed immediately by an skb_postpull_rcsum. We can merge these two operations into one function with skb_pull_rcsum. This makes sense since most pull operations on receive skb's need to update the checksum. I've decided to make this out-of-line since it is fairly big and the fast path where hardware checksums are enabled need to call csum_partial anyway. Since this is a brand new function we get to add an extra check on the len argument. As it is most callers of skb_pull ignore its return value which essentially means that there is no check on the len argument. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit ecba320f2e95c9a0c35011d1ecb1db4419980536 tree a994a09e48452db4f1b251d5e5b210424c7dbe92 parent c60992db464bc3c459a6e2d3694fe1ae1a5ec784 author Steven Whitehouse Mon, 20 Mar 2006 22:43:28 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:28 -0800 [DECnet]: Use RCU locking in dn_rules.c As per Robert Olsson's patch for ipv4, this is the DECnet version to keep the code "in step". It changes the list of rules to use RCU rather than an rwlock. Inspired-by: Robert Olsson Signed-off-by: Steven Whitehouse Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit c60992db464bc3c459a6e2d3694fe1ae1a5ec784 tree 126a4dcfd69ead2c0061326ba62f5cd51bcd2a18 parent c4ea94ab3710eb2434abe2eab1a479c2dc01f8ac author Patrick Caulfield Mon, 20 Mar 2006 22:43:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:05 -0800 [DECnet]: Patch to fix recvmsg() flag check This patch means that 64bit kernel/32bit userland platforms will now work correctly with DECnet. Signed-off-by: Patrick Caulfield Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller commit c4ea94ab3710eb2434abe2eab1a479c2dc01f8ac tree 72e07ca7d2d5fe2de31b3f5a4e64fa411efdf18d parent 2c7946a7bf45ae86736ab3b43d0085e43947945c author Steven Whitehouse Mon, 20 Mar 2006 22:42:39 -0800 committer David S. Miller Mon, 20 Mar 2006 22:42:39 -0800 [DECnet]: Endian annotation and fixes for DECnet. The typedef for dn_address has been removed in favour of using __le16 or __u16 directly as appropriate. All the DECnet header files are updated accordingly. The byte ordering of dn_eth2dn() and dn_dn2eth() are both changed since just about all their callers wanted network order rather than host order, so the conversion is now done in the functions themselves. Several missed endianess conversions have been picked up during the conversion process. The nh_gw field in struct dn_fib_info has been changed from a 32 bit field to 16 bits as it ought to be. One or two cases of using htons rather than dn_htons in the routing code have been found and fixed. There are still a few warnings to fix, but this patch deals with the important cases. Signed-off-by: Steven Whitehouse Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit 2c7946a7bf45ae86736ab3b43d0085e43947945c tree b956f301033ebaefe8d2701b257edfd947f537f3 parent be33690d8fcf40377f16193c463681170eb6b295 author Catherine Zhang Mon, 20 Mar 2006 22:41:23 -0800 committer David S. Miller Mon, 20 Mar 2006 22:41:23 -0800 [SECURITY]: TCP/UDP getpeersec This patch implements an application of the LSM-IPSec networking controls whereby an application can determine the label of the security association its TCP or UDP sockets are currently connected to via getsockopt and the auxiliary data mechanism of recvmsg. Patch purpose: This patch enables a security-aware application to retrieve the security context of an IPSec security association a particular TCP or UDP socket is using. The application can then use this security context to determine the security context for processing on behalf of the peer at the other end of this connection. In the case of UDP, the security context is for each individual packet. An example application is the inetd daemon, which could be modified to start daemons running at security contexts dependent on the remote client. Patch design approach: - Design for TCP The patch enables the SELinux LSM to set the peer security context for a socket based on the security context of the IPSec security association. The application may retrieve this context using getsockopt. When called, the kernel determines if the socket is a connected (TCP_ESTABLISHED) TCP socket and, if so, uses the dst_entry cache on the socket to retrieve the security associations. If a security association has a security context, the context string is returned, as for UNIX domain sockets. - Design for UDP Unlike TCP, UDP is connectionless. This requires a somewhat different API to retrieve the peer security context. With TCP, the peer security context stays the same throughout the connection, thus it can be retrieved at any time between when the connection is established and when it is torn down. With UDP, each read/write can have different peer and thus the security context might change every time. As a result the security context retrieval must be done TOGETHER with the packet retrieval. The solution is to build upon the existing Unix domain socket API for retrieving user credentials. Linux offers the API for obtaining user credentials via ancillary messages (i.e., out of band/control messages that are bundled together with a normal message). Patch implementation details: - Implementation for TCP The security context can be retrieved by applications using getsockopt with the existing SO_PEERSEC flag. As an example (ignoring error checking): getsockopt(sockfd, SOL_SOCKET, SO_PEERSEC, optbuf, &optlen); printf("Socket peer context is: %s\n", optbuf); The SELinux function, selinux_socket_getpeersec, is extended to check for labeled security associations for connected (TCP_ESTABLISHED == sk->sk_state) TCP sockets only. If so, the socket has a dst_cache of struct dst_entry values that may refer to security associations. If these have security associations with security contexts, the security context is returned. getsockopt returns a buffer that contains a security context string or the buffer is unmodified. - Implementation for UDP To retrieve the security context, the application first indicates to the kernel such desire by setting the IP_PASSSEC option via getsockopt. Then the application retrieves the security context using the auxiliary data mechanism. An example server application for UDP should look like this: toggle = 1; toggle_len = sizeof(toggle); setsockopt(sockfd, SOL_IP, IP_PASSSEC, &toggle, &toggle_len); recvmsg(sockfd, &msg_hdr, 0); if (msg_hdr.msg_controllen > sizeof(struct cmsghdr)) { cmsg_hdr = CMSG_FIRSTHDR(&msg_hdr); if (cmsg_hdr->cmsg_len <= CMSG_LEN(sizeof(scontext)) && cmsg_hdr->cmsg_level == SOL_IP && cmsg_hdr->cmsg_type == SCM_SECURITY) { memcpy(&scontext, CMSG_DATA(cmsg_hdr), sizeof(scontext)); } } ip_setsockopt is enhanced with a new socket option IP_PASSSEC to allow a server socket to receive security context of the peer. A new ancillary message type SCM_SECURITY. When the packet is received we get the security context from the sec_path pointer which is contained in the sk_buff, and copy it to the ancillary message space. An additional LSM hook, selinux_socket_getpeersec_udp, is defined to retrieve the security context from the SELinux space. The existing function, selinux_socket_getpeersec does not suit our purpose, because the security context is copied directly to user space, rather than to kernel space. Testing: We have tested the patch by setting up TCP and UDP connections between applications on two machines using the IPSec policies that result in labeled security associations being built. For TCP, we can then extract the peer security context using getsockopt on either end. For UDP, the receiving end can retrieve the security context using the auxiliary data mechanism of recvmsg. Signed-off-by: Catherine Zhang Acked-by: James Morris Acked-by: Herbert Xu Signed-off-by: David S. Miller commit be33690d8fcf40377f16193c463681170eb6b295 tree 08c7be2ba1d046fca40bbb1d3ddac789b393ecc9 parent 15d99e02babae8bc20b836917ace07d93e318149 author Patrick McHardy Mon, 20 Mar 2006 22:40:54 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:54 -0800 [XFRM]: Fix aevent related crash When xfrm_user isn't loaded xfrm_nl is NULL, which makes IPsec crash because xfrm_aevent_is_on passes the NULL pointer to netlink_has_listeners as socket. A second problem is that the xfrm_nl pointer is not cleared when the socket is releases at module unload time. Protect references of xfrm_nl from outside of xfrm_user by RCU, check that the socket is present in xfrm_aevent_is_on and set it to NULL when unloading xfrm_user. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 15d99e02babae8bc20b836917ace07d93e318149 tree 6a8941a3ef45f831161730aeee4a2fcc18cca78a parent c1b1bce8527c2c3cac7e2520ca54b7c04281033e author Rick Jones Mon, 20 Mar 2006 22:40:29 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:29 -0800 [TCP]: sysctl to allow TCP window > 32767 sans wscale Back in the dark ages, we had to be conservative and only allow 15-bit window fields if the window scale option was not negotiated. Some ancient stacks used a signed 16-bit quantity for the window field of the TCP header and would get confused. Those days are long gone, so we can use the full 16-bits by default now. There is a sysctl added so that we can still interact with such old stacks Signed-off-by: Rick Jones Signed-off-by: David S. Miller commit c1b1bce8527c2c3cac7e2520ca54b7c04281033e tree 0c14ac012573f7ff0032404e1b3e5e5088c390bd parent abd596a4b68b6526c2676233e10602dd9660e9d7 author Neil Horman Mon, 20 Mar 2006 22:40:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:03 -0800 [IPV4] ARP: Documentation for new arp_accept sysctl variable. As John pointed out, I had not added documentation to describe the arp_accpet sysctl that I posted in my last patch. This patch adds that documentation. Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit abd596a4b68b6526c2676233e10602dd9660e9d7 tree 4122bd7fc36c18ffb762ea8ae6d5c794c1924222 parent 59f1741e541bf4f6139599389610a70de49c3ad2 author Neil Horman Mon, 20 Mar 2006 22:39:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:39:47 -0800 [IPV4] ARP: Alloc acceptance of unsolicited ARP via netdevice sysctl. Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit 59f1741e541bf4f6139599389610a70de49c3ad2 tree 55892d15e9122a83dc0c4fa6496dfcf52bd4346d parent 87546b1c25daa2c72ba6741c777f76c1eac6e2d9 author Jeff Mahoney Mon, 20 Mar 2006 22:39:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:39:21 -0800 [TG3]: netif_carrier_off runs too early; could still be queued when init fails Move the netif_carrier_off() call from tg3_init_one()-> tg3_init_link_config() to tg3_open() as is the convention for most other network drivers. I was getting a panic after a tg3 device failed to initialize due to DMA failure. The oops pointed to the link watch queue with spinlock debugging enabled. Without spinlock debugging, the Oops didn't occur. I suspect that the link event was getting queued but not executed until after the DMA test had failed and the device was freed. The link event was then operating on freed memory, which could contain anything. With this patch applied, the Oops no longer occurs. [ Based upon feedback from Michael Chan, we move netif_carrier_off() to the end of tg3_init_one() instead of moving it to tg3_open() -DaveM ] Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 87546b1c25daa2c72ba6741c777f76c1eac6e2d9 tree 88ee35a9bf83336b9fc5f6d8b5304016c1521ca5 parent de70c5ba43b3442b99e94dc35bba2bbced168a84 author Per Liden Mon, 20 Mar 2006 22:38:33 -0800 committer David S. Miller Mon, 20 Mar 2006 22:38:33 -0800 [TIPC]: Avoid compiler warning Signed-off-by: Per Liden Signed-off-by: David S. Miller commit de70c5ba43b3442b99e94dc35bba2bbced168a84 tree 1e059abe38fada6499e16084a2dbaaa489b2a783 parent 988f088a8e9e555dc99ced83690967fad3d905f6 author Per Liden Mon, 20 Mar 2006 22:38:14 -0800 committer David S. Miller Mon, 20 Mar 2006 22:38:14 -0800 [TIPC]: Reduce stack usage The node_map struct can be quite large (516 bytes) and allocating two of them on the stack is not a good idea since we might only have a 4K stack to start with. Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 988f088a8e9e555dc99ced83690967fad3d905f6 tree 7a5831410dd7e50a0b57e123bb2b03e8866ac601 parent 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 author Adrian Bunk Mon, 20 Mar 2006 22:37:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:52 -0800 [TIPC]: Cleanups This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions: - name_table.c: tipc_nametbl_print() - name_table.c: tipc_nametbl_dump() - net.c: tipc_net_next_node() Signed-off-by: Adrian Bunk Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 tree 49f78cef3b972c05ba2bbd311d89129044156b37 parent 05790c6456f144024e655710347b3df499260374 author Per Liden Mon, 20 Mar 2006 22:37:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:27 -0800 [TIPC]: Remove unused functions Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 05790c6456f144024e655710347b3df499260374 tree 389e85554c0ce7cf732998f2ac9dfeb441e85320 parent 1fc54d8f49c1270c584803437fb7c0ac543588c1 author Sam Ravnborg Mon, 20 Mar 2006 22:37:04 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:04 -0800 [TIPC]: Remove inlines from *.c With reference to latest discussions on linux-kernel with respect to inline here is a patch for tipc to remove all inlines as used in the .c files. See also chapter 14 in Documentation/CodingStyle. Before: text data bss dec hex filename 102990 5292 1752 110034 1add2 tipc.o Now: text data bss dec hex filename 101190 5292 1752 108234 1a6ca tipc.o This is a nice text size reduction which will improve icache usage. In some cases bigger (> 4 lines) functions where declared inline and used in many places, they are most probarly no longer inlined by gcc resulting in the size reduction. There are several one liners that no longer are declared inline, but gcc should inline these just fine without the inline hint. With this patch applied one warning is added about an unused static function - that was hidded by utilising inline before. The function in question were kept so this patch is solely a inline removal patch. Signed-off-by: Sam Ravnborg Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 1fc54d8f49c1270c584803437fb7c0ac543588c1 tree 13bccf49154e57986a7e218e38d243912aaea6d1 parent edb2c34fb2683ff21c8a6bcc3e41c07a53601761 author Sam Ravnborg Mon, 20 Mar 2006 22:36:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:47 -0800 [TIPC]: Fix simple sparse warnings Tried to run the new tipc stack through sparse. Following patch fixes all cases where 0 was used as replacement of NULL. Use NULL to document this is a pointer and to silence sparse. This brough sparse warning count down with 127 to 24 warnings. Signed-off-by: Sam Ravnborg Signed-off-by: Per Liden Signed-off-by: David S. Miller commit edb2c34fb2683ff21c8a6bcc3e41c07a53601761 tree aae0b87f2377f4134ee38017f8c9041d1247e730 parent fb9504964d32f69e4381dc8895eeb8e81a32af72 author David S. Miller Mon, 20 Mar 2006 22:36:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:21 -0800 [NETFILTER]: Fix warnings in ip_nat_snmp_basic.c net/ipv4/netfilter/ip_nat_snmp_basic.c: In function 'asn1_header_decode': net/ipv4/netfilter/ip_nat_snmp_basic.c:248: warning: 'len' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c:248: warning: 'def' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c: In function 'snmp_translate': net/ipv4/netfilter/ip_nat_snmp_basic.c:672: warning: 'l' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c:668: warning: 'type' may be used uninitialized in this function Signed-off-by: David S. Miller commit fb9504964d32f69e4381dc8895eeb8e81a32af72 tree 156bf7039f0502f823cf81cccd9ac8f8a1d83d95 parent 57b47a53ec4a67691ba32cff5768e8d78fa6c67f author David S. Miller Mon, 20 Mar 2006 22:36:01 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:01 -0800 [DCCP]: Fix uninitialized var warnings in dccp_parse_options(). Signed-off-by: David S. Miller commit 57b47a53ec4a67691ba32cff5768e8d78fa6c67f tree d735ae4734f7b386eefa508a0629715f45808d1d parent 6613f82dd293b23f582a649b287fadbf8d23e6cf author Ingo Molnar Mon, 20 Mar 2006 22:35:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:35:41 -0800 [NET]: sem2mutex part 2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 6613f82dd293b23f582a649b287fadbf8d23e6cf tree 23e90b674fc94c3f458c0f5b691b3e0ff7cebd58 parent 471a24c0589cd192dcd2c6770ab6252cd42b1cff author Alexey Dobriyan Mon, 20 Mar 2006 22:35:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:35:16 -0800 [ATM] suni: cast arg properly in SONET_SETFRAMING Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 471a24c0589cd192dcd2c6770ab6252cd42b1cff tree 20f595c10ce6b693cf0f04a8c896809665272f80 parent e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f author Sam Ravnborg Mon, 20 Mar 2006 22:34:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:52 -0800 [WAN]: fix section mismatch warning in sbni In latest -mm sbni gives following warning: WARNING: drivers/net/wan/sbni.o - Section mismatch: reference to \ .init.data: from .text between 'init_module' (at offset 0x14ef) and \ 'cleanup_module' The warning is caused by init_module() calling a function declared __init. Declare init_module() __init too to fix warning. Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f tree ffb5d63fffa0b235ed202fb55674b1da2e7cffa4 parent 758df69ee01f7be99c2df5562ef278bab05623dd author Ingo Molnar Mon, 20 Mar 2006 22:34:25 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:25 -0800 [SUNGEM]: sem2mutex Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 758df69ee01f7be99c2df5562ef278bab05623dd tree d300747abddce727de1ad1ba6c048669109de751 parent 73a6c6306876c83ed992f1b15069a0ee9b3fa73b author Ingo Molnar Mon, 20 Mar 2006 22:34:09 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:09 -0800 [CASSINI]: sem2mutex Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 73a6c6306876c83ed992f1b15069a0ee9b3fa73b tree bd6e3628b6a5456a11200af8708210849a6c5390 parent 4a3e2f711a00a1feb72ae12fdc749da10179d185 author Andrew Morton Mon, 20 Mar 2006 22:33:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:33:41 -0800 [IRDA]: remove MODULE_PARM() MODULE_PARM() is deprecated and is about to go away altogether. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 4a3e2f711a00a1feb72ae12fdc749da10179d185 tree 76ced9d3270dea4b864da71fa1d4415d2e3c8b11 parent d4ccd08cdfa8d34f4d25b62041343c52fc79385f author Arjan van de Ven Mon, 20 Mar 2006 22:33:17 -0800 committer David S. Miller Mon, 20 Mar 2006 22:33:17 -0800 [NET] sem2mutex: net/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d4ccd08cdfa8d34f4d25b62041343c52fc79385f tree aa966641f2ce74cc0206d6be654ce5680391e164 parent 153330618691694af64f39fb56c9de051862380e author Arjan van de Ven Mon, 20 Mar 2006 22:32:53 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:53 -0800 [IRDA] sem2mutex: drivers/net/irda Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 153330618691694af64f39fb56c9de051862380e tree 45ccb622bf0d13f6a0a663ba8af39f9dc2c9122e parent 2d0817d11eaec57435feb61493331a763f732a2b author Stephen Hemminger Mon, 20 Mar 2006 22:32:28 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:28 -0800 [NET]: dev_put/dev_hold cleanup Get rid of the old __dev_put macro that is just a hold over from pre 2.6 kernel. And turn dev_hold into an inline instead of a macro. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 2d0817d11eaec57435feb61493331a763f732a2b tree 7c42229b1cc64e67efe8ed21b82cdc513e638f82 parent 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:32:06 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:06 -0800 [DCCP] options: Make dccp_insert_options & friends yell on error And not the silly LIMIT_NETDEBUG and silently return without inserting the option requested. Also drop some old debugging messages associated to option insertion. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b tree 99a2b24856928a9445185446f118b5d5605c216f parent c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:46 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:46 -0800 [DCCP]: Remove leftover dccp_send_response prototype Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 tree 7fd3a91c0afe7f57be7fdb217cb070acb9bfbbcb parent 118b2c9532c853ebdf15c21128d30a343b89ea45 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:26 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:26 -0800 [DCCP]: ditch dccp_v[46]_ctl_send_ack Merging it with its only user: dccp_v[46]_reqsk_send_ack. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 118b2c9532c853ebdf15c21128d30a343b89ea45 tree 1974a1850b4bfebb08424a241228ac66076c276f parent e5a6de915ba9ba828751ade5d3e874072a89a00a author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:09 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:09 -0800 [DCCP]: Use sk->sk_prot->max_header consistently for non-data packets Using this also provides opportunities for introducing inet_csk_alloc_skb that would call alloc_skb, account it to the sock and skb_reserve(max_header), but I'll leave this for later, for now using sk_prot->max_header consistently is enough. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e5a6de915ba9ba828751ade5d3e874072a89a00a tree cac9cbfd549fa7736fe5af0e5c0f7b0f83854f16 parent aa837b5bbd92ca3791345e809d0027594faa738b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:30:51 -0800 committer David S. Miller Mon, 20 Mar 2006 22:30:51 -0800 [DCCP] options: Fix handling of ackvecs in DATA packets I.e. they should be just ignored, but we have to use 'break', not 'continue', as we have to possibly reset the mandatory flag. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit aa837b5bbd92ca3791345e809d0027594faa738b tree 4c0c106011e882d3e466a2c573ae8dd543b76fc8 parent e9e678006ee865b0f7e53069b0e519141a710a6e author David S. Miller Mon, 20 Mar 2006 22:30:23 -0800 committer David S. Miller Mon, 20 Mar 2006 22:30:23 -0800 [ATM]: Fix build after neigh->parms->neigh_destructor change. Signed-off-by: David S. Miller commit e9e678006ee865b0f7e53069b0e519141a710a6e tree 046576088184442a654c026a032b57df139eb9d6 parent c4e6575c78b83928c470d81b271909084a2efd37 author Michael Chan Mon, 20 Mar 2006 22:29:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:52 -0800 [TG3]: update version and reldate Update version to 3.52. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit c4e6575c78b83928c470d81b271909084a2efd37 tree 387a32bbd915bfb6d72d297bd86597c9e543e201 parent 1820180b0e59cc48019414018b180518059f50d3 author Michael Chan Mon, 20 Mar 2006 22:29:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:32 -0800 [TG3]: Add firmware version info Add fw_version information to ethtool -i. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1820180b0e59cc48019414018b180518059f50d3 tree 6f79d249a19a5094e6da5e7cc8fc7afd27e4e961 parent 79f4d13a15774c2d442b619bad95a4c612eed4f3 author Michael Chan Mon, 20 Mar 2006 22:29:15 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:15 -0800 [TG3]: nvram cleanup Some nvram related cleanup: 1. Add a tg3_nvram_read_swab() since swabing the data is frequently done. 2. Add a function to convert nvram address to physical address instead of doing it in 2 separate places. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 79f4d13a15774c2d442b619bad95a4c612eed4f3 tree 22996b2b33bc68d24ec8091954d8d6f57a552eb4 parent fcfa0a32c767219c1bdad621ef4a3aff1904cbbd author Michael Chan Mon, 20 Mar 2006 22:28:57 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:57 -0800 [TG3]: Fixup memory test for 5787 Ethtool memory test on 5787 requires a new memory table. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit fcfa0a32c767219c1bdad621ef4a3aff1904cbbd tree 0b40b3432cc90af0e2b22da056baab173d163d65 parent 9c27dbdf64cba05d0cacc343118a7fd01d4b82f7 author Michael Chan Mon, 20 Mar 2006 22:28:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:41 -0800 [TG3]: Add new one-shot MSI handler Support one-shot MSI on 5787. This one-shot MSI idea is credited to David Miller. In this mode, MSI disables itself automatically after it is generated, saving the driver a register access to disable it for NAPI. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 9c27dbdf64cba05d0cacc343118a7fd01d4b82f7 tree f579329eab7d30f6016d52ab50bfcb2a540dd750 parent 5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29 author Michael Chan Mon, 20 Mar 2006 22:28:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:27 -0800 [TG3]: Add ipv6 checksum support Support ipv6 tx csum on 5787 by setting NETIF_F_HW_CSUM. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29 tree 4bc683f620e3176ae70932f5f865fe47423eb083 parent 1b27777a9b9b2b6d1c06000b7a31262d198b4238 author Michael Chan Mon, 20 Mar 2006 22:28:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:05 -0800 [TG3]: Add new hard_start_xmit Support 5787 hardware TSO using a new flag TG3_FLG2_HW_TSO_2. Since the TSO interface is slightly different and these chips have finally fixed the 4GB DMA problem and do not have the 40-bit DMA problem, a new hard_start_xmit is used for these chips. All previous chips will use the old hard_start_xmit that is now renamed tg3_start_xmit_dma_bug(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1b27777a9b9b2b6d1c06000b7a31262d198b4238 tree 4690a8fe70231e4b09171957a5d3e8a7b4ccb00c parent d9ab5ad12b0d865bdb1b750d81192d34465541e9 author Michael Chan Mon, 20 Mar 2006 22:27:48 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:48 -0800 [TG3]: Add 5787 nvram support Support additional nvrams and new nvram format for 5787 and 5754. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d9ab5ad12b0d865bdb1b750d81192d34465541e9 tree 0bc4b3e9139836b39e5cab3affe9090bae4b11c7 parent 6cb153cab92a6dc8771d496b10a50cd066fa7f71 author Michael Chan Mon, 20 Mar 2006 22:27:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:35 -0800 [TG3]: Add 5787 and 5754 basic support Add basic support for 2 new chips 5787 and 5754. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6cb153cab92a6dc8771d496b10a50cd066fa7f71 tree 001935e638dbdae754ebe40900c4540bff5bc5b8 parent 8aca8a27d96cd75a30c380130496c98b658c9b98 author Benjamin LaHaise Mon, 20 Mar 2006 22:27:12 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:12 -0800 [NET]: use fget_light() in net/socket.c Here's an updated copy of the patch to use fget_light in net/socket.c. Rerunning the tests show a drop of ~80Mbit/s on average, which looks bad until you see the drop in cpu usage from ~89% to ~82%. That will get fixed in another patch... Before: max 8113.70, min 8026.32, avg 8072.34 87380 16384 16384 10.01 8045.55 87.11 87.11 1.774 1.774 87380 16384 16384 10.01 8065.14 90.86 90.86 1.846 1.846 87380 16384 16384 10.00 8077.76 89.85 89.85 1.822 1.822 87380 16384 16384 10.00 8026.32 89.80 89.80 1.833 1.833 87380 16384 16384 10.01 8108.59 89.81 89.81 1.815 1.815 87380 16384 16384 10.01 8034.53 89.01 89.01 1.815 1.815 87380 16384 16384 10.00 8113.70 90.45 90.45 1.827 1.827 87380 16384 16384 10.00 8111.37 89.90 89.90 1.816 1.816 87380 16384 16384 10.01 8077.75 87.96 87.96 1.784 1.784 87380 16384 16384 10.00 8062.70 90.25 90.25 1.834 1.834 After: max 8035.81, min 7963.69, avg 7998.14 87380 16384 16384 10.01 8000.93 82.11 82.11 1.682 1.682 87380 16384 16384 10.01 8016.17 83.67 83.67 1.710 1.710 87380 16384 16384 10.01 7963.69 83.47 83.47 1.717 1.717 87380 16384 16384 10.01 8014.35 81.71 81.71 1.671 1.671 87380 16384 16384 10.00 7967.68 83.41 83.41 1.715 1.715 87380 16384 16384 10.00 7995.22 81.00 81.00 1.660 1.660 87380 16384 16384 10.00 8002.61 83.90 83.90 1.718 1.718 87380 16384 16384 10.00 8035.81 81.71 81.71 1.666 1.666 87380 16384 16384 10.01 8005.36 82.56 82.56 1.690 1.690 87380 16384 16384 10.00 7979.61 82.50 82.50 1.694 1.694 Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit 8aca8a27d96cd75a30c380130496c98b658c9b98 tree cd32edff13c275a0f493ba70d909daee1819c6a2 parent 99cae7fca1311573f2777b8ceaa8a5abd6e9b04e author Stephen Hemminger Mon, 20 Mar 2006 22:26:39 -0800 committer David S. Miller Mon, 20 Mar 2006 22:26:39 -0800 [NET]: minor net_rx_action optimization The functions list_del followed by list_add_tail is equivalent to the existing inline list_move_tail. list_move_tail avoids unnecessary _LIST_POISON. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 99cae7fca1311573f2777b8ceaa8a5abd6e9b04e tree 61b5ad07d0f8fed37e3c3ab08eedf514226562d8 parent c5ecd62c25400a3c6856e009f84257d5bd03f03b author Alpt Mon, 20 Mar 2006 22:26:17 -0800 committer David S. Miller Mon, 20 Mar 2006 22:26:17 -0800 [NET] rtnetlink: Add RTPROT entry for Netsukuku. The Netsukuku daemon is using the same number to mark its routes, you can see it here: http://hinezumilabs.org/cgi-bin/viewcvs.cgi/netsukuku/src/krnl_route.h?rev=HEAD&content-type=text/vnd.viewcvs-markup Signed-off-by: David S. Miller commit c5ecd62c25400a3c6856e009f84257d5bd03f03b tree a0aeb88552772396bba986cce176028348ec041f parent 53dcb0e38c1786aa82ada4641b4607be315b610a author Michael S. Tsirkin Mon, 20 Mar 2006 22:25:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:25:41 -0800 [NET]: Move destructor from neigh->ops to neigh_params struct neigh_ops currently has a destructor field, which no in-kernel drivers outside of infiniband use. The infiniband/ulp/ipoib in-tree driver stashes some info in the neighbour structure (the results of the second-stage lookup from ARP results to real link-level path), and it uses neigh->ops->destructor to get a callback so it can clean up this extra info when a neighbour is freed. We've run into problems with this: since the destructor is in an ops field that is shared between neighbours that may belong to different net devices, there's no way to set/clear it safely. The following patch moves this field to neigh_parms where it can be safely set, together with its twin neigh_setup. Two additional patches in the patch series update ipoib to use this new interface. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: David S. Miller commit 53dcb0e38c1786aa82ada4641b4607be315b610a tree 90a88d7baec2f545c602da368a6553aa250eea37 parent 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 author Luiz Capitulino Mon, 20 Mar 2006 22:25:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:25:05 -0800 [PKTGEN]: Updates version. Due to the thread's lock changes, we're at a new version now. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 tree 0e8844508a6554fadc0dfddde70c594455288731 parent 222fa076652cc1faf56eb7d554c2797ace3c5beb author Luiz Capitulino Mon, 20 Mar 2006 22:24:45 -0800 committer David S. Miller Mon, 20 Mar 2006 22:24:45 -0800 [PKTGEN]: Removes thread_{un,}lock() macros. As suggested by Arnaldo, this patch replaces the thread_lock()/thread_unlock() by directly calls to mutex_lock()/mutex_unlock(). This change makes the code a bit more readable, and the direct calls are used everywhere in the kernel. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 222fa076652cc1faf56eb7d554c2797ace3c5beb tree e2321a6c17693e82a3aefcb95f948d45e2b21e4f parent 6756ae4b4e97aba48c042b4aa6b77a18f507d2cb author Luiz Capitulino Mon, 20 Mar 2006 22:24:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:24:27 -0800 [PKTGEN]: Convert thread lock to mutexes. pktgen's thread semaphores are strict mutexes, convert them to the mutex implementation. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6756ae4b4e97aba48c042b4aa6b77a18f507d2cb tree 05bf37711d782fb0089d474716026c44a454f89b parent 253aa11578c1b89757282430891bb66ae5300092 author Stephen Hemminger Mon, 20 Mar 2006 22:23:58 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:58 -0800 [NET]: Convert RTNL to mutex. This patch turns the RTNL from a semaphore to a new 2.6.16 mutex and gets rid of some of the leftover legacy. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 253aa11578c1b89757282430891bb66ae5300092 tree 00ff3d18c1a7ead1bca4602385e85b65f012823c parent 50bf3e224a2963c6dd5098f77bd7233222ebfbd2 author David S. Miller Mon, 20 Mar 2006 22:23:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:35 -0800 [IPSEC] xfrm_user: Kill PAGE_SIZE check in verify_sec_ctx_len() First, it warns when PAGE_SIZE >= 64K because the ctx_len field is 16-bits. Secondly, if there are any real length limitations it can be verified by the security layer security_xfrm_state_alloc() call. Signed-off-by: David S. Miller commit 50bf3e224a2963c6dd5098f77bd7233222ebfbd2 tree 6429bcfa043d34db73ef1bdb48243726e33f8132 parent 0bc6d90b82775113bbbe371f5d9fcffefa5fa94d author Baruch Even Mon, 20 Mar 2006 22:23:10 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:10 -0800 [TCP] H-TCP: Better time accounting Instead of estimating the time since the last congestion event, count it directly. Signed-off-by: Baruch Even Signed-off-by: David S. Miller commit 0bc6d90b82775113bbbe371f5d9fcffefa5fa94d tree 5597a249a1ad015c226f2c94192de5efec9092d3 parent c33ad6e476e4cdc245215f3eb5b3df353df1b370 author Baruch Even Mon, 20 Mar 2006 22:22:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:22:47 -0800 [TCP] H-TCP: Account for delayed-ACKs Account for delayed-ACKs in H-TCP. Delayed-ACKs cause H-TCP to be less aggressive than its design calls for. It is especially true when the receiver is a Linux machine where the average delayed ack is over 3 packets with values of 7 not unheard of. Signed-off-By: Baruch Even Signed-off-by: David S. Miller commit c33ad6e476e4cdc245215f3eb5b3df353df1b370 tree b19831b1630b5963a897ae655027c6d7acdd2895 parent b191ba0d599928372be5a89f75486eb58efab48a author Baruch Even Mon, 20 Mar 2006 22:22:20 -0800 committer David S. Miller Mon, 20 Mar 2006 22:22:20 -0800 [TCP] H-TCP: Use msecs_to_jiffies Use functions to calculate jiffies from milliseconds and not the old, crude method of dividing HZ by a value. Ensures more accurate values even in the face of strange HZ values. Signed-off-By: Baruch Even Signed-off-by: David S. Miller commit b191ba0d599928372be5a89f75486eb58efab48a tree a0ecc636d121126aba838d49700ad9cfbbf94733 parent 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 author Evgeniy Polyakov Mon, 20 Mar 2006 22:21:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:21:40 -0800 [CONNECTOR]: Use netlink_has_listeners() to avoind unnecessary allocations. Return -ESRCH from cn_netlink_send() when there are not listeners, just as it could be done by netlink_broadcast(). Propagate netlink_broadcast() error back to the caller. Signed-off-by: Evgeniy Polyakov Signed-off-by: David S. Miller commit 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 tree a12010186c97a515d7484c827df030cd11ac4911 parent 65a3980e6b14d591e3b8f5cdc7219be99e3003a4 author David Basden Mon, 20 Mar 2006 22:21:10 -0800 committer David S. Miller Mon, 20 Mar 2006 22:21:10 -0800 [IRDA]: TOIM3232 dongle support Here goes a patch for supporting TOIM3232 based serial IrDA dongles. The code is based on the tekram dongle code. It's been tested with a TOIM3232 based IRWave 320S dongle. It may work for TOIM4232 dongles, although it's not been tested. Signed-off-by: David Basden Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 65a3980e6b14d591e3b8f5cdc7219be99e3003a4 tree d837464919d82b5fbf8ab4981852a0f619338ee5 parent c26a80168f2d44f525a5adb0c95cddffb4a5aaa4 author Luiz Capitulino Mon, 20 Mar 2006 22:18:31 -0800 committer David S. Miller Mon, 20 Mar 2006 22:18:31 -0800 [PKTGEN]: Updates version. With all the previous changes, we're at a new version now. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit c26a80168f2d44f525a5adb0c95cddffb4a5aaa4 tree 78795c5986ab1a05bcf259f028d59ec719458036 parent 8024bb245408060bec8393469e945b541a9b0865 author Luiz Capitulino Mon, 20 Mar 2006 22:18:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:18:16 -0800 [PKTGEN]: Ports if_list to the in-kernel implementation. This patch ports the per-thread interface list list to the in-kernel linked list implementation. In the general, the resulting code is a bit simpler. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 8024bb245408060bec8393469e945b541a9b0865 tree be58db8760c3ca03fc3b71155cf0cd88849ee4be parent 12e1872328e7055d06e539f1b687dc3d0610855c author Luiz Capitulino Mon, 20 Mar 2006 22:17:55 -0800 committer David S. Miller Mon, 20 Mar 2006 22:17:55 -0800 [PKTGEN]: Fix Initialization fail leak. Even if pktgen's thread initialization fails for all CPUs, the module will be successfully loaded. This patch changes that behaivor, by returning an error on module load time, and also freeing all the resources allocated. It also prints a warning if a thread initialization has failed. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 12e1872328e7055d06e539f1b687dc3d0610855c tree 8a3315b9c67da38a0cf0284100a2e3c06abca330 parent cdcdbe0b179adca0bcf98f660fcc63e208ae4284 author Luiz Capitulino Mon, 20 Mar 2006 22:17:00 -0800 committer David S. Miller Mon, 20 Mar 2006 22:17:00 -0800 [PKTGEN]: Fix kernel_thread() fail leak. Free all the alocated resources if kernel_thread() call fails. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit cdcdbe0b179adca0bcf98f660fcc63e208ae4284 tree 06e20bb4e3dc8f5cacec067c8021aab2976c5971 parent 222f18065868b04df92df476b19c99c28740e00f author Luiz Capitulino Mon, 20 Mar 2006 22:16:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:16:40 -0800 [PKTGEN]: Ports thread list to Kernel list implementation. The final result is a simpler and smaller code. Note that I'm adding a new member in the struct pktgen_thread called 'removed'. The reason is that I didn't find a better wait condition to be used in the place of the replaced one. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 222f18065868b04df92df476b19c99c28740e00f tree 71d1bc3bcb42928aebfcf1d02d9dcbea961fa732 parent 6df9424a9ca35f9fab773d1a0a8919781a367125 author Luiz Capitulino Mon, 20 Mar 2006 22:16:13 -0800 committer David S. Miller Mon, 20 Mar 2006 22:16:13 -0800 [PKTGEN]: Lindent run. Lindet run, with some fixes made by hand. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6df9424a9ca35f9fab773d1a0a8919781a367125 tree 3c577a45046f9daeb574a76df704f88f76175faf parent c0c736db7ef4a7bdc1a28f3de751cc7e9f720313 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:06:02 -0800 committer David S. Miller Mon, 20 Mar 2006 22:06:02 -0800 [DCCP] options: Fix some aspects of mandatory option processing According to dccp draft (draft-ietf-dccp-spec-13.txt) section 5.8.2 (Mandatory Option) the following patch correct the handling of the following cases: 1) "... and any Mandatory options received on DCCP-Data packets MUST be ignored." 2) "The connection is in error and should be reset with Reset Code 5, ... if option O is absent (Mandatory was the last byte of the option list), or if option O equals Mandatory." Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Hagen Paul Pfeifer Signed-off-by: David S. Miller commit c0c736db7ef4a7bdc1a28f3de751cc7e9f720313 tree 0935933828ed9021920cb5a922506911398c16ab parent 45329e71eeb6cb483c6e7fe9e6f2849dd2932cb5 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:05:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:05:37 -0800 [DCCP] ccid2: coding style cleanups No changes in the logic where made. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 45329e71eeb6cb483c6e7fe9e6f2849dd2932cb5 tree 95d3aea5bfee63103ff6132c630cc220820d5bbb parent c4d9390941aee136fd35bb38eb1d6de4e3b1487d author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:01:29 -0800 committer David S. Miller Mon, 20 Mar 2006 22:01:29 -0800 [DCCP] ipv6: cleanups No changes in the logic were made, just removing trailing whitespaces, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c4d9390941aee136fd35bb38eb1d6de4e3b1487d tree fcaf0032ba5971145b5f527b8635cd7aa3a39d8c parent 72478873571d869906f7a250b09e12fa5b65e321 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:01:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:01:03 -0800 [ICSK]: Introduce inet_csk_ctl_sock_create Consolidating open coded sequences in tcp and dccp, v4 and v6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 72478873571d869906f7a250b09e12fa5b65e321 tree 562e6179922a5eef9c1f3eb7b1bf3813a6e53545 parent c25a18ba347f091d1ce620ba33e6772b60a528e1 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:00:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:00:37 -0800 [DCCP] ipv6: Add missing ipv6 control socket I guess I forgot to add it, nah, now it just works: 18:04:33.274066 IP6 ::1.1476 > ::1.5001: request (service=0) 18:04:33.334482 IP6 ::1.5001 > ::1.1476: reset (code=bad_service_code) Ditched IP_DCCP_UNLOAD_HACK, as now we would have to do it for both IPv6 and IPv4, so I'll come up with another way for freeing the control sockets in upcoming changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c25a18ba347f091d1ce620ba33e6772b60a528e1 tree 788c596356e150a26e0a67243ffc68213abdd493 parent 5e0817f84c33285c2ac7d3848e8896d025b5deff author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:58:56 -0800 committer David S. Miller Mon, 20 Mar 2006 21:58:56 -0800 [DCCP]: Uninline some functions Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5e0817f84c33285c2ac7d3848e8896d025b5deff tree c394b80761d68d57128775da1e6832df4ff2170b parent d76e60a5b510bab0af130fca9f4ed06499be4d2f author Adrian Bunk Mon, 20 Mar 2006 21:58:29 -0800 committer David S. Miller Mon, 20 Mar 2006 21:58:29 -0800 [DCCP] ipv4: make struct dccp_v4_prot static There's no reason for struct dccp_v4_prot being global. Signed-off-by: Adrian Bunk Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d76e60a5b510bab0af130fca9f4ed06499be4d2f tree 043260141f4a56f3034fa91099ec1715204905f2 parent 06ef921d60bbf6f765d1b9492fb4fc88ac7814bd author David S. Miller Mon, 20 Mar 2006 21:35:50 -0800 committer David S. Miller Mon, 20 Mar 2006 21:35:50 -0800 [IPV6]: Fix some code/comment formatting in ip6_dst_output(). Signed-off-by: David S. Miller commit 06ef921d60bbf6f765d1b9492fb4fc88ac7814bd tree c59cb40d0f28621e782b1938ea0bfa5d6720c75a parent 5ddf0eb2bfd613e941dd8748870c71da2e5ad409 author Robert Olsson Mon, 20 Mar 2006 21:35:01 -0800 committer David S. Miller Mon, 20 Mar 2006 21:35:01 -0800 [IPV4]: fib_trie stats fix fib_triestats has been buggy and caused oopses some platforms as openwrt. The patch below should cure those problems. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 5ddf0eb2bfd613e941dd8748870c71da2e5ad409 tree 54591328f3ffcaef3b91be801be3e621b99e8463 parent 4f81c32b028aecd818634b1ef36aae3b2b3e66ce author Robert Olsson Mon, 20 Mar 2006 21:34:12 -0800 committer David S. Miller Mon, 20 Mar 2006 21:34:12 -0800 [IPV4]: fib_trie initialzation fix In some kernel configs /proc functions seems to be accessed before the trie is initialized. The patch below checks for this. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 4f81c32b028aecd818634b1ef36aae3b2b3e66ce tree e0c9f0945c1d72cd981aa49ad58792d25499bb6f parent e75f7c900944aa90831f6d343ca40090a68b56dd author Michael Chan Mon, 20 Mar 2006 21:33:42 -0800 committer David S. Miller Mon, 20 Mar 2006 21:33:42 -0800 [TG3]: Fix tg3_get_ringparam() Fix-up tg3_get_ringparam() to return the correct parameters. Set the jumbo rx ring parameter only if it is supported by the chip and currently in use. Add missing value for tx_max_pending, noticed by Rick Jones. Update version to 3.51. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit e75f7c900944aa90831f6d343ca40090a68b56dd tree d5192f5c230a2e84a6a0b23eed7e802ebf6ab555 parent 0e7b13685f9a06949ea3070c97c0f0085a08cd37 author Michael Chan Mon, 20 Mar 2006 21:33:26 -0800 committer David S. Miller Mon, 20 Mar 2006 21:33:26 -0800 [TG3]: Add some missing netif_running() checks Add missing netif_running() checks in tg3's dev->set_multicast_list() and dev->set_mac_address(). If not netif_running(), these 2 calls can simply return 0 after storing the new settings if required. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0e7b13685f9a06949ea3070c97c0f0085a08cd37 tree 3ba0a11d61dc2dd64d7a93bb5cd70d58a46fec39 parent 1d541ddd74802cfa0eb8a3864668851f6cd79bdf author John Heffner Mon, 20 Mar 2006 21:32:58 -0800 committer David S. Miller Mon, 20 Mar 2006 21:32:58 -0800 [TCP] mtu probing: move tcp-specific data out of inet_connection_sock This moves some TCP-specific MTU probing state out of inet_connection_sock back to tcp_sock. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 1d541ddd74802cfa0eb8a3864668851f6cd79bdf tree 3db70aede59a2743124b077ed1dd2ebe3629b506 parent e9df7d7f584666533b1bdfcf5c60a43d64689198 author Benjamin LaHaise Mon, 20 Mar 2006 21:31:51 -0800 committer David S. Miller Mon, 20 Mar 2006 21:31:51 -0800 [AF_UNIX]: scm: better initialization Instead of doing a memset then initialization of the fields of the scm structure, just initialize all the members explicitly. Prevent reloading of current on x86 and x86-64 by storing the value in a local variable for subsequent dereferences. This is worth a ~7KB/s increase in af_unix bandwidth. Note that we avoid the issues surrounding potentially uninitialized members of the ucred structure by constructing a struct ucred instead of assigning the members individually, which forces the compiler to zero any padding. [ I modified the patch not to use the aggregate assignment since gcc-3.4.x and earlier cannot optimize that properly at all even though gcc-4.0.x and later can -DaveM ] Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit e9df7d7f584666533b1bdfcf5c60a43d64689198 tree 78faaa085edfb24784e40779864d41fd9ddeb168 parent 231d06ae826664b83369166449144304859a62fa author Benjamin LaHaise Mon, 20 Mar 2006 21:29:05 -0800 committer David S. Miller Mon, 20 Mar 2006 21:29:05 -0800 [AF_UNIX]: use shift instead of integer division The patch below replaces a divide by 2 with a shift -- sk_sndbuf is an integer, so gcc emits an idiv, which takes 10x longer than a shift by 1. This improves af_unix bandwidth by ~6-10K/s. Also, tidy up the comment to fit in 80 columns while we're at it. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit 231d06ae826664b83369166449144304859a62fa tree 1c761b91405573f4e787454b454ead8354c3ba23 parent 2e1f47c74c26a591fc490eb339f1b3167361158b author Jörn Engel Mon, 20 Mar 2006 21:28:35 -0800 committer David S. Miller Mon, 20 Mar 2006 21:28:35 -0800 [NET]: Uninline kfree_skb and allow NULL argument o Uninline kfree_skb, which saves some 15k of object code on my notebook. o Allow kfree_skb to be called with a NULL argument. Subsequent patches can remove conditional from drivers and further reduce source and object size. Signed-off-by: Jörn Engel Signed-off-by: David S. Miller commit 2e1f47c74c26a591fc490eb339f1b3167361158b tree 3136b2bdfa2bc95f3672318d73f533ecf37f24c1 parent 2342c990bbd2c075d627720006f0e602134346a7 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:28:11 -0800 committer David S. Miller Mon, 20 Mar 2006 21:28:11 -0800 [LLC]: Fix sap refcounting Thanks to Leslie Harlley Watter for reporting the problem an testing this patch. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2342c990bbd2c075d627720006f0e602134346a7 tree ca72ae361e880aa1cd0cba5c3e01bc1a3cff17f7 parent 9c005e018cd951699e371a06889c553f9f4d1478 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:27:43 -0800 committer David S. Miller Mon, 20 Mar 2006 21:27:43 -0800 [LLC]: Replace __inline__ with inline Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9c005e018cd951699e371a06889c553f9f4d1478 tree f10fabdfddba0824ecf20913be4ef0c558fc019b parent 95ed63f791656fc19e36ae68bc328e367958c76b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:27:23 -0800 committer David S. Miller Mon, 20 Mar 2006 21:27:23 -0800 [LLC]: Fix struct proto .name Cut'n'paste error from ddp_proto. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 95ed63f791656fc19e36ae68bc328e367958c76b tree dbee5227c99677c35874e0b522f6b84df262cf63 parent 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 author Arthur Kepner Mon, 20 Mar 2006 21:26:56 -0800 committer David S. Miller Mon, 20 Mar 2006 21:26:56 -0800 [NET] pktgen: Fix races between control/worker threads. There's a race in pktgen which can lead to a double free of a pktgen_dev's skb. If a worker thread is in the midst of doing fill_packet(), and the controlling thread gets a "stop" message, the already freed skb can be freed once again in pktgen_stop_device(). This patch gives all responsibility for cleaning up a pktgen_dev's skb to the associated worker thread. Signed-off-by: Arthur Kepner Acked-by: Robert Olsson Signed-off-by: David S. Miller commit 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 tree 353775ab0c4777c864e7e0297abed0a9eb76235a parent b61fafc4ef3faf54236d57e3b230ca19167663bf author Jamal Hadi Salim Mon, 20 Mar 2006 21:25:50 -0800 committer David S. Miller Mon, 20 Mar 2006 21:25:50 -0800 [XFRM]: Rearrange struct xfrm_aevent_id for better compatibility. struct xfrm_aevent_id needs to be 32-bit + 64-bit align friendly. Based upon suggestions from Yoshifuji. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit b61fafc4ef3faf54236d57e3b230ca19167663bf tree d928d79a28556ee06fda685458d3f398b6e57d40 parent 46f09ffa7db595f49fb42338e013417756816d37 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:25:11 -0800 committer David S. Miller Mon, 20 Mar 2006 21:25:11 -0800 [DCCP]: Move the IPv4 specific bits from proto.c to ipv4.c With this patch in place we can break down the complexity by better compartmentalizing the code that is common to ipv6 and ipv4. Now we have these modules: Module Size Used by dccp_diag 1344 0 inet_diag 9448 1 dccp_diag dccp_ccid3 15856 0 dccp_tfrc_lib 12320 1 dccp_ccid3 dccp_ccid2 5764 0 dccp_ipv4 16996 2 dccp 48208 4 dccp_diag,dccp_ccid3,dccp_ccid2,dccp_ipv4 dccp_ipv6 still requires dccp_ipv4 due to dccp_ipv6_mapped, that is the next target to work on the "hey, ipv4 is legacy, I only want ipv6 dude!" direction. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 46f09ffa7db595f49fb42338e013417756816d37 tree 95d286df35f404bd61680c10d1c6e69521e727de parent 075ae86611011e1acdda9df6a7e30f8508b31fd6 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:24:42 -0800 committer David S. Miller Mon, 20 Mar 2006 21:24:42 -0800 [DCCP]: Rename init_dccp_v4_mibs to dccp_mib_init And introduce dccp_mib_exit grouping previously open coded sequence. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 075ae86611011e1acdda9df6a7e30f8508b31fd6 tree 964bd1489ca16e3bbdc41a455b2a2db8e7801f2a parent 0a1ec676ddbee712e1c1da679be4bdc529caf215 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:24:19 -0800 committer David S. Miller Mon, 20 Mar 2006 21:24:19 -0800 [DCCP]: Move dccp_hashinfo from ipv4.c to the core As it is used by both ipv4 and ipv6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0a1ec676ddbee712e1c1da679be4bdc529caf215 tree 709db39592784baebb9f43f5d1bbd33c70fdcbeb parent c985ed705ffc682ce40d46a5f7bf98db86b27899 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:59 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:59 -0800 [DCCP]: Dont use dccp_v4_checksum in dccp_make_response dccp_make_response is shared by ipv4/6 and the ipv6 code was recalculating the checksum, not good, so move the dccp_v4_checksum call to dccp_v4_send_response. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c985ed705ffc682ce40d46a5f7bf98db86b27899 tree 20272a6d8f7b896e9b31397d4c4ff563bfdf16b2 parent 3e0fadc51f2fde01e0e22f481370a9b5f073bfc3 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:39 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:39 -0800 [DCCP]: Move dccp_[un]hash from ipv4.c to the core As this is used by both ipv4 and ipv6 and is not ipv4 specific. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3e0fadc51f2fde01e0e22f481370a9b5f073bfc3 tree 0254dd8d495d2e4a2a1a9adb17b7dc10541796d8 parent 017487d7d1e905a5bb529f6a2bc8cf8ea14e2307 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:15 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:15 -0800 [DCCP]: Move dccp_v4_{init,destroy}_sock to the core Removing one more ipv6 uses ipv4 stuff case in dccp land. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 017487d7d1e905a5bb529f6a2bc8cf8ea14e2307 tree 6a68904ea48ccae0c4c17f7dc248831fd46bd3e6 parent e55d912f5b75723159348a7fc7692f869a86636a author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:25:24 -0800 committer David S. Miller Mon, 20 Mar 2006 19:25:24 -0800 [DCCP]: Generalize dccp_v4_send_reset Renaming it to dccp_send_reset and moving it from the ipv4 specific code to the core dccp code. This fixes some bugs in IPV6 where timers would send v4 resets, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e55d912f5b75723159348a7fc7692f869a86636a tree c00be180cac20e4247ffda446ad266d885a1a811 parent 04e2661e9c00386412b64612549cf24c8baef67c author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:25:02 -0800 committer David S. Miller Mon, 20 Mar 2006 19:25:02 -0800 [DCCP] feat: Introduce sysctls for the default features [root@qemu ~]# for a in /proc/sys/net/dccp/default/* ; do echo $a ; cat $a ; done /proc/sys/net/dccp/default/ack_ratio 2 /proc/sys/net/dccp/default/rx_ccid 3 /proc/sys/net/dccp/default/send_ackvec 1 /proc/sys/net/dccp/default/send_ndp 1 /proc/sys/net/dccp/default/seq_window 100 /proc/sys/net/dccp/default/tx_ccid 3 [root@qemu ~]# So if wanting to test ccid3 as the tx CCID one can just do: [root@qemu ~]# echo 3 > /proc/sys/net/dccp/default/tx_ccid [root@qemu ~]# echo 2 > /proc/sys/net/dccp/default/rx_ccid [root@qemu ~]# cat /proc/sys/net/dccp/default/[tr]x_ccid 2 3 [root@qemu ~]# Of course we also need the setsockopt for each app to tell its preferences, but for testing or defining something other than CCID2 as the default for apps that don't explicitely set their preference the sysctl interface is handy. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 04e2661e9c00386412b64612549cf24c8baef67c tree d2c53123806041dfe4c0dc2b18a890a1f5333105 parent 057fc6755a2381b4e81636659ef519e069f38623 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:24:41 -0800 committer David S. Miller Mon, 20 Mar 2006 19:24:41 -0800 [DCCP]: Call dccp_feat_init more early in dccp_v4_init_sock So that dccp_feat_clean doesn't get confused with uninitialized list_heads. Noticed when testing with no ccid kernel modules. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 057fc6755a2381b4e81636659ef519e069f38623 tree e15ad08e84e0892e1bb273067fd7e6f20a62fdad parent 93ce20928f6e197707add8f670ae0cd029107e8f author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:24:22 -0800 committer David S. Miller Mon, 20 Mar 2006 19:24:22 -0800 [DCCP]: Kconfig tidy up Make CCID2 and CCID3 default to what was selected for DCCP and use the standard short description for the CCIDs (TCP-Like & TCP-Friendly). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 93ce20928f6e197707add8f670ae0cd029107e8f tree d7a3219c9a81d103c72267b568e7ea90dd673f42 parent 60fe62e789076ae7c13f7ffb35fec4b24802530d author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:23:58 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:58 -0800 [DCCP]: Make CCID2 be the default As per the draft. This fixes the build when netfilter dccp components are built and dccp isn't. Thanks to Reuben Farrelly for reporting this. The following changesets will introduce /proc/sys/net/dccp/defaults/ to give more flexibility to DCCP developers and testers while apps doesn't use setsockopt to specify the desired CCID, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 60fe62e789076ae7c13f7ffb35fec4b24802530d tree cc8d507a4276c3d5a2bcb72746660d485bc2e045 parent a193a4abdd1f742a57f3f70b6a83c3e536876e97 author Andrea Bittau Mon, 20 Mar 2006 19:23:32 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:32 -0800 [DCCP]: sparse endianness annotations This also fixes the layout of dccp_hdr short sequence numbers, problem was not fatal now as we only support long (48 bits) sequence numbers. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Al Viro Signed-off-by: David S. Miller commit a193a4abdd1f742a57f3f70b6a83c3e536876e97 tree 1b77f9f388ae153815248e8ef30b0297943c7016 parent 6ffd30fbbb1b4a01a9f56049521693375a864d3e author Patrick McHardy Mon, 20 Mar 2006 19:23:05 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:05 -0800 [NETFILTER]: Fix skb->nf_bridge lifetime issues The bridge netfilter code simulates the NF_IP_PRE_ROUTING hook and skips the real hook by registering with high priority and returning NF_STOP if skb->nf_bridge is present and the BRNF_NF_BRIDGE_PREROUTING flag is not set. The flag is only set during the simulated hook. Because skb->nf_bridge is only freed when the packet is destroyed, the packet will not only skip the first invocation of NF_IP_PRE_ROUTING, but in the case of tunnel devices on top of the bridge also all further ones. Forwarded packets from a bridge encapsulated by a tunnel device and sent as locally outgoing packet will also still have the incorrect bridge information from the input path attached. We already have nf_reset calls on all RX/TX paths of tunnel devices, so simply reset the nf_bridge field there too. As an added bonus, the bridge information for locally delivered packets is now also freed when the packet is queued to a socket. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6ffd30fbbb1b4a01a9f56049521693375a864d3e tree 0d127a675df6e574d9120f93f33c9495365f7e5b parent 91f0ebf7b6d5cb2b6e818d48587566144821babe author Andrea Bittau Mon, 20 Mar 2006 19:22:37 -0800 committer David S. Miller Mon, 20 Mar 2006 19:22:37 -0800 [DCCP] feat: Actually change the CCID upon negotiation Change the CCID upon successful feature negotiation. Commiter note: patch mostly rewritten to use the new ccid API. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 91f0ebf7b6d5cb2b6e818d48587566144821babe tree 505c66f36bd72014d7eacb7a04ea011bae2e9a3a parent f38c39d6ce8226519455a6dfe91c2ad84f363f6f author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:21:44 -0800 committer David S. Miller Mon, 20 Mar 2006 19:21:44 -0800 [DCCP] CCID: Improve CCID infrastructure 1. No need for ->ccid_init nor ->ccid_exit, this is what module_{init,exit} does and anynways neither ccid2 nor ccid3 were using it. 2. Rename struct ccid to struct ccid_operations and introduce struct ccid with a pointer to ccid_operations and rigth after it the rx or tx private state. 3. Remove the pointer to the state of the half connections from struct dccp_sock, now its derived thru ccid_priv() from the ccid pointer. Now we also can implement the setsockopt for changing the CCID easily as no ccid init routines can affect struct dccp_sock in any way that prevents other CCIDs from working if a CCID switch operation is asked by apps. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f38c39d6ce8226519455a6dfe91c2ad84f363f6f tree 2d217dcad1cde479e5200f488bada90e116b75ba parent a70fcb0ba337956d91476e2e7c3e71d9df940a82 author Patrick McHardy Mon, 20 Mar 2006 19:20:44 -0800 committer David S. Miller Mon, 20 Mar 2006 19:20:44 -0800 [PKT_SCHED]: Convert sch_red to a classful qdisc Convert sch_red to a classful qdisc. All qdiscs that maintain accurate backlog counters are eligible as child qdiscs. When a queue limit larger than zero is given, a bfifo qdisc is used for backwards compatibility. Current versions of tc enforce a limit larger than zero, other users can avoid creating the default qdisc by using zero. Signed-off-by: Patrick McHardy Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit a70fcb0ba337956d91476e2e7c3e71d9df940a82 tree 500eb6a2296f4aae0581936e8832504f153f984e parent ee857a7d672859cf4eb735d32bce22c8b7ad0bd2 author David S. Miller Mon, 20 Mar 2006 19:18:52 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:52 -0800 [XFRM]: Add some missing exports. To fix the case of modular xfrm_user. Signed-off-by: David S. Miller commit ee857a7d672859cf4eb735d32bce22c8b7ad0bd2 tree 4a6274454ed4af42fb2806151d14280f778f2281 parent 0ac8475248164553ffe21948c7b1a4b9d2a935dc author David S. Miller Mon, 20 Mar 2006 19:18:37 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:37 -0800 [XFRM]: Move xfrm_nl to xfrm_state.c from xfrm_user.c xfrm_user could be modular, and since generic code uses this symbol now... Signed-off-by: David S. Miller commit 0ac8475248164553ffe21948c7b1a4b9d2a935dc tree 45495847e8ea192c45c9babbd4b9e8c51d82692f parent 8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc author David S. Miller Mon, 20 Mar 2006 19:18:23 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:23 -0800 [XFRM]: Make sure xfrm_replay_timer_handler() is declared early enough. Signed-off-by: David S. Miller commit 8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc tree f5e48a81ea6b12d4a4d20960750ce5c87c241d1f parent 6c5c8ca7ff20523e427b955aa84cef407934710f author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:39 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:39 -0800 [IPSEC]: Sync series - update selinux Add new netlink messages to selinux framework Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 6c5c8ca7ff20523e427b955aa84cef407934710f tree 382a4b07027efd8a41638ed9c051cc9ec2506f0b parent 53bc6b4d29c07664f3abe029b7e6878a1067899a author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:25 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:25 -0800 [IPSEC]: Sync series - policy expires This is similar to the SA expire insertion patch - only it inserts expires for SP. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 53bc6b4d29c07664f3abe029b7e6878a1067899a tree d97fc26acc763dde9d1dc15573a51253180b617f parent 980ebd25794f0f87ac32844e2c73e9e81f0a72ba author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:03 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:03 -0800 [IPSEC]: Sync series - SA expires This patch allows a user to insert SA expires. This is useful to do on an HA backup for the case of byte counts but may not be very useful for the case of time based expiry. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 980ebd25794f0f87ac32844e2c73e9e81f0a72ba tree da52df6e31bd4b2527c223ca2585e0d792bf3ea2 parent d51d081d65048a7a6f9956a7809c3bb504f3b95d author Jamal Hadi Salim Mon, 20 Mar 2006 19:16:40 -0800 committer David S. Miller Mon, 20 Mar 2006 19:16:40 -0800 [IPSEC]: Sync series - acquire insert This introduces a feature similar to the one described in RFC 2367: " ... the application needing an SA sends a PF_KEY SADB_ACQUIRE message down to the Key Engine, which then either returns an error or sends a similar SADB_ACQUIRE message up to one or more key management applications capable of creating such SAs. ... ... The third is where an application-layer consumer of security associations (e.g. an OSPFv2 or RIPv2 daemon) needs a security association. Send an SADB_ACQUIRE message from a user process to the kernel. The kernel returns an SADB_ACQUIRE message to registered sockets. The user-level consumer waits for an SADB_UPDATE or SADB_ADD message for its particular type, and then can use that association by using SADB_GET messages. " An app such as OSPF could then use ipsec KM to get keys Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit d51d081d65048a7a6f9956a7809c3bb504f3b95d tree 55c62e9f6ff96d131a3ba59090d76209b68051ae parent 9500e8a81fe6302fcc5e4110adc4d166c9873d3a author Jamal Hadi Salim Mon, 20 Mar 2006 19:16:12 -0800 committer David S. Miller Mon, 20 Mar 2006 19:16:12 -0800 [IPSEC]: Sync series - user Add xfrm as the user of the core changes Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 9500e8a81fe6302fcc5e4110adc4d166c9873d3a tree 9b26d81e2d69869d2a01c4b33f568ab6cf1e0378 parent f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 author Jamal Hadi Salim Mon, 20 Mar 2006 19:15:29 -0800 committer David S. Miller Mon, 20 Mar 2006 19:15:29 -0800 [IPSEC]: Sync series - fast path Fast path sequence updates that will generate ipsec async events Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 tree 7850e8ebebf1f8543c96acdd7c197003b3b4d54c parent f5539eb8caa52a9198079df767cc1bb5494e69e3 author Jamal Hadi Salim Mon, 20 Mar 2006 19:15:11 -0800 committer David S. Miller Mon, 20 Mar 2006 19:15:11 -0800 [IPSEC]: Sync series - core changes This patch provides the core functionality needed for sync events for ipsec. Derived work of Krisztian KOVACS Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit f5539eb8caa52a9198079df767cc1bb5494e69e3 tree fa24490b12273384dfced2f664090b7fbf469e1e parent 053cfed75d9e01bda274c5b0126f5937181dcb62 author Patrick McHardy Mon, 20 Mar 2006 19:01:38 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:38 -0800 [PKT_SCHED]: Keep backlog counter in sch_sfq Keep backlog counter in SFQ qdisc to make it usable as child qdisc with RED. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 053cfed75d9e01bda274c5b0126f5937181dcb62 tree eddf99fddfdb6979c422c427a60a164135e0fc20 parent cdc7f8e362bcadbc312c97fb69d8d59676eec422 author Patrick McHardy Mon, 20 Mar 2006 19:01:21 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:21 -0800 [PKT_SCHED]: Restore TBF change semantic When TBF was converted to a classful qdisc, the semantic of the limit parameter was broken. On initilization an inner bfifo qdisc is created for backwards compatibility, when changing parameters however the new limit is ignored and the current child qdisc remains in place. Always replace the child qdisc by the default bfifo when limit is above zero, otherwise don't touch the inner qdisc. Current tc version enforce a limit above zero, other users can avoid creating the inner qdisc by using zero. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cdc7f8e362bcadbc312c97fb69d8d59676eec422 tree bbdf644a287b3e98b9ede73ba55e9de79682e28d parent 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 author Patrick McHardy Mon, 20 Mar 2006 19:01:06 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:06 -0800 [PKT_SCHED]: Dump child qdisc handle in sch_{atm,dsmark} A qdisc should set tcm_info to the child qdisc handle in its class dump function. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 tree a200247459a6a378a1fb24847d383bddb09f5b67 parent a85d771e32f9724b61a68748cc667d1e11fe3478 author Patrick McHardy Mon, 20 Mar 2006 19:00:49 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:49 -0800 [PKT_SCHED]: Qdisc drop operation is optional The drop operation is optional and qdiscs must check if childs support it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a85d771e32f9724b61a68748cc667d1e11fe3478 tree bcf205e97e0952c5ab8461f0a6f97d2dca8f84cb parent 034888262eb8de1a91bc471d4e6d8173f6b3dbda author Christophe Lucas Mon, 20 Mar 2006 19:00:27 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:27 -0800 [IRDA]: pci_register_driver conversion This patch converts 2 IrDA drivers pci_module_init() calls to pci_register_driver(). Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 034888262eb8de1a91bc471d4e6d8173f6b3dbda tree 860de113ef7a983cdb6bb8ff3afc489971f32d3b parent 0ed79c9b7dea5cd9a55589a495cf96f00cd037d9 author David chosrova Mon, 20 Mar 2006 19:00:04 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:04 -0800 [IRDA]: sti/cli removal from EP7211 IrDA driver This patch replaces the deprecated sti/cli routines with the corresponding spin_lock ones. Signed-off-by: David chosrova Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 0ed79c9b7dea5cd9a55589a495cf96f00cd037d9 tree 8f4b0224cf320f5a16d354ce2a732e045de6d21a parent 3b99b93baba4cbf4fd3d206e65e81a070b21b560 author Jean Tourrilhes Mon, 20 Mar 2006 18:59:40 -0800 committer David S. Miller Mon, 20 Mar 2006 18:59:40 -0800 [IRDA]: nsc-ircc: support for yet another Thinkpad IrDA chipset This patch simply adds support for a variation of the nsc-ircc PC8739x chipset, found in some IBM Thinkpad laptops. Signed-off-by: Jean Tourrilhes Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 3b99b93baba4cbf4fd3d206e65e81a070b21b560 tree 7aa59a126614296b561b4d27bd92730a65fa188c parent ec4f32d550b94b4b66c9c7689bc09c6b32c8e82e author Dmitry Torokhov Mon, 20 Mar 2006 18:59:05 -0800 committer David S. Miller Mon, 20 Mar 2006 18:59:05 -0800 [IRDA]: nsc-ircc: PM update This patch brings the nsc-ircc code to a more up to date power management scheme, following the current device model. Signed-off-by: Dmitry Torokhov Signed-off-by: Rudolf Marek Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit ec4f32d550b94b4b66c9c7689bc09c6b32c8e82e tree b9eca8a87257ebf0585bc4817ec78c5cf98de47e parent 4277a083ecd2c8771058641132bcecea04ca6608 author Jean Tourrilhes Mon, 20 Mar 2006 18:54:03 -0800 committer David S. Miller Mon, 20 Mar 2006 18:54:03 -0800 [IRDA]: nsc-ircc: ISAPnP support This enables PnP support for the nsc-ircc chipset. Since we can't fetch the chipset cfg_base from the PnP layer, we just use the PnP information as one more hint when probing the chip. Signed-off-by: Jean Tourrilhes Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 4277a083ecd2c8771058641132bcecea04ca6608 tree c35d659c63fa4d64e2569e5eebd76e1b3fba9a15 parent a24276924875802853b5bdc12c56d29f1c1bbc79 author Patrick McHardy Mon, 20 Mar 2006 18:52:01 -0800 committer David S. Miller Mon, 20 Mar 2006 18:52:01 -0800 [NETLINK]: Add netlink_has_listeners for avoiding unneccessary event message generation Keep a bitmask of multicast groups with subscribed listeners to let netlink users check for listeners before generating multicast messages. Queries don't perform any locking, which may result in false positives, it is guaranteed however that any new subscriptions are visible before bind() or setsockopt() return. Signed-off-by: Patrick McHardy ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit a24276924875802853b5bdc12c56d29f1c1bbc79 tree 5725689bf434004143ae875bbfee3d3d29ddcdb0 parent c4b885139203d37f76662c37ae645fe8e0f4e4e5 author Patrick McHardy Mon, 20 Mar 2006 18:03:59 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:59 -0800 [NETFILTER]: ctnetlink: avoid unneccessary event message generation Avoid unneccessary event message generation by checking for netlink listeners before building a message. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c4b885139203d37f76662c37ae645fe8e0f4e4e5 tree 5cedf4d632b273df81bf1712b95dbc8b96cdc0e4 parent f2ffd9eeda82b476c034d733be08ecf6a87d2edf author Patrick McHardy Mon, 20 Mar 2006 18:03:40 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:40 -0800 [NETFILTER]: x_tables: replace IPv4/IPv6 policy match by address family independant version Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f2ffd9eeda82b476c034d733be08ecf6a87d2edf tree 05cbab3a8eb03184b7c924bb30ae7be0380336ad parent c49867347404c46f137a261643ed4fce4376f324 author Patrick McHardy Mon, 20 Mar 2006 18:03:16 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:16 -0800 [NETFILTER]: Move ip6_masked_addrcmp to include/net/ipv6.h Replace netfilter's ip6_masked_addrcmp by a more efficient version in include/net/ipv6.h to make it usable without module dependencies. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c49867347404c46f137a261643ed4fce4376f324 tree 0b561e2eae19b0073435a4a73df671eae878c30a parent 1c524830d0b39472f0278989bf1119750a5e234d author Patrick McHardy Mon, 20 Mar 2006 18:02:56 -0800 committer David S. Miller Mon, 20 Mar 2006 18:02:56 -0800 [NETFILTER]: x_tables: add xt_{match,target} arguments to match/target functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1c524830d0b39472f0278989bf1119750a5e234d tree 9c60dd1717ddf458f66c4a71cb41c3ef7186cdd3 parent 5d04bff096180f032de8b9b12153a8a1b4009b8d author Patrick McHardy Mon, 20 Mar 2006 18:02:15 -0800 committer David S. Miller Mon, 20 Mar 2006 18:02:15 -0800 [NETFILTER]: x_tables: pass registered match/target data to match/target functions This allows to make decisions based on the revision (and address family with a follow-up patch) at runtime. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5d04bff096180f032de8b9b12153a8a1b4009b8d tree 58aa8a8177b6d07cbce8b0c0bedeb23ecbde74d8 parent 7f9397138e297904bf1c717651183e785a01ff13 author Patrick McHardy Mon, 20 Mar 2006 18:01:58 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:58 -0800 [NETFILTER]: Convert x_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7f9397138e297904bf1c717651183e785a01ff13 tree 67b39ba381e8ffd2340d002a118252be0fc2e923 parent aa83c1ab4384c0905527c84e5135a56daa885834 author Patrick McHardy Mon, 20 Mar 2006 18:01:43 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:43 -0800 [NETFILTER]: Convert ip6_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit aa83c1ab4384c0905527c84e5135a56daa885834 tree 3bfacb7cf888e0d312a1a3ed2e9afff72db5b4f4 parent 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc author Patrick McHardy Mon, 20 Mar 2006 18:01:28 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:28 -0800 [NETFILTER]: Convert arp_tables targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc tree 3eb43557a1d23c71ea41b91e4ee001ac43b8ba21 parent 3cdc7c953eb1e1e1d1b82adbd140bf3451c165b1 author Patrick McHardy Mon, 20 Mar 2006 18:01:14 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:14 -0800 [NETFILTER]: Convert ip_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3cdc7c953eb1e1e1d1b82adbd140bf3451c165b1 tree 82d44723c94904d52fc5234eaaa505688bdf0dc3 parent 37f9f7334b86ffc3b8a1921842ae33cb9aa22ee3 author Patrick McHardy Mon, 20 Mar 2006 18:00:36 -0800 committer David S. Miller Mon, 20 Mar 2006 18:00:36 -0800 [NETFILTER]: Change {ip,ip6,arp}_tables to use centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 37f9f7334b86ffc3b8a1921842ae33cb9aa22ee3 tree d207ae0a0f2eb37072dd4690de95b6cf170e4e04 parent 6ea46c9c12da79ec6eead0cf4b3114143dd30bc1 author Patrick McHardy Mon, 20 Mar 2006 17:59:06 -0800 committer David S. Miller Mon, 20 Mar 2006 17:59:06 -0800 [NETFILTER]: xt_tables: add centralized error checking Introduce new functions for common match/target checks (private data size, valid hooks, valid tables and valid protocols) to get more consistent error reporting and to avoid each module duplicating them. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6ea46c9c12da79ec6eead0cf4b3114143dd30bc1 tree ab5e54f8d365d5ae4645b72116cdf9a78a53249f parent f2ad52c9da2229d7f038d02139d21478b33b76b4 author Yasuyuki Kozakai Mon, 20 Mar 2006 17:58:44 -0800 committer David S. Miller Mon, 20 Mar 2006 17:58:44 -0800 [NETFILTER]: nf_conntrack: use ipv6_addr_equal in nf_ct_reasm Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f2ad52c9da2229d7f038d02139d21478b33b76b4 tree 8faeeb5dbd332e9bae28d12d6e54945d587db0fa parent 77ff72d528d5b9d30a47f42f364ba34d931f9da3 author Holger Eitzenberger Mon, 20 Mar 2006 17:58:21 -0800 committer David S. Miller Mon, 20 Mar 2006 17:58:21 -0800 [NETFILTER]: Fix CID offset bug in PPTP NAT helper debug message The recent (kernel 2.6.15.1) fix for PPTP NAT helper introduced a bug - which only appears if DEBUGP is enabled though. The calculation of the CID offset into a PPTP request struct is not correct, so that at least not the correct CID is displayed if DEBUGP is enabled. This patch corrects CID offset calculation and introduces a #define for that. Signed-off-by: Holger Eitzenberger Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 77ff72d528d5b9d30a47f42f364ba34d931f9da3 tree a222cdf545a9156da307d075f4645a235c030596 parent ba66c6e8b292997467128506f39fa6607e959050 author Andrea Bittau Mon, 20 Mar 2006 17:57:52 -0800 committer David S. Miller Mon, 20 Mar 2006 17:57:52 -0800 [DCCP] CCID2: Drop sock reference count on timer expiration and reset. There was a hybrid use of standard timers and sk_timers. This caused the reference count of the sock to be incorrect when resetting the RTO timer. The sock reference count should now be correct, enabling its destruction, and allowing the DCCP module to be unloaded. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo commit ba66c6e8b292997467128506f39fa6607e959050 tree d9c467ac7017b21b793442376080107b155c2afd parent dc808fe28db59fadf4ec32d53f62477fa28f3be8 author Ian McDonald Mon, 20 Mar 2006 17:56:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:56:56 -0800 [DCCP]: Set the default CCID according to kernel config selection Now CCID2 is the default, as stated in the RFC drafts, but we allow a config where just CCID3 is built, where CCID3 becomes the default. Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo commit dc808fe28db59fadf4ec32d53f62477fa28f3be8 tree 2d7033e5808a63d7fb1bddc452d1ec0b2f3d381a parent 0d36f37bb1e1cbadca6dc90a840bb2bc9ab51c44 author Harald Welte Mon, 20 Mar 2006 17:56:32 -0800 committer David S. Miller Mon, 20 Mar 2006 17:56:32 -0800 [NETFILTER] nf_conntrack: clean up to reduce size of 'struct nf_conn' This patch moves all helper related data fields of 'struct nf_conn' into a separate structure 'struct nf_conn_help'. This new structure is only present in conntrack entries for which we actually have a helper loaded. Also, this patch cleans up the nf_conntrack 'features' mechanism to resemble what the original idea was: Just glue the feature-specific data structures at the end of 'struct nf_conn', and explicitly re-calculate the pointer to it when needed rather than keeping pointers around. Saves 20 bytes per conntrack on my x86_64 box. A non-helped conntrack is 276 bytes. We still need to save another 20 bytes in order to fit into to target of 256bytes. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 0d36f37bb1e1cbadca6dc90a840bb2bc9ab51c44 tree 27856915643532cfa4346a4f4d95a92f11d5e009 parent 5d424d5a674f782d0659a3b66d951f412901faee author Michael Chan Mon, 20 Mar 2006 17:55:25 -0800 committer David S. Miller Mon, 20 Mar 2006 17:55:25 -0800 [BNX2]: include Include so that it compiles properly on all archs. Update version to 1.4.38. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 5d424d5a674f782d0659a3b66d951f412901faee tree 579871172044e02e626a90388d19ec55cf2d1fc4 parent 1d60290f27e7dc4bce2c43922d0bfa9abd246fc9 author John Heffner Mon, 20 Mar 2006 17:53:41 -0800 committer David S. Miller Mon, 20 Mar 2006 17:53:41 -0800 [TCP]: MTU probing Implementation of packetization layer path mtu discovery for TCP, based on the internet-draft currently found at . Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 1d60290f27e7dc4bce2c43922d0bfa9abd246fc9 tree fefe7222a552b8d54d2844fc4800c3a338ef356c parent 3fdfcc2c95ffc7ee04b480a4c1fd4809b5ff2f7c author Michael Chan Mon, 20 Mar 2006 17:50:08 -0800 committer David S. Miller Mon, 20 Mar 2006 17:50:08 -0800 [BNX2]: Update version Update version to 1.4.37. Add missing flush_scheduled_work() in bnx2_suspend as noted by Jeff Garzik. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 3fdfcc2c95ffc7ee04b480a4c1fd4809b5ff2f7c tree babe466f8679151b47f1da1b83377696ac134c05 parent 13daffa2f2ba65674e7816a0e95e7b93246cb686 author Michael Chan Mon, 20 Mar 2006 17:49:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:49 -0800 [BNX2]: Support larger rx ring sizes (part 2) Support bigger rx ring sizes (up to 1020) in the rx fast path. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 13daffa2f2ba65674e7816a0e95e7b93246cb686 tree 3170a19dfba530398d4f12e54a21400254fa98b1 parent 236b6394bb49ea58465c6f935a286d2342576f8d author Michael Chan Mon, 20 Mar 2006 17:49:20 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:20 -0800 [BNX2]: Support larger rx ring sizes (part 1) Increase maximum receive ring size from 255 to 1020 by supporting up to 4 linked pages of receive descriptors. To accomodate the higher memory usage, each physical descriptor page is allocated separately and the software ring that keeps track of the SKBs and the DMA addresses is allocated using vmalloc. Some of the receive-related fields in the bp structure are re- organized a bit for better locality of reference. The max. was reduced to 1020 from 4080 after discussion with David Miller. This patch contains ring init code changes only. This next patch contains rx data path code changes. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 236b6394bb49ea58465c6f935a286d2342576f8d tree e00c64b5dcb909e3e700021f6c2368af55f0641c parent 244ac4f446ac6a19caf5eb692c4844f29e6478bf author Michael Chan Mon, 20 Mar 2006 17:49:02 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:02 -0800 [BNX2]: Fix bug when rx ring is full Fix the rx code path that does not handle the full rx ring correctly. When the rx ring is set to the max. size (i.e. 255), the consumer and producer indices will be the same when completing an rx packet. Fix the rx code to handle this condition properly. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 244ac4f446ac6a19caf5eb692c4844f29e6478bf tree e181bcec9f657987b1a8c6a55af69ae5f5a81f0f parent 6b39777c5924b9db2406c5769a044da383782d0e author Michael Chan Mon, 20 Mar 2006 17:48:46 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:46 -0800 [BNX2]: Add ethtool -d support Add ETHTOOL_GREGS support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6b39777c5924b9db2406c5769a044da383782d0e tree 762d14bfd8ee734ae18c022b7a651ef1d73ee062 parent 2e2e4f5c996d577383c5cb584b153b39f4961155 author Michael Chan Mon, 20 Mar 2006 17:48:32 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:32 -0800 [BNX2]: Reduce register test size Eliminate some of the registers in ethtool register test to reduce driver size. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 2e2e4f5c996d577383c5cb584b153b39f4961155 tree 110fb5c1ffc2866dffc682a587174ffd25d0e193 parent bc1c756741b065cfebf850e4164c0e2aae9d527f author Michael Chan Mon, 20 Mar 2006 17:48:18 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:18 -0800 [TG3]: Update version and reldate Update version to 3.50. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit bc1c756741b065cfebf850e4164c0e2aae9d527f tree e462b85564a66b0c4f41e0d9f1ccde7c98ba00a9 parent 4e3a7aaa28db952392814f889dfbd25672266d29 author Michael Chan Mon, 20 Mar 2006 17:48:03 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:03 -0800 [TG3]: Support shutdown WoL. Support WoL during shutdown by calling tg3_set_power_state(tp, PCI_D3hot) during tg3_close(). Change the power state parameter to pci_power_t type and use constants defined in pci.h. Certain ethtool operations cannot be performed after tg3_close() because the device will go to low power state. Add return -EAGAIN in such cases where appropriate. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 4e3a7aaa28db952392814f889dfbd25672266d29 tree a82c9151a64951e8812b269dbb00b00b2f759ea3 parent d4d2c558fd3e1f5e386b153f194aa8f0be496c77 author Michael Chan Mon, 20 Mar 2006 17:47:44 -0800 committer David S. Miller Mon, 20 Mar 2006 17:47:44 -0800 [TG3]: Enable TSO by default Enable TSO by default on newer chips that support TSO in hardware. Leave TSO off by default on older chips that do firmware TSO because performance is slightly lower. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d4d2c558fd3e1f5e386b153f194aa8f0be496c77 tree 2cdabdb87525b94a5e80a993563538a64bec6d11 parent d15150f755bb468afe003d1afee0f45a2fc5eeeb author Michael Chan Mon, 20 Mar 2006 17:47:20 -0800 committer David S. Miller Mon, 20 Mar 2006 17:47:20 -0800 [TG3]: Add support for 5714S and 5715S Add support for 5714S and 5715S. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d15150f755bb468afe003d1afee0f45a2fc5eeeb tree 68ad3da556162faaf63a7958c7906d30f2cea142 parent 2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b author Adrian Bunk Mon, 20 Mar 2006 17:46:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:46:56 -0800 [IPV4] fib_rules.c: make struct fib_rules static again struct fib_rules became global for no good reason. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b tree e777b858f0b41aadec308989c1ae01174b1c083f parent afe00251dd9b53d51de91ff0099961f42bbf3754 author Jesper Juhl Mon, 20 Mar 2006 17:46:29 -0800 committer David S. Miller Mon, 20 Mar 2006 17:46:29 -0800 [IPCOMP6]: don't check vfree() argument for NULL. vfree does it's own NULL checking, so checking a pointer before handing it to vfree is pointless. Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit afe00251dd9b53d51de91ff0099961f42bbf3754 tree a56aa987140662cf3e6e65be402b8591298c5ced parent 2a91aa3967398fb94eccc8da67c82bce9f67afdf author Andrea Bittau Mon, 20 Mar 2006 17:43:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:43:56 -0800 [DCCP]: Initial feature negotiation implementation Still needs more work, but boots and doesn't crashes, even does some negotiation! 18:38:52.174934 127.0.0.1.43458 > 127.0.0.1.5001: request 18:38:52.218526 127.0.0.1.5001 > 127.0.0.1.43458: response 18:38:52.185398 127.0.0.1.43458 > 127.0.0.1.5001: :-) Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2a91aa3967398fb94eccc8da67c82bce9f67afdf tree 62bf003487121bc629919c85810df11e52016b8f parent aa5d7df3b20e0e493e90e1151510ab3ae8366bb5 author Andrea Bittau Mon, 20 Mar 2006 17:41:47 -0800 committer David S. Miller Mon, 20 Mar 2006 17:41:47 -0800 [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation Original work by Andrea Bittau, Arnaldo Melo cleaned up and fixed several issues on the merge process. For now CCID2 was turned the default for all SOCK_DCCP connections, but this will be remedied soon with the merge of the feature negotiation code. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit aa5d7df3b20e0e493e90e1151510ab3ae8366bb5 tree 1decadd46dd3d3dd88c9e812c46293398a79d1ab parent 9833d6da00c95e8a471411fb079da6b25787b05e author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:35:13 -0800 committer David S. Miller Mon, 20 Mar 2006 17:35:13 -0800 [DCCP] CCID3: Set the no_feedback_timer fields near init_timer Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9833d6da00c95e8a471411fb079da6b25787b05e tree 0d76b97beb3587723ad318fe0713193ebccb9374 parent d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:34:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:34:53 -0800 [DCCP]: Don't alloc ack vector for the control sock Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c tree 6858af7c1f4fd2388b7b83085a66c2dd39b12d5f parent 411447019ab583c659600b0519db5658a2444f11 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:20:46 -0800 committer David S. Miller Mon, 20 Mar 2006 17:20:46 -0800 [DCCP] ackvec: Delete all the ack vector records in dccp_ackvec_free Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 411447019ab583c659600b0519db5658a2444f11 tree 3bf3e7c655c91097cead92c65334a4ebbb51906e parent 02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:20:23 -0800 committer David S. Miller Mon, 20 Mar 2006 17:20:23 -0800 [DCCP] CCID: Allow ccid_{init,exit} to be NULL Testing if the ccid being instantiated has these methods in ccid_init(). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07 tree d70435d97b3454dcafb6decd6defd603fdf10f82 parent e229c2fb3370a0c4ebac06cad67ce1cb35abcfe6 author Andrea Bittau Mon, 20 Mar 2006 17:19:55 -0800 committer David S. Miller Mon, 20 Mar 2006 17:19:55 -0800 [DCCP] ackvec: Introduce ack vector records Based on a patch by Andrea Bittau. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e229c2fb3370a0c4ebac06cad67ce1cb35abcfe6 tree fc7ceeeeea4397e06c6ee5cfb597ba0d441beeea parent 7b204afd45820fc21b5983205ad535c6b8088765 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:19:17 -0800 committer David S. Miller Mon, 20 Mar 2006 17:19:17 -0800 [LIST]: Introduce list_for_each_entry_from For iterating over list of given type continuing from existing point. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7b204afd45820fc21b5983205ad535c6b8088765 tree 4c81e006c51e7cf54a6969f6df71a3c45c2aa242 parent d8dcffee860d6b63996923b10f07c91d3d6c2fab author Robert Olsson Mon, 20 Mar 2006 17:18:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:18:53 -0800 [IPV4]: Use RCU locking in fib_rules. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit d8dcffee860d6b63996923b10f07c91d3d6c2fab tree a4b73c0d435b329f8522c380b22d9d4204a03f97 parent 9b07ef5ddaced1e822b1a1fb1da088eb15c45cb4 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:18:05 -0800 committer David S. Miller Mon, 20 Mar 2006 17:18:05 -0800 [LIST]: Introduce list_for_each_entry_safe_from For iterate over list of given type from existing point safe against removal of list entry. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9b07ef5ddaced1e822b1a1fb1da088eb15c45cb4 tree 57a33bb4ed32384a95e2c23d7039e8ed99c5b595 parent fa23e2ecd30a584cdcb9b3de0149dbb5c073c20b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:16:17 -0800 committer David S. Miller Mon, 20 Mar 2006 17:16:17 -0800 [DCCP] ackvec: Introduce dccp_ackvec_slab Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fa23e2ecd30a584cdcb9b3de0149dbb5c073c20b tree 85fb7814b8e5dc7812b353161d06066bc593b79a parent 7400d781105d18bf5bba89f8b986a413f14144a8 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:16:01 -0800 committer David S. Miller Mon, 20 Mar 2006 17:16:01 -0800 [DCCP]: Fix error handling in dccp_init Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7400d781105d18bf5bba89f8b986a413f14144a8 tree 39bba6735fa99c5b2aa755b81c0cebc0ac901931 parent 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:15:42 -0800 committer David S. Miller Mon, 20 Mar 2006 17:15:42 -0800 [DCCP] ackvec: Ditch dccpav_buf_len Simplifying the code a bit as we're always using DCCP_MAX_ACKVEC_LEN. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 tree ea905a47e7ce2dc2d5076076edc0bf641cf3691c parent 5ee956125a780baf15f2c1d09f2cbf8adcf598fe author Harald Welte Mon, 20 Mar 2006 17:15:11 -0800 committer David S. Miller Mon, 20 Mar 2006 17:15:11 -0800 [NETFILTER] nfnetlink_log: add sequence numbers for log events By using a sequence number for every logged netfilter event, we can determine from userspace whether logging information was lots somewhere downstream. The user has a choice of either having per-instance local sequence counters, or using a global sequence counter, or both. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 5ee956125a780baf15f2c1d09f2cbf8adcf598fe tree 195cfcef58dbd87c1cad337be08e69a8977d9224 parent 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 author Harald Welte Mon, 20 Mar 2006 17:14:12 -0800 committer David S. Miller Mon, 20 Mar 2006 17:14:12 -0800 [NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack This patch reduces the size of 'struct ip_conntrack' on systems with NAT by eight bytes. The sequence number delta values can be int16_t, since we only support one sequence number modification per window anyway, and one such modification is not going to exceed 32kB ;) Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 tree e604ee025c6711caca1bf6ec2a406197bf5be843 parent 77d2ca350018c507815f5d38a40ffb597eb9ae25 author David S. Miller Mon, 20 Mar 2006 17:13:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:13:49 -0800 [NET]: Do not lose accepted socket when -ENFILE/-EMFILE. Try to allocate the struct file and an unused file descriptor before we try to pull a newly accepted socket out of the protocol layer. Based upon a patch by Prassana Meda. Signed-off-by: David S. Miller commit 77d2ca350018c507815f5d38a40ffb597eb9ae25 tree b4c9ec7f0cc4accc2f9361d36d9a318fb1d9da50 parent ddd7bf9fe4e59afc0a041378f82b6e1aa88f714b author Patrick McHardy Mon, 20 Mar 2006 17:12:12 -0800 committer David S. Miller Mon, 20 Mar 2006 17:12:12 -0800 [NET]: Reduce size of struct sk_buff on 64 bit architectures Move skb->nf_mark next to skb->tc_index to remove a 4 byte hole between skb->nfmark and skb->nfct and another one between skb->users and skb->head when CONFIG_NETFILTER, CONFIG_NET_SCHED and CONFIG_NET_CLS_ACT are enabled. For all other combinations the size stays the same. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ddd7bf9fe4e59afc0a041378f82b6e1aa88f714b tree 98764adba1bae7d128d2e7db7d9fc1e2fe5826d8 parent b00055aacdb172c05067612278ba27265fcd05ce author Stefan Rompf Mon, 20 Mar 2006 17:11:41 -0800 committer David S. Miller Mon, 20 Mar 2006 17:11:41 -0800 [VLAN]: translate IF_OPER_DORMANT to netif_dormant_on() this patch adds support to the VLAN driver to translate IF_OPER_DORMANT of the underlying device to netif_dormant_on(). Beside clean state forwarding, this allows running independant userspace supplicants on both the real device and the stacked VLAN. It depends on my RFC2863 patch. Signed-off-by: Stefan Rompf Signed-off-by: David S. Miller commit b00055aacdb172c05067612278ba27265fcd05ce tree 4dbbee11b02d54cc0978113dfb07c53fdce17aa8 parent e843b9e1bec4a953d848a319da6a18ca5c667f55 author Stefan Rompf Mon, 20 Mar 2006 17:09:11 -0800 committer David S. Miller Mon, 20 Mar 2006 17:09:11 -0800 [NET] core: add RFC2863 operstate this patch adds a dormant flag to network devices, RFC2863 operstate derived from these flags and possibility for userspace interaction. It allows drivers to signal that a device is unusable for user traffic without disabling queueing (and therefore the possibility for protocol establishment traffic to flow) and a userspace supplicant (WPA, 802.1X) to mark a device unusable without changes to the driver. It is the result of our long discussion. However I must admit that it represents what Jamal and I agreed on with compromises towards Krzysztof, but Thomas and Krzysztof still disagree with some parts. Anyway I think it should be applied. Signed-off-by: Stefan Rompf Signed-off-by: David S. Miller commit e843b9e1bec4a953d848a319da6a18ca5c667f55 tree d16508cfd5cafa68eef4b635d2238db37c810201 parent 09c884d4c3b45cda904c2291d4723074ff523611 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:07:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:07:49 -0800 [IPV6]: ROUTE: Ensure to accept redirects from nexthop for the target. It is possible to get redirects from nexthop of "more-specific" routes. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 09c884d4c3b45cda904c2291d4723074ff523611 tree 90b893f1b83165d7088ecdead94085969e0a58ef parent e317da96227cef28a137e2d1ad790b23e518dd2b author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:07:03 -0800 committer David S. Miller Mon, 20 Mar 2006 17:07:03 -0800 [IPV6]: ROUTE: Add accept_ra_rt_info_max_plen sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e317da96227cef28a137e2d1ad790b23e518dd2b tree dfe27f9855eb80cacb381ed3012acdb4a4d9fd11 parent 70ceb4f53929f73746be72f73707cd9f8753e2fc author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:06:42 -0800 committer David S. Miller Mon, 20 Mar 2006 17:06:42 -0800 [IPV6]: ROUTE: Flag RTF_DEFAULT for Route Infomation for ::/0. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 70ceb4f53929f73746be72f73707cd9f8753e2fc tree e562929b0c800b0243e203587065e05323baba59 parent 52e1635631b342803aecaf81a362c1464e3da2e5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:06:24 -0800 committer David S. Miller Mon, 20 Mar 2006 17:06:24 -0800 [IPV6]: ROUTE: Add experimental support for Route Information Option in RA (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 52e1635631b342803aecaf81a362c1464e3da2e5 tree 971c40743f7fcb594697dd18d22e2d8b168d1785 parent 930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:47 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:47 -0800 [IPV6]: ROUTE: Add router_probe_interval sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba tree 0ea6ca2d6d04c13bf05100a70a4a21d7cd6eeb82 parent 270972554c91acd29412d8b6a10e606041012106 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:30 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:30 -0800 [IPV6]: ROUTE: Add accept_ra_rtr_pref sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 270972554c91acd29412d8b6a10e606041012106 tree 1d8f563c5c79ccd805d3ab8c5acfe1ceb73b08db parent ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:13 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:13 -0800 [IPV6]: ROUTE: Add Router Reachability Probing (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d tree 5d1cc0c6d94b5226507434bb86e6e2a69fdd4204 parent 8238dd0698b480e432acd955c45f9f907b8d27de author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:04:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:04:53 -0800 [IPV6]: ROUTE: Add support for Router Preference (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 8238dd0698b480e432acd955c45f9f907b8d27de tree eafb3c6dd86a383e4369cf24dbec295b86050031 parent bb133964e036c4aaf773244468d589c024e7b399 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:04:35 -0800 committer David S. Miller Mon, 20 Mar 2006 17:04:35 -0800 [IPV6]: ROUTE: Handle finding the next best route in reachability in BACKTRACK(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit bb133964e036c4aaf773244468d589c024e7b399 tree 89ea37ebe290855fab314358f8ad32223e569fba parent 1ddef044ed9dd6c7c23562d1140522e28de888a5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:43 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:43 -0800 [IPV6]: ROUTE: Try finding the next best route. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 1ddef044ed9dd6c7c23562d1140522e28de888a5 tree 22b288e5be9e258e75f131760a689064ee63ecd0 parent 118f8c1654b8f2e79fa0eb8b2d84283ab62a5498 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:24 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:24 -0800 [IPV6]: ROUTE: Clean up rt6_select() code path in ip6_route_{intput,output}(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 118f8c1654b8f2e79fa0eb8b2d84283ab62a5498 tree 50520da4c8ea580408b04d4e6ecd95c766c90d78 parent 045927ff84c340da5442543e87be988fcde5a283 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:06 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:06 -0800 [IPV6]: ROUTE: Try selecting better route for non-default routes as well. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 045927ff84c340da5442543e87be988fcde5a283 tree fc8d51e6fc9a17915c6eeca727aa64952f67002c parent 554cfb7ee5d4f2d0edb280e66e4a2db1906a8300 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:48 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:48 -0800 [IPV6]: ROUTE: More strict check for default routers in rt6_get_dflt_router(). Check RTF_ADDRCONF|RTF_DEFAULT in rt6_get_dflt_router(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 554cfb7ee5d4f2d0edb280e66e4a2db1906a8300 tree 586bca2143a23157ac2619b1c211144662ddf8f3 parent 519fbd8715ce6413ec8e122bf02f09b0e49d3ca5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:26 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:26 -0800 [IPV6]: ROUTE: Eliminate lock for default route pointer. And prepare for more advanced router selection. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 519fbd8715ce6413ec8e122bf02f09b0e49d3ca5 tree fc5d83e8beb12dc74b9f83897ec227b4837dca96 parent e40cf3533c712b941d4c8ebb3eca892d55c32c34 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:05 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:05 -0800 [IPV6]: ROUTE: Clean-up cow'ing in ip6_route_{intput,output}(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e40cf3533c712b941d4c8ebb3eca892d55c32c34 tree c70e06da96263fdcb908ef9d654a69d33cb52ff1 parent fb9de91ea8035b99757d9f8a04aa058c982c361b author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:59:27 -0800 committer David S. Miller Mon, 20 Mar 2006 16:59:27 -0800 [IPV6]: ROUTE: Convert rt6_cow() to rt6_alloc_cow(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fb9de91ea8035b99757d9f8a04aa058c982c361b tree b488041038178a407d2f413838677c226da35607 parent d5315b500b68ea921fe05fe2cbc06bcae90ff615 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:59:08 -0800 committer David S. Miller Mon, 20 Mar 2006 16:59:08 -0800 [IPV6]: ROUTE: Clean up reference counting / unlocking for returning object. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit d5315b500b68ea921fe05fe2cbc06bcae90ff615 tree c3d063529dd6b41c81e4499e8bbd095e0c0833e9 parent 299d9939089126f764090a202f2d6c69934bcf66 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:58:48 -0800 committer David S. Miller Mon, 20 Mar 2006 16:58:48 -0800 [IPV6]: ROUTE: Unify two code paths for pmtu disc. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 299d9939089126f764090a202f2d6c69934bcf66 tree 935527062a094537c66a82808e86a806abed4608 parent 76f9edd17d90e11ef04d20fe457dd172fe8157a6 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:58:32 -0800 committer David S. Miller Mon, 20 Mar 2006 16:58:32 -0800 [IPV6]: ROUTE: Add rt6_alloc_clone() for cloning route allocation. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 76f9edd17d90e11ef04d20fe457dd172fe8157a6 tree 96226496033036fd26eb27393b0ca4d17274fb61 parent a1e783634a64d002c58391cf8150fcb80856a4fe author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:56:50 -0800 committer David S. Miller Mon, 20 Mar 2006 16:56:50 -0800 [IPV6]: ROUTE: Copy u.dst.error for RTF_REJECT routes when cloning. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a1e783634a64d002c58391cf8150fcb80856a4fe tree 0dab259fd401c90b320dbc1832385315b1742f25 parent 95a9a5ba0219a4d4237fb39703bfa58626c6fe72 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:56:32 -0800 committer David S. Miller Mon, 20 Mar 2006 16:56:32 -0800 [IPV6]: ROUTE: Set appropriate information before inserting a route. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 95a9a5ba0219a4d4237fb39703bfa58626c6fe72 tree 005fb501c7561e3028ae7a3865dd2afc16c59fc2 parent c4fd30eb18666972230689eb30e8f90844bce635 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:51 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:51 -0800 [IPV6]: ROUTE: Split up rt6_cow() for future changes. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit c4fd30eb18666972230689eb30e8f90844bce635 tree f1b8daddeb21d7d1390fa1ae820bf2b5ffa8d276 parent 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:26 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:26 -0800 [IPV6]: ADDRCONF: Add accept_ra_pinfo sysctl. This controls whether we accept Prefix Information in RAs. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 tree fb61c9f73577a7fec29b11039d1434b972796d8b parent 073a8e0e154c1c440e0b33aaa887473d5cc843f4 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:08 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:08 -0800 [IPV6]: ROUTE: Add accept_ra_defrtr sysctl. This controls whether we accept default router information in RAs. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 073a8e0e154c1c440e0b33aaa887473d5cc843f4 tree eb7983e9977b153c3ee67864aca9cc5fedba8194 parent 955189efb44742890f33c91df478877af25246da author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:54:49 -0800 committer David S. Miller Mon, 20 Mar 2006 16:54:49 -0800 [IPV6]: ADDRCONF: Split up ipv6_generate_eui64() by device type. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 955189efb44742890f33c91df478877af25246da tree 7e98451f91422ad33bc8f4df62cb8166317b9796 parent 955aaa2fe39e21e49521449c09548ce1ba501010 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:54:09 -0800 committer David S. Miller Mon, 20 Mar 2006 16:54:09 -0800 [IPV6]: ADDRCONF: Use our standard algorithm for randomized ifid. RFC 3041 describes an algorithm to generate random interface identifier. In RFC 3041bis, it is allowed to use different algorithm than one described in RFC 3041. So, let's use our standard pseudo random algorithm to simplify our implementation. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 955aaa2fe39e21e49521449c09548ce1ba501010 tree e067beca9678350ad0f209d7406f3dcfa43394fd parent 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:52:52 -0800 committer David S. Miller Mon, 20 Mar 2006 16:52:52 -0800 [NET]: NEIGHBOUR: Ensure to record time to neigh->updated when neighbour's state changed. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 tree 932bfb5e207cb91a1a87f45c26010dd9f7d804fb parent c4a1745aa09fc110afdefea0e5d025043e348bae author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:51:48 -0800 committer David S. Miller Mon, 20 Mar 2006 16:51:48 -0800 [IPV6]: TUNNEL6: Don't try to add multicast route twice. Since addrconf_add_dev() has already called addrconf_add_mroute() to added route for multicast prefix, there's no point to call it again in addrconf_ip6_tnl_config(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit cd85f6e2f58282186ad720fc18482be228f0b972 tree 3722bbb4fc19a7ce41178a8c08d36b803610b03e parent 29b2548bf53ffb810394a2110161ef49f8e4780f author Jeff Garzik Mon, 20 Mar 2006 19:49:54 -0500 committer Jeff Garzik Mon, 20 Mar 2006 19:49:54 -0500 [libata] sata_mv: fix irq port status usage Interrupt handler did not properly initialize a variable on a per-port basis, leading to incorrect behavior on ports other than port 0. Bug caught and fixed by Mark Lord. Signed-off-by: Jeff Garzik commit 71a8924bee63d891f6256d560e32416a458440b3 tree 2c70a36dc689f01bb28dc3e850113ab0a49c3c95 parent e9a66c64bb7033cb0180d419b2008acf7a141adc author Greg Kroah-Hartman Mon, 20 Mar 2006 17:28:39 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB: omninet: fix up debugging comments Signed-off-by: Greg Kroah-Hartman commit e9a66c64bb7033cb0180d419b2008acf7a141adc tree f5adde064f836c753ec4ae471540dbf539c22802 parent da81817fbd744ce70983f1d3c61841265003c7f4 author Greg Kroah-Hartman Fri, 17 Mar 2006 17:40:08 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB serial: add navman driver Thanks to Warren Lewis for the information needed to write the driver and for testing it out. Signed-off-by: Greg Kroah-Hartman commit da81817fbd744ce70983f1d3c61841265003c7f4 tree 6df199268afd7293c86bc06699db11644b5bddfd parent 09abfa8048de8e68eaa09eb07ac18f2d549dfe58 author Eugene Teo Wed, 15 Mar 2006 14:57:19 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB: Fix irda-usb use after use Don't read from free'd memory after calling netif_rx(). docopy is used as a boolean (0 and 1) so unsigned int is sufficient. Coverity bug #928 Signed-off-by: Eugene Teo Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 09abfa8048de8e68eaa09eb07ac18f2d549dfe58 tree e77d50458954873e91c3a4ea1bf2be2a27e36257 parent bf58fbd5e86a43466e638407ff8a4eb7766a3b68 author Petko Manolov Wed, 15 Mar 2006 16:29:38 +0200 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: rtl8150 small fix This one is about announcing the device registration after the last check has been made. From: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit bf58fbd5e86a43466e638407ff8a4eb7766a3b68 tree 5f7910e45218b8b32ee11d84a90ab72376ba157d parent 59224f5352542b968c41200954e56c26c4f0a075 author A. Maitland Bottoms Tue, 14 Mar 2006 18:44:23 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids The Icom ID-1 1.2 GHz band digital transceiver is a new radio that has a USB interface. With this patch, the ftdi_sio driver will report "Detected FT8U232AM" and provide a serial device interface. Signed-off-by: "A. Maitland Bottoms" Signed-off-by: Greg Kroah-Hartman commit 59224f5352542b968c41200954e56c26c4f0a075 tree 27c66d0a03c4232d8d89c6a3784f84c7bab7c99f parent 24f8b116c45e46779dec553f934c3d74f79c06fb author Craig Shelley Sat, 11 Mar 2006 11:29:02 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: cp2101: add new device IDs This patch adds a new device ID to the cp2101 driver Signed-off-by: Craig Shelley Signed-off-by: Greg Kroah-Hartman commit 24f8b116c45e46779dec553f934c3d74f79c06fb tree cc6c86511c5b98b702fa86e857a2359dacdebab2 parent f88f8295d8a9229fc8b647baf4f15959384d7bb7 author Horst Schirmeier Sat, 11 Mar 2006 00:16:55 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS check_ctrlrecip() disallows any control transfers if the device is deconfigured (in configuration 0, ie. state ADDRESS). This for example makes it impossible to read the device descriptors without configuring the device, although most standard device requests are allowed in this state by the spec. This patch allows control transfers for the ADDRESS state, too. Signed-off-by: Horst Schirmeier Cc: Alan Stern Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit f88f8295d8a9229fc8b647baf4f15959384d7bb7 tree 6d8ad61b935f9dd9d7ef0ce40898bd7df96476d0 parent 6e0755a4b2a41a8cd5839db69532d07262294b41 author Adrian Bunk Fri, 10 Mar 2006 23:25:06 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: vicam.c: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 6e0755a4b2a41a8cd5839db69532d07262294b41 tree e180c082ba1b05f525a90ee6f1ea51543f710a5d parent 2e56222ed52cec40427fa89f23b228232e3e327e author Luca Risolia Fri, 03 Mar 2006 09:58:39 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: ZC0301 driver bugfix ZC0301 driver bugfix. Use correct PID/VID USB entries. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 2e56222ed52cec40427fa89f23b228232e3e327e tree 353d9cb1b95b801c881e35c877b55f35e65f3505 parent 9d5847bc1a3977fbfb4057aad41458df89792309 author Wolfgang Rohdewald Wed, 08 Mar 2006 16:59:44 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: add support for Creativelabs Silvercrest USB keyboard Signed-off-by: Wolfgang Rohdewald Signed-off-by: Greg Kroah-Hartman commit 9d5847bc1a3977fbfb4057aad41458df89792309 tree 2590c13cc86d228b14e54c6354c525869e6358be parent 23b7885d50c5f5fe6dca93d4b0913f6e7b878dad author Rodolfo Quesada Mon, 06 Mar 2006 10:45:42 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader This patch (as661) adds an unusual_devs entry for the Mitsumi 7in1 Card Reader. From: Rodolfo Quesada Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 23b7885d50c5f5fe6dca93d4b0913f6e7b878dad tree f3c470635bfd1169fa479546e6677d440e733fb8 parent c713c973fb4bfdb22cce488cca4f9f8006ed58ce author Pete Zaitcev Sun, 05 Mar 2006 21:45:44 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: unusual_devs.h entry 0420:0001 Ref https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176584 Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit c713c973fb4bfdb22cce488cca4f9f8006ed58ce tree 591efd2505869744112d532f115daccca853581b parent 1e7a5a84e407dfa20813a7f55413be8193ee5380 author Pete Zaitcev Sun, 05 Mar 2006 21:43:40 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: another unusual_devs.h entry Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 1e7a5a84e407dfa20813a7f55413be8193ee5380 tree f0847f4157b922e185e7b4953a2557c62270bf09 parent b712548c5d88f2e4672f8482c3904e8c5728dbf1 author Phil Dibowitz Sun, 05 Mar 2006 21:36:51 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: sandisk unusual_devices entry The following adds an unusual_devs entry for the SanDisk ImageMate CompactFlash USB drive, for the US_FL_FIX_CAPACITY flag. Additionally, it removes trailing whitespace from the previous entry. It's based on the patch sent by Roman Hodek . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit b712548c5d88f2e4672f8482c3904e8c5728dbf1 tree fcbfc07f2c753dbd931ee22ec0e0155a7819d5a2 parent f48219db93eaee644e9fd9f22fb6421f38059cc5 author Greg Kroah-Hartman Fri, 17 Mar 2006 17:40:08 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: fix initdata issue in isp116x-hcd As found by Sam's scripts. Cc: Sam Ravnborg Cc: David Brownell Signed-off-by: Greg Kroah-Hartman commit f48219db93eaee644e9fd9f22fb6421f38059cc5 tree df29efdc95c79a57ff31b7d768c739da0e8ba6bc parent 6aa35675bbc370e5f11baae7e01a9ab255d8030c author Horst Schirmeier Thu, 09 Mar 2006 14:10:49 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) When trying to deconfigure a device via usb_set_configuration(dev, 0), 2.6.16-rc kernels after 55c527187c9d78f840b284d596a0b298bc1493af oops with "Unable to handle NULL pointer dereference at...". This is due to an unchecked dereference of cp in the power budget part. Signed-off-by: Horst Schirmeier Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6aa35675bbc370e5f11baae7e01a9ab255d8030c tree f42b4adac70483f90bcb3c4de9c4d5db964cf43a parent 11a223ae3b86b94391774512e5671600367a305c author Alan Stern Wed, 08 Mar 2006 15:14:09 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces In a couple of places, usbcore assumes that a USB device configuration will have a nonzero number of interfaces. Having no interfaces may or may not be allowed by the USB spec; in any event we shouldn't die if we encounter such a thing. This patch (as662) removes the assumptions. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 11a223ae3b86b94391774512e5671600367a305c tree e9aca74eb4127e6f3fc0646f7fd64cc224263756 parent 952ba222962bf3fb1336f139f1049030153cae55 author Pete Zaitcev Thu, 02 Mar 2006 16:53:00 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 03 drop stall clearing Matt mentioned that a very old ZIP-100 actually does need this, but I am yet to see anyone who actually has one still working and uses ub with it. He/she must be a retrocomputing geek, who can easily bias it to usb-storage with libusual, if needed. Meanwhile, common folks have trouble with poorly designed USB keys and some el-cheapo European music players. I think we better drop this for now. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 952ba222962bf3fb1336f139f1049030153cae55 tree e795fb8717b42fe7761829fb94fc02e2d562eb63 parent 4d69581929b8f8836f806bcc320b19ed886e9517 author Pete Zaitcev Thu, 02 Mar 2006 16:42:59 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 02 remove diag Remove the "diag" file from the sysfs. The usbmon is good enough these days so I do not need this feature anymore. Also, sysfs is a pain. Al Viro caught a race in this, which I thought too bothersome to fix. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 4d69581929b8f8836f806bcc320b19ed886e9517 tree bc25e86dd34b8c164a62ad47d9d04b470e27b59a parent ae55717584431761b70215d3d574c13fe97093f2 author Pete Zaitcev Thu, 02 Mar 2006 16:36:09 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 01 remove first_open The first_open was long overdue for removal, but I wanted to keep this separate for other changes in case of regressions. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit ae55717584431761b70215d3d574c13fe97093f2 tree adbda118e9f5c8e0179b07e3cfa714f08405f8bb parent 491b04ce1c9adfa0cd73f095086f3c37da81b667 author Alan Stern Tue, 28 Feb 2006 10:16:12 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: UHCI: Increase port-reset completion delay for HP controllers This patch (as657) increases the port-reset completion delay in uhci-hcd for HP's embedded controllers. Unlike other UHCI controllers, the HP chips can take as long as 250 us to carry out the processing associated with finishing a port reset. This fixes Novell bug #148761. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 491b04ce1c9adfa0cd73f095086f3c37da81b667 tree fb5aaee71d28c3f950055129f2c92a1755f61bda parent 96050b11f690878c19c1cd39970ab7325d91e18b author Dick Streefland Wed, 01 Mar 2006 00:53:33 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: support for USB-to-serial cable from Speed Dragon Multimedia The USB data cable for my Samsung GSM phone contains the USB-to-serial converter chip MS3303H from Speed Dragon Multimedia, Inc. that appears to be compatible with the PL2303 chip. The following patch adds support for this chip to the pl2303 driver. Signed-off-by: Dick Streefland Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 96050b11f690878c19c1cd39970ab7325d91e18b tree b89853fd019eb3c0ded4dfbe612a816cc90346d5 parent a5c44e29e5637b5e6fe59d225eb4f438688b3849 author Julian Bradfield Wed, 01 Mar 2006 10:19:44 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: PL2303 and TIOCMIWAIT A while ago, I posted about TIOCMIWAIT not working with the PL2303 USB-serial adapter. After a brief exchange with Greg, I tracked this to a missing wake-up in the USB interrupt procedures. I got our systems staff to install the enclosed very simple patch to our 2.6.12 kernels, and it all works fine as expected. I guess this should also apply to the latest version and go into the mainstream. Apologies for the long delay in posting the result. The routine being patched is pl2303_update_line_status Signed-off-by: Julian Bradfield Signed-off-by: Greg Kroah-Hartman commit a5c44e29e5637b5e6fe59d225eb4f438688b3849 tree 1a39af521d6be62c57f1bc39083a95aaf6eac67d parent a847423905c6a8ccd6671d05f5877d893d10cd9f author Lonnie Mendez Wed, 01 Mar 2006 10:45:24 -0600 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable This patch adds support for the Nokia ca42 version 2 cable to the cypress_m8 driver. The device was tested by others with this patch and found to be compatible with the cypress_m8 driver. A special note should be taken that this cable seems to vary in the type of chipset used. This patch supports the cable with product id 0x4101. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman commit a847423905c6a8ccd6671d05f5877d893d10cd9f tree ca7a67a3f37889bf7c612d246fa5173dfbef320a parent ccad7789d5e557644d1c866b018394872af0ec5b author Luca Risolia Sat, 25 Feb 2006 06:57:49 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ZC0301 driver updates ZC0301 driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Need usb_get|put_dev() when disconnecting, if the device is open * Cleanups and updates in the documentation + Use per-device sensor structures + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit ccad7789d5e557644d1c866b018394872af0ec5b tree c3894cc5b75fe11b4db85229927591387aa332a8 parent 2ffab02fea5880da284dc5511479b25a796a8dee author Luca Risolia Sat, 25 Feb 2006 06:54:18 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: ET61X[12]51 driver updates USB: ET61X[12]51 driver updates Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream) * Cleanups and updates in the documentation * Use mutexes instead of semaphores + Use per-device sensor structures + Add support for PAS202BCA image sensors + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 2ffab02fea5880da284dc5511479b25a796a8dee tree b94481244ae823598d06cd72472b9c76e9639bd1 parent 7039f4224d4e40b06308d5c1a97427af1a142459 author Luca Risolia Sat, 25 Feb 2006 06:50:47 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: SN9C10x driver updates SN9C10x driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream) * Cleanups and updates in the documentation + Use per-device sensor structures + Add support for PAS202BCA image sensors + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 7039f4224d4e40b06308d5c1a97427af1a142459 tree 4529171195b1008e8615bb4b39a129ddda463b16 parent 80b6ca48321974a6566a1c9048ba34f60420bca6 author Eric Sesterhenn Mon, 27 Feb 2006 13:34:10 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: kzalloc() conversion in drivers/usb/gadget this patch converts drivers/usb to kzalloc usage. Compile tested with allyes config. I think there was a bug in drivers/usb/gadget/inode.c because it used sizeof(*data) for the kmalloc() and sizeof(data) for the memset(), since sizeof(data) just returns the size for a pointer. Signed-off-by: Eric Sesterhenn Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 80b6ca48321974a6566a1c9048ba34f60420bca6 tree a350e3cf6b794081c13c89d5b1913b2c1207570d parent d54a5cb6484705f7808b337917cc7598f2f971c3 author Eric Sesterhenn Mon, 27 Feb 2006 21:29:43 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: kzalloc() conversion for rest of drivers/usb Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit d54a5cb6484705f7808b337917cc7598f2f971c3 tree 519c06b06f5173d6968c47db0548082a7056129b parent 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd author Luca Risolia Wed, 08 Feb 2006 00:50:59 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: CREDITS: Add credits about the ZC0301 and ET61X[12]51 USB drivers This patch adds credits about the ZC0301 and ET61X[12]51 USB drivers which have been included in the mainline kernel recently. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd tree 366b55f9a85f80d3bd2877d498d0fae2034419b1 parent addf36fec058691f7ba4f95b5487d140f4a86f5a author Luca Risolia Wed, 08 Feb 2006 00:05:27 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: ZC0301 driver updates "Cosmetic" driver updates for the ZC0301 driver: - Fix stream_interrupt() (and work around a possible kernel bug); - Fix vidioc_enum_input() and split vidioc_gs_input() in two parts; - Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames; - replace erroneous wake_up_interruptible(&wait_stream) with wake_up(&wait_stream); - Cosmetic cleanups in the documentation. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit addf36fec058691f7ba4f95b5487d140f4a86f5a tree ae9093018c1bc2fc963ea564ecb0c02a9ea4f58c parent 1afc64a3d68174fe524f11d92e045a30eacc927e author Matthew Martin Wed, 15 Feb 2006 15:41:25 -0600 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: Fix warning in drivers/usb/media/ov511.c Gcc 4.0.2 had the warning: drivers/usb/media/ov511.c: In function 'show_exposure': drivers/usb/media/ov511.c:5642: warning: 'exp' may be used uninitialized in this function Here is the patch to fix that warning. Signed-off-by: Matthew Martin Signed-off-by: Greg Kroah-Hartman commit 1afc64a3d68174fe524f11d92e045a30eacc927e tree 04b9889b1a606b27ed9d91923f09031ef566ab73 parent 329af28b141ab4ae847aff1362864c4cc332641f author Aras Vaichas Sat, 18 Feb 2006 12:31:23 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: ethernet gadget driver section fixups This patch allows you to set the iSerialNumber field in the usb_device_descriptor structure for your USB ethernet gadget. It also changes the parameters shown through sysfs so they're no longer declared as __initdata, preventing potential oopses. That's most useful for the Ethernet addresses, which may in some cases be random "locally administered" addresses. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 329af28b141ab4ae847aff1362864c4cc332641f tree c4871a6065ed635998204efef0a63fda8c3dbfcc parent 43c5d5aaafef56618a6efbcab7f91615da1a8659 author David Brownell Sat, 18 Feb 2006 12:31:05 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: gadget driver section fixups This adds __init section annotations to gadget driver bind() routines to remove calls from .text into .init sections (for endpoint autoconfig). Likewise it adds __exit section annotations to their unbind() routines. The specification of the gadget driver register/unregister functions is updated to explicitly allow use of those sections. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 43c5d5aaafef56618a6efbcab7f91615da1a8659 tree f3b0203e803b4b03a976cd3c8cb4d02f974e0f87 parent 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d author Alan Stern Wed, 01 Feb 2006 10:47:11 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n This patch (as647) fixes a small error introduced by a recent change to the USB core suspend/resume code. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d tree 3b3da90cdf42c363fbd6270c58dd21811b8e3004 parent 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f author Alan Stern Thu, 19 Jan 2006 10:46:27 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB core and HCDs: don't put_device while atomic This patch (as640) removes several put_device and the corresponding get_device calls from the USB core and HCDs. Some of the puts were done in atomic contexts, and none of them are needed since the core now guarantees that every endpoint will be disabled and every URB completed before a USB device is released. Signed-off-by: Alan Stern Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f tree da25ea484bed1ce0f9ff3e2d2f485ca5980a8864 parent dbf4fcad62467ce1bd6966292b6850fc7a210e0b author Alan Stern Tue, 31 Jan 2006 10:02:55 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] uhci-hcd: fix mistaken usage of list_prepare_entry A recent update to the uhci-hcd driver invoked the list_prepare_entry macro incorrectly. This patch (as646) corrects it. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit dbf4fcad62467ce1bd6966292b6850fc7a210e0b tree 4b8da787d4f54fbd442a18a93658e3e5dd7ce176 parent 8d402e1ae03656c1ad215514f8885ef4793f0948 author Alan Stern Tue, 20 Dec 2005 09:58:08 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: Don't log short transfers Even when the URB_SHORT_NOT_OK flag is set, a short transfer shouldn't generate a debugging log message. Especially not one with the confusing claim that the transfer "failed with status 0". This patch (as627) fixes that behavior in uhci-hcd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8d402e1ae03656c1ad215514f8885ef4793f0948 tree ceac7800d7e07be1a7320a0b729156b12fbf26d6 parent 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a author Alan Stern Sat, 17 Dec 2005 18:03:37 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: improve debugging code This patch (as626) makes some improvements to the debugging code in uhci-hcd. The main change is that now the code won't get compiled if CONFIG_USB_DEBUG isn't set. But there are other changes too, like adding a missing .owner field and printing a debugging dump if the controller dies. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a tree 5f006afb273d5657251c49ae7144f669db9ed05d parent af0bb5998abe8ed28ee354dd4c71689cacdc91e9 author Alan Stern Sat, 17 Dec 2005 18:02:38 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: remove main list of URBs As part of reorienting uhci-hcd away from URBs and toward endpoint queues, this patch (as625) eliminates the driver's main list of URBs. The list wsa used mainly in checking for URB completions; now the driver goes through the list of active endpoints and checks the members of the queues. As a side effect, I had to remove the code that looks for FSBR timeouts. For now, FSBR will remain on so long as any URBs on a full-speed control or bulk queue request it, even if the queue isn't advancing. A later patch can add more intelligent handling. This isn't a huge drawback; it's pretty rare for an URB to get stuck for more than a fraction of a second. (And it will help the people trying to use those insane HP USB devices.) Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit af0bb5998abe8ed28ee354dd4c71689cacdc91e9 tree 20172dd9551d0e2497ef4b6dff1a84f010f981ab parent dccf4a48d47120a42382ba526f1a0848c13ba2a4 author Alan Stern Sat, 17 Dec 2005 18:00:12 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: use dummy TDs This patch (as624) fixes a hardware race in uhci-hcd by adding a dummy TD to the end of each endpoint's queue. Without the dummy the host controller will effectively turn off the queue when it reaches the end, which happens asynchronously. This leads to a potential problem when new transfer descriptors are added to the end of the queue; they may never get used. With a dummy TD present the controller never turns off the queue; instead it just stops at the dummy and leaves the queue on but inactive. When new TDs are added to the end of the queue, the first new one gets written over the dummy. Thus there's never any question about whether the queue is running or needs to be restarted. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit dccf4a48d47120a42382ba526f1a0848c13ba2a4 tree 788a0a9f491d1a42df1dee1781156ccfc363b6ef parent 499003e815344304c7b0c93aad923ddf644d24e0 author Alan Stern Sat, 17 Dec 2005 17:58:46 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: use one QH per endpoint, not per URB This patch (as623) changes the uhci-hcd driver to make it use one QH per device endpoint, instead of a QH per URB as it does now. Numerous areas of the code are affected by this. For example, the distinction between "queued" URBs and non-"queued" URBs no longer exists; all URBs belong to a queue and some just happen to be at the queue's head. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 499003e815344304c7b0c93aad923ddf644d24e0 tree 7a73626d56fd83174b342093f421d99e7e90e5b4 parent 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd author Kumar Gala Tue, 24 Jan 2006 08:11:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] USB: Fix masking bug initialization of Freescale EHCI controller In setting up the of PHY we masked off too many bits, instead just initialize PORTSC for the type of PHY we are using. Signed-off-by: Kumar Gala Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd tree 2365741645c76f7925f9e637ee68da2e1b2d3087 parent efafe6fb72b2bbab40080a08f7946f1eadb9bad9 author Franck Bui-Huu Tue, 07 Feb 2006 09:06:17 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] USB: Zero driver: Removed duplicated code Signed-off-by: Franck Bui-Huu Signed-off-by: Greg Kroah-Hartman commit efafe6fb72b2bbab40080a08f7946f1eadb9bad9 tree 502053738219df278ecc7b0175d7fee4d8ec611c parent aef4e266964bc15861b5835c1f5b9d2ebc155c2a author Malte Doersam Sat, 28 Jan 2006 17:48:33 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: Pegasus: Linksys USBVPN1 support + cleanup This patch adds a second linksys vendor-id (077b) and the product id of the pegasus based adapter USBVPN1 http://www1.linksys.com/Products/product.asp?prid=3D543&scid=3D30 Furthermore it replaces all LINKSYS_GPIO_RESET with DEFAULT_GPIO_RESET as both are declared like this: #define DEFAULT_GPIO_RESET 0x24 #define LINKSYS_GPIO_RESET 0x24 This is misleading and confusing. The check is now done via the VENDOR_ID in pegasus.c: if (usb_dev_id[pegasus->dev_index].vendor == VENDOR_LINKSYS Signed-off-by: Malte Doersam Signed-off-by: Greg Kroah-Hartman commit aef4e266964bc15861b5835c1f5b9d2ebc155c2a tree 49d606bc0843231942231b801dc3010ca32ab4f7 parent fb669cc01ed778c4926f395e44a9b61644597d38 author Alan Stern Tue, 31 Jan 2006 12:58:38 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] usbhid: add error handling This patch (as628c) adds error handling to the USB HID core. When an error is reported for an interrupt URB, the driver will do delayed retries, at increasing intervals, for up to one second. If that doesn't work, it will try to reset the device. Testing by users has shown that both the retries and the resets end up getting used. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fb669cc01ed778c4926f395e44a9b61644597d38 tree a81c4f655a0470f84dfa4fbfcff3e64d83da3463 parent 6a9062f393fa48125df23c5491543828a21e1ae0 author David Brownell Tue, 24 Jan 2006 08:40:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: remove usbcore-specific wakeup flags This makes usbcore use the driver model wakeup flags for host controllers and for their root hubs. Since previous patches have removed all users of the HCD flags they replace, this converts the last users of those flags. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 6a9062f393fa48125df23c5491543828a21e1ae0 tree ca79e036f5a00253af790b45da6a6102b58ff97c parent b1e8f0a6a8805c971857cd10a65cf8caa4c1a672 author David Brownell Mon, 23 Jan 2006 15:28:07 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: ohci uses driver model wakeup flags This makes OHCI use the driver model wakeup control bits for its root hub (e.g. disable on amd756, because of chip erratum) and for the controller itself. It no longer uses the hcd glue bits with those roles, and depends on the previous patch making the root hub available earlier. Note that on most platforms (boot code properly setting the RWC bit) this gives a partial workaround for the way PCI isn't currently flagging devices that support PME# signals. (Because of odd PCI init sequencing on PPC.) That's because many OHCI controllers support "legacy PCI PM" ... without involving any PCI PM capability. USB wakeup from STR, if it works on your system, may still involve tweaking things by hand in /proc/acpi/wakeup. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit b1e8f0a6a8805c971857cd10a65cf8caa4c1a672 tree 395b7a91cbd0d5eb10a4c7429d7db6255b097b48 parent 1c05ad4447e4ecbd61647c102fb6f2f5a6634ff3 author David Brownell Mon, 23 Jan 2006 15:25:40 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: usbcore sets up root hubs earlier Make the HCD initialization sequence more sane ... notably, setting up root hubs before HCDs are asked to do their one-time init. Among other things, that lets the HCDs do custom root hub init along with all the other one-time initialization done in the (now misnamed) reset() method. This also copies the controller wakeup flags into the root hub; it's done a bit later than would be ideal, but that'll be necessary until the PCI code initializes them correctly. (The PCI patch breaks on PPC due to how it sequences PCI initialization.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1c05ad4447e4ecbd61647c102fb6f2f5a6634ff3 tree 57e519afbd37b545a1e0cd9019d49ab38980f7b4 parent 7802ac5c29d135345db1b06f9167075cd9f2d675 author David Brownell Wed, 25 Jan 2006 08:45:59 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] recognize three more usb peripheral controllers This adds declarations for three USB peripheral controllers: - Two high speed USB cores that can be licensed from Mentor Graphics to be integrated into silicon: * "musbhsfc" is for peripherals only, as found in for example the IBM/AMCC 44EP processors. * "musbhdrc" is OTG-capable (dual role), and is found in various products including OMAP 2430 and the new DaVinci SOCs. The "musbh" standing for "Mentor USB Highspeed", the rest standing for "Function Controller" or "Dual Role Controller" (OTG-capable). - The full speed controller on the FreeScale MPC8272. Adding these definitions just allows gadget driver code to handle any controller-specific logic; controller drivers are quite separate. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 7802ac5c29d135345db1b06f9167075cd9f2d675 tree eac03ea017b9bd42581f699fa4b71fad692a6bea parent bae4bd848dc0b7e6defc7a5d62834a35d1eed06d author David Brownell Sun, 22 Jan 2006 10:33:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: minor gadget/rndis tweak Resove a minor FIXME: don't change MTU while RNDIS link is active, the other end won't expect such things... Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit bae4bd848dc0b7e6defc7a5d62834a35d1eed06d tree 17f942f787c55e96afd13edc30875138a40c125c parent 39a269c09f854d3d98cbb755b3568175f04efa10 author David Brownell Sun, 22 Jan 2006 10:32:37 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: add support for AT91 gadget This adds support for the USB peripheral controller on AT91 (rm9200, eventually also sam9261 or uClinux) platforms. More SOC support for Linux-USB ... an uncomplicated pure PIO driver. It'd be worth using this as a model, if you're starting a driver for some other peripheral controller. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 39a269c09f854d3d98cbb755b3568175f04efa10 tree dcba12509961393e9f2920b23a337af8d6c4aec3 parent d0852299381326c5d8eb67771aa98108050e6901 author Andrew Victor Sun, 22 Jan 2006 10:32:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: add support for OCHI on AT91rm9200 This adds support for OHCI on AT91rm9200 based boards. Possibly of interest here is the way this uses to gate clocks on/off during system pm state transitions. That's typical for non-PCI systems. Some can go further; Mini-A host side connectors enable ID-pin sensing. From: Andrew Victor Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d0852299381326c5d8eb67771aa98108050e6901 tree e4965e920fceeada861e5722228eb4472627c991 parent d5fb7f1b5b832946eaf450b2a695ec3e7fd2d351 author David Brownell Fri, 20 Jan 2006 14:35:55 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI unlink tweaks This patch modifies the behavior of the EHCI driver in an unlink path that seems to be causing various issues on some systems. Those problems have included issues with disconnection, driver unbinding, and similar cases where urb unlinking would just not work right. This patch should help avoid those problems by not turning off the async (control/bulk) schedule until it's not expecting an "async advance" IRQ, which comes from the processing passing the schedule head. Whether the driver attempts to do such things is dependent on system timings, so many folk would never have seen these problems. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d5fb7f1b5b832946eaf450b2a695ec3e7fd2d351 tree 1a6b09e2b5928f2eb10ec00ecc926034e6387df5 parent 76fa9a240de4294a097235c9ddd470c21eb3449e author Jordan Crouse Fri, 20 Jan 2006 14:09:54 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: OHCI for AU1200 ALCHEMY: Add OHCI support for AU1200 Updated by moving the OHCI support out of the EHCI patch. Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 76fa9a240de4294a097235c9ddd470c21eb3449e tree f29b42b106e5394942c59102b8387f5dd322b6b7 parent 8cd42e97bf451bbbb2f54dc571366ae5a72faaea author Jordan Crouse Fri, 20 Jan 2006 14:06:09 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI for AU1200 ALCHEMY: Add EHCI support for AU1200 Updated by removing the OHCI support Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8cd42e97bf451bbbb2f54dc571366ae5a72faaea tree 9bd591f62813e477da3484bfe159228a7507eeb7 parent 80cb9aee01245b38325dd84f1359b14a3f01f10d author Kumar Gala Fri, 20 Jan 2006 13:57:52 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI and Freescale 83xx quirk On the MPC834x processors the multiport host (MPH) EHCI controller has an erratum in which the port number in the queue head expects to be 0..N-1 instead of 1..N. If we are on one of these chips we subtract one from the port number before putting it into the queue head. Signed-off-by: Kumar Gala Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 80cb9aee01245b38325dd84f1359b14a3f01f10d tree aa261392fa976e86dba2bea43b8afc9a64228b89 parent 469d02293d494d30dba81895cd3d34b0a3a6d51a author Randy Vinson Fri, 20 Jan 2006 13:53:38 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI for Freescale 83xx Adding a Host Mode USB driver for the Freescale 83xx. This driver supports both the Dual-Role (DR) controller and the Multi-Port-Host (MPH) controller present in the Freescale MPC8349. It has been tested with the MPC8349CDS reference system. This driver depends on platform support code for setting up the pins on the device package in a manner appropriate for the board in use. Note that this patch requires selecting the EHCI controller option under the USB Host menu. Signed-off-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit 469d02293d494d30dba81895cd3d34b0a3a6d51a tree a05096eed2144bcaa8918ce961d959761763c33e parent f8aeb3bb8657b207895aa10f75e63f2c48d08985 author Clemens Ladisch Fri, 20 Jan 2006 13:49:10 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI full speed ISO bugfixes This patch replaces the split ISO raw_mask calculation code in the iso_stream_init() function that computed incorrect numbers of high speed transactions for both input and output transfers. In the output case, it added a superfluous start-split transaction for all maxmimum packet sizes that are a multiple of 188. In the input case, it forgot to add complete-split transactions for all microframes covered by the full speed transaction, and the additional complete-split transaction needed for the case when full speed data starts arriving near the end of a microframe. These changes don't affect the lack of full speed bandwidth, but at least it removes the MMF errors that the HC raised with some input streams. Signed-off-by: Clemens Ladisch Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f8aeb3bb8657b207895aa10f75e63f2c48d08985 tree a752ed44de17a3f0315cffeddfb944cb33c778aa parent 4186ecf8ad16dd05759a09594de6a87e48759ba6 author David Brownell Fri, 20 Jan 2006 13:55:14 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI and NF2 quirk This teaches the EHCI driver about a quirk seen in older NForce2 chips, adding a workaround to ignore selective suspend requests. Bus-wide (so-called "global") suspend still works, as does USB wakeup of a root hub that's globally suspended. There's still a hole in this support though. Strictly speaking, this should _fail_ selective suspend requests, rather than ignoring them, since doing it this way means that devices which should be able to issue remote wakeup are not going to be able to do that. For now, we'll just live with that problem ... since usbcore expects to do selective suspend on the way towards a full bus suspend, and usbcore needs to be able to do full bus suspend. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 4186ecf8ad16dd05759a09594de6a87e48759ba6 tree 3ee5292d9f4a36e3eb359b586289ec972bcbaf39 parent 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 author Arjan van de Ven Wed, 11 Jan 2006 15:55:29 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: convert a bunch of USB semaphores to mutexes the patch below converts a bunch of semaphores-used-as-mutex in the USB code to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 tree 1fbb63a0c8b5e661d70a8aa97c036f9e58edf197 parent e266a12492f7ca9142882710bff92e902b7c95c8 author Pekka Enberg Thu, 12 Jan 2006 20:35:25 +0200 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: remove LINUX_VERSION_CODE macro usage This patch removes unnecessary LINUX_VERSION_CODE macro usage from drivers/usb/. Signed-off-by: Pekka Enberg Signed-off-by: Greg Kroah-Hartman commit e266a12492f7ca9142882710bff92e902b7c95c8 tree 7554164a34ba64b5420858edbcd7bf49c4057c2f parent 9628416a542488230b53df48d90d4a967dea41c8 author Adrian Bunk Tue, 08 Nov 2005 21:05:43 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: drivers/usb/core/message.c: make usb_get_string() static After the removal of usb-midi.c, there's no longer any external user of usb_get_string(). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 9628416a542488230b53df48d90d4a967dea41c8 tree b356d4c1ea8065263eda375284b87ba64d735d5f parent 29da7937a11a47bad64558c3be4d998c4ea5e823 author Adrian Bunk Sun, 05 Feb 2006 00:03:28 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: remove OBSOLETE_OSS_USB_DRIVER drivers This patch removes the obsolete USB_MIDI and USB_AUDIO drivers. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 29da7937a11a47bad64558c3be4d998c4ea5e823 tree 9e73a3de1ad7e50d70ba0f65c0c06905e9602fe2 parent 9ee884cc89dc339276c719ab4ff53913ac03d083 author Pete Zaitcev Mon, 13 Feb 2006 20:35:57 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] ub: use kzalloc Switch from kmalloc+memset to kzalloc. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 9ee884cc89dc339276c719ab4ff53913ac03d083 tree 9d916c7ba07302edcff383c98e8eef97950d12ae parent 06d694748b5173d972d7e4169173adad62ee67c0 author Oliver Neukum Fri, 06 Jan 2006 23:27:17 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: kzalloc in sisusbvga this does two things: - use kzalloc where appropriate - correct error return codes in ioctl Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 06d694748b5173d972d7e4169173adad62ee67c0 tree bbc923c4bb49afc95daca72fb72306a0fe32ab34 parent d874a2bade6eec21abb30d4822d7b3e43cfbae95 author Oliver Neukum Fri, 06 Jan 2006 22:44:52 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: kzalloc in usbled another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit d874a2bade6eec21abb30d4822d7b3e43cfbae95 tree cc5f677e871ed7b9cd67f48c9896a0b55c72f420 parent 17590840dc3c14cb059817466884ac9bd97c4a35 author Oliver Neukum Fri, 06 Jan 2006 22:43:32 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in PhidgetServo another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 17590840dc3c14cb059817466884ac9bd97c4a35 tree 9ff51010413c6118de85bac332fd1ff54458ba36 parent 1144cf7af2ff8e6816e360d03f867439f7efde40 author Oliver Neukum Fri, 06 Jan 2006 22:41:51 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in PhidgetInterfaceKit another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 1144cf7af2ff8e6816e360d03f867439f7efde40 tree d6e9463fbe66165723b1233b2de093ffef51e27e parent 092e462a537ba60e5f78ff208c8a95e6fd071fa5 author Oliver Neukum Fri, 06 Jan 2006 22:40:02 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in ldusb another one for kzalloc Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 092e462a537ba60e5f78ff208c8a95e6fd071fa5 tree 87546f74115d694060781aa829509bbee963bdf9 parent 5f7481337cc803926b5c43aac44441f683ff91ed author Oliver Neukum Fri, 06 Jan 2006 22:36:27 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in idmouse another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 5f7481337cc803926b5c43aac44441f683ff91ed tree 094413d5b2cd102d7dc629934335d966b705ea90 parent 51b208ddf6e492c58609e07fa50bce98bb02cb27 author Oliver Neukum Fri, 06 Jan 2006 22:24:56 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in cytherm another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 51b208ddf6e492c58609e07fa50bce98bb02cb27 tree 3c656451163254ab88323e520cacf650459c8189 parent b10b4177881c50f22a79832558054f2e42be5cfa author Oliver Neukum Fri, 06 Jan 2006 21:35:08 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in usbvideo another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit b10b4177881c50f22a79832558054f2e42be5cfa tree 354dded7e3a04d95dfa2112de6b4968437425458 parent d8e298dc9feed17f397be4bb2cd8c1dd47248c74 author Oliver Neukum Fri, 06 Jan 2006 21:28:40 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in w9968cf another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit d8e298dc9feed17f397be4bb2cd8c1dd47248c74 tree 1c478af244d9bf487df177fad37f4b54144a4965 parent bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea author Oliver Neukum Fri, 06 Jan 2006 21:01:47 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in dabusb kzalloc in dabusb. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea tree 9ac23c97ef6a983e4e7a98e19f9307b8d3aad1f4 parent 887c2560b6ceb5fe7ac24704e85af507c6d960e5 author Oliver Neukum Fri, 06 Jan 2006 20:54:29 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: kzalloc for hid this uses kzalloc in hid. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 887c2560b6ceb5fe7ac24704e85af507c6d960e5 tree dd363a707a717bb87c1b89a64ab46b3394524a3f parent 9ff87d7326d9e4666721070040474f60a68ab467 author Oliver Neukum Sun, 08 Jan 2006 12:33:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: kzalloc for storage another one for kzalloc. This covers the storage subdirectory. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9ff87d7326d9e4666721070040474f60a68ab467 tree eb698f3dcf856822290cf5fda7e45e9ace68352d parent 9fcd5c322ca2ee636e06e0c099cf8f1a692f832e author Oliver Neukum Fri, 06 Jan 2006 20:45:11 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: mdc800.c to kzalloc one more conversion to kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9fcd5c322ca2ee636e06e0c099cf8f1a692f832e tree 8fcc2c099ed815e2efbcb53d1662855298af97cf parent 8781ba0aa9d9dd2870b75dba8d9a47e0f5a3f96a author Andrew Morton Wed, 18 Jan 2006 23:55:07 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: optimise devio.c usbdev_read fix drivers/usb/core/devio.c: In function `usbdev_read': drivers/usb/core/devio.c:140: error: invalid type argument of `->' drivers/usb/core/devio.c:141: error: invalid type argument of `->' drivers/usb/core/devio.c:142: error: invalid type argument of `->' drivers/usb/core/devio.c:143: error: invalid type argument of `->' Cc: Oliver Neukum Cc: Pete Zaitcev Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8781ba0aa9d9dd2870b75dba8d9a47e0f5a3f96a tree 164255fb2a2cf1bc87c3b214577bba401736da18 parent 60f780528f3ae603eb169a221628b93b6c6929f9 author Oliver Neukum Fri, 06 Jan 2006 21:24:25 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: optimise devio.c::usbdev_read this is a small optimisation. It is ridiculous to do a kmalloc for 18 bytes. This puts it onto the stack. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 60f780528f3ae603eb169a221628b93b6c6929f9 tree 535b75e9eafb445c7acd85ee350cdc0efbbcdecb parent c4a1745aa09fc110afdefea0e5d025043e348bae author Luca Risolia Mon, 06 Feb 2006 16:29:35 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: Add ZC0301 Video4Linux2 driver This patch adds a Video4Linux2 driver for ZC0301 Image Processor and Control Chip. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit b3229087c5e08589cea4f5040dab56f7dc11332a tree 5a9568e4d041370b453f6074015ff1081a045c26 parent 832c57e9afa7a263bb2f8ee6d04d527ef6709aae author Greg Kroah-Hartman Thu, 16 Mar 2006 15:44:26 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path As pointed out by Oliver Neukum. Cc: Maneesh Soni Cc: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 832c57e9afa7a263bb2f8ee6d04d527ef6709aae tree dbc11a1979d582bd15a12353a2e6f421d3445522 parent a29d642a4aa99c5234314ab2523281139226c231 author Greg Kroah-Hartman Thu, 16 Mar 2006 11:23:21 -0700 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: don't export dir symbols These functions should only be used by the kobject core, and if any driver tries to use them, bad things happen. Unexport them to try to prevent this from happening. Signed-off-by: Greg Kroah-Hartman commit a29d642a4aa99c5234314ab2523281139226c231 tree 818996643addcea3963dd143a94ce3c293f225fd parent 7423172a50968de1905a61413c52bb070a62f5ce author Andrew Morton Tue, 07 Mar 2006 23:53:25 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] get_cpu_sysdev() signedness fix Doing (int < NR_CPUS) doesn't dtrt if it's negative.. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7423172a50968de1905a61413c52bb070a62f5ce tree 296c5584a6a78336664436123bf21bd052c04f0c parent dd308bc355a1aa4f202fe9a3133b6c676cb9606c author Jun'ichi Nomura Mon, 13 Mar 2006 17:14:25 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] kobject_add_dir Adding kobject_add_dir() function which creates a subdirectory for a given kobject. Signed-off-by: Jun'ichi Nomura Signed-off-by: Greg Kroah-Hartman commit dd308bc355a1aa4f202fe9a3133b6c676cb9606c tree accab2f0576da81d5e0ccfdbcc07f25a2a232008 parent c516865cfbac0d862d4888df91793ad1e74ffd58 author Michael Ellerman Tue, 07 Mar 2006 21:41:59 +1100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data I wanted to export a binary blob via debugfs, and although it was pretty easy it seems like it'd be easier if there was a helper for it. It's a pity we need the wrapper struct but I can't see a cleaner way to do it. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman commit c516865cfbac0d862d4888df91793ad1e74ffd58 tree 432024125976af3e6c87ae5b9e64b6f1cc291f70 parent 22f98c0cd7e003b896ee52ded945081307118745 author Maneesh Soni Thu, 09 Mar 2006 19:40:14 +0530 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: fix problem with duplicate sysfs directories and files The following patch checks for existing sysfs_dirent before preparing new one while creating sysfs directories and files. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 22f98c0cd7e003b896ee52ded945081307118745 tree 4fe7416dc8e98b38b71adf7bac04252de6614374 parent dcd0da002122a70fe1c625c0ca9f58c95aa33ebe author Adrian Bunk Sat, 04 Mar 2006 13:15:31 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Kobject: kobject.h: fix a typo It shouldn't cause real harm, but it hurts my eyes. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit dcd0da002122a70fe1c625c0ca9f58c95aa33ebe tree 5560cdc189fa3ae7eeeabb71ef5c5a2b26d4909e parent 4f2928d0a439553f0288d9483faf417430629635 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Kobject: provide better warning messages when people do stupid things Now that kobject_add() is used more than kobject_register() the kernel wasn't always letting people know that they were doing something wrong. This change fixes this. Signed-off-by: Greg Kroah-Hartman commit 4f2928d0a439553f0288d9483faf417430629635 tree 96efd4b28d84fd409add525a7c2f834b22dd0d23 parent 30560ba6eda308c13a361d08eb5d4eaab94ab37e author Tilman Schmidt Fri, 24 Feb 2006 11:05:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Driver core: add macros notice(), dev_notice() Both usb.h and device.h have collections of convenience macros for printk() with the KERN_ERR, KERN_WARNING, and KERN_NOTICE severity levels. This patch adds macros for the KERN_NOTICE level which was so far uncatered for. These macros already exist privately in drivers/isdn/gigaset/gigaset.h (currently in the process of being submitted for the kernel tree) but they really belong with their brothers and sisters in include/linux/{device,usb}.h. Signed-off-by: Tilman Schmidt Signed-off-by: Greg Kroah-Hartman commit 30560ba6eda308c13a361d08eb5d4eaab94ab37e tree 2639a567018f690c725da11470d7d28392cbfee8 parent 58d49283b87751f7af75e021a629dcddb027e8eb author Jeff Moyer Mon, 13 Feb 2006 14:52:38 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] firmware: fix BUG: in fw_realloc_buffer The fw_realloc_buffer routine does not handle an increase in buffer size of more than 4k. It's not clear to me why it expects that it will only get an extra 4k of data. The attached patch modifies fw_realloc_buffer to vmalloc as much memory as is requested, instead of what we previously had + 4k. I've tested this on my laptop, which would crash occaisionally on boot without the patch. With the patch, it hasn't crashed, but I can't be certain that this code path is exercised. Signed-off-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 58d49283b87751f7af75e021a629dcddb027e8eb tree b553643f22a4a216e06c5ab1711a88d3df1e1e6a parent 03e88ae1b13dfdc8bbaa59b8198e1ca53aad12ac author Eric Sesterhenn Wed, 22 Feb 2006 11:18:15 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] sysfs: kzalloc conversion this converts fs/sysfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit 03e88ae1b13dfdc8bbaa59b8198e1ca53aad12ac tree 322127d9875129d2e9b1c3cb744b4940bd7d8a47 parent b87ba0a33a634c9a8e3609702122a04034a0688d author Greg Kroah-Hartman Thu, 16 Feb 2006 13:50:23 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] fix module sysfs files reference counting The module files, refcnt, version, and srcversion did not properly increment the owner's module reference count, allowing the modules to be removed while the files were open, causing oopses. This patch fixes this, and also fixes the problem that the version and srcversion files were not showing up, unless CONFIG_MODULE_UNLOAD was enabled, which is not correct. Cc: Nathan Lynch Signed-off-by: Greg Kroah-Hartman commit b87ba0a33a634c9a8e3609702122a04034a0688d tree 9a3d756f6c61f18c3614948fd6a1524e81f82dbd parent 01ca70dca5c64cb774a8ac2f50bddff21d60169f author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem The USB core symbols will be converted to GPL-only in a few years. Mark this as such and update the documentation explaining why, and provide a pointer for developers to receive help if they need it. Signed-off-by: Greg Kroah-Hartman commit 01ca70dca5c64cb774a8ac2f50bddff21d60169f tree 7bb09a9f7b0ce1263af943c2beeb10e64a3b9ebe parent 9f28bb7e1d0188a993403ab39b774785892805e1 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem As the RCU symbols are going to be changed to GPL in the near future, lets warn users that this is going to happen. Cc: Paul McKenney Acked-by: Dipankar Sarma Signed-off-by: Greg Kroah-Hartman commit 9f28bb7e1d0188a993403ab39b774785892805e1 tree 939660c2531335dc899cc66fa7f3f05aa343d1e0 parent 3fd6805f4dfb02bcfb5634972eabad0e790f119a author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() This patch adds the ability to mark symbols that will be changed in the future, so that kernel modules that don't include MODULE_LICENSE("GPL") and use the symbols, will be flagged and printed out to the system log. Signed-off-by: Greg Kroah-Hartman commit 3fd6805f4dfb02bcfb5634972eabad0e790f119a tree 0ba5fdb9663a392f541cb5d9e4a56717b7946394 parent 58383af629efb07e5a0694e445eda0c65b16e1de author Sam Ravnborg Wed, 08 Feb 2006 21:16:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] Clean up module.c symbol searching logic Signed-off-by: Sam Ravnborg Signed-off-by: Greg Kroah-Hartman commit 58383af629efb07e5a0694e445eda0c65b16e1de tree 228369b2e56411c91ee1356957c0aa2dc0d033e5 parent 8b5536bbee53620f8d5f367987e5727ba36d886d author Jes Sorensen Mon, 06 Feb 2006 14:12:43 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] kobj_map semaphore to mutex conversion Convert the kobj_map code to use a mutex instead of a semaphore. It converts the single two users as well, genhd.c and char_dev.c. Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8b5536bbee53620f8d5f367987e5727ba36d886d tree c4733f4ce2a6d1aab32eda3c096c97f0365a43f8 parent 489447380a2921ec0e9154f773c44ab3167ede4b author Eric Dumazet Mon, 30 Jan 2006 06:19:35 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] kref: avoid an atomic operation in kref_put() Avoid an atomic operation in kref_put() when the last reference is dropped. On most platforms, atomic_read() is a plan read of the counter and involves no atomic at all. Signed-off-by: Eric Dumazet Signed-off-by: Greg Kroah-Hartman commit 489447380a2921ec0e9154f773c44ab3167ede4b tree 10edc2bca15765dae7699b8d26cf3d828869bc3c parent 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 author David Vrabel Thu, 19 Jan 2006 17:56:29 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] handle errors returned by platform_get_irq*() platform_get_irq*() now returns on -ENXIO when the resource cannot be found. Ensure all users of platform_get_irq*() handle this error appropriately. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman commit 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 tree f8ecf355e7433d8442f1c76f232f01e72a89b769 parent 972de6c8bfd8b36618563be454df1e95a36dc379 author David Vrabel Thu, 19 Jan 2006 17:52:27 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] driver core: platform_get_irq*(): return -ENXIO on error platform_get_irq*() cannot return 0 on error as 0 is a valid IRQ on some platforms, return -ENXIO instead. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman commit 972de6c8bfd8b36618563be454df1e95a36dc379 tree 98be8fb9475a97ab1a212cd2a9a3a1ebf0b16d2d parent 51107301b629640f9ab76fe23bf385e187b9ac29 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] Mark empty release functions as broken Come on people, this is just wrong... Signed-off-by: Greg Kroah-Hartman commit 51107301b629640f9ab76fe23bf385e187b9ac29 tree 27d8bafd7ab9cfd460b3d850da69a0293876f20a parent 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 author Jun'ichi Nomura Wed, 15 Mar 2006 08:28:55 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] kobject: fix build error if CONFIG_SYSFS=n Moving uevent_seqnum and uevent_helper to kobject_uevent.c because they are used even if CONFIG_SYSFS=n while kernel/ksysfs.c is built only if CONFIG_SYSFS=y, Signed-off-by: Jun'ichi Nomura Signed-off-by: Greg Kroah-Hartman commit 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 tree 59b57c14f9249488ded6814de4512f7f9949289f parent c4a1745aa09fc110afdefea0e5d025043e348bae author Greg Kroah-Hartman Thu, 16 Mar 2006 15:44:26 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] sysfs: sysfs_remove_dir() needs to invalidate the dentry When calling sysfs_remove_dir() don't allow any further sysfs functions to work for this kobject anymore. This fixes a nasty USB cdc-acm oops on disconnect. Many thanks to Bob Copeland and Paul Fulghum for taking the time to track this down. Cc: Bob Copeland Cc: Paul Fulghum Cc: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit c4a1745aa09fc110afdefea0e5d025043e348bae tree 6d28dc3a0c1bf18437b3d49f28e5c81b850cdb2f parent 88dcb91177cfa5b26143a29074389a2aa259c7cf parent ac0eb3eb7e54b700386068be025a43d2a3958ee5 author Linus Torvalds Mon, 20 Mar 2006 11:57:50 -0800 committer Linus Torvalds Mon, 20 Mar 2006 11:57:50 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: (230 commits) [SPARC64]: Update defconfig. [SPARC64]: Fix 2 bugs in huge page support. [SPARC64]: CONFIG_BLK_DEV_RAM fix [SPARC64]: Optimized TSB table initialization. [SPARC64]: Allow CONFIG_MEMORY_HOTPLUG to build. [SPARC64]: Use SLAB caches for TSB tables. [SPARC64]: Don't kill the page allocator when growing a TSB. [SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set. [SPARC64]: Increase top of 32-bit process stack. [SPARC64]: Top-down address space allocation for 32-bit tasks. [SPARC64] bbc_i2c: Fix cpu check and add missing module license. [SPARC64]: Fix and re-enable dynamic TSB sizing. [SUNSU]: Fix missing spinlock initialization. [TG3]: Do not try to access NIC_SRAM_DATA_SIG on Sun parts. [SPARC64]: First cut at VIS simulator for Niagara. [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. [SPARC64]: Add SMT scheduling support for Niagara. [SPARC64]: Fix 32-bit truncation which broke sparsemem. [SPARC64]: Move over to sparsemem. [SPARC64]: Fix new context version SMP handling. ... commit 2b422383c3d8dcd203dd9aea70155be6258dbf6c tree 782191641d55a95424dce1d5b6c8a19290423344 parent 44fc355db7c224c95752155c54cbe28380f14c19 author Håkon Løvdal Mon, 20 Mar 2006 20:32:04 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:32:04 +0100 README: bzip2 is not new From: Håkon Løvdal Signed-off-by: Håkon Løvdal Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit 44fc355db7c224c95752155c54cbe28380f14c19 tree ed04791455b065731637d707eacb299f085b336a parent 7b9af3455b9edb3ca8efb251bd9d2d51ecb0066c author Jochen Hein Mon, 20 Mar 2006 20:28:13 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:28:13 +0100 Documentation/Changes: remove outdated translation references The patch removes references to kernel 2.4 and to translations that are outdated for 2.6 (german translation is at 2.4.20) or hosts that are not available. Signed-off-by: Adrian Bunk commit 7b9af3455b9edb3ca8efb251bd9d2d51ecb0066c tree 4741e396b6bec686baf615b80a846cf55dcc88d6 parent 8075f21fc6dac8fb16372a7d4e28d9f21077cdda author Adrian Bunk Mon, 20 Mar 2006 20:23:13 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:23:13 +0100 remove dead Radeon URL This patch removes a dead Radeon URL from two Kconfig files. This isue was noted by Reto Gantenbein in Kernel Bugzilla #4446. Signed-off-by: Adrian Bunk commit 8075f21fc6dac8fb16372a7d4e28d9f21077cdda tree fa3a9d8d0a4b556bcb4bfe8d208685096b2de97c parent f30c52d0c9081019bf76a4dbd905bc7c0d89411c author Adrian Bunk Mon, 20 Mar 2006 20:21:24 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:21:24 +0100 SCSI_AACRAID: add a help text Most of the text by Mark Salyzyn . Signed-off-by: Adrian Bunk Acked-by: Mark Salyzyn commit f30c52d0c9081019bf76a4dbd905bc7c0d89411c tree 1b32c7525a4be663ad2ef7b1ef320f4a549669ac parent 98cb9e1d0044b438603f8f933803b56573b49f28 author Adrian Bunk Mon, 20 Mar 2006 20:14:06 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:14:06 +0100 update the i386 defconfig The i386 defconfig wasn't updated for ages. Instead of running "make oldconfig" on the old defconfig and trying to give reasonable answers at all new options, this patch replaces it with the one I'm using in 2.6.16-rc1. This way, it's a .config that is confirmed to work on at least one computer in the world. ;-) Signed-off-by: Adrian Bunk commit 98cb9e1d0044b438603f8f933803b56573b49f28 tree c1e843f586f8f2f056c56a51d379eec4ddedcf5f parent 0f76ee451484d02c7405d92e7bceb39b415abb01 author Adrian Bunk Mon, 20 Mar 2006 20:13:16 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:13:16 +0100 MAINTAINERS: remove the LANMEDIA entry Remove the maintainers entry pointing to a no longer existing domain. Signed-off-by: Adrian Bunk commit 88dcb91177cfa5b26143a29074389a2aa259c7cf tree 4906b9712a797b5805aa00fc0f766b27b7432005 parent c7cace6437b2f8bbab5ef05b465738283a9a100a parent c5111f504d2a9b0d258d7c4752b4093523315989 author Linus Torvalds Mon, 20 Mar 2006 10:32:33 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:32:33 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: JFS: add uid, gid, and umask mount options JFS: Take logsync lock before testing mp->lsn JFS: kzalloc conversion JFS: Add missing file from fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 JFS: Use the kthread_ API JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute JFS: ext2 inode attributes for jfs JFS: semaphore to mutex conversion. JFS: make buddy table static JFS: Add back directory i_size calculations for legacy partitions commit c7cace6437b2f8bbab5ef05b465738283a9a100a tree 304a7dca0354eaa8ac21aa05cd287e317fa21b8c parent a90779bfc83b7489270a8ce2c3fc9df20dac2b24 parent 2e9ff56efbc005ab2b92b68df65940c7459446c6 author Linus Torvalds Mon, 20 Mar 2006 10:30:31 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:30:31 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (150 commits) [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h [PATCH] ipw2100: semaphore to mutexes conversion [PATCH] ipw2100: Fix radiotap code gcc warning [PATCH] ipw2100: add radiotap headers to packtes captured in monitor mode [PATCH] ipw2x00: expend Copyright to 2006 [PATCH] drivers/net/wireless/ipw2200.c: fix an array overun [PATCH] ieee80211: Don't update network statistics from off-channel packets. [PATCH] ipw2200: Update ipw2200 version stamp to 1.1.1 [PATCH] ipw2200: switch to the new ipw2200-fw-3.0 image format [PATCH] ipw2200: wireless extension sensitivity threshold support [PATCH] ipw2200: Enables the "slow diversity" algorithm [PATCH] ipw2200: Set a meaningful silence threshold value [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG [PATCH] ipw2200: Change debug level for firmware error logging [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode [PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment [PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' [PATCH] ipw2200: remove the WPA card associates to non-WPA AP checking [PATCH] ipw2200: Add signal level to iwlist scan output ... commit a90779bfc83b7489270a8ce2c3fc9df20dac2b24 tree 53a41d0e419024619c621facb2baf6e782e16f35 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 parent e572ec7e4e432de7ecf7bd2e62117646fa64e518 author Linus Torvalds Mon, 20 Mar 2006 10:28:51 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:28:51 -0800 Merge branch 'block-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/block * 'block-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/block: [PATCH] fix rmmod problems with elevator attributes, clean them up [PATCH] elevator_t lifetime rules and sysfs fixes [PATCH] noise removal: cfq-iosched.c [PATCH] don't bother with refcounting for cfq_data [PATCH] fix sysfs interaction and lifetime rules handling for queues [PATCH] regularize blk_cleanup_queue() use [PATCH] fix cfq_get_queue()/ioprio_set(2) races [PATCH] deal with rmmod/put_io_context() races [PATCH] stop elv_unregister() from rogering other iosched's data, fix locking [PATCH] stop cfq from pinning queue down [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queue [PATCH] fix the exclusion for ioprio_set() [PATCH] keep sync and async cfq_queue separate [PATCH] switch to use of ->key to get cfq_data by cfq_io_context [PATCH] stop leaking cfq_data in cfq_set_request() [PATCH] fix cfq hash lookups [PATCH] fix locking in queue_requests_store() [PATCH] fix double-free in blk_init_queue_node() [PATCH] don't do exit_io_context() until we know we won't be doing any IO commit fd02e8038eb943755e8727a0ea193c037a51714f tree 597dc0e67899c445ac85fc5b7ae8a151ca4491ee parent bfef73fa78ca1e56175dcbd33aa11de4764f85a5 author Eli Cohen Mon, 13 Mar 2006 14:33:01 +0200 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IB/mthca: Query SRQ srq_limit fixes Fix endianness handling of srq_limit: it is big-endian in the context structure, so we need to swab it before returning it. Also add support for srq_limit query for Tavor (non-MemFree) HCAs. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit bfef73fa78ca1e56175dcbd33aa11de4764f85a5 tree 4d0021bcdd8e27891f2e1e1caa2b0c97f7c91d1d parent e10e271bfd295bf805dc294460868e1deb938211 author Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IPoIB: Get rid of useless test of queue length In neigh_add_path(), the queue of delayed packets can never be full, because the queue is always freshly created and cannot be found by any other code path. In fact, the test of the queue length is worse than useless: if somehow the test ever triggered and path_rec_start() also failed, then dev_kfree_skb_any() will be called twice on the same skb. Fix this by deleting the useless test. Pointed out by Michael S. Tsirkin . Signed-off-by: Roland Dreier commit e10e271bfd295bf805dc294460868e1deb938211 tree d2821657636e831e602f86baeabc3523a8e41285 parent dc05980dd736bfbe5b2524b463e5f098e67a64e9 author Dotan Barak Mon, 20 Mar 2006 10:08:26 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IB/mthca: Correct reported SRQ size in MemFree case. MemFree devices need to reserve one shared receive queue (SRQ) work request for internal use, so the capacity returned from the create_srq and query_srq methods should be srq->max - 1. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit dc05980dd736bfbe5b2524b463e5f098e67a64e9 tree 87f212e24ee4362a5e670418b32bd0c959d3f1c6 parent bf17c1c7cc9250d7c3c01b0ae898aefa1853535a author Michael S. Tsirkin Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/mad: Fix oopsable race on device removal Fix an oopsable race debugged by Eli Cohen : After removing the port from port_list, ib_mad_port_close flushes port_priv->wq before destroying the special QPs. This means that a completion event could arrive, and queue a new work in this work queue after flush. This patch also removes an unnecessary flush_workqueue(): destroy_workqueue() already includes a flush. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit bf17c1c7cc9250d7c3c01b0ae898aefa1853535a tree 95c534eed9c2b188c28681a87690a759c876c30c parent 6b63e3015a69dd8aa5534e23af9f132a021da02e author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/srp: Coverity fix to srp_parse_options() Fix leak found by Coverity: in the SRP_OPT_DGID case, srp_parse_options() didn't free the result of match_strdup(). Signed-off-by: Roland Dreier commit 6b63e3015a69dd8aa5534e23af9f132a021da02e tree 58c8ffeaf4a46e4ac5af98ebbaae7543c43561a9 parent 048975ac580a771fc5bb96c6b454cba897ab1a73 author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/mthca: Coverity fix to mthca_init_eq_table() Fix bug found by coverity: the loop body never executed, because it was doing for (i = 0; i < MTHCA_EQ_CMD; ++i), but MTHCA_EQ_CMD is 0. The correct loop bound is MTHCA_NUM_EQ, to loop over all EQs. Signed-off-by: Roland Dreier commit 048975ac580a771fc5bb96c6b454cba897ab1a73 tree 32405003b3cb78a3e2ccf765868f60a273c1313b parent 0b3ea0829cbcdaee6e018a83a2949ef458213f3b author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB: Coverity fixes to sysfs.c Fix two bugs found by coverity: - Memory leak in error path of alloc_group_attrs() - Fencepost error in state_show(): the test should be < ARRAY_SIZE(), not <= ARRAY_SIZE(). Signed-off-by: Roland Dreier commit 0b3ea0829cbcdaee6e018a83a2949ef458213f3b tree 3e86dc70e4b71b1de1e9ab2df319b014dd242f7c parent 8b9ab02b690e988f19c9d740ef642d7d833d23d5 author Jack Morgenstein Mon, 20 Mar 2006 10:08:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue Move ipoib_ib_dev_flush() to ipoib's workqueue. This keeps it ordered with respect to other work scheduled by the ipoib driver. This fixes problems with races, for example: - ipoib_ib_dev_flush() has started running because of an IB event - user does ifconfig ib0 down - ipoib_mcast_stop_thread() gets called twice and waits for the same completion twice Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8b9ab02b690e988f19c9d740ef642d7d833d23d5 tree e72a12094911f4c0c4fe5ed7769be047763bc103 parent 702b2aaccfbf0fa29c6ffb423a39a7a5573f793a author Roland Dreier Tue, 07 Mar 2006 11:21:08 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IPoIB: Fix build now that neighbour destructor is in neigh_params Fix the IPoIB build (which is broken in net-2.6.17 because of my screw-up, which left out this chunk in ipoib_multicast.c). The neighbour destructor is now in neigh_params, so we don't need to clear it in the ops structure. Signed-off-by: Roland Dreier commit 702b2aaccfbf0fa29c6ffb423a39a7a5573f793a tree 3e4863f5d4dc73d813b13e99d97cfd33c8789d03 parent f36e1793e25513380cae5958a9164d4cc4458ad0 author Ami Perlmutter Mon, 20 Mar 2006 10:08:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IB/uverbs: Use correct alt_pkey_index in modify QP The old code incorrectly used the primary P_Key index as the alternate index too. Signed-off-by: Ami Perlmutter Signed-off-by: Roland Dreier commit f36e1793e25513380cae5958a9164d4cc4458ad0 tree aa31d34ee07971645af6f21068709166420caee2 parent 6ecb0c849625e830ab96495d473bb704812c30e1 author Jack Morgenstein Fri, 03 Mar 2006 21:54:13 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/umad: Add support for large RMPP transfers Add support for sending and receiving large RMPP transfers. The old code supports transfers only as large as a single contiguous kernel memory allocation. This patch uses linked list of memory buffers when sending and receiving data to avoid needing contiguous pages for larger transfers. Receive side: copy the arriving MADs in chunks instead of coalescing to one large buffer in kernel space. Send side: split a multipacket MAD buffer to a list of segments, (multipacket_list) and send these using a gather list of size 2. Also, save pointer to last sent segment, and retrieve requested segments by walking list starting at last sent segment. Finally, save pointer to last-acked segment. When retrying, retrieve segments for resending relative to this pointer. When updating last ack, start at this pointer. Signed-off-by: Jack Morgenstein Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6ecb0c849625e830ab96495d473bb704812c30e1 tree 7f482334cd05121ed96f8c17353f8a6ae73a85f9 parent 87fd1a11ae91ab42fac978467667c61fee9f01da author Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/srp: Add SCSI host attributes to show target port Add SCSI host attributes in sysfs that show the ID extension, IOC GUID, service ID, P_Key and destination GID for each target port that the SRP initiator connects to. Signed-off-by: Roland Dreier commit 87fd1a11ae91ab42fac978467667c61fee9f01da tree 856c3ca67426211ac229b87bea31d8b1a3154840 parent 6226bb570184eb6c645e047d2aecbce8c0442e3e author Sean Hefty Thu, 02 Mar 2006 16:50:37 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/cm: Check cm_id state before handling a REP Move checking the state of a cm_id before modifying it when handling a REP. This fixes a bug seen under MPI scale-up testing, where a NULL timewait_info pointer is dereferenced if a request times out before a REP is received. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6226bb570184eb6c645e047d2aecbce8c0442e3e tree 39e7e101fbaf1816d1280e1d9be9f08bb7ff60ba parent 651eaac92894f8b6761c51b6637ea9cacea7fba2 author Roland Dreier Thu, 02 Mar 2006 13:56:37 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:22 -0800 IB/mthca: Update firmware versions Update known firmware versions in driver's table to the latest releases. Signed-off-by: Roland Dreier commit 651eaac92894f8b6761c51b6637ea9cacea7fba2 tree 8be06461ef870b7d130ebce39f55fe93af6ac542 parent 27d56300647f6e76847bc2407d7abc782fe87495 author Eli Cohen Thu, 02 Mar 2006 12:40:46 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:22 -0800 IB/mthca: Optimize large messages on Sinai HCAs Sinai (one-port PCI Express) HCAs get improved throughput for messages bigger than 80 KB in DDR mode if memory keys are formatted in a specific way. The enhancement only works if the memory key table is smaller than 2^24 entries. For larger tables, the enhancement is off and a warning is printed (to avoid silent performance loss). Signed-off-by: Eli Cohen Signed-off-by: Michael Tsirkin Signed-off-by: Roland Dreier commit 27d56300647f6e76847bc2407d7abc782fe87495 tree 58e63c3f4271e65807e8508944306a7c227aa987 parent 4546d31d84beafe74c56651173ac4fe197c7de8b author Dotan Barak Thu, 02 Mar 2006 11:25:27 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:21 -0800 IB/uverbs: Fix query QP return of sq_sig_all The old code didn't convert from the kernel's enum correctly. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 4546d31d84beafe74c56651173ac4fe197c7de8b tree 5196b616386b05c4a64ce8e70e78ca5e2b27fbb2 parent 9acf6a8570dcfc9f55724b8b71099fc8768e8c26 author Dotan Barak Thu, 02 Mar 2006 11:22:28 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:20 -0800 IB: Fix modify QP checking of "current QP state" attribute According to the IB spec version 1.2, section 11.2.4.2, the current table has a couple of mistakes where it allows the current QP state (IB_QP_CUR_STATE) attribute. For the transitions: RTS -> RTS: IB_QP_CUR_STATE should be allowed for all transports SQD -> SQD: IB_QP_CUR_STATE should never be allowed Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 9acf6a8570dcfc9f55724b8b71099fc8768e8c26 tree 5b265bf0474f321722d2690b5b5dc57cde80690e parent 54d07e2a1ead2f093ce054cda2e0f5ec163c650c author Michael S. Tsirkin Thu, 02 Mar 2006 11:07:47 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:20 -0800 IPoIB: Fix multicast race between canceling and completing ipoib_mcast_stop_thread currently tests mcast->query and if it is NULL, does not perform wait_for_completion on the mcast and frees the mcast object directly. However, since both operations are done without locking, it is possible that ipoib_mcast_join_complete is in progress on this mcast object and has set mcast->query to NULL already. Solve this by: - taking priv->lock before we change mcast->query in ipoib_mcast_join_complete, and keeping it until we no longer need the mcast object - taking priv->lock around mcast->query test in ipoib_mcast_stop_thread Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 54d07e2a1ead2f093ce054cda2e0f5ec163c650c tree 0d5d495d25506839bd8bec0c8da092ca8b007202 parent 8d3ef29d6be1e750512e0a9dbea6225290b81d0a author Eli Cohen Thu, 02 Mar 2006 11:05:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:19 -0800 IPoIB: Clean up if posting receives fails If posting receives in ipoib_ib_dev_open() fails, call ipoib_ib_dev_stop() to move the device's QP back to the RESET state so that we can try again later. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8d3ef29d6be1e750512e0a9dbea6225290b81d0a tree 9384d9275d5122574665db18b5196f9c9a96d7ac parent 67e7377661db4e341ed5e9a0358d11a55e532aa8 author Ishai Rabinovitz Wed, 01 Mar 2006 22:33:11 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:19 -0800 IB/mthca: Use an enum for HCA page size Use a named enum for the HCA's internal page size, rather than having magic values of 4096 and shifts by 12 all over the code. Also, fix one minor bug in EQ handling: only one HCA page is mapped to the HCA during initialization, but a full kernel page is unmapped during cleanup. This might cause problems when PAGE_SIZE != 4096. Signed-off-by: Ishai Rabinovitz Signed-off-by: Roland Dreier commit 67e7377661db4e341ed5e9a0358d11a55e532aa8 tree ccc47340a8a0be951b65aec8f90f099eecdb181d parent 7667abd1528782003d8b83c54756523ec547af6e author Dotan Barak Wed, 01 Mar 2006 14:28:12 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IB/mthca: Check alternate P_Key index when setting alternate path Check that the alternate P_Key index is in range when setting the alternate path for a QP. Also make a cosmetic touch up to the debug message printed when the main P_Key index is out of range. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 7667abd1528782003d8b83c54756523ec547af6e tree c0f1bb5ff87388cc8be6ca6e23a7bc013b52d589 parent 7343b231f22cec11f069bcdbb0c9a417df2750d3 author Dotan Barak Mon, 27 Feb 2006 21:02:00 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IB/mthca: Add support for send work request fence flag Add support for IB_SEND_FENCE flag in post_send methods. Signed-off-by: Dotan Barak Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 7343b231f22cec11f069bcdbb0c9a417df2750d3 tree 3b72ba5f585fcab8271dc4be046b3bd447852847 parent 1d89b1ae6c203bc68a3f424be144abcdf62773c9 author Eli Cohen Mon, 27 Feb 2006 20:47:43 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IPoIB: Close race in setting mcast->ah ipoib_mcast_send() tests mcast->ah twice. If this value is changed between these two points, we leak an skb. However, ipoib_mcast_join_finish() sets mcast->ah with no locking, so it could race against ipoib_mcast_send(). As a solution, take priv->lock around assignment to mcast->ah thus making sure ipoib_mcast_send() (which also takes priv->lock) is not in flight. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 1d89b1ae6c203bc68a3f424be144abcdf62773c9 tree 9d1979c98843ba7d18f6272f13ea06c2591ee8d5 parent 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba author Jack Morgenstein Sun, 26 Feb 2006 16:05:59 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:17 -0800 IB/mthca: Implement query_ah method Implement query_ah (except for AVs which are in HCA memory). This is needed to implement RMPP duplicate session detection on sending side (extraction of DGID/DLID and GRH flag from address handle). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba tree fe934450412ed70f627e9d98bb881b03c7b31222 parent ea88fd16d6e85f4bc71b6053180b64f04be1ff14 author Eli Cohen Sun, 26 Feb 2006 14:36:06 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:17 -0800 IB/mthca: Write FW commands through doorbell page This patch is checks whether the HCA supports posting FW commands through a doorbell page (user access region 0, or "UAR0"). If this is supported, the driver maps UAR0 and uses it for FW commands. This can be controlled by the value of a writable module parameter fw_cmd_doorbell. When the parameter is 0, the commands are posted through HCR using the old method; otherwise if HCA is capable commands go through UAR0. This use of UAR0 to post commands eliminates the need for polling the "go" bit prior to posting a new command. Since reading from a PCI device is much more expensive then issuing a posted write, it is expected that issuing FW commands this way will provide better CPU utilization. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit ea88fd16d6e85f4bc71b6053180b64f04be1ff14 tree ea0f02aca9bb83f636e60002a9f98f9dab6d57e0 parent abb6e9ba17eb133ab385d0f9017fa8afa809d52a author Dotan Barak Thu, 23 Feb 2006 12:36:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/uverbs: Return actual capacity from create SRQ operation Pass actual capacity of created SRQ back to userspace, so that userspace can report accurate capacities. This requires an ABI bump, to change struct ib_uverbs_create_srq_resp. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit abb6e9ba17eb133ab385d0f9017fa8afa809d52a tree 6cab0a44a1cb439c3c204149d44e6295320e5de7 parent 44af79f9524c29d6850591cc972f2667a27234d4 author Dotan Barak Thu, 23 Feb 2006 12:13:51 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/mthca: Return actual capacity from create_srq Have mthca's create_srq method return the actual capacity of the SRQ that gets created. Also update comments in to clarify that this is what is expected from ib_create_srq(). Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 44af79f9524c29d6850591cc972f2667a27234d4 tree 8d88bdbd7c3fd015c692792bf1fcd3600ba0c275 parent 4d9781c5ce1a517a07dbf03c37323c011037fe79 author Michael S. Tsirkin Mon, 20 Feb 2006 21:50:39 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IPoIB: clarify to_ipoib_neigh() Cosmetic change: make alignment explicit in to_ipoib_neigh. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4d9781c5ce1a517a07dbf03c37323c011037fe79 tree 68ad197f6ced067ab8c29294d156ee6e2e04da4e parent 00df1b2c8b1f07e02a74e2d10b176f29395ce7d2 author Roland Dreier Thu, 16 Feb 2006 09:26:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/uverbs: Fix alignment of struct ib_uverbs_create_qp_resp The size of struct ib_uverbs_create_qp_resp is not even multiple of 8 bytes. This causes problems for low-level drivers that add private data after the structure: 32-bit userspace will look in the wrong place for a response from a 64-bit kernel. Fix this by adding a reserved field. Also, bump the ABI version because this changes the size of a structure. Pointed out by Hoang-Nam Nguyen . Signed-off-by: Roland Dreier commit 00df1b2c8b1f07e02a74e2d10b176f29395ce7d2 tree b31cb90c60b5abc91e0cff2e39538d1c6524834f parent 8ebe5077e37a0cb0da527e397460188e6bfdd3ee author Roland Dreier Mon, 13 Feb 2006 17:21:09 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:15 -0800 IB/mthca: Bump driver version and release date Signed-off-by: Roland Dreier commit 8ebe5077e37a0cb0da527e397460188e6bfdd3ee tree 401491fb7a94516dfbeeee027d8eeb294117cb5b parent 8bdb0e8632e0f5061bd18b6934346cb609490135 author Eli Cohen Mon, 13 Feb 2006 16:40:21 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:15 -0800 IB/mthca: Support for query QP and SRQ Implement the query_qp and query_srq methods in mthca. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit 8bdb0e8632e0f5061bd18b6934346cb609490135 tree baa94a9ad7c97f4c025452ffbba2b7f6d8cc0af2 parent 7ccc9a24e01258a31ee2b964215e4ddddd2a02c4 author Dotan Barak Mon, 13 Feb 2006 16:31:57 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:14 -0800 IB/uverbs: Support for query SRQ from userspace Add support to uverbs to handle querying userspace SRQs (shared receive queues), including adding an ABI for marshalling requests and responses. The kernel midlayer already has the underlying ib_query_srq() function. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 7ccc9a24e01258a31ee2b964215e4ddddd2a02c4 tree 486ab72c62f42952309ea764bc6bd30f56e87522 parent a74cd4af0bfa9578594acbb711a958104c93b772 author Dotan Barak Mon, 13 Feb 2006 16:31:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:14 -0800 IB/uverbs: Support for query QP from userspace Add support to uverbs to handle querying userspace QPs (queue pairs), including adding an ABI for marshalling requests and responses. The kernel midlayer already has the underlying ib_query_qp() function. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit a74cd4af0bfa9578594acbb711a958104c93b772 tree 070e951014aa396b472d3b17df81e6665bd5a4c5 parent d844183d9c7b103da1d7a1c753a1c171e9ce26b3 author Roland Dreier Mon, 13 Feb 2006 16:30:49 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:13 -0800 IB: Whitespace cleanups Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier commit d844183d9c7b103da1d7a1c753a1c171e9ce26b3 tree 5bd7ca0feaae115b2f487e20fcd0fa75f76a16d9 parent 8a51866f08103ba04894ce0f65eef567ddc3ed40 author Roland Dreier Mon, 13 Feb 2006 16:30:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:13 -0800 IB/mthca: Convert to use ib_modify_qp_is_ok() Use ib_modify_qp_is_ok() in mthca, and delete the big table of attributes for queue pair state transitions. Signed-off-by: Roland Dreier commit 8a51866f08103ba04894ce0f65eef567ddc3ed40 tree 39af79ce5995900c14610acc768850a749961ee9 parent 3fa1fa3e809dc009a080ca9f052cee2e17836c63 author Roland Dreier Mon, 13 Feb 2006 12:48:12 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:12 -0800 IB: Add ib_modify_qp_is_ok() library function The in-kernel mthca driver contains a table of which attributes are valid for each queue pair state transition. It turns out that both other IB drivers -- ipath and ehca -- which are being prepared for merging have copied this table, errors and all. To forestall this code duplication, move this table and the code to check parameters against it into a midlayer library function, ib_modify_qp_is_ok(). Signed-off-by: Roland Dreier commit 3fa1fa3e809dc009a080ca9f052cee2e17836c63 tree 471bc486f70e8cd4d3950b0ff256f12db057b951 parent 5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560 author Roland Dreier Fri, 03 Feb 2006 14:53:28 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:12 -0800 IB/mthca: Generate SQ drained events when requested Add low-level driver support to ib_mthca so that consumers can request a "send queue drained" event be generated when a transiton to the SQD state completes. Signed-off-by: Roland Dreier commit 5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560 tree d3b6aba0640173d0ce760140650dad51a76f9501 parent 5f0b67e0d5c2807337b8fee4aa71b05f4f641534 author Ralph Campbell Fri, 03 Feb 2006 14:32:01 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:11 -0800 IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() The call to ib_get_agent_port() shouldn't be possible to fail when smi_check_local_dr_smp() is called from ib_mad_recv_done_handler(). When it is called from handle_outgoing_dr_smp(), the device and port_num come from mad_agent_priv so I assume the call to ib_get_agent_port() shouldn't fail either. In either case, smi_check_local_smp() only uses the mad_agent pointer to check that mad_agent->device->process_mad is not NULL. The device pointer would have to be the same as the one passed to smi_check_local_dr_smp() since that pointer is used later instead of the one checked in smi_check_local_smp(). Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 5f0b67e0d5c2807337b8fee4aa71b05f4f641534 tree 7fa82fdc250aa862366296adb3087e2f30f4d4a1 parent d36f34aadf184d8cc4c240de2b6319ccea8334bb author Ralph Campbell Fri, 03 Feb 2006 14:30:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:11 -0800 IB/mad: Remove redundant check from smi_check_local_dr_smp() smi_check_local_dr_smp() is called only from two places in core/mad.c It returns 0 or 1. In smi_check_local_dr_smp(), it checks for a directed route SMP but this function is only called when the SMP is a directed route so this is a NOP. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit d36f34aadf184d8cc4c240de2b6319ccea8334bb tree 20b7a77e03f3c75c9043a50ddd720a31048efa99 parent 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 author Or Gerlitz Thu, 02 Feb 2006 10:43:45 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:10 -0800 IB: Enable FMR pool user to set page size This patch allows the consumer to set the page size of "pages" mapped by the pool FMRs, which is a feature already existing in the base verbs API. On the cosmetic side it changes ib_fmr_attr.page_size field to be named page_shift. Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier commit 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 tree f4918637c0d7c4b5c7fe4a4deb84e44ed3663dc6 parent c5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7 author Roland Dreier Thu, 02 Feb 2006 10:04:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:10 -0800 IB/mthca: Add modify_device method to set node description Add a modify_device method to mthca, which implements setting the node description. This makes the writable "node_desc" sysfs attribute work for Mellanox HCAs. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7 tree c4a6feac1bc1dfd9e2fbe88c8e6ad1db4a47a817 parent 2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 author Roland Dreier Thu, 02 Feb 2006 09:47:14 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:09 -0800 IB: Allow userspace to set node description Expose a writable "node_desc" sysfs attribute for InfiniBand devices. This allows userspace to update the node description with information such as the node's hostname, so that IB network management software can tie its view to the real world. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 tree 6cb2693d8e10a903d78e236e90645fc6df28c9b3 parent 4885bf64bc2eb242ebebe67077cfe3688283b586 author Roland Dreier Wed, 01 Feb 2006 13:38:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:09 -0800 IB/mthca: Whitespace cleanups Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier commit 4885bf64bc2eb242ebebe67077cfe3688283b586 tree ed40e3eb7c05e923919f1e8ef2a9186b32c916a4 parent 33b9b3ee9709b19c4f02ab91571d53540d05c3d1 author Roland Dreier Mon, 30 Jan 2006 14:31:33 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:08 -0800 IB/mthca: Add device-specific support for resizing CQs Add low-level driver support for resizing CQs (both kernel and userspace) to mthca. Signed-off-by: Roland Dreier commit 33b9b3ee9709b19c4f02ab91571d53540d05c3d1 tree 2d1019e9b8bf63e4235d7c73fd78ab294b993de2 parent 399d7921299fc4f146bd62bfa6312382a5429bcc author Roland Dreier Mon, 30 Jan 2006 14:29:21 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB: Add userspace support for resizing CQs Add support to uverbs to handle resizing userspace CQs (completion queues), including adding an ABI for marshalling requests and responses. The kernel midlayer already has ib_resize_cq(). Signed-off-by: Roland Dreier commit 399d7921299fc4f146bd62bfa6312382a5429bcc tree f7ddfa33ef532e887b3028fd5259b2ce5e26188e parent d9b98b0f11ee7dd39429001ba289f095b9d66917 author Roland Dreier Tue, 31 Jan 2006 21:14:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB/mthca: Get rid of might_sleep() annotations The might_sleep() annotations in mthca are silly -- they all occur shortly before calls that will end up in core functions like kmalloc() that will print the same warning in an unsafe context anyway. In fact, beyond cluttering the source, we're actually bloating text with CONFIG_DEBUG_SPINLOCK_SLEEP and/or CONFIG_PREEMPT_VOLUNTARY set. With both options set, getting rid of the might_sleep()s saves a lot: add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-171 (-171) function old new delta mthca_pd_alloc 132 109 -23 mthca_init_cq 969 946 -23 mthca_mr_alloc 592 568 -24 mthca_pd_free 67 42 -25 mthca_free_mr 219 194 -25 mthca_free_cq 570 545 -25 mthca_fmr_alloc 742 716 -26 Signed-off-by: Roland Dreier commit d9b98b0f11ee7dd39429001ba289f095b9d66917 tree c473a7b348640cb80c4584ef5ea8dd055efed577 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Roland Dreier Tue, 31 Jan 2006 20:45:51 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB/mthca: Make functions that never fail return void The function mthca_free_err_wqe() can never fail, so get rid of its return value. That means handle_error_cqe() doesn't have to check what mthca_free_err_wqe() returns, which means it can't fail either and doesn't have to return anything either. All this results in simpler source code and a slight object code improvement: add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-10 (-10) function old new delta mthca_free_err_wqe 83 81 -2 mthca_poll_cq 1758 1750 -8 Signed-off-by: Roland Dreier commit 0f76ee451484d02c7405d92e7bceb39b415abb01 tree 9722f84281f786ba48971dde057f5171a49969e4 parent 01d206a7c1167639f6ca6dac22140fbdca017558 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Adrian Bunk Mon, 20 Mar 2006 18:30:36 +0100 committer Adrian Bunk Mon, 20 Mar 2006 18:30:36 +0100 Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7abe53155b77c31028a7158883bc9aac705790da tree 3e63f4bf62029eaa9694362ac20179ec7449c4f9 parent 9e7714d08061a77d3d2ec9a6ef6fd571a534fc7f author Russell King Mon, 20 Mar 2006 10:12:31 +0000 committer Russell King Mon, 20 Mar 2006 10:12:31 +0000 [ARM] Fix cosmetic typo in asm/irq.h The IRQ resource flags are IORESOURCE_IRQ not IRQRESOURCE_IRQ. Signed-off-by: Russell King commit 29b2548bf53ffb810394a2110161ef49f8e4780f tree af0233def65a854dc95e5faca9645b30e88d45aa parent c39f5ebe0a542caab30c88e60623709c7bc6fe30 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jeff Garzik Mon, 20 Mar 2006 04:48:50 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:48:50 -0500 Merge branch 'master' commit 2e9ff56efbc005ab2b92b68df65940c7459446c6 tree 8844a54f2b205bb5dceb6391d05df9a9f8bc62d2 parent d378aca6ec708bfb24df5c47801b1f2399efc481 parent cc8279f68c34c3f32b3a85f3103b0ad755c57846 author Jeff Garzik Mon, 20 Mar 2006 04:38:50 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:38:50 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit d378aca6ec708bfb24df5c47801b1f2399efc481 tree 7535f96bf34314df071698d2e06054b8d5223ebb parent abc71c46dc0a12ab7fddc18cfe4f4aa26808c79b parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jeff Garzik Mon, 20 Mar 2006 04:38:03 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:38:03 -0500 Merge branch 'master' commit ac0eb3eb7e54b700386068be025a43d2a3958ee5 tree ed8b7820baf1c53ac13d0419eade64a08e8d7cf3 parent f6b83f070e9b7ad9075f7cc5646260e56c7d0219 author David S. Miller Mon, 20 Mar 2006 01:23:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:23:43 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit f6b83f070e9b7ad9075f7cc5646260e56c7d0219 tree 48586ca4f4c75ee3862f63be332351e78f2d5476 parent 467418f3508b426adbc7df795ebf3baaed4fbefc author David S. Miller Mon, 20 Mar 2006 01:17:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:17:17 -0800 [SPARC64]: Fix 2 bugs in huge page support. 1) huge_pte_offset() did not check the page table hierarchy elements as being empty correctly, resulting in an OOPS 2) Need platform specific hugetlb_get_unmapped_area() to handle the top-down vs. bottom-up address space allocation strategies. Signed-off-by: David S. Miller commit 467418f3508b426adbc7df795ebf3baaed4fbefc tree 921d3658878d856e497e42cd31d2b2342cce0441 parent bb8646d8340fa7c1b66a037428e39f85f8738f0a author Andrew Morton Sun, 19 Mar 2006 12:46:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:41 -0800 [SPARC64]: CONFIG_BLK_DEV_RAM fix init/do_mounts_rd.c depends upon CONFIG_BLK_DEV_RAM, not CONFIG_BLK_DEV_INITRD. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit bb8646d8340fa7c1b66a037428e39f85f8738f0a tree 931d4505a0ba65124b662f0f8b5935e0b154bd66 parent 88d7079458f87d6f2d2261b2f87b7b9416019f5e author David S. Miller Sat, 18 Mar 2006 23:55:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:41 -0800 [SPARC64]: Optimized TSB table initialization. We only need to write an invalid tag every 16 bytes, so taking advantage of this can save many instructions compared to the simple memset() call we make now. A prefetching implementation is implemented for sun4u and a block-init store version if implemented for Niagara. The next trick is to be able to perform an init and a copy_tsb() in parallel when growing a TSB table. Signed-off-by: David S. Miller commit 88d7079458f87d6f2d2261b2f87b7b9416019f5e tree 7e27074dcb05a795c15ed9455134c9e676b63aff parent 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23 author David S. Miller Sat, 18 Mar 2006 19:16:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:40 -0800 [SPARC64]: Allow CONFIG_MEMORY_HOTPLUG to build. online_page() is straightforward, and then add a dummy remove_memory() that returns -EINVAL just like i386. There is no point in implementing remove_memory() since __remove_pages() has no implementation either. Signed-off-by: David S. Miller commit 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23 tree e04ac039a49f37ee5e8eca3fd654df0649a1806c parent b52439c22c63dbbefd5395f2151c0ef4f667e949 author David S. Miller Sat, 18 Mar 2006 18:12:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:39 -0800 [SPARC64]: Use SLAB caches for TSB tables. Signed-off-by: David S. Miller commit b52439c22c63dbbefd5395f2151c0ef4f667e949 tree ff6671cab70dfaed00cf19367a6a71b1cda0cdf4 parent 05f9ca83596c7801549a2b4eba469d51baf5480f author David S. Miller Fri, 17 Mar 2006 23:40:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:38 -0800 [SPARC64]: Don't kill the page allocator when growing a TSB. Try only lightly on > 1 order allocations. If a grow fails, we are under memory pressure, so do not try to grow the TSB for this address space any more. If a > 0 order TSB allocation fails on a new fork, retry using a 0 order allocation. Signed-off-by: David S. Miller commit 05f9ca83596c7801549a2b4eba469d51baf5480f tree 22270db01a13dda0af9b158662712f9e6b6a934c parent d61e16df940e02e25679bdc1aee8c25786f6de90 author David S. Miller Fri, 17 Mar 2006 17:42:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:37 -0800 [SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set. Signed-off-by: David S. Miller commit d61e16df940e02e25679bdc1aee8c25786f6de90 tree de76f4007d526835b8564203341ebf66ca29b12d parent a91690ddd05ab0b7fbdd37733875525ac75c20f2 author David S. Miller Fri, 17 Mar 2006 17:33:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:36 -0800 [SPARC64]: Increase top of 32-bit process stack. Put it one page below the top of the 32-bit address space. This gives us ~16MB more address space to work with. Signed-off-by: David S. Miller commit a91690ddd05ab0b7fbdd37733875525ac75c20f2 tree f6937c0ce29c79078d6df8346a374a7b9947f360 parent b5e7ae5dd034c2c0ed75c31fca04a805097817bc author David S. Miller Fri, 17 Mar 2006 14:41:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:35 -0800 [SPARC64]: Top-down address space allocation for 32-bit tasks. Currently allocations are very constrained for 32-bit processes. It grows down-up from 0x70000000 to 0xf0000000 which gives about 2GB of stack + dynamic mmap() space. So support the top-down method, and we need to override the generic helper function in order to deal with D-cache coloring. With these changes I was able to squeeze out a mmap() just over 3.6GB in size in a 32-bit process. Signed-off-by: David S. Miller commit b5e7ae5dd034c2c0ed75c31fca04a805097817bc tree 5dc785f198f08502d99fa95dd0714b319f51e1c5 parent 7a1ac5264108fc3ed22d17a3cdd76212ed1666d1 author David S. Miller Fri, 17 Mar 2006 13:23:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:34 -0800 [SPARC64] bbc_i2c: Fix cpu check and add missing module license. Should allow cheetah_plus cpu types and don't taint the kernel. Signed-off-by: David S. Miller commit 7a1ac5264108fc3ed22d17a3cdd76212ed1666d1 tree 75378a1b470afa54900f1f15a5b41966d301520d parent a858f1ca726edc5eb7ed39722f7966d005f1c9ca author David S. Miller Thu, 16 Mar 2006 02:02:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:33 -0800 [SPARC64]: Fix and re-enable dynamic TSB sizing. This is good for up to %50 performance improvement of some test cases. The problem has been the race conditions, and hopefully I've plugged them all up here. 1) There was a serious race in switch_mm() wrt. lazy TLB switching to and from kernel threads. We could erroneously skip a tsb_context_switch() and thus use a stale TSB across a TSB grow event. There is a big comment now in that function describing exactly how it can happen. 2) All code paths that do something with the TSB need to be guarded with the mm->context.lock spinlock. This makes page table flushing paths properly synchronize with both TSB growing and TLB context changes. 3) TSB growing events are moved to the end of successful fault processing. Previously it was in update_mmu_cache() but that is deadlock prone. At the end of do_sparc64_fault() we hold no spinlocks that could deadlock the TSB grow sequence. We also have dropped the address space semaphore. While we're here, add prefetching to the copy_tsb() routine and put it in assembler into the tsb.S file. This piece of code is quite time critical. There are some small negative side effects to this code which can be improved upon. In particular we grab the mm->context.lock even for the tsb insert done by update_mmu_cache() now and that's a bit excessive. We can get rid of that locking, and the same lock taking in flush_tsb_user(), by disabling PSTATE_IE around the whole operation including the capturing of the tsb pointer and tsb_nentries value. That would work because anyone growing the TSB won't free up the old TSB until all cpus respond to the TSB change cross call. I'm not quite so confident in that optimization to put it in right now, but eventually we might be able to and the description is here for reference. This code seems very solid now. It passes several parallel GCC bootstrap builds, and our favorite "nut cruncher" stress test which is a full "make -j8192" build of a "make allmodconfig" kernel. That puts about 256 processes on each cpu's run queue, makes lots of process cpu migrations occur, causes lots of page table and TLB flushing activity, incurs many context version number changes, and it swaps the machine real far out to disk even though there is 16GB of ram on this test system. :-) Signed-off-by: David S. Miller commit a858f1ca726edc5eb7ed39722f7966d005f1c9ca tree 760fcedebb40e0ea7afaa788c09ef100b58fd6c0 parent 72b845e04e99298e5179b31e8de16afed52a2627 author David S. Miller Thu, 16 Mar 2006 00:55:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:32 -0800 [SUNSU]: Fix missing spinlock initialization. Caught by CONFIG_DEBUG_SPINLOCK. Signed-off-by: David S. Miller commit 72b845e04e99298e5179b31e8de16afed52a2627 tree c0e832b4fcb404b7624fec700ba5f12981de9d7d parent 0c51ed93ca0ecbf44ec096f4bd04c12a3e761e6b author David S. Miller Tue, 14 Mar 2006 14:11:48 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:27 -0800 [TG3]: Do not try to access NIC_SRAM_DATA_SIG on Sun parts. Sun does't put an SEEPROM behind the tigon3 chip, among other things, so accesses to these areas just give bus timeouts. Signed-off-by: David S. Miller commit 0c51ed93ca0ecbf44ec096f4bd04c12a3e761e6b tree 1d51bfaf8d51063e71b3be5727040c563941389f parent 90a6646bf6a1ca821f32d5510e935855612904df author David S. Miller Mon, 13 Mar 2006 01:27:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:26 -0800 [SPARC64]: First cut at VIS simulator for Niagara. Niagara does not implement some of the VIS instructions in hardware, so we have to emulate them. Signed-off-by: David S. Miller commit 90a6646bf6a1ca821f32d5510e935855612904df tree 035420e4ab615cb837b1246fc26c55e0b8d233b4 parent 8935dced547afbf37d0fcfcac9a3556494e53104 author David S. Miller Wed, 08 Mar 2006 17:18:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:25 -0800 [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. Report 'sun4v' when appropriate in /proc/cpuinfo Remove all the verifications of the OBP version string. Just make sure it's there, and report it raw in the bootup logs and via /proc/cpuinfo. Signed-off-by: David S. Miller commit 8935dced547afbf37d0fcfcac9a3556494e53104 tree 0ae802875c73e99b86e4f90be6e953ec0c528dea parent 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 author David S. Miller Wed, 08 Mar 2006 16:09:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:24 -0800 [SPARC64]: Add SMT scheduling support for Niagara. The mapping is a simple "(cpuid >> 2) == core" for now. Later we'll add more sophisticated code that will walk the sun4v machine description and figure this out from there. We should also add core mappings for jaguar and panther processors. Signed-off-by: David S. Miller commit 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 tree c5cf39d072cf908e5b03216e1e1698bf85e86877 parent d1112018b4bc82adf5c8a9c15a08954328f023ae author David S. Miller Wed, 08 Mar 2006 15:57:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:23 -0800 [SPARC64]: Fix 32-bit truncation which broke sparsemem. The page->flags manipulations done by the D-cache dirty state tracking was broken because the constants were not marked with "UL" to make them 64-bit, which means we were clobbering the upper 32-bits of page->flags all the time. This doesn't jive well with sparsemem which stores the section and indexing information in the top 32-bits of page->flags. This is yet another sparc64 bug which has been with us forever. While we're here, tidy up some things in bootmem_init() and paginig_init(): 1) Pass min_low_pfn to init_bootmem_node(), it's identical to (phys_base >> PAGE_SHIFT) but we should use consistent with the variable names we print in CONFIG_BOOTMEM_DEBUG 2) max_mapnr, although no longer used, was being set inaccurately, we shouldn't subtract pfn_base any more. 3) All the games with phys_base in the zones_*[] arrays we pass to free_area_init_node() are no longer necessary. Thanks to Josh Grebe and Fabbione for the bug reports and testing. Fix also verified locally on an SB2500 which had a memory layout that triggered the same problem. Signed-off-by: David S. Miller commit d1112018b4bc82adf5c8a9c15a08954328f023ae tree 4d94ef6c153f028cfaaff711cf7d4f07aa90e9b4 parent ee29074d3bd23848905f52c515974e0cd0219faa author David S. Miller Wed, 08 Mar 2006 02:16:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:22 -0800 [SPARC64]: Move over to sparsemem. This has been pending for a long time, and the fact that we waste a ton of ram on some configurations kind of pushed things over the edge. Signed-off-by: David S. Miller commit ee29074d3bd23848905f52c515974e0cd0219faa tree d5306446b2e26d9e45f65467b4f3b3f3b0c8494c parent a77754b4d0731321db266c6c60ffcd7c62757da5 author David S. Miller Mon, 06 Mar 2006 22:50:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:21 -0800 [SPARC64]: Fix new context version SMP handling. Don't piggy back the SMP receive signal code to do the context version change handling. Instead allocate another fixed PIL number for this asynchronous cross-call. We can't use smp_call_function() because this thing is invoked with interrupts disabled and a few spinlocks held. Also, fix smp_call_function_mask() to count "cpus" correctly. There is no guarentee that the local cpu is in the mask yet that is exactly what this code was assuming. Signed-off-by: David S. Miller commit a77754b4d0731321db266c6c60ffcd7c62757da5 tree 37cc4c6793e2b616791d42ee840e5a007a13eccb parent 9132983ae140a8ca81e95e081d5a4c0dd7a7f670 author David S. Miller Mon, 06 Mar 2006 19:59:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:20 -0800 [SPARC64]: Bulletproof MMU context locking. 1) Always spin_lock_init() in init_context(). The caller essentially clears it out, or copies the mm info from the parent. In both cases we need to explicitly initialize the spinlock. 2) Always do explicit IRQ disabling while taking mm->context.lock and ctx_alloc_lock. Signed-off-by: David S. Miller commit 9132983ae140a8ca81e95e081d5a4c0dd7a7f670 tree f3aec20b1bb5a2cc111bbbf6775a0f8d84d28994 parent f7c00338cfeef125032aa12aa8ebeacf9e117e81 author Eric Sesterhenn Mon, 06 Mar 2006 13:48:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:19 -0800 [SPARC64]: kzalloc() conversion this patch converts arch/sparc64 to kzalloc usage. Crosscompile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit f7c00338cfeef125032aa12aa8ebeacf9e117e81 tree 3fc55d603a0c59aa8a4db63e4acc63b26170b7cb parent 74ae998772041b62e9ad420d602e4f7dbb182cd6 author David S. Miller Sun, 05 Mar 2006 22:18:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:19 -0800 [SPARC64]: Fix loop termination in mark_kpte_bitmap() If we were aligned, but didn't have at least 256MB left to process, we would loop forever. Thanks to fabbione for the report and testing the fix. Signed-off-by: David S. Miller commit 74ae998772041b62e9ad420d602e4f7dbb182cd6 tree 8cbeb2ff56856d357647da6ab62562bac2fe87ad parent 3cab0c3e8636d5005041aa52224f796c3a4ef872 author David S. Miller Sun, 05 Mar 2006 18:26:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:18 -0800 [SPARC64]: Simplify TSB insert checks. Don't try to avoid putting non-base page sized entries into the user TSB. It actually costs us more to check this than it helps. Eventually we'll have a multiple TSB scheme for user processes. Once a process starts using larger pages, we'll allocate and use such a TSB. Signed-off-by: David S. Miller commit 3cab0c3e8636d5005041aa52224f796c3a4ef872 tree 582c92940f46cb0ecf8fafd4fde1cfd346172366 parent bcc28ee0bf390df0d81cc9dafe980faef6b2771a author David S. Miller Thu, 02 Mar 2006 21:50:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:17 -0800 [SPARC64]: More SUN4V cpu mondo bug fixing. This cpu mondo sending interface isn't all that easy to use correctly... We were clearing out the wrong bits from the "mask" after getting something other than EOK from the hypervisor. It turns out the hypervisor can just be resent the same cpu_list[] array, with the 0xffff "done" entries still in there, and it will do the right thing. So don't update or try to rebuild the cpu_list[] array to condense it. This requires the "forward_progress" check to be done slightly differently, but this new scheme is less bug prone than what we were doing before. Signed-off-by: David S. Miller commit bcc28ee0bf390df0d81cc9dafe980faef6b2771a tree 7dfed621399ef9f1bc65a949bf639994b6494485 parent c4f8ef77f941e7d89a52fad1fbe04d59397e2bd1 author David S. Miller Thu, 02 Mar 2006 20:42:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:16 -0800 [SPARC64]: Fix sun4v mna winfixup handling. We were clobbering a base register before we were done using it. Fix a comment typo while we're here. Signed-off-by: David S. Miller commit c4f8ef77f941e7d89a52fad1fbe04d59397e2bd1 tree 7c76d66a096913f47918f755763e48ef2b00907d parent 8bcd17411643beb9a601e032d0cf1016909a81d3 author David S. Miller Thu, 02 Mar 2006 20:28:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:15 -0800 [SPARC64]: Fix mini RTC driver reading. Need to subtract 1900 from year and 1 from month before giving it back to userspace. Signed-off-by: David S. Miller commit 8bcd17411643beb9a601e032d0cf1016909a81d3 tree fc71e788df4fada768247fa7c12e983d2f6f1a32 parent 45f791eb0f03e760183d30d3f1f18dc2b8e902fe author David S. Miller Thu, 02 Mar 2006 18:12:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:14 -0800 [SPARC64]: Do not allow mapping pages within 4GB of 64-bit VA hole. The UltraSPARC T1 manual recommends this because the chip could instruction prefetch into the VA hole, and this would also make decoding certain kinds of memory access traps more difficult (because the chip sign extends certain pieces of trap state). Signed-off-by: David S. Miller commit 45f791eb0f03e760183d30d3f1f18dc2b8e902fe tree 05ef47c68b45202106b70c1f28d4935a2c6115fb parent 92daa77e9a829350fd3900ff58d9c69820ad0e3d author David S. Miller Wed, 01 Mar 2006 22:42:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:13 -0800 [SPARC64]: Fix _PAGE_EXEC handling. First of all, use the known _PAGE_EXEC_{4U,4V} value instead of loading _PAGE_EXEC from memory. We either know which one to use by context, or we can code patch the test. Next, we need to check executability of a PTE in the generic TSB miss handler. Signed-off-by: David S. Miller commit 92daa77e9a829350fd3900ff58d9c69820ad0e3d tree a81a81cab49254dd041a0fbe78f09c84ec174a2c parent e22990451a6a6263250cdd267708548dfa08a8f2 author David S. Miller Wed, 01 Mar 2006 22:27:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:12 -0800 [SPARC64]: Fix typo in SUN4V D-TLB miss handler. Should put FAULT_CODE_DTLB into %g3 not FAULT_CODE_ITLB. Signed-off-by: David S. Miller commit e22990451a6a6263250cdd267708548dfa08a8f2 tree 5d280a9aa0d2b49824d917be85afaa37bb93aede parent 8ba706a95bb92c3b14b812f6d507890336d19136 author David S. Miller Wed, 01 Mar 2006 22:25:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:11 -0800 [SPARC64]: Kill bogus function externs in asm/pgtable.h These are all implemented inline earlier in the file. Signed-off-by: David S. Miller commit 8ba706a95bb92c3b14b812f6d507890336d19136 tree 2456134d50898a7bd8efda4adcfa636ab0ea43cf parent b830ab665ad96c6b20d51a89b35cbc09ab5a2c29 author David S. Miller Wed, 01 Mar 2006 17:32:46 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:10 -0800 [SPARC64]: Add mini-RTC driver for Starfire and SUN4V. Signed-off-by: David S. Miller commit b830ab665ad96c6b20d51a89b35cbc09ab5a2c29 tree 57c2c75b3e069f9f244259ae02f6f2fe3de68612 parent aac0aadf09b98ba36eab0bb02a560ebcb82ac39f author David S. Miller Tue, 28 Feb 2006 15:10:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:09 -0800 [SPARC64]: Fix bugs in SUN4V cpu mondo dispatch. There were several bugs in the SUN4V cpu mondo dispatch code. In fact, if we ever got a EWOULDBLOCK or other error from the hypervisor call, we'd potentially send a cpu mondo multiple times to the same cpu and even worse we could loop until the timeout resending the same mondo over and over to such cpus. So let's bulletproof this thing as follows: 1) Implement cpu_mondo_send() and cpu_state() hypervisor calls in arch/sparc64/kernel/entry.S, add prototypes to asm/hypervisor.h 2) Don't build and update the cpulist using inline functions, this was causing the cpu mask to not get updated in the caller. 3) Disable interrupts during the entire mondo send, otherwise our cpu list and/or mondo block could get overwritten if we take an interrupt and do a cpu mondo send on the current cpu. 4) Check for all possible error return types from the cpu_mondo_send() hypervisor call. In particular: HV_EOK) Our work is done, all cpus have received the mondo. HV_CPUERROR) One or more of the cpus in the cpu list we passed to the hypervisor are in error state. Use cpu_state() calls over the entries in the cpu list to see which ones. Record them in "error_mask" and report this after we are done sending the mondo to cpus which are not in error state. HV_EWOULDBLOCK) We need to keep trying. Any other error we consider fatal, we report the event and exit immediately. 5) We only timeout if forward progress is not made. Forward progress is defined as having at least one cpu get the mondo successfully in a given cpu_mondo_send() call. Otherwise we bump a counter and delay a little. If the counter hits a limit, we signal an error and report the event. Also, smp_call_function_mask() error handling reports the number of cpus incorrectly. Signed-off-by: David S. Miller commit aac0aadf09b98ba36eab0bb02a560ebcb82ac39f tree 0628f23fd3d7bd343966e038d6328f9bf0e8751d parent 6889331a1260e42b0275f42c13d6342d6cc1a03d author David S. Miller Mon, 27 Feb 2006 17:56:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:08 -0800 [SPARC64]: Fix bugs in SMP TLB context version expiration handling. 1) We must flush the TLB, duh. 2) Even if the sw context was seen to be valid, the local cpu's hw context can be out of date, so reload it unconditionally. Signed-off-by: David S. Miller commit 6889331a1260e42b0275f42c13d6342d6cc1a03d tree 5e8b06abbbe62316e9c8288af8d7e967be6e9163 parent 97c4b6f95afadea5846b78ce589d25de2a245c56 author David S. Miller Sun, 26 Feb 2006 23:09:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:07 -0800 [SPARC64]: Fix indexing into kpte_linear_bitmap. Need to shift back up by 3 bits to get 8-byte entry index. Signed-off-by: David S. Miller commit 97c4b6f95afadea5846b78ce589d25de2a245c56 tree 11110547d3c92657ae8199f039e35c3a74d32107 parent 7a591cfe4efef8a232e4938d44ae6693b319f6d7 author David S. Miller Sun, 26 Feb 2006 20:37:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:06 -0800 [SPARC64]: Use 13-bit context size always. We no longer have the problems that require using the smaller sizes. Signed-off-by: David S. Miller commit 7a591cfe4efef8a232e4938d44ae6693b319f6d7 tree e6fbdfb34572f768788b773e3ce186e3924ab685 parent 2a3a5f5ddbefde498e87f10924d4bf741c5bf37f author David S. Miller Sun, 26 Feb 2006 19:44:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:06 -0800 [SPARC64]: Avoid dcache-dirty page state management on sun4v. It is totally wasted work, since we have no D-cache aliasing issues on sun4v. Signed-off-by: David S. Miller commit 2a3a5f5ddbefde498e87f10924d4bf741c5bf37f tree 851003d4ff0b1619766d4fab883868f2b413ed62 parent 6cc80cfab8b2ce1919ad5862a43f6b7bcf163c80 author David S. Miller Sun, 26 Feb 2006 19:31:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:05 -0800 [SPARC64]: Bulletproof hypervisor TLB flushing. Check TLB flush hypervisor calls for errors and report them. Pass HV_MMU_ALL always for now, we can add back the optimization to avoid the I-TLB flush later. Always explicitly page align the virtual address arguments. Signed-off-by: David S. Miller commit 6cc80cfab8b2ce1919ad5862a43f6b7bcf163c80 tree aa76ee44c60684a607a4e4325007b8d1d2403fb4 parent 36344762396ca868d6076c41a84bda25f1ed9d3c author David S. Miller Sun, 26 Feb 2006 14:51:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:04 -0800 [SPARC64]: Report mondo error correctly in hypervisor_xcall_deliver(). It's in "arg0" not "func". Signed-off-by: David S. Miller commit 36344762396ca868d6076c41a84bda25f1ed9d3c tree 7471ce9b78736e538417267f1bc27687a1b09542 parent c4e9249b1924118693f298ee8d38f7fe43587af3 author David S. Miller Sat, 25 Feb 2006 17:16:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:03 -0800 [SPARC64]: Niagara optimized XOR functions for RAID. Signed-off-by: David S. Miller commit c4e9249b1924118693f298ee8d38f7fe43587af3 tree 5d01a861941493a400de02baf6d5dc6234ac25c8 parent 77b838fa1ef0ab02f75afc09834c60d87b86772f author Andrew Morton Fri, 24 Feb 2006 13:21:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:02 -0800 [SPARC64]: Fix binfmt_aout32.c build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 77b838fa1ef0ab02f75afc09834c60d87b86772f tree 810bce2bf584b6259bd516daa0391cf1b3487ab4 parent a0663a79ad4faebe1db4a56e2e767b120b12333a author David S. Miller Thu, 23 Feb 2006 21:40:15 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:01 -0800 [SPARC64]: destroy_context() needs to disable interrupts. get_new_mmu_context() can be invoked from interrupt context now for the new SMP version wrap handling. So disable interrupt while taking ctx_alloc_lock in destroy_context() so we don't deadlock. Signed-off-by: David S. Miller commit a0663a79ad4faebe1db4a56e2e767b120b12333a tree 612a53e387a6aea6116f8a1637050fa13c6d9f80 parent 074d82cf688fe2dfa7ba4a2317c56f62d13fb522 author David S. Miller Thu, 23 Feb 2006 14:19:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:00 -0800 [SPARC64]: Fix TLB context allocation with SMT style shared TLBs. The context allocation scheme we use depends upon there being a 1<-->1 mapping from cpu to physical TLB for correctness. Chips like Niagara break this assumption. So what we do is notify all cpus with a cross call when the context version number changes, and if necessary this makes them allocate a valid context for the address space they are running at the time. Stress tested with make -j1024, make -j2048, and make -j4096 kernel builds on a 32-strand, 8 core, T2000 with 16GB of ram. Signed-off-by: David S. Miller commit 074d82cf688fe2dfa7ba4a2317c56f62d13fb522 tree 6e29e9a1994a7e82f4250cca83731a9b37a1b862 parent b2bef4424cb4522f53e34d98d3deb0916478338b author David S. Miller Thu, 23 Feb 2006 02:28:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:59 -0800 [SPARC64]: Put syscall tables after trap table. Otherwise with too much stuff enabled in the kernel config we can end up with an unaligned trap table. Signed-off-by: David S. Miller commit b2bef4424cb4522f53e34d98d3deb0916478338b tree 6c019c3b9e2e99706971694ae85952ef4034bfce parent 0f05da6d577b80eb00f15994c86e4812ae60f1b9 author David S. Miller Thu, 23 Feb 2006 01:55:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:58 -0800 [SPARC64]: Export _PAGE_E and _PAGE_CACHE to modules. SBUS flash driver needs it. Noticed by Fabbione. Signed-off-by: David S. Miller commit 0f05da6d577b80eb00f15994c86e4812ae60f1b9 tree 39d981c896ab6b90aa30f124fb25cbdf4f242c83 parent fc504928677049f0ad3f1fd4e0bb3908172df8f3 author David S. Miller Wed, 22 Feb 2006 16:20:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:57 -0800 [SPARC64]: Fix %tstate ASI handling in start_thread{,32}() Niagara helps us find a ancient bug in the sparc64 port :-) The ASI_* values are plain constant defines, thus signed 32-bit on sparc64. To put shift this into the regs->tstate value we were doing or'ing "(ASI_PNF << 24)" into there. ASI_PNF is 0x82 and shifted left by 24 makes that topmost bit the sign bit in a 32-bit value. This would get sign extended to 64-bits and thus corrupt the top-half of the reg->tstate value. This never caused problems in pre-Niagara cpus because the only thing up there were the condition code values. But Niagara has the global register level field, and this all 1's value is illegal there so Niagara gives an illegal instruction trap due to this bug. I'm pretty sure this bug is about as old as the sparc64 port itself. This also points out that we weren't setting ASI_PNF for 32-bit tasks. We should, so fix that while we're here. Signed-off-by: David S. Miller commit fc504928677049f0ad3f1fd4e0bb3908172df8f3 tree f55fc6a9061b0eac3f0465df412286caf83b3fbd parent d7744a09504d5ae84edc8289a02254e1f2102410 author David S. Miller Wed, 22 Feb 2006 16:15:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:57 -0800 [SPARC64]: Drop %gl to 0 before re-enabling PSTATE_IE in rtrap If we take a window fault, on SUN4V set %gl to zero before we turn PSTATE_IE back on in %pstate. Otherwise if we take an interrupt we'll end up with corrupt register state. Signed-off-by: David S. Miller commit d7744a09504d5ae84edc8289a02254e1f2102410 tree be0f245ee0725f2f066bf87d17d254ce1e7279bf parent 9cc3a1ac9a819cadff05ca37bb7f208013a22035 author David S. Miller Tue, 21 Feb 2006 22:31:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:56 -0800 [SPARC64]: Create a seperate kernel TSB for 4MB/256MB mappings. It can map all of the linear kernel mappings with zero TSB hash conflicts for systems with 16GB or less ram. In such cases, on SUN4V, once we load up this TSB the first time with all the mappings, we never take a linear kernel mapping TLB miss ever again, the hypervisor handles them all. Signed-off-by: David S. Miller commit 9cc3a1ac9a819cadff05ca37bb7f208013a22035 tree 601fa49272b540b3a3e6cc3728db27c525b73721 parent 30c91d576e9ea41c963e7f28643219bda73b0ddc author David S. Miller Tue, 21 Feb 2006 20:51:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:55 -0800 [SPARC64]: Make use of Niagara 256MB PTEs for kernel mappings. We use a bitmap, one bit for every 256MB of memory. If the bit is set we can use a 256MB PTE for linear mappings, else we have to use a 4MB PTE. SUN4V support is there, and we can very easily add support for Panther cpu 256MB PTEs in the future. Signed-off-by: David S. Miller commit 30c91d576e9ea41c963e7f28643219bda73b0ddc tree 1aa37a82f44084b5fd854bf010ac224d2d660079 parent 689126a48a4cf7efc77d0d090b2db4e8927d7819 author David S. Miller Tue, 21 Feb 2006 16:55:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:54 -0800 [SPARC64]: Use sun4v_cpu_idle() in cpu_idle() on SUN4V. We have to turn off the "polling nrflag" bit when we sleep the cpu like this, so that we'll get a cross-cpu interrupt to wake the processor up from the yield. We also have to disable PSTATE_IE in %pstate around the yield call and recheck need_resched() in order to avoid any races. Signed-off-by: David S. Miller commit 689126a48a4cf7efc77d0d090b2db4e8927d7819 tree 458fdccc36d064aea5189e2c9244ae8824e46c39 parent 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 author David S. Miller Tue, 21 Feb 2006 16:53:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:53 -0800 [SPARC64] math-emu: Delete debugging printk left by previous commit. Signed-off-by: David S. Miller commit 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 tree e5d2ade79d39f043af66030c42d2410d1cd6f483 parent 1bd0cd74d102a527b2a72907698d73fad4b82cbd author David S. Miller Tue, 21 Feb 2006 15:42:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:52 -0800 [SPARC64]: Add sun4v_cpu_yield(). Signed-off-by: David S. Miller commit 1bd0cd74d102a527b2a72907698d73fad4b82cbd tree 2df2dede361dd259b6cd4b91c3ab8d5c783401ac parent 8ca2557c48000daa8183b07d83f582a597705ebe author David S. Miller Tue, 21 Feb 2006 15:41:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:51 -0800 [SPARC64]: Kill cpudata->idle_volume. Set, but never used. We used to use this for dynamic IRQ retargetting, but that code died a long time ago. Signed-off-by: David S. Miller commit 8ca2557c48000daa8183b07d83f582a597705ebe tree 2ce53d5b4d6f21509dc4bc5fdeead1f559e626a0 parent d371c0c17466b7e7bb4d395f96aa885a23df1073 author David S. Miller Tue, 21 Feb 2006 14:29:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:50 -0800 [SPARC64]: Niagara optimized memset/bzero/clear_user. Signed-off-by: David S. Miller commit d371c0c17466b7e7bb4d395f96aa885a23df1073 tree c4705a6b3fa5e58d7003c82395746434c089d6ee parent c79f76777d678ba454aa727800e1386a1fd1f2e8 author David S. Miller Tue, 21 Feb 2006 13:59:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:49 -0800 [SPARC64]: Pass multiple CPUs at once to hypervisor cross-call API. Signed-off-by: David S. Miller commit c79f76777d678ba454aa727800e1386a1fd1f2e8 tree c93a6f342ae56216e34fb5c5f5782e79dff6c4fc parent 4e74ae800bafe79d4aaa529bc5d52425757c0115 author David S. Miller Mon, 20 Feb 2006 22:56:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:48 -0800 [SPARC64]: Args to SUNW,set-trap-table are 64-bit. They were getting truncated to 32-bit and this is very bad when your MMU fault status area is in physical memory above 4GB on SUN4V. Signed-off-by: David S. Miller commit 4e74ae800bafe79d4aaa529bc5d52425757c0115 tree b6d0a52da8a316eadaa5651ffa73ea3e3435d59e parent f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178 author David S. Miller Mon, 20 Feb 2006 16:02:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:48 -0800 [SPARC64]: Handle unimplemented FPU square-root on Niagara. The math-emu code only expects unfinished fpop traps when emulating FPU sqrt instructions on pre-Niagara chips. On Niagara we can get unimplemented fpop, so handle that. Signed-off-by: David S. Miller commit f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178 tree 6b6c341791e32ea00d637b9f243f55b91da962bc parent 55555633bd4e72534b53c50525817259435e18df author David S. Miller Mon, 20 Feb 2006 14:39:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:47 -0800 [SPARC] serial: Make sure sysfs nodes get named correctly. Because we play this trick where we use ttyS? in increasing minor numbers for different sunfoo.c drivers, we have to inform the TTY layer of this. Do so by setting the tty->name_base appropriately. Probably there should be a generic way to do this in the serial core, but for now... Signed-off-by: David S. Miller commit 55555633bd4e72534b53c50525817259435e18df tree 87cb14183cfacb88712311708c5787e0a64817ac parent d82965c16781a7c5b8508c3784ba10bbeef34ff4 author David S. Miller Mon, 20 Feb 2006 01:50:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:46 -0800 [SPARC64]: Typo in sun4v_data_access_exception log message. Should be "Dax" not "Iax". Signed-off-by: David S. Miller commit d82965c16781a7c5b8508c3784ba10bbeef34ff4 tree fb2510731dc418c3271edfc50fec75c80a035ae6 parent abf3b7bd89c11492b145e338913c0b511084cff7 author David S. Miller Mon, 20 Feb 2006 01:42:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:45 -0800 [SPARC64]: Handle zero-length map requests in pci_sun4v.c By simply changing the do-while loop into a plain while loop. Signed-off-by: David S. Miller commit abf3b7bd89c11492b145e338913c0b511084cff7 tree fa8d333d0b66e4e7d427817d0b927ab5a901e095 parent 39334a4b2c52a06960c480b1a4a05f5d5375c8bf author David S. Miller Mon, 20 Feb 2006 01:09:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:44 -0800 [SPARC64]: Kill stray PGLIST_NENTS check in pci_sun4v.c I forgot to remove the one in pci_4v_map_sg() during the iommu batching commit. Signed-off-by: David S. Miller commit 39334a4b2c52a06960c480b1a4a05f5d5375c8bf tree 6f5c0d6fe367bdac07ab4b07a832126ee78f122d parent 37133c006cd3ff4f4dccb3df88efc446863b515e author David S. Miller Mon, 20 Feb 2006 00:54:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:43 -0800 [SPARC64]: Fix typo in dump_tl1_traplog() Actually make use of the 'limit' we compute. Signed-off-by: David S. Miller commit 37133c006cd3ff4f4dccb3df88efc446863b515e tree c5f0086b2694eedbb3943aa01d05eadff4ebe877 parent 6a32fd4d0d42258004631dc0ac90665382a2e5dc author David S. Miller Mon, 20 Feb 2006 00:36:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:42 -0800 [SPARC64]: Disable smp_report_regs() for now. It's extremely noisy and causes much grief on slow consoles with large numbers of cpus. We'll have to provide this some saner way in order to re-enable this. Signed-off-by: David S. Miller commit 6a32fd4d0d42258004631dc0ac90665382a2e5dc tree f2a73240a7cfadfb3097121279b6e5a7651812e5 parent 04d74758eb7dce6dfb7d2101315827c267ffefc4 author David S. Miller Sun, 19 Feb 2006 22:21:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:41 -0800 [SPARC64]: Remove PGLIST_NENTS PCI IOMMU mapping limitation on SUN4V. Use a batching queue system for IOMMU mapping setup, with a page sized batch. Signed-off-by: David S. Miller commit 04d74758eb7dce6dfb7d2101315827c267ffefc4 tree 18a90d84f5503eefc9af52ecd3bb1a09ae3fe6d0 parent 24c523ecc667dfeb28ef969cfabc531709bfffb8 author David S. Miller Sat, 18 Feb 2006 17:06:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:40 -0800 [SPARC64]: Use KERN_EMERG in dump_tl1_traplog() and sun4v TLB errors. We're about to seriously die in these cases so it is important that the messages make it to the console. Signed-off-by: David S. Miller commit 24c523ecc667dfeb28ef969cfabc531709bfffb8 tree 67760d3bb5c5c9f950e61b263fff836e677957ee parent 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c author David S. Miller Sat, 18 Feb 2006 16:39:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:39 -0800 [SPARC64]: Fix unaligned access winfxup handling on SUN4V. Another case where we have to force ourselves into global register level one. Also make sure the arguments passed to sun4v_do_mna() are correct. This area actually needs some more work, for example spill fixup is not necessarily going to do the right thing for this case. Signed-off-by: David S. Miller commit 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c tree 4d8d095f554cc9186ef9b945bd33e6c3d53161d1 parent 843dfb4d99c41116601694f314092b3b6c4511f4 author David S. Miller Sat, 18 Feb 2006 16:36:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:39 -0800 [SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V. Just like kvmap_dtlb_longpath we have to force the global register level to one in order to mimick the PSTATE_MG --> PSTATE_AG trasition done on SUN4U. Signed-off-by: David S. Miller commit 843dfb4d99c41116601694f314092b3b6c4511f4 tree 44a5b1d757bb796466d0746d13d9fa4c49ad459a parent 11fc04e46a892563d0a9bb98560339f1672e3213 author David S. Miller Sat, 18 Feb 2006 16:32:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:38 -0800 [SPARC64] sunhv: Fix locking in sunhv_start_tx() Caller takes the lock already. Also, fixup the poll loop in sunhv_break_ctl(). Just like in console write, we udelay(2) and use a loop limit of 1000000 iterations. Signed-off-by: David S. Miller commit 11fc04e46a892563d0a9bb98560339f1672e3213 tree 972fcfd42325195b4556e6a676a6fe09ae1703ee parent 0f15952ac8641bde1045162ffd4a7b474cc318b0 author David S. Miller Sat, 18 Feb 2006 16:30:59 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:37 -0800 [SPARC64]: Put sunhv.o earliest in the list of sparc serial drivers. So that it will show up as /dev/ttyS0. Otherwise things like installers will try to run on whatever serial port gets probed first. Signed-off-by: David S. Miller commit 0f15952ac8641bde1045162ffd4a7b474cc318b0 tree f1837150e0e1589dda97f1780e99962bf6c905af parent f6c1fe529217788f095f6953c2b66bec1196ad3d author David S. Miller Sat, 18 Feb 2006 12:43:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:36 -0800 [SPARC64]: Export a PAGE_SHARED symbol. For drivers/media/*, noticed by Fabbione. Signed-off-by: David S. Miller commit f6c1fe529217788f095f6953c2b66bec1196ad3d tree 609476e09d7778c55775e88879ba77dd4a23f1f2 parent 8b234274418d6d79527c4ac3a72da446ca4cb35f author Fabio M. Di Nitto Sat, 18 Feb 2006 00:32:31 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:35 -0800 [SPARC64] Fix build if CONFIG_HUGETLB_PAGE is not set Signed-off-by: Fabio M. Di Nitto Signed-off-by: David S. Miller commit 8b234274418d6d79527c4ac3a72da446ca4cb35f tree ab4ab14fa7f1cab7889ecc2339f0261253a5d0e1 parent 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb author David S. Miller Fri, 17 Feb 2006 18:01:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:34 -0800 [SPARC64]: More TLB/TSB handling fixes. The SUN4V convention with non-shared TSBs is that the context bit of the TAG is clear. So we have to choose an "invalid" bit and initialize new TSBs appropriately. Otherwise a zero TAG looks "valid". Make sure, for the window fixup cases, that we use the right global registers and that we don't potentially trample on the live global registers in etrap/rtrap handling (%g2 and %g6) and that we put the missing virtual address properly in %g5. Signed-off-by: David S. Miller commit 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb tree bca7b671ad0cf49d6ef7a01c96ae3865805fec13 parent 6c8927c9634e8a1bc95d5291c55205707f9fa40a author David S. Miller Fri, 17 Feb 2006 15:07:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:33 -0800 [SPARC64]: Don't do anything in flush_ptrace_access() on SUN4V. Signed-off-by: David S. Miller commit 6c8927c9634e8a1bc95d5291c55205707f9fa40a tree e59db7dca9ab26808703ee3c20ad59c3425024fa parent 12e126ad229abc718d05600027fcd5794c1e31e5 author David S. Miller Fri, 17 Feb 2006 14:58:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:32 -0800 [SPARC64]: Fix some SUN4V TLB handling bugs. 1) Add error return checking for TLB load hypervisor calls. 2) Don't fallthru to dtlb tsb miss handler from itlb tsb miss handler, oops. 3) On window fixups, propagate fault information to fixup handler correctly. Signed-off-by: David S. Miller commit 12e126ad229abc718d05600027fcd5794c1e31e5 tree 1c28b8685a30c290956184485a997fc398f6d4f1 parent 52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc author David S. Miller Fri, 17 Feb 2006 14:40:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:31 -0800 [SPARC64]: Check for errors in hypervisor_tlb_lock(). Signed-off-by: David S. Miller commit 52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc tree 350f49c4cecd87cc22aae8c88c1ff383822614d6 parent 3763be32d591cacf808c36390a8af3f2784cde5f author David S. Miller Sun, 26 Feb 2006 23:32:33 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:30 -0800 [SPARC64]: Init boot cpu's trap_block[] before paging_init() It must be ready when we take over the trap table. Signed-off-by: David S. Miller commit 3763be32d591cacf808c36390a8af3f2784cde5f tree 124ae01bf91905a6d3af931caf28acf82900699b parent 3f19a84e39619053f117bd5bb9183c5bfea7db45 author David S. Miller Fri, 17 Feb 2006 12:33:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:29 -0800 [SPARC64]: Define ARCH_HAS_READ_CURRENT_TIMER. This gives more consistent bogomips and delay() semantics, especially on sun4v. It gives weird looking values though... Signed-off-by: David S. Miller commit 3f19a84e39619053f117bd5bb9183c5bfea7db45 tree f40e0b3f5e0d5600304ea7496e30a33f6e8b51de parent c857e3fdbc306e95fdcaad1d8f3ea6bc8e7eea99 author David S. Miller Fri, 17 Feb 2006 12:03:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:29 -0800 [SPARC64]: Set associativity of kernel TSB descriptor correctly. It should be 1, not 0. Signed-off-by: David S. Miller commit c857e3fdbc306e95fdcaad1d8f3ea6bc8e7eea99 tree 6fb1cfc9b8742b56db032fcdb4294e693bb75ffa parent 46f860471483dce9ba5ce682a69c61cbceb54e52 author David S. Miller Fri, 17 Feb 2006 10:35:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:28 -0800 [SPARC64]: __bzero_noasi --> __clear_user Signed-off-by: David S. Miller commit 46f860471483dce9ba5ce682a69c61cbceb54e52 tree 4107992d58fa51a0c2d76d31d63cf26bb1f427ab parent 97532f598273d03cab8bb5206669b6fdd654eb63 author David S. Miller Fri, 17 Feb 2006 10:28:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:27 -0800 [SPARC64]: Put SUN4V ITSB miss into correct trap table entry. It's 0x9 not 0xb. Signed-off-by: David S. Miller commit 97532f598273d03cab8bb5206669b6fdd654eb63 tree a2d06b6f9861bad04d1378fef104a1c2d81777df parent 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 author David S. Miller Fri, 17 Feb 2006 10:14:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:26 -0800 [SPARC64]: Add HWCAP_SPARC_BLKINIT elf capability flag for Niagara. Signed-off-by: David S. Miller commit 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 tree 174537e596cc7b20ecb2d75770476285af725051 parent ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 author David S. Miller Fri, 17 Feb 2006 09:54:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:25 -0800 [SPARC64]: Use phys tsb address in tsb_insert() in SUN4V. Signed-off-by: David S. Miller commit ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 tree 155df85100a1316ac103dcaed140d20ddc72c855 parent 101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 author David S. Miller Fri, 17 Feb 2006 08:38:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:24 -0800 [SPARC64]: Fix uniprocessor IRQ targetting on SUN4V. We need to use the real hardware processor ID when targetting interrupts, not the "define to 0" thing the uniprocessor build gives us. Also, fill in the Node-ID and Agent-ID fields properly on sun4u/Safari. Signed-off-by: David S. Miller commit 101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 tree 340b5fa064fcf8a62a0742f8fb46fa4bb61abf8d parent 72aff53f1fe74153eccef303ab2f79de888d248c author David S. Miller Fri, 17 Feb 2006 08:20:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:23 -0800 [SPARC64]: Fix PCI IRQ probing regression. If the top-level cnode had multi entries in it's "reg" property, we'd fail. The buffer wasn't large enough in such cases. Signed-off-by: David S. Miller commit 72aff53f1fe74153eccef303ab2f79de888d248c tree a229645be99274d36bed04bed355d74ec3c0baa2 parent 19a0d585e80e84b54bb9bf120bf0c826045dd3dd author David S. Miller Fri, 17 Feb 2006 01:29:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:22 -0800 [SPARC64]: Get SUN4V SMP working. The sibling cpu bringup is extremely fragile. We can only perform the most basic calls until we take over the trap table from the firmware/hypervisor on the new cpu. This means no accesses to %g4, %g5, %g6 since those can't be TLB translated without our trap handlers. In order to achieve this: 1) Change sun4v_init_mondo_queues() so that it can operate in several modes. It can allocate the queues, or install them in the current processor, or both. The boot cpu does both in it's call early on. Later, the boot cpu allocates the sibling cpu queue, starts the sibling cpu, then the sibling cpu loads them in. 2) init_cur_cpu_trap() is changed to take the current_thread_info() as an argument instead of reading %g6 directly on the current cpu. 3) Create a trampoline stack for the sibling cpus. We do our basic kernel calls using this stack, which is locked into the kernel image, then go to our proper thread stack after taking over the trap table. 4) While we are in this delicate startup state, we put 0xdeadbeef into %g4/%g5/%g6 in order to catch accidental accesses. 5) On the final prom_set_trap_table*() call, we put &init_thread_union into %g6. This is a hack to make prom_world(0) work. All that wants to do is restore the %asi register using get_thread_current_ds(). Longer term we should just do the OBP calls to set the trap table by hand just like we do for everything else. This would avoid that silly prom_world(0) issue, then we can remove the init_thread_union hack. Signed-off-by: David S. Miller commit 19a0d585e80e84b54bb9bf120bf0c826045dd3dd tree d744dc0c7530765fcdaf46e15bd83805b78e6017 parent 6154f94f0e1b3984ad2d0bcda586bc8946398b8a author David S. Miller Fri, 17 Feb 2006 01:17:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:21 -0800 [SPARC64]: Disable smp_report_regs() for now. For 32 cpus and a slow console, it just wedges the machine especially with DETECT_SOFTLOCKUP enabled. Signed-off-by: David S. Miller commit 6154f94f0e1b3984ad2d0bcda586bc8946398b8a tree 8abc4d83ed8ddef986de2c0593f55d3e879c7c78 parent 14f6689cbb3ec2c194bd770fbe0d6e2d90eb6760 author David S. Miller Thu, 16 Feb 2006 23:01:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:20 -0800 [SPARC64]: Rewrite pci_intmap_match(). The whole algorithm was wrong. What we need to do is: 1) Walk each PCI bus above this device on the path to the PCI controller nexus, and for each: a) If interrupt-map exists, apply it, record IRQ controller node b) Else, swivel interrupt number using PCI_SLOT(), use PCI bus parent OBP node as controller node c) Walk up to "controller node" until we hit the first PCI bus in this domain, or "controller node" is the PCI controller OBP node 2) If we walked to PCI controller OBP node, we're done. 3) Else, apply PCI controller interrupt-map to interrupt. There is some stuff that needs to be checked out for ebus and isa, but the PCI part is good to go. Signed-off-by: David S. Miller commit 14f6689cbb3ec2c194bd770fbe0d6e2d90eb6760 tree 75934961ca955a076651f35e08fc81ebc867bcff parent af02bec66294c76fba181c665c68a31fd4392020 author David S. Miller Thu, 16 Feb 2006 20:44:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:20 -0800 [SPARC64]: Don't set interrupt state to IDLE in enable_irq(). We'll lose events that way. Signed-off-by: David S. Miller commit af02bec66294c76fba181c665c68a31fd4392020 tree f741bdd782c719cba6dd8efe01f107a46d115a27 parent 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 author David S. Miller Thu, 16 Feb 2006 16:23:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:19 -0800 [SPARC64]: Fix return from trap on SUN4V. We need to set the global register set _AND_ disable PSTATE_IE in %pstate. The original patch sequence was leaving PSTATE_IE enabled when returning to kernel mode, oops. This fixes the random register corruption being seen on SUN4V. Signed-off-by: David S. Miller commit 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 tree 8a0ad85722f0e927ac6c1388032481636424fb10 parent 22780e23c629303474797d17e7f09ad7721ef55b author David S. Miller Thu, 16 Feb 2006 16:22:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:18 -0800 [SPARC64]: Add GET_GL_GLOBAL() macro for SUN4V. So we can read the %gl register for debugging. Signed-off-by: David S. Miller commit 22780e23c629303474797d17e7f09ad7721ef55b tree e005c6475aaeb61a6db0d43424c212d89f77dc40 parent 94f8762db9a80ed34252e9fe5fa38be87bb7826b author David S. Miller Thu, 16 Feb 2006 14:37:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:17 -0800 [SPARC64]: Set dummy bucket->{imap,iclr} unique on SUN4V. So that free_irq() disable's the IRQ correctly. Signed-off-by: David S. Miller commit 94f8762db9a80ed34252e9fe5fa38be87bb7826b tree 22279c62d2d4d583c64f1d2c6122f4eb98b429a6 parent bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f author David S. Miller Thu, 16 Feb 2006 14:26:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:16 -0800 [SPARC64]: Add sun4v_cpu_qconf() hypervisor call. Call it from register_one_mondo(). Signed-off-by: David S. Miller commit bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f tree cf4a313304153b39bd155c062b934d607500f2ae parent 8e42550c683b2ad4869fc4fa438204841fd9b7cc author David S. Miller Sun, 05 Mar 2006 16:46:58 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:15 -0800 [SPARC]: Kill off these __put_user_ret things. They are bogus and haven't been referenced in years. Signed-off-by: David S. Miller commit 8e42550c683b2ad4869fc4fa438204841fd9b7cc tree f636a779506cee076b7434327184b4ef9914c1c1 parent 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 author David S. Miller Thu, 16 Feb 2006 02:18:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:14 -0800 [SPARC64]: do_fptrap needs to load the thread reg into %g6. Signed-off-by: David S. Miller commit 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 tree d004412f27e0fceb2548513e954e80e15913ab84 parent 3d6395cb770b0db9135a853b1742418c99ed2148 author David S. Miller Thu, 16 Feb 2006 01:45:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:13 -0800 [SPARC64]: Fix bogus call to sun4v_mna in winfixup code. The C function is named sun4v_do_mna not sun4v_mna. Signed-off-by: David S. Miller commit 3d6395cb770b0db9135a853b1742418c99ed2148 tree 609b1d8f6d3ff13a312c8eb0ce4f070b644b6e05 parent 135066a21129760e44a51a7ef31d8c861f8ddace author David S. Miller Thu, 16 Feb 2006 01:41:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:12 -0800 [SPARC64]: Fix tl1 trap state capture/dump on SUN4V. No trap levels above 2 in privileged mode on SUN4V. Signed-off-by: David S. Miller commit 135066a21129760e44a51a7ef31d8c861f8ddace tree 7dacf1643c9110a4e0ac8e89fed5465a0f77f94d parent e7a0453ef82c1433a35ab82d874296fff68f3639 author David S. Miller Thu, 16 Feb 2006 00:42:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:11 -0800 [SPARC64] sunhv: Support SYSRQ properly. By calling uart_handle_break(). We'll still do the "sun_do_break()" handling if the user gives two breaks in a row. We should probably do this in the other Sparc serial drivers too. Signed-off-by: David S. Miller commit e7a0453ef82c1433a35ab82d874296fff68f3639 tree 0dd18e3742bb838f7351a20186ea3a820d038231 parent db33f9bc09aaf68db7866374f9219c676787b4a2 author David S. Miller Wed, 15 Feb 2006 22:25:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:10 -0800 [SPARC64] PCI: Size TSB correctly on SUN4V. Forgot to multiply by 8 * 1024, oops. Correct the size constant when the virtual-dma arena is 2GB in size, it should bet 256 not 128. Finally, log some info about the TSB at probe time. Signed-off-by: David S. Miller commit db33f9bc09aaf68db7866374f9219c676787b4a2 tree 4b3bb99778f65966dd1d40122a3fcb2f1f07741c parent c7f81d42d3d07115a7b92e36ade0f3167f75bc55 author David S. Miller Wed, 15 Feb 2006 21:56:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:10 -0800 [SPARC64]: Fix OOPS on sunhv interrupts. Until the uart is openned, port->info is NULL. Also, init the port->irq properly and give a non-zero port->membase so that the uart device reporting is done. Signed-off-by: David S. Miller commit c7f81d42d3d07115a7b92e36ade0f3167f75bc55 tree ffb9f1337b926d64b52bb6148b18b9c62eacb53c parent a7b31bac691668a60da8b9892124b7da408e0a0e author David S. Miller Wed, 15 Feb 2006 21:21:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:09 -0800 [SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V. Need to use ASI_QUAD_LDD_PHYS_4V instead. Signed-off-by: David S. Miller commit a7b31bac691668a60da8b9892124b7da408e0a0e tree 2bdf523086234a5cb9e943e45df879f1f264a516 parent de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 author David S. Miller Wed, 15 Feb 2006 21:16:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:08 -0800 [SPARC64]: Do not write garbage into %pstate in tsb_context_switch(). For SUN4V, we were clobbering %o5 to do the hypervisor call. This clobbers the saved %pstate value and we end up writing garbage into that register as a result. Oops. Signed-off-by: David S. Miller commit de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 tree 76559bb18ca6fe6ac4704b394b67a0e0eed842d5 parent 1daef08a12157923d90ec7a47ead8a97e0d243cc author David S. Miller Wed, 15 Feb 2006 21:01:31 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:07 -0800 [SPARC64]: Fix flush_tsb_user() on SUN4V. Needs to use physical addressing just like cheetah_plus. Signed-off-by: David S. Miller commit 1daef08a12157923d90ec7a47ead8a97e0d243cc tree bb7c395350abbb35b9dfce480127a31ddeb13b2c parent 9d29a3fafd06534ad73427fee3c968c094d05b9b author David S. Miller Wed, 15 Feb 2006 20:35:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:06 -0800 [SPARC64]: Fix comment typo in __flush_tlb_kernel_range. Signed-off-by: David S. Miller commit 9d29a3fafd06534ad73427fee3c968c094d05b9b tree 4afd7455d6249d9143acea6c4704f69aa98d311a parent 7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd author David S. Miller Wed, 15 Feb 2006 19:48:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:05 -0800 [SPARC64]: Decode virtual-devices interrupts correctly. Need to translate through the interrupt-map{,-mask] properties. Signed-off-by: David S. Miller commit 7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd tree a9cc7c67498616a47108c667a9c001f9fe468318 parent 63c2a0e598c2fa769a08a6e9ad124bf270b4436e author David S. Miller Wed, 15 Feb 2006 02:26:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:04 -0800 [SPARC64]: Add prom_{start,stop}cpu_cpuid(). Use prom_startcpu_cpuid() on SUN4V instead of prom_startcpu(). We should really test for "SUNW,start-cpu-by-cpuid" presence and use it if present even on SUN4U. Signed-off-by: David S. Miller commit 63c2a0e598c2fa769a08a6e9ad124bf270b4436e tree 3e3a0c8a68221b4a76489ad595d0b886e2683dd9 parent ab66a50e31deb48b0444c248e67e5aa3217efda5 author David S. Miller Wed, 15 Feb 2006 01:19:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:03 -0800 [SPARC64]: Fix pci_intmap_match(). When crawling up the PCI bus chain, stop at the first node that has an interrupt-map property before we hit the root. Also, if we use a bus interrupt-{map,mask} do not forget to update the 'intmask' pointer as we do for the 'intmap' pointer. Signed-off-by: David S. Miller commit ab66a50e31deb48b0444c248e67e5aa3217efda5 tree dd36ad6f69abe7a15eb2f990840512c803e980f7 parent 7c3514e4501565d76f9e4dec43e1fc17389f4811 author David S. Miller Wed, 15 Feb 2006 01:18:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:02 -0800 [SPARC64]: Two IRQ handling fixes. On SUN4V, force IRQ state to idle in enable_irq(). However, I'm still not sure this is %100 correct. Call add_interrupt_randomness() on SUN4V too. Signed-off-by: David S. Miller commit 7c3514e4501565d76f9e4dec43e1fc17389f4811 tree e3f4766232189faaa98a59d53a44e424025e9561 parent f03b8a546868fcf43feb455b69b152eb867606b2 author David S. Miller Wed, 15 Feb 2006 00:41:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:02 -0800 [SPARC64]: Fixup TSTATE layout diagram in asm/pstate.h Signed-off-by: David S. Miller commit f03b8a546868fcf43feb455b69b152eb867606b2 tree 147f1f63d824827de1d374dcd6741a38c7132b68 parent 329c68b21896eea371edbfdf305c459fb74cf9a8 author David S. Miller Wed, 15 Feb 2006 00:35:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:01 -0800 [SPARC64]: Use different cache sizing defaults on SUN4V. Signed-off-by: David S. Miller commit 329c68b21896eea371edbfdf305c459fb74cf9a8 tree 2438ceb36799afdb1fdb849c56f4bd27e1bfe438 parent abd92b2d21899d42a60c3c1ac995768c76774608 author David S. Miller Tue, 14 Feb 2006 22:20:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:00 -0800 [SPARC64]: Make lack of interrupt-map-* a fatal error on SUN4V. Signed-off-by: David S. Miller commit abd92b2d21899d42a60c3c1ac995768c76774608 tree e5d9e97b6fbf50a5be6791eb141f627c50a4a33f parent 355db99860a1d77d77cd2fc66e2f5ab58f3e0995 author David S. Miller Tue, 14 Feb 2006 22:20:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:59 -0800 [SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq(). Signed-off-by: David S. Miller commit 355db99860a1d77d77cd2fc66e2f5ab58f3e0995 tree 325c43f5f1820d9f17f46f330f061a5b65259421 parent 987b6de7102cf2f583733efd726ae920a1335519 author David S. Miller Tue, 14 Feb 2006 16:44:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:58 -0800 [SPARC64]: Explicitly init *nregs to 0 in find_device_prom_node(). Signed-off-by: David S. Miller commit 987b6de7102cf2f583733efd726ae920a1335519 tree 66a0fcfa5be6831c47f008437d3c97d0bead91bb parent 9f8a5b843fc47ea150525f912574677483e1a5ac author David S. Miller Tue, 14 Feb 2006 16:42:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:57 -0800 [SPARC64]: Restrict PCI bus scanning on SUN4V. On the PBM's first bus number, only allow device 0, function 0, to be poked at with PCI config space accesses. For some reason, this single device responds to all device numbers. Also, reduce the verbiage of the debugging log printk's for PCI cfg space accesses in the SUN4V PCI controller driver, so that it doesn't overwhelm the slow SUN4V hypervisor console. Signed-off-by: David S. Miller commit 9f8a5b843fc47ea150525f912574677483e1a5ac tree e065d4ad571dccbb2f16ef08a8ea8e5942abdbb7 parent fbf1c68eaf8a945c8617e355d8d6bd2fa09109d2 author David S. Miller Tue, 14 Feb 2006 16:39:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:56 -0800 [SPARC64]: Fix C-function name called by sun4v_mna trap code. The trap code was calling itself :-) Signed-off-by: David S. Miller commit fbf1c68eaf8a945c8617e355d8d6bd2fa09109d2 tree 2bbcc939809d8752631fda9a0842e22868dcbb78 parent e7093703d912254b5667dfe851a6d0f7e664f9df author David S. Miller Tue, 14 Feb 2006 16:37:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:55 -0800 [SPARC64]: Don't printk() any messaages in sun4v_build_irq(). It just clutters up the log. Signed-off-by: David S. Miller commit e7093703d912254b5667dfe851a6d0f7e664f9df tree 9560b13ae240f6e3b0b1a3fd08ff8ab829b27d13 parent 4a07e646c55be118442e464b7a2a9682c7131d9a author David S. Miller Tue, 14 Feb 2006 14:12:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:54 -0800 [SPARC64]: INO is never fully specified already on SUN4V. Signed-off-by: David S. Miller commit 4a07e646c55be118442e464b7a2a9682c7131d9a tree caeb033a17e7ab62865811bc48a20f42e22837f1 parent 50f4f23c3bd95afc82e931254a71e7b1b3699fd2 author David S. Miller Tue, 14 Feb 2006 13:49:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:54 -0800 [SPARC64]: Kill sun4v_register_fault_status() on SMP. That now gets done as a side effect of taking over the trap table from OBP. Signed-off-by: David S. Miller commit 50f4f23c3bd95afc82e931254a71e7b1b3699fd2 tree 5ed7cc71e1140a3a839c8d65ca95b755012d4bde parent 3af6e01e9acfb786c5dd2862f57f206b0b3cb889 author David S. Miller Tue, 14 Feb 2006 01:32:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:53 -0800 [SPARC64]: Fix gcc-3.3.x warnings. It doesn't like const variables being passed into "i" constraing asm operations. It's a bug, but there is nothing we can really do but work around it. Based upon a report from Andrew Morton. Signed-off-by: David S. Miller commit 3af6e01e9acfb786c5dd2862f57f206b0b3cb889 tree f3f2faf1746b797e33c6fc3e468da5d114197cdd parent c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e author David S. Miller Tue, 14 Feb 2006 00:55:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:52 -0800 [SPARC64]: arch/sparc64/kernel/trampoline.S needs asm/cpudata.h Signed-off-by: David S. Miller commit c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e tree 3d32f942cd0a62f6ca89fe7781f59708845d7a38 parent 4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 author David S. Miller Mon, 13 Feb 2006 22:56:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:51 -0800 [SPARC64]: Make error codes available from sun4v_intr_get*(). And check for errors at call sites. Signed-off-by: David S. Miller commit 4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 tree c74478f8d6c66d90629446444d1cfb55376934eb parent a615fea48be4eada94986d63e3e8ee5563121649 author David S. Miller Mon, 13 Feb 2006 22:37:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:50 -0800 [SPARC64]: Pass correct ino to sun4v_intr_*(). Signed-off-by: David S. Miller commit a615fea48be4eada94986d63e3e8ee5563121649 tree 3809861753726fe11232f64097356d2d910262e4 parent 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 author David S. Miller Mon, 13 Feb 2006 22:37:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:49 -0800 [SPARC64]: Use TRAP_LOAD_IRQ_WORK() in sun4v device mondo handler. Signed-off-by: David S. Miller commit 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 tree 530873917fefde54ab7a5a86f9027ebe70bdd966 parent 87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90 author David S. Miller Mon, 13 Feb 2006 21:50:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:48 -0800 [SPARC64]: Fix IOMMU mapping on sun4v. We should dynamically allocate the per-cpu pglist not use an in-kernel-image datum, since __pa() does not work on such addresses. Also, consistently use "u32" for devhandle. Signed-off-by: David S. Miller commit 87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90 tree 5080920b8b26fd2197d7a68320117d378c56fdc5 parent d5a2aa241aa0babf382d42d6033b30a5112e4c1e author David S. Miller Mon, 13 Feb 2006 21:36:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:47 -0800 [SPARC64]: Trim down sun4v IRQ translation kernel log message. Signed-off-by: David S. Miller commit d5a2aa241aa0babf382d42d6033b30a5112e4c1e tree 64b0ffb5b321827be583de8167f5f80f0befdb33 parent 5259d5bfaf5b2953b130e9a500277a905bd37823 author David S. Miller Mon, 13 Feb 2006 21:28:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:46 -0800 [SPARC64] sunhv: Bug fixes. Add udelay to polling console write loop, and increment the loop limit. Name the device "ttyHV" and pass that to add_preferred_console() when we're using hypervisor console. Kill sunhv_console_setup(), it's empty. Handle the case where we don't want to use hypervisor console. (ie. we have a head attached to a sun4v machine) Signed-off-by: David S. Miller commit 5259d5bfaf5b2953b130e9a500277a905bd37823 tree 3768df7a92c63a2eeec0d29aadca60ce57f36de7 parent f4266ab45a3f08bd76c2d414a2d7a1a9dc2501c0 author David S. Miller Mon, 13 Feb 2006 21:15:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:46 -0800 [SPARC64]: Fix comment typo in asm/hypervisor.h Signed-off-by: David S. Miller commit f4266ab45a3f08bd76c2d414a2d7a1a9dc2501c0 tree 637320d25c33e6ff5b71b9077143b8e54a1227d9 parent e77227eb4e17591a6a511b9c0ff6e8ad7350c575 author David S. Miller Mon, 13 Feb 2006 20:43:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:45 -0800 [SPARC64] sunhv: Use virtual-devices layer to get interrupt. Signed-off-by: David S. Miller commit e77227eb4e17591a6a511b9c0ff6e8ad7350c575 tree be8b7f13fd2ff0543879286b04045f6c3587dda3 parent d5eb4004303b4dd04ec83b926b5fc2d9ceda4b2e author David S. Miller Mon, 13 Feb 2006 20:42:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:44 -0800 [SPARC64]: Probe virtual-devices root node on sun4v. This is where we learn how to get the interrupts for things like the hypervisor console device. Signed-off-by: David S. Miller commit d5eb4004303b4dd04ec83b926b5fc2d9ceda4b2e tree 8d77d760af01722b7ce330a0f5a4d525554e0964 parent 1ddb7c98d44b898cfe0443c1e242cebfb0479d46 author David S. Miller Mon, 13 Feb 2006 20:41:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:43 -0800 [SPARC64]: Kill spurious semicolon in sun4v_pci_init(). Signed-off-by: David S. Miller commit 1ddb7c98d44b898cfe0443c1e242cebfb0479d46 tree 995bd63451677335e59d981c57e7369238afecb4 parent 10951ee61056a9f91c00c16746f2042672d7af7c author David S. Miller Mon, 13 Feb 2006 20:09:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:42 -0800 [SPARC64]: Prevent registering wrong serial console. If the console is not for a particular Sun serial controller, set the drv->cons to NULL. Signed-off-by: David S. Miller commit 10951ee61056a9f91c00c16746f2042672d7af7c tree ad95c289332c5a3ad82b262a736620ef8f16b406 parent e3999574b48125c9bb0c95e3e9f1c696bf96c3e3 author David S. Miller Mon, 13 Feb 2006 18:22:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:41 -0800 [SPARC64]: Program IRQ registers correctly on sun4v. Need to use hypervisor calls instead of direct register accesses. Signed-off-by: David S. Miller commit e3999574b48125c9bb0c95e3e9f1c696bf96c3e3 tree a6651da06fa36c3dde33a7be5f0b7192b8442cd7 parent 10804828fd06a43ce964e9d9852332e7ff1507b1 author David S. Miller Mon, 13 Feb 2006 18:16:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:40 -0800 [SPARC64]: Generic sun4v_build_irq(). Signed-off-by: David S. Miller commit 10804828fd06a43ce964e9d9852332e7ff1507b1 tree a932ff7ed2722f640dfbcfe1a84e94338cbcad0a parent bf941d6cd62aa2022f0887e25e3d02c389b0bf9b author David S. Miller Mon, 13 Feb 2006 18:09:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:39 -0800 [SPARC64]: More SUN4V PCI work. Get bus range from child of PCI controller root nexus. This is actually a hack, but the PCI-E bridge sitting at the top of the PCI tree responds to PCI config cycles for every device number, so best to just ignore it for now. Preliminary PCI irq routing, needs lots of work. Signed-off-by: David S. Miller commit bf941d6cd62aa2022f0887e25e3d02c389b0bf9b tree 56c8e87668d29ab96e0d84ba6aa5a62e64d9b827 parent 6c0f402f6cc62314ef83b975f3430350dcb6055f author David S. Miller Mon, 13 Feb 2006 18:07:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:38 -0800 [SPARC64]: Log faulting vaddr when bogus kernel PC detected. Signed-off-by: David S. Miller commit 6c0f402f6cc62314ef83b975f3430350dcb6055f tree 394a2e981ee8fff3e6eda7aec2d20be8542ecae1 parent 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 author David S. Miller Mon, 13 Feb 2006 00:23:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:37 -0800 [SPARC64]: Implement rest of generic interrupt hypervisor calls. Signed-off-by: David S. Miller commit 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 tree 28038115f626e5c84bb50ad9ff5eed5dc943fcde parent 059833eb817fec3a5a7f62fba9592749c4cebc73 author David S. Miller Mon, 13 Feb 2006 00:02:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:36 -0800 [SPARC64]: Move devino_to_sysino out of pci_sun4v_asm.S It is not PCI specific, it is for all system interrupts. Signed-off-by: David S. Miller commit 059833eb817fec3a5a7f62fba9592749c4cebc73 tree 5de088b9200956458ca83afe33335d6ea87c63d6 parent 0b522497a176f222ae4cf7e6733a5357352224b2 author David S. Miller Sun, 12 Feb 2006 23:49:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:36 -0800 [SPARC64]: Range check bus number in SUN4V PCI controller driver. It has to be somewhere in the range from pbm->pci_first_busno to pbm->pci_last_busno, inclusive. Signed-off-by: David S. Miller commit 0b522497a176f222ae4cf7e6733a5357352224b2 tree a65db8c8c97e8f8e760f802dc3a59c38765a7517 parent c26092675020ff495a16dd635bf1733215325540 author David S. Miller Sun, 12 Feb 2006 22:29:36 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:35 -0800 [SPARC64]: Missing 'return' statement in sun4v_pci_init(). Signed-off-by: David S. Miller commit c26092675020ff495a16dd635bf1733215325540 tree aabc5144263f0fff7350a84c35aa2a522a7e1b2f parent 3833789bb2e15eb85fad296d8fb40f1437925645 author David S. Miller Sun, 12 Feb 2006 22:18:52 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:34 -0800 [SPARC64]: Implement basic pci_sun4v_scan_bus(). Signed-off-by: David S. Miller commit 3833789bb2e15eb85fad296d8fb40f1437925645 tree 31304e25c2d7c9c5f06b0bc74a5f4e9578de904c parent cf627156c450cd5a0741b31f55181db3400d4887 author David S. Miller Sun, 12 Feb 2006 22:06:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:33 -0800 [SPARC64]: PCI-SUN4V fixes. Clear top 8-bits of physical addresses in "ranges" property. This gives the actual physical address. Detect PBM-A vs. PBM-B by checking bit 0x40 of the devhandle. Signed-off-by: David S. Miller commit cf627156c450cd5a0741b31f55181db3400d4887 tree e8f44d2509f5544ee5b5d583da3e10ac99ca3629 parent ff02e0d26f139ad95ec3a7e94f88faccaa180dff author David S. Miller Sun, 12 Feb 2006 21:10:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:32 -0800 [SPARC64]: Use inline patching for critical PTE operations. This handles the SUN4U vs SUN4V PTE layout differences with near zero performance cost. Signed-off-by: David S. Miller commit ff02e0d26f139ad95ec3a7e94f88faccaa180dff tree 7a872c9792561c77c672ba640b80134c592d93c7 parent 221b2fb818c307e1cb47e036a1671ca554d9cd0a author David S. Miller Sun, 12 Feb 2006 17:07:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:31 -0800 [SPARC64]: Move PTE field definitions back into asm/pgtable.h Signed-off-by: David S. Miller commit 221b2fb818c307e1cb47e036a1671ca554d9cd0a tree 8272df9706662098fce37984e9ea0e06ee5922ab parent 6241e5cc6afe2c5b75b51e1c890df18f05838cf6 author David S. Miller Sat, 11 Feb 2006 23:38:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:30 -0800 [SPARC64]: Don't expect cfg space in PCI PBM ranges on SUN4V. PCI cfg space is accessed transparently through the Hypervisor and not through direct cpu PIO operations. Signed-off-by: David S. Miller commit 6241e5cc6afe2c5b75b51e1c890df18f05838cf6 tree 557eb4d7f530b9229a87c0a8d9f6013b9987f6f5 parent 1a7a242c898dd131f2df005c492e9b44fb8900e0 author David S. Miller Sat, 11 Feb 2006 23:28:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:29 -0800 [SPARC64]: Fix branch signedness bug in all code patching. The bug that hit SUN4V TLB patching exists elsewhere. Make sure we cure all such cases. Signed-off-by: David S. Miller commit 1a7a242c898dd131f2df005c492e9b44fb8900e0 tree 5f00961b9c6539951adda7bfaafda030cea39c38 parent 02fead75055246d01af56a45a9d1b311d506da3e author David S. Miller Sat, 11 Feb 2006 23:24:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:28 -0800 [SPARC64]: Recognize "virtual-console" as input and output console device. Signed-off-by: David S. Miller commit 02fead75055246d01af56a45a9d1b311d506da3e tree 66d66532514e2a58a42d15fd6ba5c3d3c200b7c0 parent 7aa6264543f19ceea9b5f386242917296d63be05 author David S. Miller Sat, 11 Feb 2006 23:22:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:27 -0800 [SPARC64]: Do not try to synchronize %stick registers on SUN4V. Writes by privileged code are not allowed. Signed-off-by: David S. Miller commit 7aa6264543f19ceea9b5f386242917296d63be05 tree ca0639f3777fa5a7b553097535fcf505647f6701 parent b5a37e96b8dc067b979e44c4e109c9bc49c2f4d8 author David S. Miller Sat, 11 Feb 2006 23:14:59 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:27 -0800 [SPARC64]: Do not try to write to %tick or %stick on SUN4V. Writes by privileged code are disallowed. The hypervisor manages the non-privileged bit. Signed-off-by: David S. Miller commit b5a37e96b8dc067b979e44c4e109c9bc49c2f4d8 tree 2dcb1bf2927598c2fe9064f82174d7ecd445341a parent c4bce90ea2069e5a87beac806de3090ab32128d5 author David S. Miller Sat, 11 Feb 2006 23:07:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:26 -0800 [SPARC64]: Fix mondo queue allocations. We have to use bootmem during init_IRQ and page alloc for sibling cpu calls. Also, fix incorrect hypervisor call return value checks in the hypervisor SMP cpu mondo send code. Signed-off-by: David S. Miller commit c4bce90ea2069e5a87beac806de3090ab32128d5 tree 3983a206c8060ef65ba17945d1c9f69e68d88b3d parent 490384e752a43aa281ed533e9de2da36df25c337 author David S. Miller Sat, 11 Feb 2006 21:57:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:25 -0800 [SPARC64]: Deal with PTE layout differences in SUN4V. Yes, you heard it right, they changed the PTE layout for SUN4V. Ho hum... This is the simple and inefficient way to support this. It'll get optimized, don't worry. Signed-off-by: David S. Miller commit 490384e752a43aa281ed533e9de2da36df25c337 tree ec087a27a481b9a63aeda6703971acf4adeab19b parent 459b6e621e0e15315c25bac47fa7113e5818d45d author David S. Miller Sat, 11 Feb 2006 14:41:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:23 -0800 [SPARC64]: Register kernel TSB with hypervisor. We do this right after we take over the trap table from OBP. Signed-off-by: David S. Miller commit 459b6e621e0e15315c25bac47fa7113e5818d45d tree 4bbff0ec1dafb7fba8b247c84ad708f54cc687fe parent fd05068d7b22b64211f9202aa67ad44b51d44242 author David S. Miller Sat, 11 Feb 2006 12:21:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:23 -0800 [SPARC64]: Fix some SUN4V TLB miss bugs. Code patching did not sign extend negative branch offsets correctly. Kernel TLB miss path needs patching and %g4 register preservation in order to handle SUN4V correctly. Signed-off-by: David S. Miller commit fd05068d7b22b64211f9202aa67ad44b51d44242 tree f9b5ce3df021fc8775b6f6ed83f03af18ce0a004 parent 6cebb52094baddd4c167bb5100a7cf6f7bee6910 author David S. Miller Sat, 11 Feb 2006 11:05:52 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:22 -0800 [SPARC64]: Fix typo in sun4v_patch(). Second instruction offset is '4' not '3'. Signed-off-by: David S. Miller commit 6cebb52094baddd4c167bb5100a7cf6f7bee6910 tree 5fef397fbb773f7d8aa40aecc303d18ddf88803e parent 0d4bc95b9c205a7374afbe93b38d9c2757a45862 author David S. Miller Sat, 11 Feb 2006 10:56:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:21 -0800 [SPARC64]: Fix sun4v early bootup. prom_sun4v_name should be "sun4v" not "SUNW,sun4v" Also, this is too early to make use of the .sun4v_Xinsn_patch code patching, so just check things manually. This gets us at least to prom_init() on Niagara. Signed-off-by: David S. Miller commit 0d4bc95b9c205a7374afbe93b38d9c2757a45862 tree e43b03a266da9786355941246b77f30058e7058d parent e92b92571c85dfa1cdc56e88566134c51ae1d12b author David S. Miller Sat, 11 Feb 2006 10:30:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:20 -0800 [SPARC64]: Fix some Niagara memcpy() bugs. We need to restore the %asi register properly. For the kernel this means get_fs(), for user this means ASI_PNF. Also, NGcopy_to_user.S was including U3memcpy.S instead of NGmemcpy.S, oops :-) Signed-off-by: David S. Miller commit e92b92571c85dfa1cdc56e88566134c51ae1d12b tree fdd2bda36e563ea4df9c3f24dc5a3f330d50875c parent 02fd473bd4844befc74f7ca67cd60891e0a2d890 author David S. Miller Sat, 11 Feb 2006 10:19:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:19 -0800 [SPARC64]: Handle hypervisor case correctly in copy_tsb(). Signed-off-by: David S. Miller commit 02fd473bd4844befc74f7ca67cd60891e0a2d890 tree 4c338418dcfdd73c88d3ca8e969944be42cde60e parent 4bdff41464c2954c6f62f849df0e73eb9fa21c65 author David S. Miller Sat, 11 Feb 2006 02:25:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:18 -0800 [SPARC64]: Add SUN4V Hypervisor Console driver. Since it can do things like BREAK and HUP, we implement this as a serial uart driver. This still needs interrupt probing code, as I haven't figured out how interrupts will work or be probed for on SUN4V yet. Signed-off-by: David S. Miller commit 4bdff41464c2954c6f62f849df0e73eb9fa21c65 tree 781d3d844f87cf66b780874c367852af20ca9acc parent 36a68e77c554f1ef1c206fd618e6daf82d3e38a3 author David S. Miller Sat, 11 Feb 2006 01:01:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:17 -0800 [SPARC64]: Fetch bootup time of day from Hypervisor. Signed-off-by: David S. Miller commit 36a68e77c554f1ef1c206fd618e6daf82d3e38a3 tree 59a4591b76ef18e54b5b1b2687268e0dd6bb69ef parent 12eaa328f9fb2d3fcb5afb682c762690d05a3cd8 author David S. Miller Sat, 11 Feb 2006 00:29:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:16 -0800 [SPARC64]: Simplify sun4v TLB handling using macros. There was also a bug in sun4v_itlb_miss, it loaded the MMU Fault Status base into %g3 instead of %g2. This pointed out a fast path for TSB miss processing, since we have %g2 with the MMU Fault Status base, we can use that to quickly load up the PGD phys address. Signed-off-by: David S. Miller commit 12eaa328f9fb2d3fcb5afb682c762690d05a3cd8 tree cce4e68b971757010a3e0bbf035fc65a381a3cd4 parent 18397944642cbca7fcd4a109b43ed5b4652e95b9 author David S. Miller Fri, 10 Feb 2006 15:39:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:15 -0800 [SPARC64]: Use ASI_SCRATCHPAD address 0x0 properly. This is where the virtual address of the fault status area belongs. To set it up we don't make a hypervisor call, instead we call OBP's SUNW,set-trap-table with the real address of the fault status area as the second argument. And right before that call we write the virtual address into ASI_SCRATCHPAD vaddr 0x0. Signed-off-by: David S. Miller commit 18397944642cbca7fcd4a109b43ed5b4652e95b9 tree 6848d3e67b789b30064f488bd3273ed5ebee4f99 parent 164c220fa3947abbada65329d168f421b461a2a7 author David S. Miller Fri, 10 Feb 2006 00:08:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:15 -0800 [SPARC64]: First cut at SUN4V PCI IOMMU handling. Signed-off-by: David S. Miller commit 164c220fa3947abbada65329d168f421b461a2a7 tree 1a10418ccf896f1f9209c2206bedf87915b63bfd parent dedacf623283cb24933ec9f7d5bf539f19173cd4 author David S. Miller Thu, 09 Feb 2006 22:57:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:14 -0800 [SPARC64]: Fix hypervisor call arg passing. Function goes in %o5, args go in %o0 --> %o5. Signed-off-by: David S. Miller commit dedacf623283cb24933ec9f7d5bf539f19173cd4 tree e628dffa192236c89e3d646eb62c49ef1c98aab4 parent 7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd author David S. Miller Thu, 09 Feb 2006 22:26:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:13 -0800 [SPARC64]: Add HV_PCI_TSBID() macro. For constructing hypervisor PCI TSB IDs. Signed-off-by: David S. Miller commit 7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd tree bc308c82a5670163470b44b6f339d1b379a97347 parent bade5622167181844cd4e60087971c1f949e149f author David S. Miller Thu, 09 Feb 2006 22:20:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:12 -0800 [SPARC64]: Implement SUN4V PCI config space access. Signed-off-by: David S. Miller commit bade5622167181844cd4e60087971c1f949e149f tree 0bd0144e472786f8ba5b37a2bb90204ff6bf204b parent 8f6a93a196ba6c569c3e8daa6e81cca7e3ba81b1 author David S. Miller Thu, 09 Feb 2006 22:05:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:11 -0800 [SPARC64]: More SUN4V PCI controller work. Add assembler file for PCI hypervisor calls. Setup basic skeleton of SUN4V PCI controller driver. Add 32-bit devhandle to PBM struct, as this is needed for hypervisor calls. Signed-off-by: David S. Miller commit 8f6a93a196ba6c569c3e8daa6e81cca7e3ba81b1 tree 80d4747608148c56fd8c67baf016ad4fc58610ea parent 4cce4b7cc56abc3d7b269d09224b8297aad15138 author David S. Miller Thu, 09 Feb 2006 21:32:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:10 -0800 [SPARC64]: Beginnings of SUN4V PCI controller support. Abstract out IOMMU operations so that we can have a different set of calls on sun4v, which needs to do things through hypervisor calls. Signed-off-by: David S. Miller commit 4cce4b7cc56abc3d7b269d09224b8297aad15138 tree 69e0f38ef8e9be4328d0098dee1a86a665f8dad7 parent 5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd author David S. Miller Thu, 09 Feb 2006 20:46:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:09 -0800 [SPARC64]: Fetch cpu mid properly on sun4v. If there is a "cpuid" property, use that. Else suck it out of the top bits of the "reg" property. Signed-off-by: David S. Miller commit 5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd tree 3a5d3ec9a752a7996f8e9060710fee322f2d5214 parent ed6b0b45437dcf7ef1c48b3be413bebcc84771d8 author David S. Miller Thu, 09 Feb 2006 20:45:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:08 -0800 [SPARC]: Clean up idprom header files. Delete unused macros, and use fixed sized types in sparc32 header. Signed-off-by: David S. Miller commit ed6b0b45437dcf7ef1c48b3be413bebcc84771d8 tree e52dbcebe1435f9d2957b55c100824cb7b8b1f98 parent 618e9ed98aed924a1fc664eb6522db4a5e927043 author David S. Miller Thu, 09 Feb 2006 20:20:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:07 -0800 [SPARC64]: SUN4V memory exception trap handlers. Signed-off-by: David S. Miller commit 618e9ed98aed924a1fc664eb6522db4a5e927043 tree 08ace6185b8f9709cb22a23d329def1dae622666 parent aa9143b9719c07fb6f1f6207790c9c5086ae07e7 author David S. Miller Thu, 09 Feb 2006 17:21:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:06 -0800 [SPARC64]: Hypervisor TSB context switching. Signed-off-by: David S. Miller commit aa9143b9719c07fb6f1f6207790c9c5086ae07e7 tree 74d56ecc53ed0542f200d6c6257c8f051095111c parent 12816ab38adddc9d7e9b3315d1739655dedc7c9f author David S. Miller Thu, 09 Feb 2006 16:12:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:05 -0800 [SPARC64]: Implement sun4v TSB miss handlers. When we register a TSB with the hypervisor, so that it or hardware can handle TLB misses and do the TSB walk for us, the hypervisor traps down to these trap when it incurs a TSB miss. Processing is simple, we load the missing virtual address and context, and do a full page table walk. Signed-off-by: David S. Miller commit 12816ab38adddc9d7e9b3315d1739655dedc7c9f tree cec4253a99fa61e5a96f82039499442049a3e8ed parent 3a8c069d0eea936c2fe3637ab62967af31555ee9 author David S. Miller Thu, 09 Feb 2006 03:00:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:05 -0800 [SPARC64]: kernel/cpu.c needs asm/spitfire.h For 'tlb_type'. Signed-off-by: David S. Miller commit 3a8c069d0eea936c2fe3637ab62967af31555ee9 tree cd8c749c11a8830520c95178d7520f1dd9718b5a parent d82ace7dc4073b090a55b9740700e32b9a9ae302 author David S. Miller Thu, 09 Feb 2006 02:54:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:04 -0800 [SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor. Signed-off-by: David S. Miller commit d82ace7dc4073b090a55b9740700e32b9a9ae302 tree d5aa8e10664b05bbfe31eacf95e2066c03cab102 parent 1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 author David S. Miller Thu, 09 Feb 2006 02:52:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:03 -0800 [SPARC64]: Detect sun4v early in boot process. We look for "SUNW,sun4v" in the 'compatible' property of the root OBP device tree node. Protect every %ver register access, to make sure it is not touched on sun4v, as %ver is hyperprivileged there. Lock kernel TLB entries using hypervisor calls instead of calls into OBP. Signed-off-by: David S. Miller commit 1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 tree 2fcc0840b52218631020311d7b6d785e9a15db6a parent 5b0c0572fcd6204675c5f7ddfa572b5017f817dd author David S. Miller Wed, 08 Feb 2006 16:41:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:02 -0800 [SPARC64]: Sun4v cross-call sending support. Technically the hypervisor call supports sending in a list of all cpus to get the cross-call, but I only pass in one cpu at a time for now. The multi-cpu support is there, just ifdef'd out so it's easy to enable or delete it later. Signed-off-by: David S. Miller commit 5b0c0572fcd6204675c5f7ddfa572b5017f817dd tree 1075a61338e887bd6d4ecd4517646ef95dc09fbc parent ac29c11d4cd4fa1fac968e99998a956405732f2f author David S. Miller Wed, 08 Feb 2006 02:53:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:01 -0800 [SPARC64]: Sun4v interrupt handling. Sun4v has 4 interrupt queues: cpu, device, resumable errors, and non-resumable errors. A set of head/tail offset pointers help maintain a work queue in physical memory. The entries are 64-bytes in size. Each queue is allocated then registered with the hypervisor as we bring cpus up. The two error queues each get a kernel side buffer that we use to quickly empty the main interrupt queue before we call up to C code to log the event and possibly take evasive action. Signed-off-by: David S. Miller commit ac29c11d4cd4fa1fac968e99998a956405732f2f tree cc733e3bd63af7b35a50d11455b7d5b2fc9ff1e9 parent e088ad7ca3d09c96e63f1ce411a2ccba2688bf25 author David S. Miller Wed, 08 Feb 2006 00:08:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:00 -0800 [SPARC64]: Allocate and register the 4 sun4v mondo queues at bootup. Needs to occur before we enable PSTATE_IE in %pstate. Signed-off-by: David S. Miller commit e088ad7ca3d09c96e63f1ce411a2ccba2688bf25 tree 43156b5b25c0b91d56fbcb959e1744966880057d parent 7202c55c5c57d2ad4611a751544c9368d7fba93a author David S. Miller Tue, 07 Feb 2006 23:51:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:59 -0800 [SPARC64]: Verify all trap_per_cpu assembler offsets in trap_init() Signed-off-by: David S. Miller commit 7202c55c5c57d2ad4611a751544c9368d7fba93a tree 282219004791550b35f7de50d449d96f396be8f6 parent 3bfd6f3e77f58479ec53aa91d0b078abbb4c0868 author David S. Miller Tue, 07 Feb 2006 22:53:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:58 -0800 [SPARC64]: Add sun4v mondo queue bases to struct trap_per_cpu. Also, correct TRAP_PER_CPU_FAULT_INFO define, it should be 0x40 not 0x20. Signed-off-by: David S. Miller commit 3bfd6f3e77f58479ec53aa91d0b078abbb4c0868 tree 1ec49afc137feed4e70b1be7728920165e90b838 parent 8b11bd12aff76e02cdc2cbc9e439bba88d281223 author David S. Miller Tue, 07 Feb 2006 22:49:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:57 -0800 [SPARC64]: Fix some comment typos in asm/hypervisor.h Signed-off-by: David S. Miller commit 8b11bd12aff76e02cdc2cbc9e439bba88d281223 tree 903ab8830616bfbe5a821e4359f642842c8060a4 parent 481295f982b21b1dbe71cbf41d3a93028fee30d1 author David S. Miller Tue, 07 Feb 2006 22:13:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:56 -0800 [SPARC64]: Patch up mmu context register writes for sun4v. sun4v uses ASI_MMU instead of ASI_DMMU Signed-off-by: David S. Miller commit 481295f982b21b1dbe71cbf41d3a93028fee30d1 tree 5b1af84a7f83021698bcf138c8875d7290e65282 parent 89a5264f065672a882f555228000614a6b2182b7 author David S. Miller Tue, 07 Feb 2006 21:51:08 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:55 -0800 [SPARC64]: Register per-cpu fault status area with sun4v hypervisor. Signed-off-by: David S. Miller commit 89a5264f065672a882f555228000614a6b2182b7 tree 4fa226fed4b8119096e50ff8c915d2c0f8d6cd6d parent 8591e3027235d6d11b958e43379f2ee7b7114841 author David S. Miller Tue, 07 Feb 2006 21:15:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:55 -0800 [SPARC64]: asm/cpudata.h needs asm/asi.h For the expansion of __GET_CPUID() on SMP. Signed-off-by: David S. Miller commit 8591e3027235d6d11b958e43379f2ee7b7114841 tree ce3f036ac64e20f7d75bae04e5362c97bc9228e6 parent df7d6aec96ab98cb182dd5138a85bdc363a9bf0d author David S. Miller Tue, 07 Feb 2006 16:09:12 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:54 -0800 [SPARC64]: Niagara copy/clear page. Happily we have no D-cache aliasing issues on these chips, so the implementation is very straightforward. Add a stub in bootup which will be where the patching calls will be made for niagara/sun4v/hypervisor. Signed-off-by: David S. Miller commit df7d6aec96ab98cb182dd5138a85bdc363a9bf0d tree d71808a328639a32b16c53b24ce8a6b641f43ad2 parent d257d5da39a78b32721ca84b2ba7f461f2f7ed7f author David S. Miller Tue, 07 Feb 2006 00:00:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:53 -0800 [SPARC64]: Rename gl_{1,2}insn_patch --> sun4v_{1,2}insn_patch Signed-off-by: David S. Miller commit d257d5da39a78b32721ca84b2ba7f461f2f7ed7f tree ac28d377688ebe13a4d38e05f4ff65ba73d8652a parent 840aaef8db32572b6d11e0d5cb5e6efcbc812000 author David S. Miller Mon, 06 Feb 2006 23:44:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:52 -0800 [SPARC64]: Initial sun4v TLB miss handling infrastructure. Things are a little tricky because, unlike sun4u, we have to: 1) do a hypervisor trap to do the TLB load. 2) do the TSB lookup calculations by hand Signed-off-by: David S. Miller commit 840aaef8db32572b6d11e0d5cb5e6efcbc812000 tree af8b8364f314d9d71c5ae81ffb48b46c53c6ae6c parent 45fec05f805a113372c9a7ff4c653ac749f6921c author David S. Miller Mon, 06 Feb 2006 15:52:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:51 -0800 [SPARC64]: Add missing memory barriers to instruction patching functions. V9 requires a write memory barrier before the instruction flush. Signed-off-by: David S. Miller commit 45fec05f805a113372c9a7ff4c653ac749f6921c tree 36fc99d10656775acb8e9442719447d64ac30a03 parent 314981ac7177a933319e3c071a5cf0a579205e6e author David S. Miller Sun, 05 Feb 2006 22:27:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:50 -0800 [SPARC64]: Sanitize %pstate writes for sun4v. If we're just switching between different alternate global sets, nop it out on sun4v. Also, get rid of all of the alternate global save/restore in the OBP CIF trampoline code. Signed-off-by: David S. Miller commit 314981ac7177a933319e3c071a5cf0a579205e6e tree 11895da391ba91195d6d7a67debaa32a28c1215e parent 936f482af1743141d637483ec10eb881537c26dc author David S. Miller Sun, 05 Feb 2006 21:59:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:49 -0800 [SPARC64]: Kill all %pstate changes in context switch code. They are totally unnecessary because: 1) Interrupts are already disabled when switch_to() runs. 2) We don't use hard-coded alternate globals any longer. This found a case in rtrap, which still assumed alternate global %g6 was current_thread_info(), and that is fixed by this changeset as well. Signed-off-by: David S. Miller commit 936f482af1743141d637483ec10eb881537c26dc tree 913da89a4d9f4038c510c9ecf2f5957b0f6d167f parent 6e02493a7f33ac89e698b980a657d77ab2749eaf author David S. Miller Sun, 05 Feb 2006 21:29:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:48 -0800 [SPARC64]: Add initial code to twiddle %gl on trap entry/exit. Instead of setting/clearing PSTATE_AG we have to change the %gl register value on sun4v. Signed-off-by: David S. Miller commit 6e02493a7f33ac89e698b980a657d77ab2749eaf tree fcb6a17c2222a1aa601faf95a50a92b7a7a9224a parent d619d7f11670f5b1cfca30e6645e44c8a6014820 author David S. Miller Sun, 05 Feb 2006 20:47:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:47 -0800 [SPARC64]: Fill dead cycles on trap entry with real work. As we save trap state onto the stack, the store buffer fills up mid-way through and we stall for several cycles as the store buffer trickles out to the L2 cache. Meanwhile we can do some privileged register reads and other calculations, essentially for free. Signed-off-by: David S. Miller commit d619d7f11670f5b1cfca30e6645e44c8a6014820 tree cad4f39ece5f59f2a16327a13e25863d2f466f14 parent d96b81533ba3d5775e45aee6986b2aa33c10801c author David S. Miller Sat, 04 Feb 2006 23:59:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:46 -0800 [SPARC64]: Add define for "GL" field of sun4v %tstate register. Signed-off-by: David S. Miller commit d96b81533ba3d5775e45aee6986b2aa33c10801c tree 334af39452d650cc14b389c58a30cc54e9e130dd parent e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 author David S. Miller Sat, 04 Feb 2006 15:40:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:45 -0800 [SPARC64]: Add sun4v case to __GET_CPUID() patch tables. Signed-off-by: David S. Miller commit e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 tree 830ae146cd0cf807d949b09641ec8e82c6ed8149 parent 277b6dd9600613b01f66cadef2f0065514fecf69 author David S. Miller Sat, 04 Feb 2006 03:12:14 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:44 -0800 [SPARC64]: Sun4v interrupt queue register definitions. Signed-off-by: David S. Miller commit 277b6dd9600613b01f66cadef2f0065514fecf69 tree f9e9f42f05b3204fe17778a999fecd9fa63b1e7e parent d398ee230f94a8ba386d8abb63f4fea129e4eaba author David S. Miller Sat, 04 Feb 2006 03:12:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:44 -0800 [SPARC64]: Sun4v scratchpad register layout. Signed-off-by: David S. Miller commit d398ee230f94a8ba386d8abb63f4fea129e4eaba tree bcad4a48333ddbdd04f890d7136c0e3efb829cec parent 398d10830843bda7798f71052b54a5341a8ddd53 author David S. Miller Sat, 04 Feb 2006 03:11:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:43 -0800 [SPARC64]: Sun4v specific ASI defines. Signed-off-by: David S. Miller commit 398d10830843bda7798f71052b54a5341a8ddd53 tree 3c2f7da709f2f5e21fe3e5678276eae2d665735f parent 30ddbdb03339fc62480ddbff800a44066bb14455 author David S. Miller Sun, 05 Mar 2006 16:41:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:42 -0800 [SPARC64]: Niagara optimized memcpy() and copy_{to,from}_user(). Signed-off-by: David S. Miller commit 30ddbdb03339fc62480ddbff800a44066bb14455 tree 6d064ae396014418601acd8fc678463750f2bffa parent a43fe0e789f5445f5224511034f410adf11f153b author David S. Miller Sat, 04 Feb 2006 03:11:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:41 -0800 [SPARC64]: Add Niagara init-store twin-load ASI defines. Signed-off-by: David S. Miller commit a43fe0e789f5445f5224511034f410adf11f153b tree cface7b6e616be616899da8c0762f904263c5985 parent 1633a53c79498455b16d051451f4e3f83ab4e7dd author David S. Miller Sat, 04 Feb 2006 03:10:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:40 -0800 [SPARC64]: Add some hypervisor tlb_type checks. And more consistently check cheetah{,_plus} instead of assuming anything not spitfire is cheetah{,_plus}. Signed-off-by: David S. Miller commit 1633a53c79498455b16d051451f4e3f83ab4e7dd tree 3f28700c60a0464879833a6d76875f387388e20c parent 52bf082f0a6e49e08ed99d4d9518c662dc735c7a author David S. Miller Sat, 04 Feb 2006 03:09:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:39 -0800 [SPARC64]: Add 'hypervisor' to ultra_tlb_type enumeration. Signed-off-by: David S. Miller commit 52bf082f0a6e49e08ed99d4d9518c662dc735c7a tree 7d6a27ea0ed9d66810952999cfa19afb4de66616 parent 766f861fbbd968a1850295ed6dec4504b4500dcc author David S. Miller Sat, 04 Feb 2006 03:08:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:38 -0800 [SPARC64]: SUN4V hypervisor TLB flush support code. Signed-off-by: David S. Miller commit 766f861fbbd968a1850295ed6dec4504b4500dcc tree 76729285f448b58c812469b1bddf64f92e9f8d6e parent 314ef6859750b6539eac48d78059bb7986f29cb1 author David S. Miller Sat, 04 Feb 2006 03:01:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:37 -0800 [SPARC64]: SUN4V hypervisor interface defines. Signed-off-by: David S. Miller commit 314ef6859750b6539eac48d78059bb7986f29cb1 tree 26c7da386349c1cf377225356e1012ae62da6f07 parent ffe483d55229fadbaf4cc7316d47024a24ecd1a2 author David S. Miller Sat, 04 Feb 2006 00:10:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:36 -0800 [SPARC64]: Refine register window trap handling. When saving and restoing trap state, do the window spill/fill handling inline so that we never trap deeper than 2 trap levels. This is important for chips like Niagara. The window fixup code is massively simplified, and many more improvements are now possible. Signed-off-by: David S. Miller commit ffe483d55229fadbaf4cc7316d47024a24ecd1a2 tree 70bdb6c94d5b3512a7b2a3ff06979ac2e4e869bf parent 92704a1c63c3b481870d02636d0b5a70c7e21cd1 author David S. Miller Thu, 02 Feb 2006 21:55:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:35 -0800 [SPARC64]: Add explicit register args to trap state loading macros. This, as well as making the code cleaner, allows a simplification in the TSB miss handling path. Signed-off-by: David S. Miller commit 92704a1c63c3b481870d02636d0b5a70c7e21cd1 tree 098f96da6ab50a1d878425e2b91a9cf22f78ac80 parent f4e841da30b4bcbb8f1cc20a01157a788ff58b21 author David S. Miller Sun, 26 Feb 2006 23:27:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:35 -0800 [SPARC64]: Refine code sequences to get the cpu id. On uniprocessor, it's always zero for optimize that. On SMP, the jmpl to the stub kills the return address stack in the cpu branch prediction logic, so expand the code sequence inline and use a code patching section to fix things up. This also always better and explicit register selection, which will be taken advantage of in a future changeset. The hard_smp_processor_id() function is big, so do not inline it. Fix up tests for Jalapeno to also test for Serrano chips too. These tests want "jbus Ultra-IIIi" cases to match, so that is what we should test for. Signed-off-by: David S. Miller commit f4e841da30b4bcbb8f1cc20a01157a788ff58b21 tree 8f145f6902b694402ce6291a493caf3a2348717e parent 7bec08e38a7d0f088994f6eec9b6374652ea71fb author David S. Miller Thu, 02 Feb 2006 16:16:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:34 -0800 [SPARC64]: Turn off TSB growing for now. There are several tricky races involved with growing the TSB. So just use base-size TSBs for user contexts and we can revisit enabling this later. One part of the SMP problems is that tsb_context_switch() can see partially updated TSB configuration state if tsb_grow() is running in parallel. That's easily solved with a seqlock taken as a writer by tsb_grow() and taken as a reader to capture all the TSB config state in tsb_context_switch(). Then there is flush_tsb_user() running in parallel with a tsb_grow(). In theory we could take the seqlock as a reader there too, and just resample the TSB pointer and reflush but that looks really ugly. Lastly, I believe there is a case with threads that results in a TSB entry lock bit being set spuriously which will cause the next access to that TSB entry to wedge the cpu (since the TSB entry lock bit will never clear). It's either copy_tsb() or some bug elsewhere in the TSB assembly. Signed-off-by: David S. Miller commit 7bec08e38a7d0f088994f6eec9b6374652ea71fb tree df0c24e8417d08aff3d3de7d9dc7b13c4e05931b parent 517af33237ecfc3c8a93b335365fa61e741ceca4 author David S. Miller Thu, 02 Feb 2006 01:20:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:33 -0800 [SPARC64]: Correctable ECC errors cannot occur at trap level > 0. The are distrupting, which by the sparc v9 definition means they can only occur when interrupts are enabled in the %pstate register. This never occurs in any of the trap handling code running at trap levels > 0. So just mark it as an unexpected trap. This allows us to kill off the cee_stuff member of struct thread_info. Signed-off-by: David S. Miller commit 517af33237ecfc3c8a93b335365fa61e741ceca4 tree 58eff40eb4c517c4fd49fd347d38273ee1e1ee4b parent b0fd4e49aea8a460afab7bc67cd618e2d19291d4 author David S. Miller Wed, 01 Feb 2006 15:55:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:32 -0800 [SPARC64]: Access TSB with physical addresses when possible. This way we don't need to lock the TSB into the TLB. The trick is that every TSB load/store is registered into a special instruction patch section. The default uses virtual addresses, and the patch instructions use physical address load/stores. We can't do this on all chips because only cheetah+ and later have the physical variant of the atomic quad load. Signed-off-by: David S. Miller commit b0fd4e49aea8a460afab7bc67cd618e2d19291d4 tree a596c793cbc918bdcea462bcfe2f2f41fe8afeb2 parent 30a6ecad9670d97c9d0fbfa7d80970aeb339bdec author David S. Miller Tue, 31 Jan 2006 23:13:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:31 -0800 [SPARC64]: Kill out-of-date commentary in asm-sparc64/tsb.h Signed-off-by: David S. Miller commit 30a6ecad9670d97c9d0fbfa7d80970aeb339bdec tree 37f3b37871f23a8fb4fcb14527c68a49a7e1c270 parent 86b818687d4894063ecd1190e54717a0cce8c009 author David S. Miller Tue, 31 Jan 2006 18:35:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:30 -0800 [SPARC64]: Don't clobber alt-global %g4 on window fixups. If we are returning back to kernel mode, %g4 could be live (for example, in the case where we window spill in the etrap code). So do not change it's value if going back to kernel. Signed-off-by: David S. Miller commit 86b818687d4894063ecd1190e54717a0cce8c009 tree d2951295358502c88f7fe0c02517d729cff4eb9a parent 9954863975910a1b9372b7d5006a6cba43bdd288 author David S. Miller Tue, 31 Jan 2006 18:34:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:29 -0800 [SPARC64]: Fix race in LOAD_PER_CPU_BASE() Since we use %g5 itself as a temporary, it can get clobbered if we take an interrupt mid-stream and thus cause end up with the final %g5 value too early as a result of rtrap processing. Set %g5 at the very end, atomically, to avoid this problem. Signed-off-by: David S. Miller commit 9954863975910a1b9372b7d5006a6cba43bdd288 tree 0a6d088d67e0a75ed6a15590c9811e1d6fa75576 parent 9bc657b28eba22e36efcdf3afa08100f92971eb4 author David S. Miller Tue, 31 Jan 2006 18:34:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:28 -0800 [SPARC64]: Kill swapper_pgd_zero, totally unused. Signed-off-by: David S. Miller commit 9bc657b28eba22e36efcdf3afa08100f92971eb4 tree d04a21e01a1795a6ea5be550ad96b6a4a3945375 parent 764afe2edb834930050313459cef9f1ae2656750 author David S. Miller Tue, 31 Jan 2006 18:34:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:27 -0800 [SPARC64]: Fix too early reference to %g6 %g6 is not necessarily set to current_thread_info() at sparc64_realfault_common. So store the fault code and address after we invoke etrap and %g6 is properly set up. Signed-off-by: David S. Miller commit 764afe2edb834930050313459cef9f1ae2656750 tree ae2b590286be88335430a3eb3e6e7208fbaf80e4 parent 2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 author David S. Miller Tue, 31 Jan 2006 18:34:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:26 -0800 [SPARC64]: Kill hard-coded %pstate setting in sparc_exit. Just flip the bit off of whatever it's currently set to. PSTATE_IE is guarenteed to be enabled when we get here. Signed-off-by: David S. Miller commit 2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 tree c0539482cecfd3cbc0b983a23058315811dc8b55 parent a8b900d801697609d1b56cc9c110148c64678068 author David S. Miller Tue, 31 Jan 2006 18:33:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:26 -0800 [SPARC64]: Increase swapper_tsb size to 32K. Signed-off-by: David S. Miller commit a8b900d801697609d1b56cc9c110148c64678068 tree 47602480aba29d17f8a79cc76dfe8af4d62f2599 parent 3487d1d4414fbfab5d98ec559e6f84f55520cb15 author David S. Miller Tue, 31 Jan 2006 18:33:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:25 -0800 [SPARC64]: Kill sole argument passed to setup_tba(). No longer used, and move extern declaration to a header file. Signed-off-by: David S. Miller commit 3487d1d4414fbfab5d98ec559e6f84f55520cb15 tree b85ac7e9d8c07bd3c8a9d314d650b04cdf1ccc96 parent 6b6d017235acad3ee1681140795593723bb9b9df author David S. Miller Tue, 31 Jan 2006 18:33:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:24 -0800 [SPARC64]: Kill PROM locked TLB entry preservation code. It is totally unnecessary complexity. After we take over the trap table, we handle all PROM tlb misses fully. Signed-off-by: David S. Miller commit 6b6d017235acad3ee1681140795593723bb9b9df tree 5c7f279d483c3d270b6ef3f158239e4d38785a14 parent 4da808c352c290d3f762933d44d4ab90c2fd65f3 author David S. Miller Tue, 31 Jan 2006 18:33:12 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:23 -0800 [SPARC64]: Use sparc64_highest_unlocked_tlb_ent in __tsb_context_switch() Instead of ugly hard-coded value. Signed-off-by: David S. Miller commit 4da808c352c290d3f762933d44d4ab90c2fd65f3 tree da99326440777580a19c345a5b0d52fbf800042b parent 4753eb2ac7022b999e5e484f1a5dc001dba22bd3 author David S. Miller Tue, 31 Jan 2006 18:33:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:22 -0800 [SPARC64]: Fix bogus flush instruction usage. Some of the trap code was still assuming that alternate global %g6 was hard coded with current_thread_info(). Let's just consistently flush at KERNBASE when we need a pipeline synchronization. That's locked into the TLB and will always work. Signed-off-by: David S. Miller commit 4753eb2ac7022b999e5e484f1a5dc001dba22bd3 tree 138321ebd3b3c3aeb99517ec5158a65f556da774 parent 96c6e0d8e2a0eb1338751598be47fa1ffed91704 author David S. Miller Tue, 31 Jan 2006 18:32:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:21 -0800 [SPARC64]: Fix incorrect TSB lock bit handling. The TSB_LOCK_BIT define is actually a special value shifted down by 32-bits for the assembler code macros. In C code, this isn't what we want. Signed-off-by: David S. Miller commit 96c6e0d8e2a0eb1338751598be47fa1ffed91704 tree 7174ae7f5c052b8312549860c3a978babc1394ce parent b70c0fa1613c4f69b4a340a0e2bee387560ebbb1 author David S. Miller Tue, 31 Jan 2006 18:32:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:20 -0800 [SPARC64]: Kill {save,restore}_alternate_globals() No longer needed now that we no longer have hard-coded alternate global register usage. Signed-off-by: David S. Miller commit b70c0fa1613c4f69b4a340a0e2bee387560ebbb1 tree f7bf22ab75cb9118f5772353fef6efd923faa212 parent bd40791e1d289d807b8580abe1f117e9c62894e4 author David S. Miller Tue, 31 Jan 2006 18:32:04 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:19 -0800 [SPARC64]: Preload TSB entries from update_mmu_cache(). Signed-off-by: David S. Miller commit bd40791e1d289d807b8580abe1f117e9c62894e4 tree 2b47e24c8dc0e668dfd7ba0e3879165180c49c65 parent 98c5584cfc47932c4f3ccf5eee2e0bae1447b85e author David S. Miller Tue, 31 Jan 2006 18:31:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:18 -0800 [SPARC64]: Dynamically grow TSB in response to RSS growth. As the RSS grows, grow the TSB in order to reduce the likelyhood of hash collisions and thus poor hit rates in the TSB. This definitely needs some serious tuning. Signed-off-by: David S. Miller commit 98c5584cfc47932c4f3ccf5eee2e0bae1447b85e tree c067ac8bfc081bbe0b3073374cb15708458e04ab parent 09f94287f7260e03bbeab497e743691fafcc22c3 author David S. Miller Tue, 31 Jan 2006 18:31:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:17 -0800 [SPARC64]: Add infrastructure for dynamic TSB sizing. This also cleans up tsb_context_switch(). The assembler routine is now __tsb_context_switch() and the former is an inline function that picks out the bits from the mm_struct and passes it into the assembler code as arguments. setup_tsb_parms() computes the locked TLB entry to map the TSB. Later when we support using the physical address quad load instructions of Cheetah+ and later, we'll simply use the physical address for the TSB register value and set the map virtual and PTE both to zero. Signed-off-by: David S. Miller commit 09f94287f7260e03bbeab497e743691fafcc22c3 tree ebdb365a7cfe25a1587a930d852f2eaa0e1e773a parent 56fb4df6da76c35dca22036174e2d1edef83ff1f author David S. Miller Tue, 31 Jan 2006 18:31:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:16 -0800 [SPARC64]: TSB refinements. Move {init_new,destroy}_context() out of line. Do not put huge pages into the TSB, only base page size translations. There are some clever things we could do here, but for now let's be correct instead of fancy. Signed-off-by: David S. Miller commit 56fb4df6da76c35dca22036174e2d1edef83ff1f tree b39f152ec9ed682edceca965a85680fd4bf736a7 parent 3c936465249f863f322154ff1aaa628b84ee5750 author David S. Miller Sun, 26 Feb 2006 23:24:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:16 -0800 [SPARC64]: Elminate all usage of hard-coded trap globals. UltraSPARC has special sets of global registers which are switched to for certain trap types. There is one set for MMU related traps, one set of Interrupt Vector processing, and another set (called the Alternate globals) for all other trap types. For what seems like forever we've hard coded the values in some of these trap registers. Some examples include: 1) Interrupt Vector global %g6 holds current processors interrupt work struct where received interrupts are managed for IRQ handler dispatch. 2) MMU global %g7 holds the base of the page tables of the currently active address space. 3) Alternate global %g6 held the current_thread_info() value. Such hardcoding has resulted in some serious issues in many areas. There are some code sequences where having another register available would help clean up the implementation. Taking traps such as cross-calls from the OBP firmware requires some trick code sequences wherein we have to save away and restore all of the special sets of global registers when we enter/exit OBP. We were also using the IMMU TSB register on SMP to hold the per-cpu area base address, which doesn't work any longer now that we actually use the TSB facility of the cpu. The implementation is pretty straight forward. One tricky bit is getting the current processor ID as that is different on different cpu variants. We use a stub with a fancy calling convention which we patch at boot time. The calling convention is that the stub is branched to and the (PC - 4) to return to is in register %g1. The cpu number is left in %g6. This stub can be invoked by using the __GET_CPUID macro. We use an array of per-cpu trap state to store the current thread and physical address of the current address space's page tables. The TRAP_LOAD_THREAD_REG loads %g6 with the current thread from this table, it uses __GET_CPUID and also clobbers %g1. TRAP_LOAD_IRQ_WORK is used by the interrupt vector processing to load the current processor's IRQ software state into %g6. It also uses __GET_CPUID and clobbers %g1. Finally, TRAP_LOAD_PGD_PHYS loads the physical address base of the current address space's page tables into %g7, it clobbers %g1 and uses __GET_CPUID. Many refinements are possible, as well as some tuning, with this stuff in place. Signed-off-by: David S. Miller commit 3c936465249f863f322154ff1aaa628b84ee5750 tree 2bd7a229236f197d20a655133370e5d0c1bf886c parent 05e28f9de65a38bb0c769080e91b6976e7e1e70c author David S. Miller Tue, 31 Jan 2006 18:30:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:14 -0800 [SPARC64]: Kill pgtable quicklists and use SLAB. Taking a nod from the powerpc port. With the per-cpu caching of both the page allocator and SLAB, the pgtable quicklist scheme becomes relatively silly and primitive. Signed-off-by: David S. Miller commit 05e28f9de65a38bb0c769080e91b6976e7e1e70c tree e1d3fcc1381ea6612ce4c082ca8596e84b637216 parent 74bf4312fff083ab25c3f357cc653ada7995e5f6 author David S. Miller Tue, 31 Jan 2006 18:30:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:13 -0800 [SPARC64]: No need to D-cache color page tables any longer. Unlike the virtual page tables, the new TSB scheme does not require this ugly hack. Signed-off-by: David S. Miller commit 74bf4312fff083ab25c3f357cc653ada7995e5f6 tree c23dea461e32485f4cd7ca4b8c33c632655eb906 parent 30d4d1ffed7098afe2641536d67eef150499da02 author David S. Miller Tue, 31 Jan 2006 18:29:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:13 -0800 [SPARC64]: Move away from virtual page tables, part 1. We now use the TSB hardware assist features of the UltraSPARC MMUs. SMP is currently knowingly broken, we need to find another place to store the per-cpu base pointers. We hid them away in the TSB base register, and that obviously will not work any more :-) Another known broken case is non-8KB base page size. Also noticed that flush_tlb_all() is not referenced anywhere, only the internal __flush_tlb_all() (local cpu only) is used by the sparc64 port, so we can get rid of flush_tlb_all(). The kernel gets it's own 8KB TSB (swapper_tsb) and each address space gets it's own private 8K TSB. Later we can add code to dynamically increase the size of per-process TSB as the RSS grows. An 8KB TSB is good enough for up to about a 4MB RSS, after which the TSB starts to incur many capacity and conflict misses. We even accumulate OBP translations into the kernel TSB. Another area for refinement is large page size support. We could use a secondary address space TSB to handle those. Signed-off-by: David S. Miller commit 30d4d1ffed7098afe2641536d67eef150499da02 tree e651ab7e4199ba03e2db7d1918baf8569b86a36f parent 94bbc1763b6b6d20d5cfa70c41cda23af27f8b55 author Eric Sesterhenn Fri, 10 Mar 2006 02:55:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:10:35 -0800 [SPARC]: BUG_ON() Conversion in arch/sparc/kernel/ioport.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit 94bbc1763b6b6d20d5cfa70c41cda23af27f8b55 tree 153f28fcc087fba199536b95e3faf8eacb878829 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Bernhard R Link Fri, 10 Mar 2006 01:23:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:10:34 -0800 [SPARC64]: fix sparc_floppy_irq's auxio_register reseting The patch "[SPARC64]: Get rid of fast IRQ feature" moved the the code from arch/sparc64/kernel/entry.S: lduba [%g7] ASI_PHYS_BYPASS_EC_E, %g5 or %g5, AUXIO_AUX1_FTCNT, %g5 stba %g5, [%g7] ASI_PHYS_BYPASS_EC_E andn %g5, AUXIO_AUX1_FTCNT, %g5 stba %g5, [%g7] ASI_PHYS_BYPASS_EC_E to arch/sparc64/kernel/irq.c: val = readb(auxio_register); val |= AUXIO_AUX1_FTCNT; writeb(val, auxio_register); val &= AUXIO_AUX1_FTCNT; writeb(val, auxio_register); This looks like it it missing a bitwise not, which is reintroduced by this patch. Due to lack of a floppy device, I could not test it, but it looks evident. Signed-off-by: Bernhard R Link Signed-off-by: David S. Miller commit e572ec7e4e432de7ecf7bd2e62117646fa64e518 tree 56b4b738fb566128d2db6d62aed28cfd41b5398a parent 3d1ab40f4c20767afbd361b258a531d73e3e6fc2 author Al Viro Sat, 18 Mar 2006 22:27:18 -0500 committer Al Viro Sat, 18 Mar 2006 22:27:18 -0500 [PATCH] fix rmmod problems with elevator attributes, clean them up commit 3d1ab40f4c20767afbd361b258a531d73e3e6fc2 tree 2da79cc8b47a98b0496b6e762fa790a8d547977b parent 1cc9be68ebcc1de9904bf225441613878da9c0d8 author Al Viro Sat, 18 Mar 2006 18:35:43 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:43 -0500 [PATCH] elevator_t lifetime rules and sysfs fixes commit 1cc9be68ebcc1de9904bf225441613878da9c0d8 tree 59a885d6e939725a6e37e0888ef41e3852ae3223 parent a90d742e4cbbc217c402265eb8b8bb0e0f9f8da2 author Al Viro Sat, 18 Mar 2006 12:29:52 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:08 -0500 [PATCH] noise removal: cfq-iosched.c Signed-off-by: Al Viro commit a90d742e4cbbc217c402265eb8b8bb0e0f9f8da2 tree a2423ca7cf3249a4c8b2c55021e0ae8f089b35e7 parent 483f4afc421435b7cfe5e88f74eea0b73a476d75 author Al Viro Sat, 18 Mar 2006 12:05:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:05 -0500 [PATCH] don't bother with refcounting for cfq_data Signed-off-by: Al Viro commit 483f4afc421435b7cfe5e88f74eea0b73a476d75 tree 9a3bbcf8ae83c5edb9ab1f9e98333d6f5673211b parent 1312f40e11c57edb5c3250f1b782cef8e3efea82 author Al Viro Sat, 18 Mar 2006 18:34:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:37 -0500 [PATCH] fix sysfs interaction and lifetime rules handling for queues commit 1312f40e11c57edb5c3250f1b782cef8e3efea82 tree 0aae9e7fe6211d83212991e84789fcd7e9908ced parent 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 author Al Viro Sun, 12 Mar 2006 11:02:03 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:20 -0500 [PATCH] regularize blk_cleanup_queue() use Signed-off-by: Al Viro commit 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 tree e180ac54bd6d0885a7d615dec866a6793340f0a6 parent 334e94de9bea353156abd6f2242d3cc4a24562b0 author Al Viro Sat, 18 Mar 2006 14:58:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:17 -0500 [PATCH] fix cfq_get_queue()/ioprio_set(2) races Signed-off-by: Al Viro commit 334e94de9bea353156abd6f2242d3cc4a24562b0 tree ff4a253e9e3bf487be03bf58727a7ea40a34ba87 parent e17a9489b4a686bb5e9615e1d375c67619cb99c5 author Al Viro Sat, 18 Mar 2006 15:05:53 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:15 -0500 [PATCH] deal with rmmod/put_io_context() races Signed-off-by: Al Viro commit e17a9489b4a686bb5e9615e1d375c67619cb99c5 tree e6574d24ad8f16fefe7663c91cf19109e48f8c6c parent 25975f863b0fd42c58109e253e7a4c65d9fdaf48 author Al Viro Sat, 18 Mar 2006 13:21:20 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:12 -0500 [PATCH] stop elv_unregister() from rogering other iosched's data, fix locking Signed-off-by: Al Viro commit 25975f863b0fd42c58109e253e7a4c65d9fdaf48 tree 98738124360c12c34b8820c3cc639dc275d1f4d0 parent d9ff41879364cfca7c15abc20ae398e35de3f883 author Al Viro Sun, 12 Mar 2006 13:45:25 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:09 -0500 [PATCH] stop cfq from pinning queue down Signed-off-by: Al Viro commit d9ff41879364cfca7c15abc20ae398e35de3f883 tree 58b69841c145a000d06658feff5d846eea624399 parent a6a0763a60eef374d4f02f82a6ecb6a74f380fcb author Al Viro Sat, 18 Mar 2006 13:51:22 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:07 -0500 [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queue Signed-off-by: Al Viro commit a6a0763a60eef374d4f02f82a6ecb6a74f380fcb tree ab6811f034eb2839ee07bc8e251b96a1aba313f7 parent 12a057321529df2fb650ac5f34dfd7abcca667df author Al Viro Sat, 18 Mar 2006 13:26:44 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:04 -0500 [PATCH] fix the exclusion for ioprio_set() Signed-off-by: Al Viro commit 12a057321529df2fb650ac5f34dfd7abcca667df tree b74a85a275cf97cebcd30aa544605081c80d7fb1 parent 478a82b0edeea1cc82a5f79880b3a15923a678de author Al Viro Sat, 18 Mar 2006 13:38:01 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:02 -0500 [PATCH] keep sync and async cfq_queue separate Signed-off-by: Al Viro commit 478a82b0edeea1cc82a5f79880b3a15923a678de tree 091c2ace634975c62c8236f209b24e4fded81ff4 parent 7670876d2d194b2aecb54f397704838eee7d72ee author Al Viro Sat, 18 Mar 2006 13:25:24 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:59 -0500 [PATCH] switch to use of ->key to get cfq_data by cfq_io_context Signed-off-by: Al Viro commit 7670876d2d194b2aecb54f397704838eee7d72ee tree 4c1b29bba1b038a407870ab62b3dd70057c949e0 parent b0a6916bcc48f46996d54b8451591a2f2b7b2f64 author Al Viro Sat, 18 Mar 2006 13:22:53 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:56 -0500 [PATCH] stop leaking cfq_data in cfq_set_request() We don't need to pin ->key down; ->cfqq->cfqd will do that for us. Incidentally, that stops the leak we had - that reference was never dropped. Signed-off-by: Al Viro commit b0a6916bcc48f46996d54b8451591a2f2b7b2f64 tree 8b22d7d04a802092928a642628d2ede339a5287a parent c981ff9f893b9ab229a809f8ad287ae43fc17a64 author Al Viro Tue, 14 Mar 2006 15:32:50 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:54 -0500 [PATCH] fix cfq hash lookups If somebody does a hash lookup for cfq_queue while ioprio of an async queue is elevated, they shouldn't end up stuck with lowered ioprio when we go back. Fix is to use ->org_ioprio{,class} in hash lookups. Signed-off-by: Al Viro commit c981ff9f893b9ab229a809f8ad287ae43fc17a64 tree c0423d86a33f0f714fa192b4f964269889b12c3f parent 8669aafdb5a46a57366dd1540fc475544071a9c9 author Al Viro Sat, 18 Mar 2006 13:51:29 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:51 -0500 [PATCH] fix locking in queue_requests_store() Signed-off-by: Al Viro commit 8669aafdb5a46a57366dd1540fc475544071a9c9 tree c30fc562aeb1b2c158844b4d30d5423414b719bc parent afc847b7ddcf636e524cf5b0de644bd3a9419a8c author Al Viro Sat, 18 Mar 2006 13:50:00 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:49 -0500 [PATCH] fix double-free in blk_init_queue_node() Signed-off-by: Al Viro commit afc847b7ddcf636e524cf5b0de644bd3a9419a8c tree 5022a566bc55a12a792c8bd9b2d94ccfd4b10235 parent 60a6dc55b93b3321afa52f650a149fb7e87fa85a author Al Viro Tue, 28 Feb 2006 12:51:55 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:46 -0500 [PATCH] don't do exit_io_context() until we know we won't be doing any IO testcase: mount /dev/sdb10 /mnt touch /mnt/tmp/b umount /mnt mount /dev/sdb10 /mnt rm /mnt/tmp/b commit cc8279f68c34c3f32b3a85f3103b0ad755c57846 tree 13c896b8a0bba7244818b62b767ebb807c30541e parent 3234eeec18315356166cd89bd93fc4630192eece author Zhu Yi Tue, 21 Feb 2006 18:46:15 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3234eeec18315356166cd89bd93fc4630192eece tree 462a95c09b9a745e4dcab6589bd2bea36355c050 parent 752e377bfdad61482e39cafedb3a6bb1b5bb0289 author Zhu Yi Tue, 28 Feb 2006 08:38:07 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 752e377bfdad61482e39cafedb3a6bb1b5bb0289 tree 2d3cda9de2ffd0776aea72d7f8d41f6c6a673632 parent cae1629515cf6d166fa20657e68b75619d563280 author Ingo Molnar Tue, 28 Feb 2006 07:20:54 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: semaphore to mutexes conversion semaphore to mutexes conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build-tested. Signed-off-by: Ingo Molnar Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit cae1629515cf6d166fa20657e68b75619d563280 tree a40dbc0c8e7d6fed80be63bcc4182ef42b3ca84d parent 15745a7dd1ac6bf1ef7959040f864c78a95aa35b author Zhu Yi Tue, 21 Feb 2006 18:41:14 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: Fix radiotap code gcc warning Fix gcc warning: ipw2100.c:2460: ISO C90 forbids mixed declarations and code Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 15745a7dd1ac6bf1ef7959040f864c78a95aa35b tree b9e95a75c83f2d1b5eba9af2a36cc9912e0188ee parent 171e7b2f1f50f112d3ce8a829a3e79c5739b3132 author Stefan Rompf Tue, 21 Feb 2006 18:36:17 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: add radiotap headers to packtes captured in monitor mode Signed-off-by: Stefan Rompf Signed-off-by: Andrea Merello Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 171e7b2f1f50f112d3ce8a829a3e79c5739b3132 tree 31a5b5cb8a0306b1e5469d967365d6d019a9a7f1 parent 71e585fca25c9ccde82196fd1aef78e34312e899 author Zhu Yi Wed, 15 Feb 2006 07:17:56 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:47 -0500 [PATCH] ipw2x00: expend Copyright to 2006 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71e585fca25c9ccde82196fd1aef78e34312e899 tree 4cb6cf43dcc6f7cae5c0191f0e409b0eb2a72261 parent f44349f2217d05e4575f24edc3c0e0022f5d448f author Adrian Bunk Sat, 11 Mar 2006 04:42:58 +0100 committer John W. Linville Fri, 17 Mar 2006 15:41:20 -0500 [PATCH] drivers/net/wireless/ipw2200.c: fix an array overun This patch fixes a big array overun found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit f44349f2217d05e4575f24edc3c0e0022f5d448f tree 615c789b22164bf4afef198795b75c701936efd6 parent 7c567894480daef05bc13abdc4b9414541e245cb author James Ketrenos Wed, 08 Mar 2006 13:14:45 -0600 committer John W. Linville Fri, 17 Mar 2006 15:38:55 -0500 [PATCH] ieee80211: Don't update network statistics from off-channel packets. This patch fixes a problem in the ieee80211 probe response and beacon reception code that would use the packet statistics for a network even if they were received on a channel other than that which the network exists on. This causes a problem in overlapping channels where, for example, a strong AP on channel 2 could have its beacons received on channels 1 and 3, but at much lower signal levels. If scanning was done sequentially, this means the beacon received on channel 3 would update the AP's signal level as being much lower than it really is, which subsequently could cause that AP to be passed over and an alternate AP selected. Signed-off-by: James Ketrenos Signed-off-by: John W. Linville commit 7c567894480daef05bc13abdc4b9414541e245cb tree 4e9c6f80427eb269914c6aab24cac246e16ca06b parent 9006ea75cfaded82acbc34d03e9d4e86447f40a9 author Zhu Yi Fri, 24 Feb 2006 04:20:48 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Update ipw2200 version stamp to 1.1.1 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9006ea75cfaded82acbc34d03e9d4e86447f40a9 tree a65ca3227d09488495444b9f4d43179c595191c4 parent 651be26f2daf31e61faf4b55ada709cf39ec76a2 author James Ketrenos Wed, 08 Mar 2006 03:22:28 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: switch to the new ipw2200-fw-3.0 image format This patch modifies the driver to support the ipw2200-fw-3.0 image format. The 3.0 fw image does not add any new capabilities, but as a result of image format changes, it should fix two problems experienced by users: 1) Race conditions with the request_firmware interface and udev/hotplug are improved as only a single request_firmware call is now required to load the firmware and microcode (vs. 3 separate calls previously) 2) The monitor mode firmware (sniffer) is now packaged with the correct boot image so it can now function without frequent restarts. Note: Once you apply this patch, you will also need to upgrade your firmware image to the 3.0 version available from: http://ipw2200.sf.net/firmware.php Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 651be26f2daf31e61faf4b55ada709cf39ec76a2 tree cac9bac812d1ecc1f85bce54a2591cab34752627 parent 71de1f3dd14e3e39cef929506a9526779f5a447d author Olivier Hochreutiner Wed, 08 Mar 2006 03:13:55 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: wireless extension sensitivity threshold support The patch allows the user to set the handover threshold, i.e. the number of consecutively missed beacons that will trigger a roaming attempt. The disassociation threshold is set to 3 times the handover threshold. Signed-off-by: Olivier Hochreutiner Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71de1f3dd14e3e39cef929506a9526779f5a447d tree d87676e1eee0670e23a506dc34ec16b615181732 parent 12977154e7cb4d72b1295f009a040c56a7e05d90 author Cahill, Ben M Wed, 08 Mar 2006 03:02:27 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Enables the "slow diversity" algorithm This forces one antenna or the other, if the background noise is significantly quieter in one than the other. It favors the quieter antenna, and won't kick in unless the difference is significant. Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 12977154e7cb4d72b1295f009a040c56a7e05d90 tree 45e0f0d861158c76f37ac8731a100d4dfadadb4e parent 3e1555bae145ab2d079a1823cbdd5c486503d147 author Cahill, Ben M Wed, 08 Mar 2006 02:58:02 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Set a meaningful silence threshold value Set a meaningful silence threshold value (replacing our previous "0" default), which gets rid of the gratuitous "Link deterioration" notifications that we've been receiving from firmware. This notification feature tells the driver information to help it determine when to pre-emptively restart the firmware/ucode in anticipation of firmware errors! But since setting this new threshold, I haven't seen any such notifications. At least it keeps the logs a little less busy. Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3e1555bae145ab2d079a1823cbdd5c486503d147 tree 2c89fadf472483b76175b7bfc779ce56baed25ca parent 1d1b09eb144e414ade1f44e21852fc60f2cf965b author Zhu Yi Mon, 06 Mar 2006 05:48:37 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 1d1b09eb144e414ade1f44e21852fc60f2cf965b tree bce6f18ed69a27bbcc9d77e96a619ebe66a761c8 parent e815de422c1dc2fe787c6f3edba81f3cf0176e32 author Zhu Yi Thu, 02 Mar 2006 06:40:59 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Change debug level for firmware error logging Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit e815de422c1dc2fe787c6f3edba81f3cf0176e32 tree bf2bd807d9741934872f2f87c24ddefa4095c6bb parent e8c69e27d14a5fb15df9967f8c8ec5978af33ba8 author Zhu Yi Thu, 02 Mar 2006 05:55:51 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode Currently iwlist ethX freq[uency]/channel lists all the channels the card supported for the current region, which includes some channels can only be used in infrastructure mode. This patch filters these channels out if the card is currently in ad-hoc mode. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit e8c69e27d14a5fb15df9967f8c8ec5978af33ba8 tree d428648e976c8844ff68a1328204af14ebb9d20a parent d6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 author Zhu Yi Fri, 17 Feb 2006 08:25:12 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 tree d7de88aace32d5be27afcae756c94187fd9f53b2 parent 8da374fc44a5e0fb71a485497cae38eb562d078c author Zhu Yi Thu, 16 Feb 2006 16:21:09 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' When loading the ipw2200 module with disabled=1, rf_kill is activated after every mode change. This is caused by ipw_sw_reset() is called when a mode is changed. The patch fixed the problem by distinguishing the purposes with the 'option' paramenter. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8da374fc44a5e0fb71a485497cae38eb562d078c tree 48bec1c7d8f0a2c7bc0ac7e1b5cef5fa3c9a2f6d parent b191608a451e75ed7f979cac268f5f423176feb3 author Zhu Yi Fri, 17 Feb 2006 07:46:16 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: remove the WPA card associates to non-WPA AP checking wpa_supplicant needs to set wpa_enabled unconditionally, with this check it hasn't been possible to connect to non-WPA networks using wpa_supplicant. So remove below check. if (priv->ieee->wpa_enabled && network->wpa_ie_len == 0 && network->rsn_ie_len == 0) Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b191608a451e75ed7f979cac268f5f423176feb3 tree 3f0037006a39d8c8507392bca15b326471fc76a2 parent 9d0be03aeeadcd59bd8f57219817e876a5e88e88 author Bill Moss Wed, 15 Feb 2006 08:50:18 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: Add signal level to iwlist scan output This patch does two things. It uses the parameter IW_QUAL_DBM which is new in WE-19 to cause signal level and noise to be reported in dBm by the wireless tools. It also defines the signal level as an unsigned integer so that the signal level will be reported by iwlist iface scan. Signed-off-by: Bill Moss Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9d0be03aeeadcd59bd8f57219817e876a5e88e88 tree 2b8f12a59c1e2d643c90ecd645ac508a43324eaa parent 85149bace30eae1dc1f86d2c327329673123dd22 author Zhu Yi Wed, 15 Feb 2006 06:18:19 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: use generic ieee80211_get_hdrlen() to get packet length replace ipw2200 specific frame_hdr_len() with generic ieee80211 routine ieee80211_get_hdrlen() Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 85149bace30eae1dc1f86d2c327329673123dd22 tree 53bf83b9b3bde433cc79f82479ba1dab5df5cc85 parent f697014af90c1db3c7b299327bf5a9548945b8bf author Zhu Yi Tue, 14 Feb 2006 16:02:22 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: fix a potential NULL pointer dereference Only on CONFIG_IPW2200_DEBUG is not defined Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f697014af90c1db3c7b299327bf5a9548945b8bf tree 983fd3e7a6c3c365a78f9d79cfdfd5761b60c7ea parent 48a847709f821b5eecd45ae7660add1869f9cd37 author James Ketrenos Tue, 14 Feb 2006 09:10:51 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: stop netdev queue if h/w doesn't have space for new packets The patch roll back the change we made to support for the ability to start/stop independent Tx queues within a single net device in order to support 802.11e QoS. We need to be able to indicate to the upper layers that packets of a given priority can not be sent any more without halting transmission of all packets, and without rescheduling high priority packets down to the next priority level. So we return NETDEV_TX_BUSY in this case and rely on the stack would take care of rescheduling... which it apparently does immediately and consumes the CPU. This caused the ksoftirqd kernel thread consuming almost all the CPU... To put the code back to the way it was before we made these changes we put the call netif_queue_stop back in ipw_tx_skb. This effectively disables multiple priority based transmit queues for 802.11e, but given that its broken anyway... Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 48a847709f821b5eecd45ae7660add1869f9cd37 tree d119ae07dbaf63a77362307cbb3fbebf6218636e parent 53d0bcf82a5f59c96f1ffb202c02d2541200bf58 author Henrik Brix Andersen Tue, 14 Feb 2006 09:09:52 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: print geography code upon module load Given the amount of support requests for the meaning of the geography code I've written a patch for printing this information on module load no matter the debug level. I've also added a section to the README.ipw2200 file listing the geography codes and their meaning. Signed-off-by: Henrik Brix Andersen Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 53d0bcf82a5f59c96f1ffb202c02d2541200bf58 tree dd0920c3215300614b67c38ced9d3c919ac333ce parent 1867b117d944ce333e79b9a61c9a048656bee14b author Adrian Bunk Sat, 04 Mar 2006 13:14:31 +0100 committer John W. Linville Fri, 17 Mar 2006 14:16:44 -0500 [PATCH] drivers/net/wireless/ipw2200.c: make ipw_qos_current_mode() static This patch makes the needlessly global function ipw_qos_current_mode() static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 1867b117d944ce333e79b9a61c9a048656bee14b tree 068a78c91f1cf9f7b491afa08a1877e278cc3beb parent dd288e7d75b9041f79fecae77d61cfa345da7266 author Larry Finger Tue, 28 Feb 2006 09:48:28 -0600 committer John W. Linville Fri, 17 Mar 2006 14:01:34 -0500 [PATCH] Remove duplicated code from ipw2200.c As stated in a comment, the ipw2200 driver uses several routines that were borrowed from ieee80211_geo.c. As ipw2200 requires ieee80211, these routines are duplicated. The attached patch, which is sent as an attachment to preserve whitespace, converts ipw2200.c to use the ieee80211 versions, thereby reducing bloat in both the source and binary. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit abc71c46dc0a12ab7fddc18cfe4f4aa26808c79b tree b0c846052b994d57d58713a0cc8da30a22baaf1c parent 30dcbf29cc6d92d70fa262e79e84011fe6913bed parent 232a347a444e687b5f8cf0f6485704db1c6024d3 author Jeff Garzik Thu, 16 Mar 2006 19:27:08 -0500 committer Jeff Garzik Thu, 16 Mar 2006 19:27:08 -0500 Merge branch 'upstream-fixes' commit c39f5ebe0a542caab30c88e60623709c7bc6fe30 tree 12e0d5500a6d400a077f3f437cc71a93353dea4a parent 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd author Tejun Heo Mon, 13 Mar 2006 19:51:19 +0900 committer Jeff Garzik Thu, 16 Mar 2006 19:22:57 -0500 [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() Move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() and print only if @print_info is non-zero. This kills duplicate IDENTIFY info printing during probing. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd tree c9457d928ad25530dc80261966e1045c3de8d89d parent 6e48f1b763ab1115a58c86684153635050155387 author Tejun Heo Mon, 13 Mar 2006 19:48:04 +0900 committer Jeff Garzik Thu, 16 Mar 2006 19:22:57 -0500 [PATCH] libata: use local *id instead of dev->id in ata_dev_configure() dev->id is used many times in ata_dev_configure(). Use local variable id instead for shorter notation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6e48f1b763ab1115a58c86684153635050155387 tree b75b8ecc07f5af47d6f03f25c7782e4c6d58523e parent fb21f0d0ec7e31cc814165e1a9d2662d9c9dd980 parent 485ff09990416c75ae9593ddc71619939ab9dd51 author Jeff Garzik Thu, 16 Mar 2006 19:22:42 -0500 committer Jeff Garzik Thu, 16 Mar 2006 19:22:42 -0500 Merge branch 'master' commit 9e7714d08061a77d3d2ec9a6ef6fd571a534fc7f tree e279d51b007c5f3d6b4cf157c1fada7ea7fe39da parent 243f196d572822214bb86522f28b30e096d67414 author Catalin Marinas Thu, 16 Mar 2006 14:10:20 +0000 committer Russell King Thu, 16 Mar 2006 14:10:20 +0000 [ARM] 3367/1: CLCD mode no longer supported on the RealView boards Patch from Catalin Marinas Chosing of the CLCD RGB mode is no longer possible via the SYS_CLCD register on the RealView boards. Instead, this configuration is done in the CLCD primecell control register directly. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 243f196d572822214bb86522f28b30e096d67414 tree 37043d91a1091b085de2f33ddd40418d3152372d parent 5466eb5d0ad5e9d4238da71a2a9bd216985a4849 author Catalin Marinas Thu, 16 Mar 2006 14:10:19 +0000 committer Russell King Thu, 16 Mar 2006 14:10:19 +0000 [ARM] 3366/1: Allow the 16bpp mode configuration in the CLCD control register Patch from Catalin Marinas Starting with PL111, the 5551 or 565 modes can be configured in the primecell's control register directly. This patch detects the required mode and sets the correct value. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit dd288e7d75b9041f79fecae77d61cfa345da7266 tree 85ff1d1ea0fe1d6eae0b6819422d5c6c05f862cd parent 30dcbf29cc6d92d70fa262e79e84011fe6913bed parent 72df16f109b73be37977a26d342e9103e8851cb6 author John W. Linville Wed, 15 Mar 2006 17:02:08 -0500 committer John W. Linville Wed, 15 Mar 2006 17:02:08 -0500 Merge branch 'upstream-fixes' commit c5111f504d2a9b0d258d7c4752b4093523315989 tree 6a52864aff79691689aea21cb0cb928327d5de5b parent 69eb66d7da7dba2696281981347698e1693c2340 parent a488edc914aa1d766a4e2c982b5ae03d5657ec1b author Dave Kleikamp Tue, 14 Mar 2006 17:05:45 -0600 committer Dave Kleikamp Tue, 14 Mar 2006 17:05:45 -0600 Merge with /home/shaggy/git/linus-clean/ commit fb21f0d0ec7e31cc814165e1a9d2662d9c9dd980 tree 6acfd767e12c93b9b710d6b90b47f630fcbecbc2 parent 2044470cccec1bfe6bb819027975df302ff43bf8 author Tejun Heo Sun, 12 Mar 2006 12:34:35 +0900 committer Jeff Garzik Sun, 12 Mar 2006 12:51:11 -0500 [PATCH] libata: check Word 88 validity in ata_id_xfer_mask() Check bit 2 of Word 53 for Word 88 validity before using Word 88 to determine UDMA mask. Note that the original xfer mask implementation using ata_get_mode_mask() didn't consider bit 2 of Word 53. This patch introduces different (correct) behavior. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2044470cccec1bfe6bb819027975df302ff43bf8 tree 64254b2ca55f8727f08e46361532361027cf4faf parent 4b10e559277de490bf5c257a1e3264a2bf51404b author Tejun Heo Mon, 13 Mar 2006 01:57:01 +0900 committer Jeff Garzik Sun, 12 Mar 2006 12:49:45 -0500 [PATCH] libata: fix class handling in ata_bus_probe() ata_bus_probe() didn't set classes[] properly for port disabled case of ->phy_reset() compatibility path. This patch moves classes[] initialization and normalization out of ->probe_reset block such that it applies to both ->probe_reset and ->phy_reset paths. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 30dcbf29cc6d92d70fa262e79e84011fe6913bed tree 2b356350d2dea45b498e2c0c6e9718b364594752 parent ded78e5e2cab0ec470cca7d34d7af742371bd476 author Adrian Bunk Sat, 11 Mar 2006 17:51:39 -0800 committer Jeff Garzik Sat, 11 Mar 2006 21:49:49 -0500 [PATCH] drivers/net/e1000/: proper prototypes This patch moves prototypes of global variables and functions to a header file. Signed-off-by: Adrian Bunk Acked-by: John Ronciak Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 4b10e559277de490bf5c257a1e3264a2bf51404b tree a9f165b6e57d83b9f702838741b0958c334ba215 parent 418dc1f5a805822fcf1118804ddc689a4156db4a author Tejun Heo Sun, 12 Mar 2006 11:25:27 +0900 committer Jeff Garzik Sat, 11 Mar 2006 21:48:53 -0500 [PATCH] ahci: enable prefetching for PACKET commands Turn on AHCI_CMD_PREFETCH for PACKET commands. This hints the controller that it can prefetch the CDB and the PRD entries. This patch is originally from Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 418dc1f5a805822fcf1118804ddc689a4156db4a tree 33ef606c864e2cc4c706cebaf60a4153c9259d04 parent 2f7ccc51db9f10ed2eaa4cd1777181972a23754e author Jeff Garzik Sat, 11 Mar 2006 20:50:08 -0500 committer Jeff Garzik Sat, 11 Mar 2006 20:50:08 -0500 libata: turn on ATAPI by default commit ded78e5e2cab0ec470cca7d34d7af742371bd476 tree d44724d779143d7ea52a1ed56beda2eaa0d0dffa parent a4d4d5181d043ea835c15da6c85a5bbecbaded6e author Adrian Bunk Fri, 10 Mar 2006 00:06:53 +0100 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] chelsio/espi.c:tricn_init(): remove dead code The Coverity checker spotted these two unused variables. Please check whether this patch is correct or whether they should be used. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit a4d4d5181d043ea835c15da6c85a5bbecbaded6e tree dcc0093113b8ae06eaa85e5e1b23fde22a34cb60 parent 60a89ff6d2681029b3d46b5d23dccf2903a254b4 author Ralf Baechle Wed, 08 Mar 2006 11:49:31 +0000 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] Sparse: Cleanup sgiseeq sparse warnings. o Make sgiseeq_dump_rings static. o Delete unused sgiseeq_my_reset. o Move DEBUG define to beginning where it's easier to spot and will be seen by as well. o Use NULL for pointer initialization. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 60a89ff6d2681029b3d46b5d23dccf2903a254b4 tree e7146ca3f86ac15107af37c5bd17e6cb987933ee parent 827700866ad0996e8c0f5ce75d1c01ae9b034cd6 author Pekka Enberg Wed, 08 Mar 2006 00:06:28 -0800 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] 3c509: use proper suspend/resume API Convert 3c509 driver to use proper suspend/resume API instead of the deprecated pm_register/pm_unregister. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 827700866ad0996e8c0f5ce75d1c01ae9b034cd6 tree 56566ea225cd7e4fb40938d58c7b6fe2e85c88d9 parent 000b238bca0bb6f4bb053fd69f7f02cebdace5cf author Adrian Bunk Wed, 08 Mar 2006 00:06:30 -0800 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] CONFIG_FORCEDETH updates This patch contains the following possible updates: - let FORCEDETH no longer depend on EXPERIMENTAL - remove the "Reverse Engineered" from the option text: for the user it's important which hardware the driver supports, not how it was developed Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 000b238bca0bb6f4bb053fd69f7f02cebdace5cf tree 7698904204eccf3df4f25f61cdfb8657b362e09f parent b962697b79a147aeaca6864f2d6c424bd462b446 parent 535744878e34d01a53f946f26dfbca37186f2cf8 author Jeff Garzik Sat, 11 Mar 2006 19:58:42 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:58:42 -0500 Merge branch 'master' commit 2f7ccc51db9f10ed2eaa4cd1777181972a23754e tree 0557126cc5f9192728edc7b0299a8abc69ce448a parent 8645984c357a0262a29b8a28353a576645e2c707 parent ed071adc97a69785686a37fb88e100f41b482b94 author Jeff Garzik Sat, 11 Mar 2006 19:55:37 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:55:37 -0500 Merge branch 'upstream-fixes' commit 8645984c357a0262a29b8a28353a576645e2c707 tree a97b41a4c84a295dc075106226d053fd04a40c07 parent 10d996ad1990ec2338c463042db6d5ef4f347187 author Tejun Heo Sat, 11 Mar 2006 11:44:08 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:29:42 -0500 [PATCH] sata_sil24: lengthen softreset timeout sil24 softreset timeout was > 100ms (100 loops with msleep(1)), which turned out to be too short for some devices (ASI ARAID99 2000). This patch converts sil24 softreset waiting loop to use proper timeout condition and lengthen the timeout to ATA_TMOUT_BOOT secs and check interval to 100ms. Chisato Yamauchi discovered the problem and supplied initial patch. Signed-off-by: Tejun Heo Cc: Chisato Yamauchi Signed-off-by: Jeff Garzik commit 10d996ad1990ec2338c463042db6d5ef4f347187 tree a06a602f278f820475f16523e12927b5abb980c4 parent 75deb6fa985bd3162b9472f1fc394e23294da816 author Tejun Heo Sat, 11 Mar 2006 11:42:34 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:29:42 -0500 [PATCH] sata_sil24: exit early from softreset if SStatus reports no device sata_sil24 softreset routine used to check sata_dev_present() after SRST is complete in the hope that SRST may do some good even when SStatus reports no device. This is okay as long as SRST timeout is short (> 100ms in the current code) but it seems that not all SATA devices are happy with short SRST timeout. This patch makes softreset exit early without performing actual SRST if SStatus reports no device in preparation for lengthening SRST timeout. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 75deb6fa985bd3162b9472f1fc394e23294da816 tree f959602fae8faba6b6cdc617069f3c02414e453b parent 2061a47a9b9530a9523e51167c996307db951c31 parent 6971ed1fbbc80cae54e082aae153d5b063885d0a author Jeff Garzik Sat, 11 Mar 2006 19:10:06 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:10:06 -0500 Merge branch 'upstream-fixes' commit 2061a47a9b9530a9523e51167c996307db951c31 tree caf1ecb16e7030017fd14ea1f2f32b29b74090f3 parent 75f554bc139461a5a926fad6a6fa90433a00a117 author Tejun Heo Sun, 12 Mar 2006 00:57:39 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:04:49 -0500 [PATCH] libata: fix missing classes[] initialization in ata_bus_probe() ata_bus_probe() didn't initialize classes[] properly with ATA_DEV_UNKNOWN. As ->probe_reset() is allowed to leave @classes alone when no device is present, this results in garbage class values. ATM, the only affected driver is ata_piix. Signed-off-by: Tejun Heo Cc: Jiri Slaby Signed-off-by: Jeff Garzik commit 75f554bc139461a5a926fad6a6fa90433a00a117 tree 6b2366e670df743e0cd17e5e01c4807d92b6c163 parent a6d5a51cf1bf5d83ddd2e06fd372a79b395fb393 author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: kill unused xfer_mode functions Preceding xfer_mask changes make the following functions unused. ata_pio_modes(), base_from_shift(), ata_pr_blacklisted(), fgb() Kill them. Also, as xfer_mode_str[] is now only used by ata_mode_string(), move it into the function. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a6d5a51cf1bf5d83ddd2e06fd372a79b395fb393 tree 4dd9a341ed20444d9b66b9032b8d332069f54220 parent 23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers Use xfer_mask helpers to determine transfer mode. This rewrite also makes transfer mode determination done before any actual configuration. This patch doesn't result in any functional changes. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d tree 0dd04ce65cc57a8d82d9b42eec47338977bf7b2d parent ff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9 author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: use xfer_mask helpers in ata_dev_set_mode() Rewrite hardcoded xfer_mode string determination in ata_dev_set_mode() using xfer_mask helpers. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9 tree 4db001403fc93b4c9620caa53efb7f9dec1105a6 parent cb95d562e40140572efbca809f372e608aff7326 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: use ata_id_xfermask() in ata_dev_configure() Replace quick & dirty max transfer mode determination in ata_dev_configure() with ata_id_xfermask(). While at it, rename xfer_modes variable to xfer_mask and make it unsigned int for consistency. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cb95d562e40140572efbca809f372e608aff7326 tree 3ffa5b34bdce55dd387fdb1be0412555a642ac6f parent 1da7b0d01b20bf21f3263d8d2f17fa49a214d773 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: add xfer_mask handling functions Add ata_pack_xfermask(), ata_xfer_mask2mode(), ata_xfer_mode2mask(), ata_xfer_mode2shift() and ata_id_xfermask(). These functions will be used by following patches to simplify xfer_mask handling. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1da7b0d01b20bf21f3263d8d2f17fa49a214d773 tree ed68984a55447d5620adbe885d9479bf96213bd6 parent 2e755f68ee23b03484fde18d978f910cc5479cb8 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:38 -0500 [PATCH] libata: improve xfer mask constants and update ata_mode_string() Add ATA_BITS_*, ATA_MASK_* macros and reorder xfer_mask fields such that higher transfer mode is placed at higher order bit. As thie reordering breaks ata_mode_string(), this patch also rewrites ata_mode_string(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2e755f68ee23b03484fde18d978f910cc5479cb8 tree 5b5947906b3ae286c1250f2bf7726263ce9579d7 parent 507ceda00302c071029277652d9faa5a0a55419a author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:21 -0500 [PATCH] libata: rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK Rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 507ceda00302c071029277652d9faa5a0a55419a tree 603cbc777845d37e2045be96f5f9f1c27d7fe33a parent 8061f5f0a04cfd2bc7aa273596ad3fcd426f8eea author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: kill unused pio_task and packet_task Kill unused pio_task and packet_task. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8061f5f0a04cfd2bc7aa273596ad3fcd426f8eea tree e0d9355eeb2caf99841c7692b8ad2770be0b5ea6 parent 86e45b6bd6900c4a0b3666fb18b46e215f775c4f author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: convert pio_task and packet_task to port_task Make pio_task and atapi_packet_task use port_task. atapi_packet_task() is moved upward such that it's right after ata_pio_task(). This position is more natural and makes adding prototype for ata_qc_issue_prot() unnecessary. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 86e45b6bd6900c4a0b3666fb18b46e215f775c4f tree 5b86ebd0b0b17d05bdfdd07b7683f7348577b52a parent d7fc3ca1cd0ecce82263299c6b1631fc83b0ec79 author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: implement port_task Implement port_task. LLDD's can schedule a function to be executed with context after specified delay. libata core takes care of synchronization against EH. This is generalized form of pio_task and packet_task which are tied to PIO hsm implementation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d7fc3ca1cd0ecce82263299c6b1631fc83b0ec79 tree a6471779a25cf2794542f9441213f5aa5f337f2f parent fbfda6e71bbdd3b4d41a56c3f20f31762c455a5e parent ed62178589929d248a0aaf4018ca3867e2f96d9d author Jeff Garzik Sat, 11 Mar 2006 17:47:20 -0500 committer Jeff Garzik Sat, 11 Mar 2006 17:47:20 -0500 Merge branch 'master' commit b962697b79a147aeaca6864f2d6c424bd462b446 tree e89136f041a068c793e2d8d23721255a61901f10 parent 749dfc70554f2c9e6624ac843d66571265ed9338 parent cb764326dff0ee51aca0d450e1a292de65661055 author Jeff Garzik Sat, 11 Mar 2006 13:35:49 -0500 committer Jeff Garzik Sat, 11 Mar 2006 13:35:49 -0500 Merge branch 'e1000-upstream' of git://198.78.49.142/linux-2.6 commit 749dfc70554f2c9e6624ac843d66571265ed9338 tree bf591255b3f158222f90852d53c4279e6e7e9ced parent 74f5ec29ae93aa42c49f4285c20c457afe937881 parent 0992a5d029181421877a716eaf99145828ff7eae author Jeff Garzik Sat, 11 Mar 2006 13:35:31 -0500 committer Jeff Garzik Sat, 11 Mar 2006 13:35:31 -0500 Merge branch 'upstream-fixes' commit 69eb66d7da7dba2696281981347698e1693c2340 tree ba699dc7a1a80efe159f4a4401b174a7e80779fc parent be0bf7da19135a7a0f8c275f20c819940be218d9 author Dave Kleikamp Thu, 09 Mar 2006 13:59:30 -0600 committer Dave Kleikamp Thu, 09 Mar 2006 13:59:30 -0600 JFS: add uid, gid, and umask mount options OS/2 doesn't initialize the uid, gid, or unix-style permission bits. The uid, gid, & umask mount options perform pretty much like those for the fat file system, overriding what is stored on disk. This is useful for users sharing the file system with OS/2. I implemented a little feature so that if you mask the execute bit, it will be re-enabled on directories when the appropriate read bit is unmasked. I didn't want to implement an fmask & dmask option. Signed-off-by: Dave Kleikamp commit cb764326dff0ee51aca0d450e1a292de65661055 tree 4cabea34727903fa8560abfeae325936a9039c7e parent 74f5ec29ae93aa42c49f4285c20c457afe937881 author Jeff Kirsher Wed, 08 Mar 2006 17:24:12 -0800 committer root Wed, 08 Mar 2006 17:24:12 -0800 e1000: Fix mii-tool access to setting speed and duplex Paul Rolland reported that e1000 was having a hard time using mii-tool to set speed and duplex. This patch fixes the issue on both newer hardware as well as fixing the code issue that originally caused the problem. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher commit be0bf7da19135a7a0f8c275f20c819940be218d9 tree c8ba72b711730ce11f52fc20cd7c0e9c4bee7bc0 parent 5b3030e39049212c975665cdb3eeabcfaf7c94ca author Dave Kleikamp Wed, 08 Mar 2006 10:59:15 -0600 committer Dave Kleikamp Wed, 08 Mar 2006 10:59:15 -0600 JFS: Take logsync lock before testing mp->lsn This fixes a race where lsn could be cleared before taking the lock Signed-off-by: Dave Kleikamp commit 044f324f6ea5d55391db62fca6a295b2651cb946 tree f78f08610cbaf93962703f68d332a8a312cb2a48 parent 793f225b0d77dd6a53614f5e312a28b754144d86 author Adrian Bunk Wed, 08 Mar 2006 10:50:07 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:28 -0300 V4L/DVB (3415): Msp3400-kthreads.c: make 3 functions static This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 793f225b0d77dd6a53614f5e312a28b754144d86 tree 3a3e8abced9b0abb652616b322e662f28ff3b4f8 parent be787ace0139bc7ef0229606819bad64bb5d84f4 author Adrian Bunk Wed, 08 Mar 2006 10:50:06 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:28 -0300 V4L/DVB (3414): Saa7134: document that there's also a 220RF from KWorld I have the same card with the same PCI id, but from KWorld. The patch documents that this is the same card. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit be787ace0139bc7ef0229606819bad64bb5d84f4 tree dcb22cb64038969b5e4b6d394b019e4c5862bd13 parent 91ae3299d7d3493a25e5f26cbaceeb18e7760ef3 author Alexey Dobriyan Tue, 07 Mar 2006 22:20:23 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:24 -0300 V4L/DVB (3413): Typos grab bag of the month Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 91ae3299d7d3493a25e5f26cbaceeb18e7760ef3 tree 13bda3f740a6dba89fb74351295279aabbed1dce parent 69b27e3dfebff8f59e979d57263e1cd83c4d8370 author Michael Krufky Wed, 01 Mar 2006 00:04:42 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:29 -0300 V4L/DVB (3411): FE6600 is a Thomson tuner - The tuner used in DViCO FusionHDTV DVB-T hybrid is made by Thomson - renamed tuner and dvb_pll structs accordingly Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 69b27e3dfebff8f59e979d57263e1cd83c4d8370 tree 81f03605607c713158adb52472ace8235f44a23e parent 0785c87af1d1b6106b14c85f1267be8543f11d00 author Chris Pascoe Tue, 28 Feb 2006 20:23:11 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:18 -0300 V4L/DVB (3410): Move DViCO hybrid initialisation data from stack. The init_data array is never changed and need not be on the stack. Turn it into a static variable. Signed-off-by: Michael Krufky Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0785c87af1d1b6106b14c85f1267be8543f11d00 tree 1f39399f301877dc420a104bd5d65da9e22f7f9f parent 780dfef37e2c941985b708f67aa0074edc922bea author Michael Krufky Tue, 28 Feb 2006 14:02:15 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:02 -0300 V4L/DVB (3409): Kconfig: fix in-kernel build for cx88-dvb: zl10353 frontend - VIDEO_CX88_DVB_ALL_FRONTENDS should select DVB_ZL10353 - created VIDEO_CX88_DVB_ZL10353, for selective zl10353 support in cx88-dvb. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 780dfef37e2c941985b708f67aa0074edc922bea tree c7db2fd63acfce369d2af871183da2cf0614db9a parent db5d91eb36e1cc9d46016d1d44874376cfabf274 author Chris Pascoe Tue, 28 Feb 2006 08:34:59 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:50 -0300 V4L/DVB (3408): DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus support Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit db5d91eb36e1cc9d46016d1d44874376cfabf274 tree 20e0222107bd13db18d50f3f4a4e1282410fc10b parent 8cc2e377a0f20f58606d8a68a423ed2ea348869d author Oliver Endriss Tue, 28 Feb 2006 10:32:25 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:33 -0300 V4L/DVB (3406): Use refactored LNBP21 and BSBE1 code Use refactored LNBP21/BSBE1 code for Technotrend/Hauppauge DVB-S rev 2.3. As a side effect, FE_ENABLE_HIGH_LNB_VOLTAGE ioctl is supported now. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 8cc2e377a0f20f58606d8a68a423ed2ea348869d tree af5f33622968abc24ea0dd47e26c80d4bcf44599 parent 2f27bdce972ceb97a2fd109a77546c37aa499fc9 author Perceval Anichini Tue, 28 Feb 2006 09:52:44 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:19 -0300 V4L/DVB (3405): TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c. Signed-off-by: Perceval Anichini Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2f27bdce972ceb97a2fd109a77546c37aa499fc9 tree 8ac9a59189ab362e6b6b6710efab5da92cfe7f12 parent 9f3319b49cc793b9da06ca57cc8740e3a8e88d1d author Oliver Endriss Tue, 28 Feb 2006 09:31:16 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:06 -0300 V4L/DVB (3404): Refactored LNBP21 and BSBE1 support Moved duplicated code to separate files. LNBP21 stuff rewritten from scratch, BSBE1 copied from av7110.c. Modified budget driver to use the new routines. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 9f3319b49cc793b9da06ca57cc8740e3a8e88d1d tree 82b3c760cf103e7c9eacc4109a7a8a51d7a0cef2 parent 2d6b5f6257a11d66d2f1e335180e8aca16704294 author Marco Schluessler Fri, 24 Feb 2006 18:53:00 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:50 -0300 V4L/DVB (3403): Workaround to fix initialization for Nexus CA Workaround for Nexus CA: Debi test fails unless first debi write is repeated. Signed-off-by: Marco Schluessler Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2d6b5f6257a11d66d2f1e335180e8aca16704294 tree 4fbb3622de2756a9f5bb98f034574ed4c69755b6 parent 293cdaba3f6663f630bcb85077206e55b581ed67 author Hartmut Hackmann Mon, 27 Feb 2006 21:14:36 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:28 -0300 V4L/DVB (3401): Coding style fixes in saa7134-dvb.c deleted 2 semicolons at end of functions Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 293cdaba3f6663f630bcb85077206e55b581ed67 tree fc940adb11ebf26f0424f5d02cbb437e9483c664 parent 8cbe84f33a8d420d8c8228599bc042cb31c569fa author Hartmut Hackmann Mon, 27 Feb 2006 21:08:07 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:05 -0300 V4L/DVB (3400): Fixes for Lifeview Trio non fatal bugs - Init message was sent to wrong slave address - Deleted outdated comment Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 74f5ec29ae93aa42c49f4285c20c457afe937881 tree 2f9fe3e3f7bcd91769b0030cead82e1986e0dd32 parent ad8c48ad3bbef078616ed4d2652d362dfd962f09 parent 2d66806d740eeb410aa785bd7fba3bd24bb082c1 author Jeff Garzik Mon, 06 Mar 2006 14:38:16 -0500 committer Jeff Garzik Mon, 06 Mar 2006 14:38:16 -0500 Merge branch 'upstream-fixes' commit fbfda6e71bbdd3b4d41a56c3f20f31762c455a5e tree 167c8f3dff56cc74ef96e2ecfe58658b17923ca4 parent 48a8a14ff1f13aa4dba3f6b4381b886727609db4 author Tejun Heo Sun, 05 Mar 2006 23:03:42 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:11:32 -0500 [PATCH] sata_sil24: fix mwdma_mask setting mwdma_mask was not copied from port_info to probe_ent. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48a8a14ff1f13aa4dba3f6b4381b886727609db4 tree 429ca20edef799c283e1226b790693d0ad71e478 parent 623a3128aa2b86caa8e06e762e9e444177e4fa47 author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: revalidate after transfer mode configuration Revalidate device after transfer mode configuration. This also makes dev->id up-to-date. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 623a3128aa2b86caa8e06e762e9e444177e4fa47 tree 3e861e10c2963a22d2f097e5545fdcd865667602 parent 4c2d721ab6413ee4ff33617ed1413458261f36ea author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: implement ata_dev_revalidate() ata_dev_revalidate() re-reads IDENTIFY PAGE of the given device and makes sure it's the same device as the configured one. Once it's verified that it's the same device, @dev is configured according to newly read IDENTIFY PAGE. Note that revalidation currently doesn't invoke transfer mode reconfiguration. Criteria for 'same device' * same class (of course) * same model string * same serial string * if ATA, same n_sectors (to catch geometry parameter changes) Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4c2d721ab6413ee4ff33617ed1413458261f36ea tree b641f68a902c64a08dc308f259c05abed1d81655 parent 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: add @print_info argument to ata_dev_configure() Add @print_info argument to ata_dev_configure(). Details of configured device is printed only when @pinfo_info is non-zero. This patch also reorganizes device info printing for LBA case to simplify code (necessary as @print_info adds extra nesting around it). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe tree e3aee404b45add338986a18031eecce2d97f5a27 parent e653a1e6131d0a819288a2e2de654627233604e0 author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: re-initialize parameters before configuring In ata_dev_configure(), reinitialize parameters before configuring. This change is for revalidation and hotplug. As ata_dev_configure() can be entered multiple times, parameters need to be reinitialized. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit e653a1e6131d0a819288a2e2de654627233604e0 tree 1bfdb56d50a92f89d61efb4ca5b09886f8581a13 parent 48d4ef2a1df9867c67b515d66732ba028a73735d author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: cosmetic flag/constant changes Collect common host flags into SIL_DFL_HOST_FLAGS and add comments to constants. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48d4ef2a1df9867c67b515d66732ba028a73735d tree 63c2fa1f07d3e27cd443f40efdd32028d04996ef parent 9a5314432a07251c2a8d71bfc793adcf00f4122e author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: replace register address constants with sil_port[] entry Kill SIL_FIFO_* and SIL_IDE2_BMDMA and replace them with proper sil_port[] entry. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9a5314432a07251c2a8d71bfc793adcf00f4122e tree b5becc8c3cf7bfb60200bdeb344a6cfc509e9fcf parent 81c2af3561db54a4d3b439c84c58d8c2a469ec9b author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: use kzalloc Use kzalloc instead of kmalloc/memset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 81c2af3561db54a4d3b439c84c58d8c2a469ec9b tree 23c5512dc5cc3d85fa2ce91a397587848caa36da parent 219e621443a1d0bba2a6d15cbc9a1181892c6d79 author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: replace sil_3112_m15w board id with sil_3112 All 3112's have m15w. Replace sil_3112_m15w with sil_3112 and flag sil_3112 with SIL_FLAG_MOD15WRITE. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit 219e621443a1d0bba2a6d15cbc9a1181892c6d79 tree 2fdfdc3f463f356b651d9bee9599640b2ce52be3 parent e1fd263c772e89706dee28aa794399ac4bd6b9c1 author Tejun Heo Sun, 05 Mar 2006 14:28:51 +0900 committer Jeff Garzik Sun, 05 Mar 2006 00:36:28 -0500 [PATCH] ata_piix: rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS Rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS as Jeff requested. Signed-off-by: Tejun Heo Cc: Jeff Garzik Signed-off-by: Jeff Garzik commit e1fd263c772e89706dee28aa794399ac4bd6b9c1 tree 78e37149171da5c9947576680b2f659a8bbf9ec8 parent 28ca5c57dc9f235f7cba609f2b541328de47beb2 author Daniel Drake Sat, 04 Mar 2006 15:36:21 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:20:06 -0500 [PATCH] sata_promise: Support FastTrak TX4300/TX4310 This patch adds support for the Promise FastTrak TX4300/TX4310 4-port PCI SATA controllers based on the PDC40719 chip. Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit ad8c48ad3bbef078616ed4d2652d362dfd962f09 tree e400f39c22cf68621be51042a860cf402c3a9bd5 parent e72fd96e8ee3ff4dd80757172a4fe49bd92fea9c author Catalin(ux aka Dino) BOIE Sat, 04 Mar 2006 12:18:59 -0500 committer Jeff Garzik Sat, 04 Mar 2006 12:18:59 -0500 Fix io ordering problems in e100 Checking e100.c code against Documentation/io_ordering.txt I found the following problem: spin_lock_irq... write spin-unlock e100_write_flush The attached patch fix the code like this: spin_lock_irq... write e100_write_flush spin-unlock Signed-off-by: Catalin BOIE Signed-off-by: Jeff Garzik commit e72fd96e8ee3ff4dd80757172a4fe49bd92fea9c tree 2b544e905888845f7115c3302156119ac627d340 parent b27a16b7c4738ea16f6f0730caf382a3f57317bb author Mark Brown Thu, 02 Feb 2006 00:00:02 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:14:56 -0500 [PATCH] natsemi: NAPI and a bugfix As documented in National application note 1287 the RX state machine on the natsemi chip can lock up under some conditions (mostly related to heavy load). When this happens a series of bogus packets are reported by the chip including some oversized frames prior to the final lockup. This patch implements the fix from the application note: when an oversized packet is reported it resets the RX state machine, dropping any currently pending packets. Signed-off-by: Mark Brown Signed-off-by: Jeff Garzik commit b27a16b7c4738ea16f6f0730caf382a3f57317bb tree e4e881b1b0e17d3c592073d0e8aa59c0dd2d6e61 parent fb15b9dd8b3f44290a7b3b06fdfd4be2ad73f0ac author Mark Brown Thu, 02 Feb 2006 00:00:01 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:14:56 -0500 [PATCH] natsemi: NAPI and a bugfix This patch converts the natsemi driver to use NAPI. It was originally based on one written by Harald Welte, though it has since been modified quite a bit, most extensively in order to remove the ability to disable NAPI since none of the other drivers seem to provide that functionality any more. Signed-off-by: Mark Brown Signed-off-by: Jeff Garzik commit fb15b9dd8b3f44290a7b3b06fdfd4be2ad73f0ac tree cab2d85fb0ebfa33ee20e5738e11f58c0b1e16cd parent c3cf560e35509634d72cf809074834d5ea23ab66 parent a7a80d5ad3735554338199b9d976dfda5c10d3c7 author Jeff Garzik Sat, 04 Mar 2006 12:07:07 -0500 committer Jeff Garzik Sat, 04 Mar 2006 12:07:07 -0500 Merge branch 'upstream-fixes' commit c3cf560e35509634d72cf809074834d5ea23ab66 tree 47724fb236094bbd27479edb23f95ff3a85043c9 parent 46153552b43675dd4057cd526331b5bd10f39c7d author Adrian Bunk Sat, 04 Mar 2006 17:07:57 +0100 committer Jeff Garzik Sat, 04 Mar 2006 12:03:31 -0500 [PATCH] remove obsolete sis900 documentation This documentation is mostly obsolete, and should therefore either be updated or removed (this patch does the latter). Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit 46153552b43675dd4057cd526331b5bd10f39c7d tree 62b6055ee61e320dc10ea81903abbe2e7553bf4e parent f90fdc3cce3d8c8ed09615dc68cb789655078803 parent f71e130966ba429dbd24be08ddbcdf263df9a5ad author Jeff Garzik Fri, 03 Mar 2006 22:22:45 -0500 committer Jeff Garzik Fri, 03 Mar 2006 22:22:45 -0500 Merge branch 'net-const' commit f71e130966ba429dbd24be08ddbcdf263df9a5ad tree 523f10c926012f520c47894811b94944a7793fd5 parent c499ec24c31edf270e777a868ffd0daddcfe7ebd author Arjan van de Ven Fri, 03 Mar 2006 21:33:57 -0500 committer Jeff Garzik Fri, 03 Mar 2006 21:33:57 -0500 Massive net driver const-ification. commit f90fdc3cce3d8c8ed09615dc68cb789655078803 tree 116371105890850b3c302eb6728b02675914efb7 parent c96a34ec3bad5ba37ee4da4a188ad534b2fa4321 author Ralf Baechle Wed, 08 Feb 2006 23:23:26 +0000 committer Jeff Garzik Fri, 03 Mar 2006 21:23:02 -0500 [PATCH] sb1250-mac: Add support for the BCM1480 This adds support for the 4th port and other new features of the BCM1480 SOC. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit c96a34ec3bad5ba37ee4da4a188ad534b2fa4321 tree d2c46023c7a8dfbb72db255d378a6ebdfac2477b parent 8f903c708fcc2b579ebf16542bf6109bad593a1d author Komuro Fri, 03 Mar 2006 21:21:13 -0500 committer Jeff Garzik Fri, 03 Mar 2006 21:21:13 -0500 pcnet_cs: add new id (Logitec LPM-LN100TE) commit 8f903c708fcc2b579ebf16542bf6109bad593a1d tree 8fb890c05d962c2dd63f8dbc960efbd0b09802d2 parent ebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a author Jay Vosburgh Tue, 21 Feb 2006 16:36:44 -0800 committer Jeff Garzik Fri, 03 Mar 2006 20:58:00 -0500 [PATCH] bonding: suppress duplicate packets Originally submitted by Kenzo Iwami; his original description is: The current bonding driver receives duplicate packets when broadcast/ multicast packets are sent by other devices or packets are flooded by the switch. In this patch, new flags are added in priv_flags of net_device structure to let the bonding driver discard duplicate packets in dev.c:skb_bond(). Modified by Jay Vosburgh to change a define name, update some comments, rearrange the new skb_bond() for clarity, clear all bonding priv_flags on slave release, and update the driver version. Signed-off-by: Kenzo Iwami Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit 28ca5c57dc9f235f7cba609f2b541328de47beb2 tree 5aa4a5942e21cd16e58e6e6aadb2cf0ffa41c366 parent 4b2f3ededc035525038a7a9247074243dac6b351 author Tejun Heo Wed, 01 Mar 2006 16:09:36 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: reorganize ata_bus_probe() Now that reset and configure are converted such that they don't modify or disable libata core data structures, reorganize ata_bus_probe() to reflect this change. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4b2f3ededc035525038a7a9247074243dac6b351 tree bec580eaa78fc8383773b8378e9736551ff955a1 parent ffeae418c12a304f6a9b6468043954d4e67a2b1e author Tejun Heo Wed, 01 Mar 2006 16:09:36 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: fold ata_dev_config() into ata_dev_configure() ata_dev_config() needs to be done everytime a device is configured. Fold it into ata_dev_configure(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ffeae418c12a304f6a9b6468043954d4e67a2b1e tree 789b1a221d2f454c496e9220246cfb094ea386dc parent d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e author Tejun Heo Wed, 01 Mar 2006 16:09:35 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: separate out ata_dev_configure() Separate out ata_dev_configure() from ata_dev_identify() such that ata_dev_configure() only configures @dev according to passed in @id. The function now does not disable device on failure, it just returns appropirate error code. As this change leaves ata_dev_identify() with only reading ID, calling configure and disabling devices according to the results, this patch also kills ata_dev_identify() and inlines the logic into ata_bus_probe(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e tree d102151d0e1b4014c920def6a3257f031ffd56d6 parent d133ecab8ff1233c2eb3ecb94f7956aa10002300 author Tejun Heo Wed, 01 Mar 2006 16:09:35 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: convert dev->id to pointer Convert dev->id from array to pointer. This is to accomodate revalidation. During revalidation, both old and new IDENTIFY pages should be accessible and single ->id array doesn't cut it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d133ecab8ff1233c2eb3ecb94f7956aa10002300 tree f4b508d49bd57d0e8a4e8e5d7975f7513f275413 parent d33f58b883a3f624b9362227bf73fc52a6cbd4b4 author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: reimplement piix_sata_probe() Reimplement piix_sata_probe() such that it turns on PCS enable bits on all avaliable ports and check present bits after a while to determine device presence. This should help broken BIOSes. After device presence detection is complete, PCS enable bits of unoccupied bits are turned off unless the controller supports AHCI (ICH6/7 docs mandate all enables bits are always set on AHCI capable controllers). Note that PCS present bits are ignored on 6300ESB as described in the datasheet. This should fix device detection problems reported with the controller. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d33f58b883a3f624b9362227bf73fc52a6cbd4b4 tree 13a5571a6a1f3b6bf3c97c3418eec6e962231598 parent d435804803befedbda9fdc1be088e7930b60982b author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: implement proper port map Replace combined mode handling via PIIX_COMB/COMB_PATA_P0 with proper port map. PIIX now prints port configuration during initialization. ATA_FLAG_SLAVE_POSS is now turned on for SATA ports only when the slave device is actually avaliable. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d435804803befedbda9fdc1be088e7930b60982b tree 54d976e27cc6e3513ba60c1317987cd700724c15 parent 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: add a couple of flags Add PIIX_FLAG_IGN_PRESENT and SCR flags. Thi patch doesn't cause any functional change. To be used by later init/scr updates. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 tree 8f610a291cfd45cf041fd51d91de73e051a7d44e parent 597afd21401c85bdf9441830abf431c2be6fd45f author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: finer-grained port_info Make port_info finer-grained. This patch doesn't cause any functional change. Later init reimplementation will make use of it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 597afd21401c85bdf9441830abf431c2be6fd45f tree bf03f9f0abc7a075fe15bf6404d7c6b90632ecaa parent 348edc59a8f9b9a66700781d972c24a46a79ae86 author Tejun Heo Wed, 01 Mar 2006 01:25:38 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] libata: seperate out ata_class_present() Seperate out ata_class_present() from ata_dev_present(). This is useful because new reset mechanism deals with classes[] directly. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a tree cbc3ab8819704fbeb97a2a89445f57972d430fd2 parent f78fb4743dc06719084239c29dc178ad38ad2e2f author Dale Farnsworth Fri, 03 Mar 2006 10:06:20 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Remove BIT0-BIT31 #defines Now that the BIT0-BIT31 defines are no longer used by mv643xx_eth.c, remove them from mv643xx_eth.h. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit f78fb4743dc06719084239c29dc178ad38ad2e2f tree 62ebf8cc6a8de144c21a0b5cd2a3318a0e2445c2 parent 468d09f8946d40228c56de26fe4874b2f98067ed author Dale Farnsworth Fri, 03 Mar 2006 10:05:26 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Remove non-working feature: task level rx queue refill The task level rx queue refill feature hasn't ever worked (at least in 2.6) and is of dubious value. Remove it. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 468d09f8946d40228c56de26fe4874b2f98067ed tree 4f5641ffdf6782f71fbd1645908e3ba4e50aff33 parent 7303fde88a149c4cee54dae7e46d1895fa7214b4 author Dale Farnsworth Fri, 03 Mar 2006 10:04:39 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Clean up interrupt handling Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 7303fde88a149c4cee54dae7e46d1895fa7214b4 tree 394af13d130346d095c0830a48e3e421decf6b86 parent ff561eef9fb37c7180085e08418acfc009a9ada7 author Dale Farnsworth Fri, 03 Mar 2006 10:03:36 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Move #defines of constants to mv643xx_eth.h Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit ff561eef9fb37c7180085e08418acfc009a9ada7 tree 97010ae360fdb25238698ad811c22f6d901e1fde parent c8aaea25e0b069e9572caa74f984e109899c1765 author Dale Farnsworth Fri, 03 Mar 2006 10:02:51 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Refactor/clean up tx queue handling Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c8aaea25e0b069e9572caa74f984e109899c1765 tree c0569ce4abd5c0b23ffbf44a4ee78dda8b6244cb parent cd6478c8aed9b2001dfff067fa66b7492a0a2ffa author Dale Farnsworth Fri, 03 Mar 2006 10:02:05 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Refactor tx command queuing code Simplify and remove redundant code for filling transmit descriptors. No changes in features; it's just a code reorganization/cleanup. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cd6478c8aed9b2001dfff067fa66b7492a0a2ffa tree 497dcf9c0f014655b51ec25ebcf596f9a4df0682 parent 12a87c644ab1862232d0916656ff2ee42f3fb873 author Dale Farnsworth Fri, 03 Mar 2006 10:01:08 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Select CONFIG_MII on CONFIG_MV643XX_ETH >From : Dale Farnsworth Recent patches for the mv643xx_eth driver now use the MII interface library. Select MII so it gets built when that driver is selected. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 12a87c644ab1862232d0916656ff2ee42f3fb873 tree e46179ede6e839bf6c80d4daba5c04aa536eddc8 parent e38fd1a055cf4038c423bd841859b01aeb07d1b0 author Dale Farnsworth Fri, 03 Mar 2006 10:00:22 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Rename "channels" to "queues" Use better terminology for HW queues. No functional changes. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit e38fd1a055cf4038c423bd841859b01aeb07d1b0 tree 5349f6114cfb86f7b9bc6b57ec1f1b2ca39e01e3 parent d5f9558a7778d3f7dc3c9e0d5cbe7318710532f8 author Dale Farnsworth Fri, 03 Mar 2006 09:59:28 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Fix misplaced parenthesis in mv643xx_eth_port_disable_rx This bug could result in a system hang. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit d5f9558a7778d3f7dc3c9e0d5cbe7318710532f8 tree f134b6b492b0d4bb6442f7402e9697def25f272a parent 0f15a8fae8b8558f5a9b0fec770846c487c779f6 author Dale Farnsworth Fri, 03 Mar 2006 09:58:29 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Remove duplicate includes of linux/in.h and linux/ip.h Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 8cbe84f33a8d420d8c8228599bc042cb31c569fa tree 041885dcbcb6db099fcd442e8d0f2c3c7f9c0883 parent d15549acfedd70b2bd97a5876ecd59527fa97671 author Adrian Bunk Tue, 28 Feb 2006 04:40:51 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:15:29 -0300 V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups - make 2 needlessly global functions static - remove cpia2_setup(): the driver already allows setting parameters through module_param(), and there's no reason for having two different ways for setting the same parameters Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit d15549acfedd70b2bd97a5876ecd59527fa97671 tree 90993c3de43f038ca45f4a4318cd04deeac81740 parent 9a7871ba111862b1515719994df66eeda9debbd1 author Ricardo Cerqueira Fri, 03 Mar 2006 12:13:42 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:13:42 -0300 V4L/DVB (3197a): IR keymaps are exported by the ir-common module now Moved keymaps to the ir-common module, and export them from there, instead of #including them in each module Included missing files from V4L/DVB(3197). Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 9a7871ba111862b1515719994df66eeda9debbd1 tree 70272b8681010e6ccf5df443a8211316d8208a5e parent ba52429cb4e9ccd2e6417205a3f7d1f78356e236 author Michael Krufky Mon, 27 Feb 2006 15:22:49 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:13:27 -0300 V4L/DVB (3399): ELSA EX-VISION 500TV: fix incorrect PCI subsystem ID - ELSA EX-VISION 500TV was incorrectly programmed to have the same subsystem ID as ELSA EX-VISION 300TV, (1048:226b) - This changeset replaces the incorrect subsystem ID (1048:226b) with the correct one (1048:226a) for the ELSA EX-VISION 500TV. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ba52429cb4e9ccd2e6417205a3f7d1f78356e236 tree 1573cf61c25e47daa66985766171606f6dece77a parent 420f32fe4e3eed466a6563e15a89f4688134cc98 author Michael Krufky Mon, 27 Feb 2006 14:38:17 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:12:39 -0300 V4L/DVB (3398): ELSA EX-VISION 700TV: fix incorrect PCI subsystem ID - Corrected autodetection for saa7130 card: subsystem: 1048:226c, board: ELSA EX-VISION 700TV Signed-off-by: TAMUKI Shoichi Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 420f32fe4e3eed466a6563e15a89f4688134cc98 tree 5d37d8b7de1582d82c3dc6f39e59e6135750f633 parent df8cf70683ba3109756e20c50e0fefe24736564f author Nico Sabbi Fri, 03 Mar 2006 12:11:28 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:11:28 -0300 V4L/DVB (3396): Add DVB-T support for the LifeView DVB Trio PCI card This patch adds DVB-T support, no DVB-S yet Signed-off-by: Nico Sabbi Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit df8cf70683ba3109756e20c50e0fefe24736564f tree ac156d40651bf23f1ff79a347b77ec357afc86a5 parent 4a287cfeea7056dc71d2bc352ae490a2a5bcceb0 author Hartmut Hackmann Fri, 03 Mar 2006 12:09:26 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:09:26 -0300 V4L/DVB (3395): Fixed Pinnacle 300i DVB-T support - fixed tda9886 port 2 setting - turned remote control receiver off via saa7134 GPIO to avoid i2c hangs - modified tda9886 client calls to direct i2c access to allow proper return to analog mode - allow mode change to V4L2_TUNER_DIGITAL_TV in tuner VIDIOC_S_FREQUENCY client call Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0f15a8fae8b8558f5a9b0fec770846c487c779f6 tree cacee876371cfbcb33e8e5a5410359f4d21b67ef parent 30320be88fb9cae888eacf1f1eaae95a03720128 author Jeff Kirsher Thu, 02 Mar 2006 18:46:29 -0800 committer root Thu, 02 Mar 2006 18:46:29 -0800 e1000: Added driver comments and whitespace changes. Modified long lines of code to ensure they would not wrap beyond 80 characters. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 30320be88fb9cae888eacf1f1eaae95a03720128 tree 359ba46e6c3d17d1a6fc11b97eea2ad1bc71cca7 parent dc7c6add3493cdc71475a006b7afc3732e55abd8 author Jeff Kirsher Thu, 02 Mar 2006 18:21:57 -0800 committer root Thu, 02 Mar 2006 18:21:57 -0800 e1000: Added a performance enhancement - prefetch - this implementation of prefetch was tested on new and old hardware Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit dc7c6add3493cdc71475a006b7afc3732e55abd8 tree 28e1c24d37dddd300a0c912414e7e2484dc6b2b9 parent 8704163987882f8b989e8143ad1f87c6b7229a13 author Jeff Kirsher Thu, 02 Mar 2006 18:21:40 -0800 committer root Thu, 02 Mar 2006 18:21:40 -0800 e1000: Add copybreak when using packet split Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8704163987882f8b989e8143ad1f87c6b7229a13 tree 24e16b012722402cedba6f9fbc10dcda4a5eef20 parent 6418ecc68e1d9416451b6f78ebb2c0b077e0abf2 author Jeff Kirsher Thu, 02 Mar 2006 18:21:24 -0800 committer root Thu, 02 Mar 2006 18:21:24 -0800 e1000: Fixed the following issues with ESB2 (requires ESB2 support): - Add restriction for ESB2 to MTU size <=9216 - Removed FIFO errors which were not being used - Fixed issues with loopback - Power management change for saving state and config space - WA to disable recieves and reset device on link loss. Reset needed to be done outside the interrupt context - modified existing tx_timeout_task Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 6418ecc68e1d9416451b6f78ebb2c0b077e0abf2 tree 4fa4a491d559b388e7461192455bd0ebbca5d2b5 parent 2a1af5d7dfd809b16fb69f3f0fc073d9b6b7c6ac author Jeff Kirsher Thu, 02 Mar 2006 18:21:10 -0800 committer root Thu, 02 Mar 2006 18:21:10 -0800 e1000: Add support for new hardware (ESB2) Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 2a1af5d7dfd809b16fb69f3f0fc073d9b6b7c6ac tree aae8f3f32de4d0ca3f9bdc1dfea0d67d416a705f parent 85b22eb632dc75887ba99edad49307a02c2ae7ec author Jeff Kirsher Thu, 02 Mar 2006 18:20:43 -0800 committer root Thu, 02 Mar 2006 18:20:43 -0800 e1000: Add performance enahancement by balancing TX and RX Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 85b22eb632dc75887ba99edad49307a02c2ae7ec tree 07fca1fa18db61f6b3024ff2db290a6111356900 parent 9f68788856b134f93d9d10b19aa902924c61fc02 author Jeff Kirsher Thu, 02 Mar 2006 18:20:29 -0800 committer root Thu, 02 Mar 2006 18:20:29 -0800 e1000: Add enabled Jumbo frame support for 82573L Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 9f68788856b134f93d9d10b19aa902924c61fc02 tree 84607dc7136b5e003f31ccab24ff9cdffb1510a5 parent 329bfd0b6d5ffec00b787f1d0e68eef63d8b1d56 author Jeff Kirsher Thu, 02 Mar 2006 18:20:17 -0800 committer root Thu, 02 Mar 2006 18:20:17 -0800 e1000: Add 82573 controller support to TSO fix Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 329bfd0b6d5ffec00b787f1d0e68eef63d8b1d56 tree 1aff4ad4e26ca01c6203869a5477850e7c1c23a2 parent 7e6c9861bbc2fcd2438da910c006781784968a7c author Jeff Kirsher Thu, 02 Mar 2006 18:20:02 -0800 committer root Thu, 02 Mar 2006 18:20:02 -0800 e1000: Fix filling skb descriptors while using packet split - Simplified by calling skb_fill_page_desc(), which is more efficient. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 7e6c9861bbc2fcd2438da910c006781784968a7c tree 42737b91df1aec190e0c930cc1e9d426316e8b29 parent 8491682986e04fe7b258e5ba1d22f9a0ea2d803e author Jeff Kirsher Thu, 02 Mar 2006 18:19:30 -0800 committer root Thu, 02 Mar 2006 18:19:30 -0800 e1000: Fix network problems when forced at 100Mb/s and to fix TSO when forced at 100Mb/s Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8491682986e04fe7b258e5ba1d22f9a0ea2d803e tree dac61abf2c1e8e859e5434783f557576226449f3 parent 8df06e504e999ff729f1b2a2e573d96bf3690dbc author Jeff Kirsher Thu, 02 Mar 2006 18:18:48 -0800 committer root Thu, 02 Mar 2006 18:18:48 -0800 e1000: Fix Quadport Wake on LAN Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8df06e504e999ff729f1b2a2e573d96bf3690dbc tree 4087b617fe36c969577739d27fa99955362d093c parent 497fce5e72a21f45929a786bf416ac03cbe09e2f author Jeff Kirsher Thu, 02 Mar 2006 18:18:32 -0800 committer root Thu, 02 Mar 2006 18:18:32 -0800 e1000: Fix RSS if enabled in mid-connection Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 497fce5e72a21f45929a786bf416ac03cbe09e2f tree 42bd95fd55ab01df751151f967c89e99bc19c7a4 parent 20a44028f06030a71a1250ad8efb0a7fb556c3ea author Jeff Kirsher Thu, 02 Mar 2006 18:18:20 -0800 committer root Thu, 02 Mar 2006 18:18:20 -0800 e1000: Fix 82543 issue when reading eeprom Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 20a44028f06030a71a1250ad8efb0a7fb556c3ea tree 3e8bb3e77b4e0453a24aad97f3f6c3700ea6fd48 parent c5f226fe97e8025440aa330aa2c8e1c66bfdc96b author Jeff Kirsher Thu, 02 Mar 2006 18:18:08 -0800 committer root Thu, 02 Mar 2006 18:18:08 -0800 e1000: Fix dhcp issue when the skb structure fields are not filled properly Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit c5f226fe97e8025440aa330aa2c8e1c66bfdc96b tree da2a45df3a52529dec850bea57e1ec7f8bbf9b38 parent 5b66ba0db8d04d99926445bc7d9f920bb5d744ed author Jeff Kirsher Thu, 02 Mar 2006 18:17:55 -0800 committer root Thu, 02 Mar 2006 18:17:55 -0800 e1000: Fix AMT losing connectivity when switching VLAN in passive mode Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 5b66ba0db8d04d99926445bc7d9f920bb5d744ed tree acd86e028fd3856f354c703c909d1457fa60b6db parent 0989aa431636ffb347314f0e2f367fdd16d7a57f author Jeff Kirsher Thu, 02 Mar 2006 18:17:30 -0800 committer root Thu, 02 Mar 2006 18:17:30 -0800 e1000: Fix unecessary delay for 82573 controllers Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 0989aa431636ffb347314f0e2f367fdd16d7a57f tree b5890adc27313a97abe920fdfabf3f8e32b4bc7f parent 9f644d518f35903ecaff062d6e9e4f7080d80cfb author Jeff Kirsher Thu, 02 Mar 2006 18:17:16 -0800 committer root Thu, 02 Mar 2006 18:17:16 -0800 e1000: Fix lock up while setting ring parameters Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 9f644d518f35903ecaff062d6e9e4f7080d80cfb tree 10d7df285871ff51266f45350a2b0a3de21a5931 parent c1605eb37aa658b810a5a7080412d656ddce2f76 author Jeff Kirsher Thu, 02 Mar 2006 18:16:59 -0800 committer root Thu, 02 Mar 2006 18:16:59 -0800 e1000: Fix dead counters Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit c1605eb37aa658b810a5a7080412d656ddce2f76 tree c91f8a06afd19cf67cba40f687d4f662f79d8055 parent 2ade43618b0aee83a50b344171d33d85c73d01b1 author Jeff Kirsher Thu, 02 Mar 2006 18:16:38 -0800 committer root Thu, 02 Mar 2006 18:16:38 -0800 e1000: Remove Multiqueue code until we have support for MSI-X in our hardware Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 2ade43618b0aee83a50b344171d33d85c73d01b1 tree 0a49fe46159a6ef66098a4f37935412f4f226f4c parent 75e47b36004d136edff68295420424cba3a5ccd0 parent 79dc190147f8a87718fe72928d5ceb58e09acdb9 author Jeff Garzik Thu, 02 Mar 2006 14:26:30 -0500 committer Jeff Garzik Thu, 02 Mar 2006 14:26:30 -0500 Merge branch 'lro' commit 348edc59a8f9b9a66700781d972c24a46a79ae86 tree 9d61083f1148af097eb57b0e93aea945ed225812 parent a9d01d2b49f528ffcf3093a77c66f254d297d5c8 author Tejun Heo Wed, 01 Mar 2006 19:07:27 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:56:05 -0500 [PATCH] sata_sil: remove unneeded ATA_FLAG_SRST from 3512 port info Now unneeded ATA_FLAG_SRST sneaked into sil_3512 port info while merging upstream-fixes. Kill it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a9d01d2b49f528ffcf3093a77c66f254d297d5c8 tree a76fc7358faaba4c8fefc8f7feba689980dedd2f parent 4b9d7e04a8daaf3e5afe775ec9cbbfda5e32dd5b author Tejun Heo Tue, 28 Feb 2006 17:38:10 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:48:42 -0500 [PATCH] libata: kill illegal kfree(id) Kill kfree(id) in failure path of ata_dev_read_id(). id is not dynamically allocated yet. Signed-off-by: Tejun Heo Cc: Randy Dunlap Signed-off-by: Jeff Garzik commit 4b9d7e04a8daaf3e5afe775ec9cbbfda5e32dd5b tree 78feb6e39f04f325278f5a9f5392132f8326d72a parent d2dbaad8555b9a078830ac1aab7ef7a37461c640 author Tejun Heo Thu, 23 Feb 2006 10:46:47 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:48:41 -0500 [PATCH] sata_sil24: add a new PCI ID for SiI 3124 Add a new PCI ID for SiI 3124. Reported by Silicon Image. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit d2dbaad8555b9a078830ac1aab7ef7a37461c640 tree 6d455666df51db6a24834e6551e246e0c0d0d078 parent cccc65a3b60edaf721cdee5a14f68ba009341822 parent 71efa38c0eef581c69c221ceb8645f61d1e93270 author Jeff Garzik Wed, 01 Mar 2006 14:45:47 -0500 committer Jeff Garzik Wed, 01 Mar 2006 14:45:47 -0500 Merge branch 'master' commit 75e47b36004d136edff68295420424cba3a5ccd0 tree 363c2bc1f8b5185b37f05106fec4ba2a07134182 parent 68727fed5469100bec0764207d7efb7a9ecdee29 parent 07981aa43f6aec32b875f360755ed3d14f9d5139 author Jeff Garzik Wed, 01 Mar 2006 01:59:15 -0500 committer Jeff Garzik Wed, 01 Mar 2006 01:59:15 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 68727fed5469100bec0764207d7efb7a9ecdee29 tree 7afb58ab7665b90122d3b4505be5c6c9f8bade4b parent dbfedbb98145375106cee7ec7269611d553819dc parent b5b9d6647c1cd5eee90b58941c55f874c2a7e707 author Jeff Garzik Wed, 01 Mar 2006 01:58:38 -0500 committer Jeff Garzik Wed, 01 Mar 2006 01:58:38 -0500 Merge branch 'upstream-fixes' commit 07981aa43f6aec32b875f360755ed3d14f9d5139 tree 21baf289bc23882f058e7ed90f80c76d01408119 parent a23f460dd0c7c9c58b03494c7819e126b2c72383 author Pete Zaitcev Sun, 26 Feb 2006 16:29:51 -0800 committer John W. Linville Mon, 27 Feb 2006 20:14:58 -0500 [PATCH] ieee80211_geo.c: remove frivolous BUG_ON's I have come to consider BUG_ON generally harmful. The idea of an assert is to prevent a program to execute past a point where its state is known erroneous, thus preventing it from dealing more damage to the data (or hiding the traces of malfunction). The problem is, in kernel this harm has to be balanced against the harm of forced reboot. The last straw was our softmac tree, where "iwlist eth1 scan" causes a lockup. It is absolutely frivolus and provides no advantages a normal assert has to provide. In fact, doing this impedes debugging. Signed-off-by: Pete Zaitcev Signed-off-by: John W. Linville commit a23f460dd0c7c9c58b03494c7819e126b2c72383 tree a3570122d5475eefc46c6550c97042d96eceb2a6 parent acfaf10be5c19f7dceb9d7372039dc45af66b100 author Dan Williams Mon, 27 Feb 2006 16:28:36 -0500 committer John W. Linville Mon, 27 Feb 2006 20:14:58 -0500 [PATCH] wireless/airo: Remove 'Setting transmit key' info messages These messages end up polluting logs when things like NetworkManager or wpa_supplicant are controlling the driver. They aren't really that useful, and no other drivers output messages like this when the user fiddles with encryption keys. Users can use iwconfig and other wireless-tools methods to determine and change the current transmit key if they wish to do so manually. Therefore, remove the messages. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit acfaf10be5c19f7dceb9d7372039dc45af66b100 tree 75dce83cc4495a13056fde1c2166323e07373858 parent c45ae87ec9d03c9adfc466a6b560cb38b154813a parent 4832843d773462643cc471ca715382f5e509afb3 author John W. Linville Mon, 27 Feb 2006 20:13:10 -0500 committer John W. Linville Mon, 27 Feb 2006 20:13:10 -0500 Merge branch 'upstream-fixes' commit c45ae87ec9d03c9adfc466a6b560cb38b154813a tree 1fb252ca1a9e8db03f4c557017d1d6a7039f4733 parent 9f5a405b6843933c1cae5826046a5dd6357f142a parent 09e4f9029da1b53e835555c353a89c36b71233b0 author John W. Linville Mon, 27 Feb 2006 20:12:42 -0500 committer John W. Linville Mon, 27 Feb 2006 20:12:42 -0500 Merge branch 'from-jgarzik-upstream' commit 9f5a405b6843933c1cae5826046a5dd6357f142a tree bcdbb0175d37b780551b71c40abcde964a8905eb parent b7cffb028abbffff3ba0b87268ecb775ed354049 parent 051d3cbd96909b2fe6b5038e7bbe77f41356db05 author John W. Linville Mon, 27 Feb 2006 20:12:23 -0500 committer John W. Linville Mon, 27 Feb 2006 20:12:23 -0500 Merge branch 'from-linus' commit 09e4f9029da1b53e835555c353a89c36b71233b0 tree 81d2a6de51b1bb3c704e5385dbc90ca79efa69bc parent 750b50ab5687125d8a1dc946d931b00acf016e2c parent dbfedbb98145375106cee7ec7269611d553819dc author John W. Linville Mon, 27 Feb 2006 19:35:48 -0500 committer John W. Linville Mon, 27 Feb 2006 19:35:48 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit cccc65a3b60edaf721cdee5a14f68ba009341822 tree a458d28f70cbe0e848596aad6005442a2621d388 parent ba70d0614728892b86b2be2f7eae0c696b436461 parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jeff Garzik Mon, 27 Feb 2006 11:49:05 -0500 committer Jeff Garzik Mon, 27 Feb 2006 11:49:05 -0500 Merge branch 'master' commit dbfedbb98145375106cee7ec7269611d553819dc tree 81d2a6de51b1bb3c704e5385dbc90ca79efa69bc parent 7b0386921db20add25afd8678ed34a9253e512fc parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jeff Garzik Mon, 27 Feb 2006 11:33:51 -0500 committer Jeff Garzik Mon, 27 Feb 2006 11:33:51 -0500 Merge branch 'master' commit 4a287cfeea7056dc71d2bc352ae490a2a5bcceb0 tree 627c7b3c8d893f02d79f3a57b400ecaa2dcbde8d parent 6457af5f7eac49ff8e072fdc98c986d4ac874b04 author Duncan Sands Mon, 27 Feb 2006 00:09:48 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:48 -0300 V4L/DVB (3394): Bttv: correct bttv_risc_packed buffer size This patch fixes the strange crashes I was seeing after using bttv card, caused by a buffer overflow in bttv_risc_packed. The instruction buffer size calculation contains two errors: (a) a non-zero padding value can push the start of the next bpl section to just before a page border, leading to more scanline splits and thus additional instructions. (b) the first DMA region can be smaller than one page, so there can be a scanline split even if bpl*lines is smaller than PAGE_SIZE. For example, consider the case where offset is 0, bpl is 2, padding is 4094, lines is smaller than 2048, the first DMA region has size 1 and all others have size PAGE_SIZE, assumed to equal 4096. Then all bpl regions cross page borders and the number of instructions written is 2*lines+2, rather than lines+2 (the current estimate). With this patch the number of instructions for this example is estimated to be 2*lines+3. Also, the BUG_ON that was supposed to catch buffer overflows contained a thinko causing it fire only if the buffer was overrun by a factor of 16 or more, so it fixes the the BUG_ON's (using sizeof rather than "4"). Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit 6457af5f7eac49ff8e072fdc98c986d4ac874b04 tree c262704a5f183ee1866879597394b904d59845b8 parent dadaff2db46aae917ccdbceb2cd2ecac75767435 author Ian Pickworth Mon, 27 Feb 2006 00:09:45 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:45 -0300 V4L/DVB (3393): Cx88: reduce excessive logging - fix temporary debug code by changing printk to dprintk at level 1. - move CORE_IOCTL messages from level 1 to level 2. - this should help with selective debugging, while not filling people's logs up during normal use. Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dadaff2db46aae917ccdbceb2cd2ecac75767435 tree 8db97f6b92417de624cba7bb447d2d38439f968d parent df5a4f4fd378367db1f48e92f46ce312814cf745 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:41 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:41 -0300 V4L/DVB (3392a): XC3028 code removed from -git versions - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. It will be kept only at mercurial tree on http://linuxtv.org/hg until fixed. Signed-off-by: Mauro Carvalho Chehab commit df5a4f4fd378367db1f48e92f46ce312814cf745 tree cd83bf68b03594fbc31b40296a0b8e367060eb7f parent 918c4563d9c0fafce0072ce0962a703ceba8f05d author Manu Abraham Mon, 27 Feb 2006 00:09:37 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:37 -0300 V4L/DVB (3392): Do a RESYNC for all cards After a FIFO corruptions occurrs (generally due to buffer overflow), FIFO contents needs to be discarted. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 918c4563d9c0fafce0072ce0962a703ceba8f05d tree bfde785cadabb027602cb2eecac123ae20f6b6e6 parent 6baad3f041eec7c31ad88b52eb44205987148eba author Uwe Bugla Mon, 27 Feb 2006 00:09:34 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:34 -0300 V4L/DVB (3391): Documentation update Signed-off-by: Uwe Bugla Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 6baad3f041eec7c31ad88b52eb44205987148eba tree 403a76e860aefe8d1d8f6d9b71a9ef131f0e248c parent e7ac46469c247a931f760354deaed9cf10b75fde author Manu Abraham Mon, 27 Feb 2006 00:09:32 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:32 -0300 V4L/DVB (3390): Fix module parameters Now, root may change parameters while module is running. Thanks to Edgar Toerning Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit e7ac46469c247a931f760354deaed9cf10b75fde tree 3dd4158a80601bd5aad0160f96f6c33e213f0e9e parent 1e7eb89ba936fc1db54e247a336f3f55bdbc644d author Manu Abraham Mon, 27 Feb 2006 00:09:29 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:29 -0300 V4L/DVB (3389): Fix broken IF-OUT Relay handling Fixed broken IF-OUT on pinnacle sat board. Thanks to Edgar Toernig Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 1e7eb89ba936fc1db54e247a336f3f55bdbc644d tree 1866b11f6590fe22ce7bd532578cb0a7cdc88d59 parent 3b81fec4328799e94789e8404e6e8b7218c096f6 author Manu Abraham Mon, 27 Feb 2006 00:09:25 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:25 -0300 V4L/DVB (3388): Ignore DiSEqC messages > 6 and < 3 Ignore invalid messages on cx24110 frontend. Thanks to Edgar Toernig Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 3b81fec4328799e94789e8404e6e8b7218c096f6 tree bf46e6ebbbdae9bacf0947ea8e2311c4e1b12d88 parent 1be11e367f25d3874276d56d1c4ffed5b3cc3bb9 author Peter Beutner Mon, 27 Feb 2006 00:09:23 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:23 -0300 V4L/DVB (3386): Dvb-core: remove dead code The field "dvr" in struct dmxdev is competely unused. Remove it and code which allocates, initializes and frees it. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 1be11e367f25d3874276d56d1c4ffed5b3cc3bb9 tree 147c7388a819c07dcfd5d65d1ada9155a708f178 parent 981a16f185bdf105f0d411d87f5c276d3da60e64 author Johannes Stezenbach Mon, 27 Feb 2006 00:09:20 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:20 -0300 V4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 981a16f185bdf105f0d411d87f5c276d3da60e64 tree d0f0ed11addec143cb7dde02af78e30d424597a1 parent b9ee9ad7cb91301aae0fc12e11f79ba119c133d9 author Mattias Nordstrom Mon, 27 Feb 2006 00:09:17 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:17 -0300 V4L/DVB (3382): Fix stv0297 for qam128 on tt c1500 (saa7146) I have a TT C1500 card (saa7146, STV0297) which had problems tuning channels at QAM128 (like the ones in the Finnish HTV / Welho network). A fix which seems to work perfectly so far is to change the delay for QAM128 to the same values as for QAM256 in stv0297_set_frontend(), Signed-off-by: Mattias Nordstrom Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b9ee9ad7cb91301aae0fc12e11f79ba119c133d9 tree c36ffb3427570b6872f16715ce3b122a4aaddd43 parent 44fd06fa9002c42b367c152594cc95b7632c081d author Michael Krufky Mon, 27 Feb 2006 00:09:14 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:14 -0300 V4L/DVB (3380): TUV1236d: declare buffer as static const Make buffer a static const Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 44fd06fa9002c42b367c152594cc95b7632c081d tree 296578d5a5bb6ff131ac2c8b1fa6b88be0548153 parent 36f4f334a169e5d42721d74b5d92fda89f792b06 author Hartmut Hackmann Mon, 27 Feb 2006 00:09:11 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:11 -0300 V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe The probing code for tda8290 changes the state of the tda9887 GP ports. The patch assumes that if probing for tda8290 failed, this must be a tda9887 and restores its power on defaults. This should solve the module load order issue with some pinnacle cards. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 36f4f334a169e5d42721d74b5d92fda89f792b06 tree 79d34a7476ff8c6a8c54fad2dfe3c2a9616c3485 parent ab33d5071de7a33616842882c11b5eb52a6c26a1 author Thilo Berger Mon, 27 Feb 2006 00:09:08 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:08 -0300 V4L/DVB (3377): Support for Satelco EasyWatch DVB-S light Support for Satelco EasyWatch DVB-S light. Signed-off-by: Thilo Berger Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit ab33d5071de7a33616842882c11b5eb52a6c26a1 tree 5484a1a0d671e7191a47a1b51d5e1ae67fc8916f parent f05cce863fa399dd79c5aa3896d608b8b86d8030 author Alan Cox Mon, 27 Feb 2006 00:09:05 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:05 -0300 V4L/DVB (3376): Add cpia2 camera support There has been a CPIA2 driver out of kernel for a long time and it has been pretty clean for some time too. This is an import of the sourceforge driver which has been stripped of - 2.4 back compatibility - 2.4 old style MJPEG ioctls A couple of functions have been made static and the docs have been repackaged into Documentation/video4linux. The rvmalloc/free functions now match the cpia driver again. Other than that this is the code as is. Tested on x86-64 with a QX5 microscope. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f05cce863fa399dd79c5aa3896d608b8b86d8030 tree 0bca256b945576dc99ae7e6d6ce6a02968f42a09 parent 2e0d447005d2ac05b15aa21b3846815f90bafbdb author Andreas Oberritter Mon, 27 Feb 2006 00:09:00 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:00 -0300 V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls Add two new ioctls to read the 33 bit presentation time stamp from audio and video devices as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1. Acked-by: Johannes Stezenbach Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 2e0d447005d2ac05b15aa21b3846815f90bafbdb tree 7b6f83db521a76fc0f7d344dd2543d00d3114322 parent 0bbb9c175211c2e114216978c9630d894c7760b3 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:58 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:58 -0300 V4L/DVB (3374): Adds debuging v4l2_memory enum Some cleanup on printing enum names. v4l2_memory now translated also to name. Signed-off-by: Mauro Carvalho Chehab commit 0bbb9c175211c2e114216978c9630d894c7760b3 tree ea70bb829debac1d37d84704f64dc66822a30f9d parent 3ed33c31a7253f2b29a3813b66bf87985d3396ac author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:55 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:55 -0300 V4L/DVB (3373): Debug messages for ioctl improved Adds field and type name to debug message. Also prints now format for type=capture. Signed-off-by: Mauro Carvalho Chehab commit 3ed33c31a7253f2b29a3813b66bf87985d3396ac tree a08dabfa2ad6330fb8334e60c5ecbb12c8cb72fd parent 41f38b43e0bfbb2ba1ef3c778f376dad8820b214 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:52 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:52 -0300 V4L/DVB (3372): Fix a small bug when constructing fps and line numbers Previously, only NTSC and PAL/M were associated to 30fps and 525 lines, so, PAL/60 were not handled properly. Signed-off-by: Mauro Carvalho Chehab commit 41f38b43e0bfbb2ba1ef3c778f376dad8820b214 tree 94a8083a12fdda21f1479f6d2fe9688a60a9e205 parent a8029170b907e7bfac5f6ea3fcd5d076e90beaf3 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:49 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:49 -0300 V4L/DVB (3371): Add debug to ioctl arguments. Added a new function that allows printing ioctl arguments. This makes easier to include debug code under v4l ioctl handling. Also fixed some declarations on internal ioctl. Signed-off-by: Mauro Carvalho Chehab commit a8029170b907e7bfac5f6ea3fcd5d076e90beaf3 tree ecfa8b075e4a605fd71a4c897391bab4e57f0f45 parent f29edc22109840be0dd8e2d7d532cabac97d9c19 author Rudo Thomas Mon, 27 Feb 2006 00:08:46 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:46 -0300 V4L/DVB (3369): LifeView FlyDVB-T Duo: add support for remote control The remote controller on the LifeView FlyDVB-T Duo card work flawlessly with the same settings as the LifeView FlyDVB-T LR301 card. Signed-off-by: Rudo Thomas Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f29edc22109840be0dd8e2d7d532cabac97d9c19 tree 607822122b014f297c2a8387f2840e3ce29e932a parent 20b5ee5d491238b8de7ba0c06945d8e3935d42e6 author Michael Krufky Mon, 27 Feb 2006 00:08:43 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:43 -0300 V4L/DVB (3368): KWorld HardwareMpegTV XPert: update comments Standard video using the cx88 broadcast decoder is working, but blackbird isn't working yet, audio is only working correctly for television mode. S-Video and Composite are working for video-only, so I have them disabled for now. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 20b5ee5d491238b8de7ba0c06945d8e3935d42e6 tree ac87266bfa3710626fb04ecb77787cee26f8ed24 parent ccb1ef199162754e80c27e5b7d20817eb73a0eab author Curt Meyers Mon, 27 Feb 2006 00:08:39 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:39 -0300 V4L/DVB (3366): Kworld ATSC110: initialize the tuner for analog mode on module load - Enable the tuv1236 tuner on the Kworld-ATSC110 card so that the tuner can be identified when tuners.ko loads. - With this change it is no longer necessary to remove and reload the tuner module in order to get the tuv1236 identified. - This code was copied from the ATI HDTV Wonder init routine (in cx88-cards.c) which also uses the TUV1236D. Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ccb1ef199162754e80c27e5b7d20817eb73a0eab tree 893bb08a38001cf5dff29854de200c681a5b0345 parent 6ba509d7c73f6cea795a71ceed6cdb7e302fc4b7 author Michael Krufky Mon, 27 Feb 2006 00:08:36 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:36 -0300 V4L/DVB (3365): Kworld ATSC110: cleanups - There is no radio with this tuner card... Thanks-to: Dwaine Garden - fixed capitalization in card name. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6ba509d7c73f6cea795a71ceed6cdb7e302fc4b7 tree 84332411c7e7c8dd68a17e8771136707cc9da56e parent fbc81c072d832a0529bdb710404e7c9dc14f3043 author Curt Meyers Mon, 27 Feb 2006 00:08:32 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:32 -0300 V4L/DVB (3363): Kworld ATSC110: enable composite and svideo inputs - corrected composite input. - verified s-video input. Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fbc81c072d832a0529bdb710404e7c9dc14f3043 tree b2dc08b549bff330073a34be654476bc9bf9cbe6 parent 3e1410adc7cc9e8511327179b5b86864be17b7f9 author Curt Meyers Mon, 27 Feb 2006 00:08:27 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:27 -0300 V4L/DVB (3362): KWorld ATSC110: implement set_pll_input - When tuning VSB, use ANT input - When tuning QAM, use CABLE input Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3e1410adc7cc9e8511327179b5b86864be17b7f9 tree 6dcbe9209a306471cd34a52487e91a11a3ad2a6b parent ecc0b94742014f21fd1ba331bb6815322800b6c8 author Andrew Burri Mon, 27 Feb 2006 00:08:23 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:23 -0300 V4L/DVB (3361): Add support for Kworld ATSC110 Signed-off-by: Andrew Burri Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ecc0b94742014f21fd1ba331bb6815322800b6c8 tree 6437d7cc5b8148975119d9858f73fd2af0b632dd parent fddd632a8f3850b3981e21a477fcb83d227353ca author Hans Verkuil Mon, 27 Feb 2006 00:08:20 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:20 -0300 V4L/DVB (3354): Fix maximum for the saturation and contrast controls. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fddd632a8f3850b3981e21a477fcb83d227353ca tree b9524fe63477186bdcb7d43dd47e0c5bdfaa38d8 parent 4ab2b99b9f41a0a409030f1edb79a14ec2287e4b author Michael Krufky Mon, 27 Feb 2006 00:08:17 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:17 -0300 V4L/DVB (3352): Cxusb: fix lgdt3303 naming The following are specific to lgdt3303, and are being renamed to reflect this. - cxusb_lgdt330x_config renamed to cxusb_lgdt3303_config. - cxusb_lgdt330x_frontend_attach renamed to cxusb_lgdt3303_frontend_attach. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4ab2b99b9f41a0a409030f1edb79a14ec2287e4b tree c59b265753378f7450ee26d38b3cde1d6c8ed624 parent 8a9a5fbd33258b8e3e3b629a9f33254b6f1d883b author BoyZonder Mon, 27 Feb 2006 00:08:15 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:15 -0300 V4L/DVB (3349): Remote control codes for BTTV_BOARD_CONTVFMI The remote control interface for this board is the same as the one for BTTV_BOARD_CONCEPTRONIC_CTVFMI2 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 8a9a5fbd33258b8e3e3b629a9f33254b6f1d883b tree b23f05b5d994f7a9bf99aaa559784bc462569f7b parent cb46e3c28ef8055e82dfbc64ba64dda123833036 author Ricardo Cerqueira Mon, 27 Feb 2006 00:08:11 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:11 -0300 V4L/DVB (3348): Fixed saa7134 ALSA initialization with multiple cards When multiple cards were installed, only the first card would have audio initialized, because only the first position in the array parameter defaulted to "1" To make things worse, the "enable" parameter wasn't enabled, so there was no workaround. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit cb46e3c28ef8055e82dfbc64ba64dda123833036 tree 552b9b2c74be2faaf3c19601ca8eb8146aa35eb7 parent d0456d1d67044ff2987190d0d8148a88f1a775af author Karsten Suehring Mon, 27 Feb 2006 00:08:08 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:08 -0300 V4L/DVB (3347): Pinnacle PCTV 40i: add filtered Composite2 input This patch adds another composite input to the Pinnacle PCTV 100i definition which filters the chrominace signal from the luma input. This improves video quality for Composite signals on the S-Video connector of the card. In addition the name string of the card is changed to include PCTV 40i and 50i since these cards are identical. Signed-off-by: Karsten Suehring Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d0456d1d67044ff2987190d0d8148a88f1a775af tree 50f6838782d2c4abea8ed8af0298f0214829fe4b parent 24da4e4b8dbd443c205c4ec3b2a563421e6ca319 author Tamuki Shoichi Mon, 27 Feb 2006 00:08:04 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:04 -0300 V4L/DVB (3346): Add saa713x card: ELSA EX-VISION 700TV (saa7130) Add support for ELSA EX-VISION 700TV, which is the ELSA Japan's flagship model of the software encoding TV capture card. All inputs (Television, Composite1 and S-Video) have been tested. Signed-off-by: Tamuki Shoichi Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 24da4e4b8dbd443c205c4ec3b2a563421e6ca319 tree d9beae36d067965aaf978e5edfed6a0fb5362d2c parent e2798212e3ce0057336bc0807beb3213de1dc5be author Michael Krufky Mon, 27 Feb 2006 00:08:01 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:01 -0300 V4L/DVB (3344): KWorld HardwareMpegTV XPert must set gpio2 - KWorld HardwareMpegTV XPert must set gpio2 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e2798212e3ce0057336bc0807beb3213de1dc5be tree 562cadc17cb49d1c055c5dc0cbd0c62437f59607 parent 47a9e50eb7719dc1bf01ac8b60f4d8758146d00e author Michael Krufky Mon, 27 Feb 2006 00:07:58 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:58 -0300 V4L/DVB (3343): KWorld HardwareMpegTV XPert: Add radio support - add radio support for KWorld HardwareMpegTV XPert - fix GPIO settings for tv and radio Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 47a9e50eb7719dc1bf01ac8b60f4d8758146d00e tree c632e7a53a450cfaca6382912b7b99e7b07434c7 parent 36b36562c4159cca890f29a603e829030fea5788 author Adrian Bunk Mon, 27 Feb 2006 00:07:55 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:55 -0300 V4L/DVB (3341): Upstream sync - make 2 structs static Signed-off-by: Adrian Bunk Acked-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 36b36562c4159cca890f29a603e829030fea5788 tree fc07077ff9153ed8608adb5dfee58f6d060787d8 parent 4592b3a08454bb018e482de230fd5f15757bba92 author Manu Abraham Mon, 27 Feb 2006 00:07:52 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:52 -0300 V4L/DVB (3340): Make a struct static Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 4592b3a08454bb018e482de230fd5f15757bba92 tree b3491fda24c7f3a03c6f2075ba1122102b1441eb parent dccd7c703a1ca006fc01d9fe2f14d15d1d17cdc5 author Adrian Bunk Mon, 27 Feb 2006 00:07:49 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:49 -0300 V4L/DVB (3337): Drivers/media/dvb/frontends/mt312.c: cleanups This patch contains the following possible cleanups: - update the Kconfig help to mention the VP310 - merge vp310_attach and mt312_attach into a new vp310_mt312_attach to remove some code duplication Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dccd7c703a1ca006fc01d9fe2f14d15d1d17cdc5 tree 7d657ad74d0dda4a3f0473ef576a6fdea1911266 parent 176790f0681ad151c55068589092a813c689654c author Michael Krufky Mon, 27 Feb 2006 00:07:46 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:46 -0300 V4L/DVB (3336): Bt8xx documentation authors fix - use one Author per line, which allows us to add more authors later without creating a mess. - Add Michael Krufky due to -git commit 2cbeddc976645262dbe036d6ec0825f96af70da3 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 176790f0681ad151c55068589092a813c689654c tree c590e800f086de974cf9126616e0116acf922b3a parent 749eef857948a3de789b7d0e3b96d92199d723cf author Michael Krufky Mon, 27 Feb 2006 00:07:43 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:43 -0300 V4L/DVB (3335): Fix in-kernel build - remove tuner.ko build dependency on xc3028.o , which will be added again later. - fix the following build error when using the "make kernel-links" build method to symlink the latest code from the v4l-dvb repository into the kernel source: drivers/media/video/xc3028.c:31:20: em28xx.h: No such file or directory drivers/media/video/xc3028.c: In function `xc3028_init': drivers/media/video/xc3028.c:120: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:121: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:139: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:140: error: dereferencing pointer to incomplete type make[3]: *** [drivers/media/video/xc3028.o] Error 1 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 749eef857948a3de789b7d0e3b96d92199d723cf tree dbec0c397abfc0260054b476ba1e19825b657888 parent cfcd718d492d401a7d8a7ee3a85e48164b56e2e2 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:40 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:40 -0300 V4L/DVB (3334): Added ET61X251 fourcc type Signed-off-by: Mauro Carvalho Chehab commit cfcd718d492d401a7d8a7ee3a85e48164b56e2e2 tree e6724d27b0befb5891ad9161ea72845c8addc9fa parent 9475fb1c717ee5ce3df767b8e3b9439d341f043d author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:37 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:37 -0300 V4L/DVB (3332): XC3028 code marked with an special define option - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. So, it was marked inside some defines, in order to be removed by gentree.pl stript. Script also updated to remove it. Signed-off-by: Mauro Carvalho Chehab commit 9475fb1c717ee5ce3df767b8e3b9439d341f043d tree bea4a1f4e3febaf330b603b3427e442e06ca893e parent cce91e36d74be635abb99aa1dc74951e11be8aea author Markus Rechberger Mon, 27 Feb 2006 00:07:34 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:34 -0300 V4L/DVB (3293): Fixed amux hauppauge hvr900/terratec hybrid xs Fixed amux hauppauge hvr900/terratec hybrid xs Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit cce91e36d74be635abb99aa1dc74951e11be8aea tree 07176d4606c4277d654e1e405a03c668c05a0196 parent 0004fd59d57a5875db8897966c414a88b5dad481 author Markus Rechberger Mon, 27 Feb 2006 00:07:31 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:31 -0300 V4L/DVB (3292): Fixed xc3028 firmware extractor, added terratec fw support Fixed xc3028 firmware extractor for terratec's emBDA.sys firmware Fixed delay in firmwareupload, now terratec's firmware also works Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 0004fd59d57a5875db8897966c414a88b5dad481 tree e0f28025301fb87125c38ed51a51f6f29456d1fa parent 1d519605f13dd2c51024060465a16ddd1abfb649 author Markus Rechberger Mon, 27 Feb 2006 00:07:27 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:27 -0300 V4L/DVB (3291): Added support for xc3028 analogue tuner (Hauppauge HVR900, Terratec Hybrid XS) Added support for xc3028 to v4l which adds support for: * Terratec Hybrid XS (analogue) * Hauppauge HVR 900 (analogue) Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 1d519605f13dd2c51024060465a16ddd1abfb649 tree 2d6f30bb756a4becda0caacf763a5a36f785c0b7 parent 0ac139d60fb6107950e250bbf8bd6c2c73dfafbd author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:24 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:24 -0300 V4L/DVB (3300b): .gitignore should also ignore StGit generated dirs StGit genreates patches-* when you run stg export command. It makes no sense to show such directories as changes on git status. Signed-off-by: Mauro Carvalho Chehab commit 0ac139d60fb6107950e250bbf8bd6c2c73dfafbd tree f79556d2e5a7664762974f84d0c700ba267ab951 parent 282b7cb3e03d9ada4067083e61919d74197a1e5a author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:21 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:21 -0300 V4L/DVB (3300a): Removing personal email from DVB maintainers Signed-off-by: Mauro Carvalho Chehab commit 7b0386921db20add25afd8678ed34a9253e512fc tree 8c6b888b76211e38e6c1c3006553dc4b2b24c75e parent c5580a7ecb859c6821dd761c95fa150ec7695ae1 parent 22fe472cb430ce45c4fb9b6d13060dd724d6dbc8 author Jeff Garzik Thu, 23 Feb 2006 21:16:27 -0500 committer Jeff Garzik Thu, 23 Feb 2006 21:16:27 -0500 Merge branch 'upstream-fixes' commit 5b3030e39049212c975665cdb3eeabcfaf7c94ca tree 93742231c2e01087ae36d7c05d8bd7bdb7ca8878 parent d9e902668e815f9f33ba5056089684b0704eeac6 author Eric Sesterhenn Thu, 23 Feb 2006 09:47:13 -0600 committer Dave Kleikamp Thu, 23 Feb 2006 09:47:13 -0600 JFS: kzalloc conversion this converts fs/jfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Dave Kleikamp commit d9e902668e815f9f33ba5056089684b0704eeac6 tree a2efed26b40b36f38e155955d661f776759a42dc parent 91dbb4deb30e817efc8d6bed89b1190a489ca776 author Herbert Poetzl Wed, 22 Feb 2006 14:14:58 -0600 committer Dave Kleikamp Wed, 22 Feb 2006 14:14:58 -0600 JFS: Add missing file from fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 My mistake here. I failed to checkin fs/jfs/ioctl.c Signed-off-by: Dave Kleikamp commit ba70d0614728892b86b2be2f7eae0c696b436461 tree fb62902d9563b5376c4805918a8a1c092b481ead parent 49016aca2e54c64f08c31d5512dfd8d35f934c58 author Tejun Heo Tue, 21 Feb 2006 02:12:11 +0900 committer Jeff Garzik Mon, 20 Feb 2006 18:56:59 -0500 [PATCH] libata: kill ata_dev_reread_id() Kill now-unused ata_dev_reread_id(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 49016aca2e54c64f08c31d5512dfd8d35f934c58 tree f0b5c2843f74a9adb62761d0ec9d05284bc47a1c parent f131883e73a8662dc92c3ea371ae9ded0c8f2c37 author Tejun Heo Tue, 21 Feb 2006 02:12:11 +0900 committer Jeff Garzik Mon, 20 Feb 2006 18:56:58 -0500 [PATCH] libata: separate out ata_dev_read_id() Separate out ata_dev_read_id() from ata_dev_identify(). This is the first half of splitting ata_dev_identify(). ata_dev_read_id() will also be used for revalidation. This patch does not make any behavior change. ata_dev_read_id() doesn't modify any of libata-internal data structures. It simply reads IDENTIFY page and returns error code on failure. INIT_DEV_PARAMS and EDD wrong class code are also handled by this function. Re-reading IDENTIFY after INIT_DEV_PARAMS is performed by jumping to retry: instead of calling ata_dev_reread_id(). This is done because 1. there's retry label anyway 2. ata_dev_reread_id() cannot be used anywhere else so there's no reason to keep it. This function is probably the place to set transfer mode to PIO0 before IDENTIFY. However, reset -> identify -> init_dev_params order should be kept for pre-ATA4 devices so we cannot set transfer mode before IDENTIFY for them. How do we know if a device is post-ATA4 before IDENTIFY? Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f131883e73a8662dc92c3ea371ae9ded0c8f2c37 tree acd45903e321cf04df825da8d05ee06dabc1d8aa parent ccbe6d5ee0eb3182675ef1c84322810fd884586d parent 2e242fa994428bd1a40b6a7e97430413246d0a16 author Jeff Garzik Mon, 20 Feb 2006 16:55:56 -0500 committer Jeff Garzik Mon, 20 Feb 2006 16:55:56 -0500 Merge branch 'upstream-fixes' commit ccbe6d5ee0eb3182675ef1c84322810fd884586d tree 0375faedb033b70b401933b956c1b8bf8fc2b3ae parent 573db6b8f93b5e359abd9a05e620fd9a589b0209 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] ata_piix: convert sata to new reset mechanism Convert ata_piix sata ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 573db6b8f93b5e359abd9a05e620fd9a589b0209 tree d54f6e6907f30c8efcd3dc089b87af172746751e parent 56497bd5f1340cb97d94cab953b050be6f729790 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] ata_piix: convert pata to new reset mechanism Convert ata_piix pata ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 56497bd5f1340cb97d94cab953b050be6f729790 tree 330d966efed6bf6fd2c3d746b02a25f5ad4232a7 parent 6aff8f1f07a7fff48121d1ad4a550f3af24ccc81 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] libata: fix comment regarding setting cable type The comment above ata_std_postreset() specified that setting cable type is the responsibility of postreset(), which isn't possible / optimal depending on controller / driver. This patch kills the comment. Setting cable type is responsibility of ->probe_reset. libata doesn't care whether it's done in probeinit, reset or postreset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c5580a7ecb859c6821dd761c95fa150ec7695ae1 tree 18ca034a53c22e12912e55f5858d1b4a235cedd7 parent b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb parent d33a73c81241e3d9ab8da2d0558429bdd5b4ef9a author Jeff Garzik Mon, 20 Feb 2006 05:59:59 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:59 -0500 Merge branch 'forcedeth' commit d33a73c81241e3d9ab8da2d0558429bdd5b4ef9a tree 7e8054ebf23f4924f6bf5b5f678bfb2e5e6965dd parent 0832b25a75d128e4f9724156380ba071c4f3f20d author Ayaz Abdulla Sat, 04 Feb 2006 13:13:31 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add support for MSI/MSIX This forcedeth patch adds support for MSI/MSIX interrupts. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 0832b25a75d128e4f9724156380ba071c4f3f20d tree f24926c80383da38da6071dc97263c4089bc3f78 parent ee407b02f3f1992bc746876c26f8175c8783562b author Ayaz Abdulla Sat, 04 Feb 2006 13:13:26 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add support for 64bit rings This forcedeth patch adds high dma support for tx/rx rings. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit ee407b02f3f1992bc746876c26f8175c8783562b tree a005421bd26f8ca0178d4e9a3a7a79486a45f9de parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Ayaz Abdulla Sat, 04 Feb 2006 13:13:17 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add vlan support This forcedeth patch adds support for vlan stripping/inserting in hardware. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 6aff8f1f07a7fff48121d1ad4a550f3af24ccc81 tree 3b02003f45b43c81b395c4a07e8c708599304bdd parent 6a62a04d4705df4f9f9bee39e889b9e920eeca47 author Tejun Heo Wed, 15 Feb 2006 18:24:09 +0900 committer Jeff Garzik Mon, 20 Feb 2006 05:07:52 -0500 [PATCH] libata: update ata_dev_init_params() Update ata_dev_init_params() such that it doesn't disable port directly but return with appropriate error mask on failure. This is preparation for splitting ata_dev_identify(). Note that this patch changes behavior of dev_init_params failure such that only failing devices are taken offline not the whole port. This change is intended. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6a62a04d4705df4f9f9bee39e889b9e920eeca47 tree ea1b13e887740b69f7cd24e602802599c3fb8e76 parent 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b author Tejun Heo Mon, 13 Feb 2006 10:02:46 +0900 committer Jeff Garzik Mon, 20 Feb 2006 04:54:22 -0500 [PATCH] libata: rename ata_dev_id_[c_]string() This patch renames ata_dev_id_[c_]string() to ata_id_[c_]string(). All other functions which read data from ATA ID data start with ata_id and those two function names were getting too long. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b tree 2f900f89d93db6b0822d8bdf4f49851c581c12a6 parent f1b318793dcd2d9ff6b5ac06e7762098fa079cee parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Jeff Garzik Mon, 20 Feb 2006 02:16:23 -0500 committer Jeff Garzik Mon, 20 Feb 2006 02:16:23 -0500 Merge branch 'master' commit b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb tree f190980d5bffae81a67c0cea0d913ed2444ceb0c parent 70c07e02625ec46d0ffbfce1acef42d660803528 parent f5e2a7b22e7d7dfda8794906d0fddeaaa09bb944 author Jeff Garzik Fri, 17 Feb 2006 16:20:30 -0500 committer Jeff Garzik Fri, 17 Feb 2006 16:20:30 -0500 Merge branch 'upstream-fixes' commit b7cffb028abbffff3ba0b87268ecb775ed354049 tree e5a4dd1cca31bf38c2a57214ab3d2a9ae1c5e367 parent 22d8846e5ce329436628da71a4239ccc2745869f author Johannes Berg Wed, 04 Jan 2006 20:58:10 +0100 committer John W. Linville Fri, 17 Feb 2006 10:41:34 -0500 [PATCH] ieee80211: fix sparse warning about missing "static" This patch adds a missing "static" on a variable (sparse complaint) Signed-off-by: John W. Linville commit 22d8846e5ce329436628da71a4239ccc2745869f tree 623c307aaf08150a39a480241711fb0ec2e99416 parent 1ba61e05e254a587b7a6be9484a8bcd973551be1 author Dan Williams Sun, 05 Feb 2006 18:00:30 -0500 committer John W. Linville Fri, 17 Feb 2006 08:17:00 -0500 [PATCH] wireless/airo: fix setting TX key index plus key in ENCODEEXT The previous patch that added ENCODEEXT and AUTH support to the airo driver contained a slight error which would cause setting the TX key index ignore a valid key-set request at the same time. This patch allows any combination of setting the TX key index and setting an encryption key. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 1ba61e05e254a587b7a6be9484a8bcd973551be1 tree 41a56d4c60478b598e30984c81188e50afab0c0f parent 47c51431fcc5fce3108e8e549cc9d243acd462ed author Zhu Yi Wed, 15 Feb 2006 13:00:55 +0800 committer John W. Linville Fri, 17 Feb 2006 08:17:00 -0500 [PATCH] ipw2200: Fix software crypto shared WEP authentication problem We didn't set the WEP key to hardware when we are using software based crypto. Hardware needs the key to do WEP authentication even for software based encryption. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 47c51431fcc5fce3108e8e549cc9d243acd462ed tree fd42b296eb25a9d78e42eac0a97bbe4212852c21 parent 23afaec4441baf0579fa115b626242d4d23704dd author Jon Mason Sun, 12 Feb 2006 11:53:04 -0600 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] trivial: fix spelling errors in Kconfigs This patch corrects a few spelling and grammar errors found in drivers/net Signed-off-by: Jon Mason Signed-off-by: John W. Linville commit 23afaec4441baf0579fa115b626242d4d23704dd tree 5a9ddf4e13fc686108f7b21aef02c1b9eec924ce parent 471680828330e6b2aac295cf7ac9d8e5820df2eb author Stefan Rompf Tue, 07 Feb 2006 03:42:23 +0800 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ipw2200: Fix WPA network selection problem Do not avoid APs with wpa_ie or rsn_ie if !ieee->wpa_enabled There are broken APs out there that fill these elements even though encryption is disnabled. Also, this breaks legit WEP to WPA migration scenarious. We add a checking to prohibite WPA configured STA trying to associate with non-WPA supported APs. Signed-off-by: Stefan Rompf Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 471680828330e6b2aac295cf7ac9d8e5820df2eb tree b205c8371e8be20413ac85c71294a1e1b87e0819 parent 2c0f63166a5998102ddc7697706af83cbff49317 author Zhu Yi Mon, 13 Feb 2006 13:37:03 +0800 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ieee80211: Use IWEVGENIE to set WPA IE It replaces returning WPA/RSN IEs as custom events with returning them as IWEVGENIE events. I have tested that it returns proper information with both Xsupplicant, and the latest development version of the Linux wireless tools. Signed-off-by: Chris Hessing Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 2c0f63166a5998102ddc7697706af83cbff49317 tree 9c7eaf909d84972d2976c7019847a24f391d21e3 parent 4861dd79c1724f37e36d66cc4b3454803aec3f93 author Andreas Happe Thu, 05 Jan 2006 19:40:07 +0100 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ipw2200: add monitor and qos entries to Kconfig I have made a stupid copy&paste error: QoS option is named IPW_QOS not IPW2200_MONITOR. Spotted by Daniel Paschka, thanks. Add the following config entries for the ipw2200 driver to drivers/net/wireless/Kconfig * IPW2200_MONITOR enables Monitor mode * IPW_QOS enables QoS feature - this is under development right now, so it depends upon EXPERIMENTAL Signed-off-by: Andreas Happe Signed-off-by: John W. Linville commit 4861dd79c1724f37e36d66cc4b3454803aec3f93 tree 46efc932a35ff49c8b3b723b650ec0b1832706d8 parent 4ddc1651cee0143eeddbe043ccd66bb87072e279 author Dan Williams Sun, 05 Feb 2006 17:57:36 -0500 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] wireless/atmel: convert constants to ieee80211 layer equivalents This patch converts the Atmel driver-only IEEE 802.11 constants to their equivalents from the kernel's ieee80211 layer headers. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4ddc1651cee0143eeddbe043ccd66bb87072e279 tree 64ff6788ea331044234c00d6fb16a8ef7eba9d57 parent 5b69e69d4e6386bcb6592c75af897e5e79641602 author Jan Niehusmann Sun, 05 Feb 2006 16:13:22 +0100 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] let IPW2{1,2}00 select IEEE80211 This patch makes the IPW2100 and IPW2200 options available in the configuration menu even if IEEE80211 has not been selected before. This behaviour is more intuitive for people which are not familiar with the driver internals. The suggestion for this change was made by Alejandro Bonilla Beeche. Signed-off-by: Jan Niehusmann Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 5b69e69d4e6386bcb6592c75af897e5e79641602 tree bf9a153ad062629454ba877df224112a6bb5581b parent 750b50ab5687125d8a1dc946d931b00acf016e2c parent 7345137930907ba747781636c60112f7c2789aa8 author John W. Linville Fri, 17 Feb 2006 08:15:58 -0500 committer John W. Linville Fri, 17 Feb 2006 08:15:58 -0500 Merge branch 'upstream-fixes' commit 750b50ab5687125d8a1dc946d931b00acf016e2c tree eacec989ec38e67da84fcc6842b364670d7a1e34 parent ab479995b191b4256183956c13caabb86331af8e parent 70c07e02625ec46d0ffbfce1acef42d660803528 author John W. Linville Fri, 17 Feb 2006 08:15:41 -0500 committer John W. Linville Fri, 17 Feb 2006 08:15:41 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 91dbb4deb30e817efc8d6bed89b1190a489ca776 tree d3742a35be49da1ab785ac398459d7a71a64a765 parent 4837c672fd4d43c519d6b53308ee68d45b91b872 author Christoph Hellwig Wed, 15 Feb 2006 12:49:04 -0600 committer Dave Kleikamp Wed, 15 Feb 2006 12:49:04 -0600 JFS: Use the kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Signed-off-by: Christoph Hellwig Signed-off-by: Dave Kleikamp commit f1b318793dcd2d9ff6b5ac06e7762098fa079cee tree 41ace7a3e453b82776b9f2a1d3b670b6afe5aa59 parent 49430f97dd952eda60848bf6bf161b4917ba103d parent e9bb4c9929a63b23dcc637fae312b36b038bdc61 author Jeff Garzik Mon, 13 Feb 2006 00:12:09 -0500 committer Jeff Garzik Mon, 13 Feb 2006 00:12:09 -0500 Merge branch 'master' commit 49430f97dd952eda60848bf6bf161b4917ba103d tree 2106e80496d6fa3b0ba8819daa6d978f8c4e13f3 parent b00eec1d58ee71131375bfeb86e64bceec3f5618 author Tejun Heo Sun, 12 Feb 2006 23:32:59 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:36:30 -0500 [PATCH] libata: kill sht->max_sectors The previous dev->max_sectors patch made sht->max_sectors meaningless. Kill all initializations of sht->max_sectors. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b00eec1d58ee71131375bfeb86e64bceec3f5618 tree 03536ad3ecc61d42da0611f40a51fedcd44192b5 parent 6e7846e9c548443c86cfbad9e4defb4bdcfc538b author Tejun Heo Sun, 12 Feb 2006 23:32:59 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:36:30 -0500 [PATCH] libata: add per-device max_sectors If a low level driver wants to control max_sectors, it had to adjust ap->host->max_sectors and set ATA_DFLAG_LOCK_SECTORS to tell ata_scsi_slave_config not to override the limit. This is not only cumbersome but also incorrect for hosts which support more than one devices per port. This patch adds per-device ->max_sectors. If the field is unset (zero), libata core layer will adjust ->max_sectors according to default rules. If the field is set, libata honors the setting. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6e7846e9c548443c86cfbad9e4defb4bdcfc538b tree f92fe0c3ca0000ad7d68bb3caae10d2066a7f78e parent 8eabd02c246b808e0e27c3ee9ea17d0349efb06d author Tejun Heo Sun, 12 Feb 2006 23:32:58 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: move cdb_len for host to device cdb_len is per-device property. Sharing cdb_len on ap results in inaccurate configuration on revalidation and hotplugging. This patch makes cdb_len per-device. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8eabd02c246b808e0e27c3ee9ea17d0349efb06d tree f628dc88f1ccf37dbab98d32b19af2336baaa210 parent 61eb066affc02e16c548aef8b876c49c84113f40 author Tejun Heo Sun, 12 Feb 2006 23:32:58 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: make ata_dev_knobble() per-device ata_dev_knobble() unconditionally used the first device of the port to determine whether a device is bridged or not. This causes bridge limit to be incorrectly applied or unapplied for hosts with slave devices (e.g. ata_piix). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 61eb066affc02e16c548aef8b876c49c84113f40 tree a7e3b690dbedd5f9007a64d95ae85d6019b48978 parent 0bd3300ac9158b6ceef38fab6fb473765a40e77e author Tejun Heo Sun, 12 Feb 2006 23:22:37 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: don't do EDD handling if ->probe_reset is used EDD is never used with ->probe_reset. Don't handle EDD special case in ata_dev_identify if ->probe_reset is in use. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0bd3300ac9158b6ceef38fab6fb473765a40e77e tree 4973f3f26c12f0acacf6b7e643e7a4144046a0c7 parent 3d2ca91095f8ab6dc0cb925374eec62fa5336764 author Tejun Heo Sun, 12 Feb 2006 22:47:05 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: make ata_dump_id() take @id instead of @dev Make ata_dump_id() take @id instead of @dev. This is preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3d2ca91095f8ab6dc0cb925374eec62fa5336764 tree 4320fb9649dfbd389ea07d299288732b767534d7 parent 2940740bcaa5948967d261dfceec04f40b2d2fa1 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: separate out ata_id_major_version() Separate out ATA major version calculation from ata_dev_identify() into ata_id_major_version(). It's preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2940740bcaa5948967d261dfceec04f40b2d2fa1 tree d70740391c607cd40222200085b0b028233f6880 parent 2e02671daa2cd69d93c828c40579bbe953f17210 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: separate out ata_id_n_sectors() Separate out n_sectors calculation into ata_id_n_sectors() from ata_dev_identify(). This will be used by revalidation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2e02671daa2cd69d93c828c40579bbe953f17210 tree bcafe5d5b36be475de57081600fae13408cd0c4e parent 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: use ata_dev_id_c_string() Use ata_dev_id_c_string() Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf tree ecc4834d27e221863dc5dbef3c13763dbdf4dd56 parent 48f80e12abbc1e9034e54614c30e7c304209ce99 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: implement ata_dev_id_c_string() ata_dev_id_c_string() reads ATA string from the specified offset of the given IDENTIFY PAGE and puts it in the specified buffer in trimmed and NULL-terminated form. The caller must supply a buffer which is one byte larger than the maximum size of the target ID string. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48f80e12abbc1e9034e54614c30e7c304209ce99 tree db55f6dac4a20433d7ca1672c8fa15f01844da2a parent 06ab78222bd119a0a3d8a1f89997ce902a219703 author Tejun Heo Sun, 12 Feb 2006 19:05:07 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:06:42 -0500 [PATCH] ata_piix: kill spurious assignment in piix_sata_probe() In piix_sata_probe(), mask gets assigned unnecessarily at the beginning of the function. Kill the assignment. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 06ab78222bd119a0a3d8a1f89997ce902a219703 tree 21c466084f2a1d9bc3bc326e484619ad002dc08b parent bef4a456b8dc8b3638f4d49a25a89e1467da9483 author Tejun Heo Sun, 12 Feb 2006 15:01:49 +0900 committer Jeff Garzik Sun, 12 Feb 2006 13:57:22 -0500 [PATCH] libata: allow ->probe_reset to return ATA_DEV_UNKNOWN This patch makes ata_bus_probe() normalize classes[] returned by ->probe_reset such that ->probe_reset can return ATA_DEV_UNKNOWN. This eases implementation of ->probe_reset's which don't directly use ata_drive_probe_reset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit bef4a456b8dc8b3638f4d49a25a89e1467da9483 tree c8c9a6ca26f2e6cf75db0623fb1f395330fbe6ca parent beec7dbc6ff003bbc94de62b3323519c878fb2ac author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: kill assert() macro libata assert() now has no user left. Kill it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit beec7dbc6ff003bbc94de62b3323519c878fb2ac tree f1cf8dee4f271356f2025a386eaa746aabafd1fe parent a46314744d8fadb91451bf2e5d2fd949c4a752d8 author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: convert assert(xxx)'s in low-level drivers to WARN_ON(!xxx)'s This patch converts all assert(xxx)'s in low-level drivers to WARN_ON(!xxx)'s. After this patch, there is no in-kernel user of the libata assert() macro. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a46314744d8fadb91451bf2e5d2fd949c4a752d8 tree 46757778593f4d24d4b69a5cefd522d22d60abcf parent 4bd00f6a201897af4cd50250a761e6bc4b2221ec author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: convert assert(X)'s in libata core layer to WARN_ON(!X)'s In an effort to kill libata-specific assert() and use generic WARN_ON(), this patch converts all assert(X)'s in libata core layer to WARN_ON(!X)'s. Most conversions are straight-forward logical negation exception for the followings. * In libata-core.c:ata_fill_sg(), assert(qc->n_elem > 0) is converted to WARN_ON(qc->n_elem == 0) because qc->n_elem is unsigned and unsigned <= 0 is weird. * In libata-scsi.c:ata_gen_ata_desc/fixed_sense(), assert(NULL != qc->ap->ops->tf_read) is converted to WARN_ON(qc->ap->ops->tf_read == NULL), as there are no other users of 'constant cond var' style in libata. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4bd00f6a201897af4cd50250a761e6bc4b2221ec tree 2549d2245d01d58431bebecd6dc9dfaada3abe9c parent a42fc659ba4e4026b2397344180458bebb79e1d2 author Tejun Heo Sat, 11 Feb 2006 16:26:02 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] ahci: convert to new reset mechanism Convert ahci ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a42fc659ba4e4026b2397344180458bebb79e1d2 tree 43a83d8c8d7d471cdbc11b23ad2117876d10f77b parent 76014427e60f7ecfdc689dfbcb48e9760e1da4fb author Tejun Heo Sat, 11 Feb 2006 16:26:02 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] ahci: make ahci_fill_cmd_slot() take *pp instead of *ap Make ahci_fill_cmd_slot() take struct ahci_port_priv *pp instead of struct ata_port *ap as suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 76014427e60f7ecfdc689dfbcb48e9760e1da4fb tree cf885f718315ed7819fd8f6f4a375540847baf2f parent cbefa3258eade263dbc9ae2c1f1ea2ca96e6b457 author Tejun Heo Sat, 11 Feb 2006 15:13:49 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] libata: inline ata_qc_complete() This patch inlines ata_qc_complete() and uninlines __ata_qc_complete() as suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cbefa3258eade263dbc9ae2c1f1ea2ca96e6b457 tree 51f012ef93cc828be4eb693c0ced0503217d1025 parent 489ff4c7d167be954f715128790bd80d3c888322 parent 25bf368b3d98668c5d5f38e2201d8bca16e52680 author Jeff Garzik Sat, 11 Feb 2006 17:51:46 -0500 committer Jeff Garzik Sat, 11 Feb 2006 17:51:46 -0500 Merge branch 'master' commit 489ff4c7d167be954f715128790bd80d3c888322 tree 72c06ba67487dd1796fcf45e4d803a9880657bc6 parent 07b734702a96efbc260bf50c2ce57e34167f431b author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:12 -0500 [PATCH] sata_sil24: add hardreset Now that libata is smart enough to handle both soft and hard resets, add hardreset method. Note that sil24 hardreset doesn't supply signature; still, the new reset mechanism can make good use of it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 07b734702a96efbc260bf50c2ce57e34167f431b tree 5cc4c5449be19c7c749ad2cc5ff07459f9ca2bc6 parent 531db7aa0db09f188b71108c35f334af35968291 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:12 -0500 [PATCH] sata_sil24: convert to new reset mechanism Convert sata_sil24 ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 531db7aa0db09f188b71108c35f334af35968291 tree c598ae7debf223da93d39b995ba0ec733d9b4193 parent ac7c6d596e2177857ffc35b8d453ee313a874d8d author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] sata_sil: convert to new reset mechanism Convert sata_sil to use new reset mechanism. sata_sil is fairly generic and can directly use std routine. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ac7c6d596e2177857ffc35b8d453ee313a874d8d tree 81e7d6ad33b5f25a82250351e2e199bcf9023628 parent 3a39746a5290445ea4238f21ac260e42106c1454 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] libata: kill SError clearing in sata_std_hardreset(). Don't clear SError in sata_std_hardreset(). This makes hardreset act identically to ->phy_reset register-wise. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3a39746a5290445ea4238f21ac260e42106c1454 tree 7b667c30b70b2c140782974e34c2826ea85e9a07 parent c5014de8a74f442a4441f21f690d8aae5dc8b432 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] libata: make new reset act identical to ->phy_reset register-wise This patch makes std component operations act identical to ->phy_reset register-wise except for SError clearing on sata_std_hardreset. Note that if a driver only implements/uses hardreset, it should not use ata_std_probeinit() to avoid extra sata_phy_resume() and ata_busy_sleep() compared to ->phy_reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c5014de8a74f442a4441f21f690d8aae5dc8b432 tree e4506970292dfb345fbc151481ce6918f9d36925 parent cc9278ed5e992122a654a3f762561ee5e013810f parent 5bc159e6cb7ca8d173195919ee935885c129011e author Jeff Garzik Fri, 10 Feb 2006 10:30:02 -0500 committer Jeff Garzik Fri, 10 Feb 2006 10:30:02 -0500 Merge branch 'master' commit 4837c672fd4d43c519d6b53308ee68d45b91b872 tree 6aea45f6de8a7320be022ccf5e4c98ddfcf3ea33 parent fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 author Dave Kleikamp Fri, 10 Feb 2006 08:11:53 -0600 committer Dave Kleikamp Fri, 10 Feb 2006 08:11:53 -0600 JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute Signed-off-by: Dave Kleikamp commit cc9278ed5e992122a654a3f762561ee5e013810f tree 9a089a52a4afefd09fcc49cd9490acee2aa1289a parent f63790201521ccadb63673ff121dac46ab300cf0 author Tejun Heo Fri, 10 Feb 2006 17:25:47 +0900 committer Jeff Garzik Fri, 10 Feb 2006 07:04:31 -0500 [PATCH] ahci: separate out ahci_fill_cmd_slot() Separate out ahci_fill_cmd_slot() from ahci_qc_prep(). ahci_fill_cmd_slot() can later be used to issue non-standard commands. (e.g. softreset) Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f63790201521ccadb63673ff121dac46ab300cf0 tree 86781b4efc31f9005c17de63df2606c35ae3b0c0 parent 35daeb8f9b41fd13180e8a6f8bec9fc5268938f9 author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:47 -0500 [PATCH] libata: kill NULL qc handling from ->eng_timeout callbacks ->eng_timeout cannot be invoked with NULL qc anymore. Add an assertion in ata_scsi_error() and kill NULL qc handling from all ->eng_timeout callbacks. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 35daeb8f9b41fd13180e8a6f8bec9fc5268938f9 tree c6a9131a637224f019168ae42ed24e5e11735a1d parent f29841e08fa20a7f2c8bc1b70306975299c66ee7 author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:46 -0500 [PATCH] libata: use ata_scsi_timed_out() Make all libata low level drivers use ata_scsi_timed_out(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f29841e08fa20a7f2c8bc1b70306975299c66ee7 tree c2f6c87cf79fbd36ec49ea3c2247a382da5d75cc parent 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:46 -0500 [PATCH] libata: implement ata_scsi_timed_out() Implement ata_scsi_timed_out(), to be used as scsi_host_template->eh_timed_out callback for all libata drivers. Without this function, the following race exists. If a qc completes after SCSI timer expires but before libata EH kicks in, the qc gets completed but the scsicmd still gets passed to libata EH resulting in ->eng_timeout invocation with NULL qc, which none is handling properly. This patch makes sure that scmd and qc share the same lifetime. Original idea from Jeff Garzik . Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf tree b19def143135b45b64d62e4e048aaae5b711696f parent 1fdffbce0332b3e00993d741e76935e7f4f0d40f author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:45 -0500 [PATCH] libata: add ATA_QCFLAG_EH_SCHEDULED Add ATA_QCFLAG_EH_SCHEDULED. If this flag is set, the qc is owned by EH and normal completion path is not allowed to finish it. This patch doesn't actually use this flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 70c07e02625ec46d0ffbfce1acef42d660803528 tree f500f1a4f93e72747fb08b0eefabb167dcdc5db9 parent 5d1769ac3d0ea5ff3a286b097c21faaf6a9e6859 parent 2746b8623abce815aaae7afc946b1b39f8436f5a author Jeff Garzik Thu, 09 Feb 2006 14:17:05 -0500 committer Jeff Garzik Thu, 09 Feb 2006 14:17:05 -0500 Merge branch 'viro' commit 2746b8623abce815aaae7afc946b1b39f8436f5a tree 9e14ce2a3710da5c079c1a96efa5e7c8674cd382 parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 parent 450d86dff3fc4780fd5c2d1654402ab7ffec9c38 author Jeff Garzik Thu, 09 Feb 2006 14:15:02 -0500 committer Jeff Garzik Thu, 09 Feb 2006 14:15:02 -0500 Merge branch 'net.b0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/bird commit fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 tree b39000f89c6699612d64d98fd5739ca7feba8d8f parent 1de87444f8f91009b726108c9a56600645ee8751 author Herbert Poetzl Thu, 09 Feb 2006 09:09:16 -0600 committer Dave Kleikamp Thu, 09 Feb 2006 09:09:16 -0600 JFS: ext2 inode attributes for jfs ext2 inode attributes with relevance for jfs: 'a' EXT2_APPEND_FL -> append only 'i' EXT2_IMMUTABLE_FL -> immutable file 's' EXT2_SECRM_FL -> zero file 'u' EXT2_UNRM_FL -> allow for unrm 'A' EXT2_NOATIME_FL -> no access time 'D' EXT2_DIRSYNC_FL -> dirsync 'S' EXT2_SYNC_FL -> sync overview of jfs flags (partially for OS/2) value (OS/2) Linux ext2 attrs ------------------------------------------------ 0x00010000 IFJOURNAL - 0x00020000 ISPARSE used 0x00040000 INLINEEA used 0x00080000 - - JFS_NOATIME_FL 0x00100000 - - JFS_DIRSYNC_FL 0x00200000 - - JFS_SYNC_FL 0x00400000 - - JFS_SECRM_FL 0x00800000 ISWAPFILE - JFS_UNRM_FL 0x01000000 - - JFS_APPEND_FL 0x02000000 IREADONLY - JFS_IMMUTABLE_FL 0x04000000 IHIDDEN - - 0x08000000 ISYSTEM - - 0x10000000 - - 0x20000000 IDIRECTORY used 0x40000000 IARCHIVE - 0x80000000 INEWNAME - the implementation is straight forward, except for the fact that the attributes have to be mapped to match with the ext2 ones to avoid a separate tool for manipulating them (this could be avoided when using a separate flag field in the on-disk representation, but the overhead is minimal) a special jfs_ioctl is added to allow for the new JFS_IOC_GETFLAGS and JFS_IOC_SETFLAGS calls. a helper function jfs_set_inode_flags() to transfer the flags from the on-disk version to the inode minor changes to allow flag inheritance on inode creation, as well as a cleanup of the on-disk flags (including the new ones) beforementioned helper to map between ext2 and jfs versions of the new flags ... the JFS_SECRM_FL and JFS_UNRM_FL are not done yet and I'm not 100% sure they are worth the effort, the rest seems to work out of the box ... Signed-off-by: Herbert Poetzl Signed-off-by: Dave Kleikamp commit 1fdffbce0332b3e00993d741e76935e7f4f0d40f tree d6d5063c7f2f1dfcdaa9868260b3b812e4feca7e parent 389984cb75a5d26aa6ee9724c343bbd130cb3eec author Jeff Garzik Thu, 09 Feb 2006 05:15:27 -0500 committer Jeff Garzik Thu, 09 Feb 2006 05:15:27 -0500 [libata] Move PCI IDE BMDMA-related code to new file libata-bmdma.c. commit 389984cb75a5d26aa6ee9724c343bbd130cb3eec tree 7eac7923ffdcae4539897ff4275c97259be60d0d parent 8a19ac89edbe9b702c10fd2039b8cb2db4644a5f parent 9caafa6c8686e319cf4d5f3757b3972c6c522b7c author Jeff Garzik Thu, 09 Feb 2006 04:30:18 -0500 committer Jeff Garzik Thu, 09 Feb 2006 04:30:18 -0500 Merge branch 'upstream-fixes' commit 8a19ac89edbe9b702c10fd2039b8cb2db4644a5f tree 9241f1ec6d1a8e713ca60e6e5d098a11beb0dfdf parent 7944ea9522ce0ea32d57894b3dc2540b0bdca66e author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:59:52 -0500 [PATCH] libata: implement ata_std_probeinit() This patch implements the off-the-shelf probeinit component operation. Currently, all it does is waking up the PHY if it's a SATA port. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7944ea9522ce0ea32d57894b3dc2540b0bdca66e tree ad45c0cccefa40c2b91fbeee6bfa156fa04aeeb4 parent 5140788f77d71b4f05fde217adbfb0c92f28f20c author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:59:52 -0500 [PATCH] libata: add probeinit component operation to ata_drive_probe_reset() This patch adds probeinit component operation to ata_drive_probe_reset(). If present, this new operation is called before performing any reset. The operations's roll is to prepare @ap for following probe-reset operations. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5140788f77d71b4f05fde217adbfb0c92f28f20c tree 2f1dde965303d621269bf276f26185a2b4ae9ac9 parent 7a7921e8661a6b9fb99400983ee67df7e125853b author Jeff Garzik Thu, 09 Feb 2006 01:56:05 -0500 committer Jeff Garzik Thu, 09 Feb 2006 01:56:05 -0500 [libata scsi] build fix for ATA_FLAG_IN_EH change commit 7a7921e8661a6b9fb99400983ee67df7e125853b tree 9ef603fe34160b539c6478cfc7a107d38f80e4c9 parent b911fc3ae0121ff0b72a52e58823c3f8ac3094d0 author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:52:54 -0500 [PATCH] libata: separate out sata_phy_resume() from sata_std_hardreset() This patch separates out sata_phy_resume() from sata_std_hardreset(). The function will later be used by probeinit callback. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b911fc3ae0121ff0b72a52e58823c3f8ac3094d0 tree a0cbe5788d973d631fb4e3d1453a54799d54bc9f parent c18d06f89fd09ee0059c4899e615c471d59af66a author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:52:53 -0500 [PATCH] libata: fix ata_std_probe_reset() SATA detection ap->cbl is initialized during postreset and thus unknown on entry to ata_std_probe_reset(). This patch makes ata_std_probe_reset() use ATA_FLAG_SATA flag instead of ap->cbl to detect SATA port. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c18d06f89fd09ee0059c4899e615c471d59af66a tree 445617ceee37299d0856e54a945957102728cb0b parent dde44589bf9fac0168c6ce6d097c99c33b18074f author Tejun Heo Thu, 02 Feb 2006 00:56:10 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:18:38 -0500 [PATCH] libata: EH / pio tasks synchronization This patch makes sure that pio tasks are flushed before proceeding with EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit dde44589bf9fac0168c6ce6d097c99c33b18074f tree ee68375254528cd19fbaa66969634c7a2fd87a6f parent 725b2805fd5d729b0db59fe8fc992e97523782c7 author Tejun Heo Thu, 02 Feb 2006 00:56:10 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:18:37 -0500 [PATCH] libata: implement ATA_FLAG_IN_EH port flag ATA_FLAG_IN_EH flag is set on entry to EH and cleared on completion. This patch just sets and clears the flag. Following patches will build normal qc execution / EH synchronization aroung this flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 725b2805fd5d729b0db59fe8fc992e97523782c7 tree 04ca7c7ed6e918029898a6c5301488e60d0564d4 parent 9ac341ae799413708e674bc65c8a72c90dae8d34 parent cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa author Jeff Garzik Thu, 09 Feb 2006 00:59:34 -0500 committer Jeff Garzik Thu, 09 Feb 2006 00:59:34 -0500 Merge branch 'upstream-fixes' commit 5d1769ac3d0ea5ff3a286b097c21faaf6a9e6859 tree 63429c2222a55509dc81269233bbe7a321bb86ed parent 23a56e2cbec2860ef02d6720508fbcb07accc8b4 parent ce4b50f2fc62267eeaf331c41bc11b92d9bc7865 author Jeff Garzik Tue, 07 Feb 2006 15:16:27 -0500 committer Jeff Garzik Tue, 07 Feb 2006 15:16:27 -0500 Merge branch 'master' commit 282b7cb3e03d9ada4067083e61919d74197a1e5a tree 91a4c243df0df5df5174717f9a2858eecfaf45ef parent f1e5ee45b4a0216ac4f0a9c41e488032391e8575 author Markus Rechberger Tue, 07 Feb 2006 06:14:16 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:41:10 -0200 V4L/DVB (3326): Adding support for Terratec Prodigy XS Adding support for Terratec Prodigy XS Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit f1e5ee45b4a0216ac4f0a9c41e488032391e8575 tree e8589715a461c3df0348d392a3e247e8ae12b40b parent df821f758c37dce41fbef0d20932909332619f04 author Markus Rechberger Tue, 07 Feb 2006 04:01:19 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:41:00 -0200 V4L/DVB (3325): Disabled debug on by default in tvp5150 disabled debug on by default in tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit df821f758c37dce41fbef0d20932909332619f04 tree cfbc639f25141fa48f6c0081020c7b7df84f9c70 parent 2d77645a0e8228d3473008ec736e89b7105eafff author Hans Verkuil Mon, 06 Feb 2006 23:52:24 +0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:40:51 -0200 V4L/DVB (3324): Fix Samsung tuner frequency ranges Forgot to take the NTSC frequency offset into account. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 2d77645a0e8228d3473008ec736e89b7105eafff tree 1efaa64179e0169434a63c453c737800c5865168 parent 922f77de3e26af512ae12d2a0ddb1e1efdf8d81c author Adrian Bunk Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:15 -0200 V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends The at76c651 and tda80xx frontends are currently completely unused, IOW their only effect is making the kernel larger for people accitentially enabling them. The current in-kernel drivers differ from the drivers at cvs.tuxbox.org, and re-adding them when parts of the dbox2 project get merged should be trivial. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 922f77de3e26af512ae12d2a0ddb1e1efdf8d81c tree a17265cf00e678326524acacca9f273a53b6201e parent 3593cab5d62c4c7abced1076710f9bc2d8847433 author Dave Jones Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:15 -0200 V4L/DVB (3318c): fix saa7146 kobject register failure Whoops. kobject_register failed for hexium HV-PCI6/Orion (-13) [] kobject_register+0x31/0x47 [] bus_add_driver+0x4a/0xfd [] __pci_register_driver+0x82/0xa4 [] hexium_init_module+0xa/0x47 [hexium_orion] [] sys_init_module+0x167b/0x1822 [] do_sync_read+0xb8/0xf3 [] autoremove_wake_function+0x0/0x2d [] audit_syscall_entry+0x118/0x13f [] do_syscall_trace+0x104/0x14a [] syscall_call+0x7/0xb slashes in kobject names aren't allowed. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 3593cab5d62c4c7abced1076710f9bc2d8847433 tree dd5dc21961f6b4aef6900b0c2eb63ce7c70aecd5 parent 538f9630afbbe429ecbcdcf92536200293a8e4b3 author Ingo Molnar Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3318b): sem2mutex: drivers/media/, #2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 538f9630afbbe429ecbcdcf92536200293a8e4b3 tree d7a7d4e2e93d4cd9b79609ff1e2422ce16506f7b parent 44256de13ecc72291b616fda5f2c7ca8b110feec author Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3318a): Makes Some symbols static. Some symbols at cx88-alsa were global. Making those static. Signed-off-by: Mauro Carvalho Chehab commit 44256de13ecc72291b616fda5f2c7ca8b110feec tree c87412fa747aa33978a4d4c29cdc60974d786bef parent 3dfb729f4513184d06a0c618179489ac7bb277e0 author Michael Krufky Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert - Add initial support for KWorld HardwareMpegTV XPert. - uses silicon tuner: tda8290 + tda8275 - standard video using cx88 broadcast decoder is working. - blackbird mpeg encoder support (cx23416) not yet working. - FM radio untested. - audio is only working correctly in television mode, all other modes disabled. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3dfb729f4513184d06a0c618179489ac7bb277e0 tree e31f89ca06c5ec10fa4a62fa07089d018f53254b parent e5d4a56d5d824e4dfe7d065d0fedb02e63952710 author Peter Hartshorn Tue, 07 Feb 2006 06:49:13 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:13 -0200 V4L/DVB (3315): Added support for the Tevion DVB-T 220RF card This is an analog / digital hybrid card. Signed-off-by: Peter Hartshorn Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit e5d4a56d5d824e4dfe7d065d0fedb02e63952710 tree d74a55f6a7ca0327308aa60c638fec8b61d7016f parent 21d06544a745a09cc1e9ce5376a61b074bfce379 author Markus Rechberger Tue, 07 Feb 2006 06:49:13 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:13 -0200 V4L/DVB (3314): Fixed em28xx based system lockup Fixed em28xx based system lockup, device needs to be initialized before starting the isoc transfer otherwise the system will completly lock up. Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 21d06544a745a09cc1e9ce5376a61b074bfce379 tree 3b10a671baf997e74ce9b92709feefdebfd58bb0 parent 123aab28608ac81938865b31db188c985aeb4424 author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file - When a firmware was downloaded dvb_usb_device_init returns NULL for the dvb_usb_device, then nothing should be done with that pointer and device, because it will re-enumerate. - A new firmware should be used with digitv devices. - It should make "slave"-devices work and others, too. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 123aab28608ac81938865b31db188c985aeb4424 tree 63769587f34e3b7f8eeb839cb6eb1a0074b9adb8 parent fb51fd2d345021d0cc34848319f4efa75c9e1daa author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices Reassigning function pointers in a static led to infinite loops when using multiple VP7045-based device at the same time on one system. Using kmalloc'd copies for reassignments is better. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit fb51fd2d345021d0cc34848319f4efa75c9e1daa tree fd28a5a7cd5cbbf2e0be61b31a79da42c0ecad42 parent d9ed881c66525ac0d95fbf76a46187a5de43be2d author Michael Krufky Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes. Use the parallel transport function of the MT352 demodulator in TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d9ed881c66525ac0d95fbf76a46187a5de43be2d tree 602f7d3198db0b8e71b59c1e319d7cb50d8732d2 parent 8bd6301c2a33271b629ac1ef2088e110624d5665 author Chris Pascoe Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB Use the parallel transport function of the MT352 in USB demodulator of the Dual Digital board. Signed-off-by: Chris Pascoe Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8bd6301c2a33271b629ac1ef2088e110624d5665 tree 5bfeafe221ba3dcaed34a451f0b64fcda3aded97 parent e8e41da46dca6b33e990b48ee379503d25b4da65 author Oliver Endriss Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3307): Support for Galaxis DVB-S rev1.3 support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004) Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit e8e41da46dca6b33e990b48ee379503d25b4da65 tree 792a51056771f14c8fa7b88a094c06b5369c61a8 parent df42eaf2b2f2c43969d879dbcafa698c666fe8a9 author Markus Rechberger Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep fixed i2c return value, conversion mdelay to msleep Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit df42eaf2b2f2c43969d879dbcafa698c666fe8a9 tree 7cbfeaf66d839d29f682cfc7356bd8cca0116965 parent 0eb3de20a1cec67547951cebc4fcddc701e7428b author Hartmut Hackmann Tue, 07 Feb 2006 06:49:10 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:10 -0200 V4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331 Analog and DVB-T are working, Remote not yet. This card is based on the new LifeView design, there should be many variants. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0eb3de20a1cec67547951cebc4fcddc701e7428b tree 056fbb4adedc7b2462efa4146b8bd8ad35c3cb16 parent 0157a9cc727dec90a7d60ad254eb899a775685a9 author Hartmut Hackmann Tue, 07 Feb 2006 06:49:10 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:10 -0200 V4L/DVB (3304): TDA10046 Driver update - Set outputs to tristate in sleep mode - Reduce dangerously high firmware download speed with 16MHz xtal - added tda827x configuration with GPIOs low - added comments to stupid looking IIC reads that work around bugs in the tda10046. - some minor updates Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0157a9cc727dec90a7d60ad254eb899a775685a9 tree 3945ae8c3b689cf21d22961a3a4afc0d81701755 parent 3d8466ece44c70555a101da73845955c443f4d18 author Hartmut Hackmann Tue, 07 Feb 2006 06:49:09 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:09 -0200 V4L/DVB (3303): TDA8290 update This patch - works around a bug in the I2C bridge that makes the initialization of the TDA10046 fail on recent LifeView cards - puts the AGC output to tristate in sleep mode. This is necessary for recent hybrid cards that switch the AGC via tristateing. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 3d8466ece44c70555a101da73845955c443f4d18 tree 9d7fe8df835b31c2365ec216c1ac47afad954d67 parent d97a11e091a0bf40f1cfb0bbf443ddd7b455b133 author Giampiero Giancipoli Tue, 07 Feb 2006 06:49:09 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:09 -0200 V4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card Additionally to the card support, this changeset adds the option tda10046lifeview to get_dvb_firmware to download tda10046 firmware from LifeView's site. Signed-off-by: Giampiero Giancipoli Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit d97a11e091a0bf40f1cfb0bbf443ddd7b455b133 tree 489727bd0a5cc8350ff5753b26b893dd1776791f parent 8a8832a8eb5a824261a63c22befb4a8c193d4d02 author Hans Verkuil Tue, 07 Feb 2006 06:48:40 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:48:40 -0200 V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio. South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio chips need this information in order to set the correct audio processing registers. Acked-by: Mauro Carvalho Chehab Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8a8832a8eb5a824261a63c22befb4a8c193d4d02 tree d2d40ad7e3dd422b08892a0099a6dab0dc41f280 parent 28ecc4490100488663f1a978846632800ab198d5 author Michael Krufky Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:33 -0200 V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352 - rename DVB_USB_CXUSB one-liner description to: Conexant USB2.0 hybrid reference design support. - with the addition of bluebird support to dvb-usb-cxusb, it now depends on lgdt330x and mt352 modules. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 28ecc4490100488663f1a978846632800ab198d5 tree 5af095d861b0a3a61abc8cd9e0ecd0a25ccea852 parent 6a5b28f9b7688638eed23b891d6bf5d9aaca94d3 author Marco Manenti Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:33 -0200 V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based) add IR support to KWorld DVB-T (cx22702-based) Signed-off-by: Marco Manenti Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6a5b28f9b7688638eed23b891d6bf5d9aaca94d3 tree d2f9b4c39e8a63c5be7c84de213787925d586261 parent 19d7509c0531b0e08f52ab93070569e0aba54cdf author Manu Abraham Tue, 07 Feb 2006 06:45:30 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:30 -0200 V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect With DVB drivers enabled snd_87x (ALSA) don't detect. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 19d7509c0531b0e08f52ab93070569e0aba54cdf tree 07e24d063ddd290ca4caaf19ac68584c591e5e63 parent 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537 author Markus Rechberger Tue, 07 Feb 2006 06:38:24 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:38:24 -0200 V4L/DVB (3281): Added signal detection support to tvp5150 - added signal detection support to tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537 tree 12f293749bedbf1d875ebd341b504907ff2e1825 parent 15207b2e73afb3aa6cd96a1b8c0b5016bcf90128 author Markus Rechberger Tue, 07 Feb 2006 06:25:41 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:41 -0200 V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF Changed description of KWorld PVR TV 2800RF Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 15207b2e73afb3aa6cd96a1b8c0b5016bcf90128 tree c358d3ba848457cbe7049475828e0b4cb2f086d5 parent 8f1a58d0fccacb5d61aed8a63c3920c8acc155e7 author Michael Krufky Tue, 07 Feb 2006 06:25:40 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:40 -0200 V4L/DVB (3278): Show debug for tuners trying to use unsupported video standards With tuner_debug enabled, if a tuner tries to use a video standard that doesn't have a matching tuner_params defined, the IFPCoff value and tuner number will be displayed, and the default tuner_params entry will be used. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8f1a58d0fccacb5d61aed8a63c3920c8acc155e7 tree d229a08c9f0f90db266ec09c62d8282b9fb0158e parent 4d17d0834a2e6a5cba096ea09592a4a096183300 author Michael Krufky Tue, 07 Feb 2006 06:25:39 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:39 -0200 V4L/DVB (3277): Use default tuner_params if desired_type not available If a given tuner definition contains more than one tuner_params array members, it will try to select the appropriate tuner_params based on the video standard in use. If there is no tuner_params defined for the current video standard, it will select the default, tuner_params[0] Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4d17d0834a2e6a5cba096ea09592a4a096183300 tree fa39740c5694402941deb48b4f2688a8da68ccd2 parent f7d66e82c6df37043ddd41ec9ec893844d3a18be author Markus Rechberger Tue, 07 Feb 2006 06:25:39 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:39 -0200 V4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support - Added terratec hybrid xs product/vendorid - Added gpio audio initialization for kworld pvr 2800rf Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit f7d66e82c6df37043ddd41ec9ec893844d3a18be tree e255e554b49b2b1a004f63af360e81a31188b2be parent 99d33d5012c31c6c2b7ad5658654d7c5f0d606d1 author Hartmut Hackmann Tue, 07 Feb 2006 06:25:37 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:37 -0200 V4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L This patch allows to select AM sound even if NICAM is detected. Proposed by Alain Frappin Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 99d33d5012c31c6c2b7ad5658654d7c5f0d606d1 tree d156a988421c4953b63c9ede689cc517dfe5a560 parent bd0d0f59ca56c7ef063d714e9b602fcaa5c11072 author Michael Krufky Tue, 07 Feb 2006 06:25:36 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:36 -0200 V4L/DVB (3271): Update tuner comments Right now, all tuners are using the first tuner_params[] array element for analog mode. We are now ready to begin merging similar tuner definitions together, such that each tuner definition will have a tuner_params struct for each available video standard. The tuner_params[] array element will be chosen based on the video standard in use. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bd0d0f59ca56c7ef063d714e9b602fcaa5c11072 tree 28a8ad6e6cbbbfd586f0726d7f4bef62e632023f parent 476d63d061a082bcb833009e15a3632459a3caad author Michael Krufky Tue, 07 Feb 2006 06:25:35 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:35 -0200 V4L/DVB (3270): Tuner_dbg will show tuner param and range selected - tuner_dbg will show tuner param and range selected Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 476d63d061a082bcb833009e15a3632459a3caad tree 429773b4599fbca8d07554c4c2b27c5464f80033 parent 5f5941872c0035cb4624efe8c5a1dfbb89d199e7 author Michael Krufky Tue, 07 Feb 2006 06:25:34 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:34 -0200 V4L/DVB (3269): Allow multiple tuner params in each tuner definition - allow multiple tuner params in each tuner definition. - the correct tuner_params element will be chosen based on current video standard. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5f5941872c0035cb4624efe8c5a1dfbb89d199e7 tree 0283d55a9bf202bead411201e3563df54ff54638 parent a78d0bfabda67dd40a5a97ba4c24265e1820e7ea author Michael Krufky Tue, 07 Feb 2006 06:25:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:33 -0200 V4L/DVB (3268): Move video std detection to top of set_tv_freq function - move video std detection to top of set_tv_freq function - we must detect video std first, so that we can choose the correct tuner_params Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a78d0bfabda67dd40a5a97ba4c24265e1820e7ea tree 9b35e9afdbbbd15cdc5cbe742da2743f6e97f317 parent 17801f5fa2e31b60f26aadd7ba41395dd1b1093e author Jose Alberto Reguero Tue, 07 Feb 2006 06:25:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:14 -0200 V4L/DVB (3267): Add support for the Avermedia 777 DVB-T card Signed-off-by: Jose Alberto Reguero Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 79dc190147f8a87718fe72928d5ceb58e09acdb9 tree b15aa21ac0eab7e2bad971c6bdf07c36a85b6d57 parent fe9313956d67367cc91c5a6989bafc4315801402 author Andrew Morton Fri, 03 Feb 2006 01:45:13 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:51:40 -0500 [PATCH] s2io c99 warning fix drivers/net/s2io.c: In function `verify_l3_l4_lro_capable': drivers/net/s2io.c:6638: warning: ISO C90 forbids mixed declarations and code Cc: Ravinandan Arakali Cc: Ananda Raju Cc: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit fe9313956d67367cc91c5a6989bafc4315801402 tree c9bc140dcb92d8fa8a3afc6ce81e86d42882c289 parent 7d3d0439f574a4857c97b3ad2e63b082b7382d7e author Andrew Morton Fri, 03 Feb 2006 01:45:12 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:51:40 -0500 [PATCH] git-netdev-all: s2io fixes Fix this: drivers/built-in.o(.text+0x89469): In function `s2io_get_ethtool_stats': drivers/net/s2io.c:5209: undefined reference to `__udivdi3' Cc: Ravinandan Arakali Cc: Ananda Raju Cc: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 23a56e2cbec2860ef02d6720508fbcb07accc8b4 tree a05a6b49944202b492ae492434a25f849e2616ba parent 6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2 parent 3cfc15103aa56c2c7ee6dd312c24a8d1697bade1 author Jeff Garzik Tue, 07 Feb 2006 02:06:12 -0500 committer Jeff Garzik Tue, 07 Feb 2006 02:06:12 -0500 Merge branch 'upstream-fixes' commit 6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2 tree 239e89177a17a99d94bfdc799d62eb6d48b4f201 parent 3c9b3a8575b4f2551e3b5b74ffa1c3559c6338eb parent 0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 author Jeff Garzik Tue, 07 Feb 2006 01:47:33 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:47:33 -0500 Merge branch 'sundance' commit 3c9b3a8575b4f2551e3b5b74ffa1c3559c6338eb tree 7f8d84353852401ec74e005f6f0b1eb958b9a70d parent c0d3c0c0ce94d3db893577ae98e64414d92e49d8 parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Jeff Garzik Tue, 07 Feb 2006 01:47:12 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:47:12 -0500 Merge branch 'master' commit c0d3c0c0ce94d3db893577ae98e64414d92e49d8 tree 0eb82bef20d8f02a0c4b207c4a543a5a49a83b17 parent a03b1950521466e007288a25c9fc7ac7f05a97e5 author Bunk Tue, 07 Feb 2006 01:43:31 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:43:31 -0500 [netdrvr] schedule eepro100 for removal commit 17801f5fa2e31b60f26aadd7ba41395dd1b1093e tree d1df5f2f1efb863786e4cf76ffc756b42d114fa8 parent bbab6fd81f26b210f0815d79064a3387c3a1ade3 author Marcin Rudowski Mon, 06 Feb 2006 09:15:14 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 09:15:14 -0200 V4L/DVB (3266): Fix NICAM buzz on analog sound Apparently, having the number of lines fixed at 4 reduces (or even kills) the buzz found in NICAM stereo with analog sound. Signed-off-by: Marcin Rudowski Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit bbab6fd81f26b210f0815d79064a3387c3a1ade3 tree 627875f2ea294e49643862f9576cea96952d934c parent b31c544aedc802688e32240f1398a4321433bfae author Michael Krufky Mon, 06 Feb 2006 09:15:11 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 09:15:11 -0200 V4L/DVB (3265): Add count to tunertype struct The tuner_params element is an array of undefined length, with each array member being a set of parameters for each video standard type. The number of members in the tuner_params array will be stored in tuners[]->count Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 01d206a7c1167639f6ca6dac22140fbdca017558 tree bc3ccf1a8140a7f787c4728cfa4c30e65ad56eb2 parent 9c4b562abc9005e4b413de02c85d3d29da707cba parent d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f author Adrian Bunk Fri, 03 Feb 2006 23:49:49 +0100 committer Adrian Bunk Fri, 03 Feb 2006 23:49:49 +0100 Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 9ac341ae799413708e674bc65c8a72c90dae8d34 tree e4b4f21c424e1843ce2155f060e8930154b0476b parent 18ee3610040a4c008ce08a40a5dd025241cc7e97 parent ddef9bb367b19383df627e388cb4c01c86ddba6c author Jeff Garzik Thu, 02 Feb 2006 16:17:31 -0500 committer Jeff Garzik Thu, 02 Feb 2006 16:17:31 -0500 Merge branch 'upstream-fixes' commit 18ee3610040a4c008ce08a40a5dd025241cc7e97 tree 32a996a5123726b63c31a1522f230933fb967a32 parent e4e7b89280d1d666e2c09e5ad36cf071796c4c7e parent b4103333d7904310d34de18d85e51e3d74f00a3b author Jeff Garzik Thu, 02 Feb 2006 01:12:54 -0500 committer Jeff Garzik Thu, 02 Feb 2006 01:12:54 -0500 Merge branch 'master' commit e4e7b89280d1d666e2c09e5ad36cf071796c4c7e tree 32f9fed9d68452fe6cf1ccca6559c0703b04f544 parent d6fb89bf6b8b45ec8c911570ba0852940690d846 author Jeff Garzik Tue, 31 Jan 2006 12:18:41 -0500 committer Jeff Garzik Tue, 31 Jan 2006 12:18:41 -0500 [libata sata_mv] add 6042 support, fix 60xx/50xx EDMA configuration commit a03b1950521466e007288a25c9fc7ac7f05a97e5 tree d1e9486b6e21bde1d80113ce9abe933e51364826 parent 0b310f36d7d96e27f6941ec0f9b95e15142f1e78 parent c6f0d75a2defe8c7d8bf9f78de891cedc46b4b3e author Jeff Garzik Tue, 31 Jan 2006 11:52:21 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:52:21 -0500 Merge branch 'upstream-fixes' commit 0b310f36d7d96e27f6941ec0f9b95e15142f1e78 tree c2a3d403c82fd892ded3849cc721cf8e6f8c7824 parent 359b8800d3a46557844969c485e1a14baf119b06 parent 2f633db5e9c57e07a971b65e9a72f090f59fd5f6 author Jeff Garzik Tue, 31 Jan 2006 11:50:55 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:50:55 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 359b8800d3a46557844969c485e1a14baf119b06 tree 9e2015a5c1feddc17ba638b05b5fb3988bc79e27 parent 4f975b32433df87b8ead3de9944e0a9f90d261fd parent 0febb720fe77153f54b68fe7a3d7114f4c6711d8 author Jeff Garzik Tue, 31 Jan 2006 11:50:25 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:50:25 -0500 Merge branch 'upstream-fixes' commit 2f633db5e9c57e07a971b65e9a72f090f59fd5f6 tree 7349aedafbc9c52630e20beb5d7b8c31052cc037 parent f1b50863aa6a96c61a57e3b3a5e76e67b38c5c3e author Larry Finger Mon, 30 Jan 2006 23:25:10 -0600 committer John W. Linville Tue, 31 Jan 2006 10:35:46 -0500 [PATCH] Add two management functions to ieee80211_rx.c On my system, I get unhandled management functions corresponding to IEEE80211_STYPE_REASSOC_REQ and IEEE80211_STYPE_ASSOC_REQ. The attached patch adds the logic to pass these requests off to a user stack. The patches to implement these requests in softmac have already been sent to Johannes Berg. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit f1b50863aa6a96c61a57e3b3a5e76e67b38c5c3e tree 9582287de5d5c9cf42a120e4103e2c6b849a2992 parent 4be757dd4c00ddabff2d6faf639466bb5d76bc79 author Dan Williams Mon, 30 Jan 2006 13:58:56 -0500 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] wireless/ipw2200: support WE-18 WPA enc_capa This patch allows ipw2100 driver to advertise the WPA-related encryption options that it does really support. It's necessary to work correctly with NetworkManager and other programs that actually check driver & card capabilities. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4be757dd4c00ddabff2d6faf639466bb5d76bc79 tree 2b8d8bc23889da7c78db7592db2f791ef13bcf43 parent dd5eeb461ea572f82d34e1f2c4b88037df5afedb author Dan Williams Mon, 30 Jan 2006 11:58:00 -0500 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] wireless/airo: add IWENCODEEXT and IWAUTH support This patch adds IWENCODEEXT and IWAUTH support to the airo driver for WEP and unencrypted operation. No WPA though. It allows the driver to operate more willingly with wpa_supplicant and NetworkManager. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit dd5eeb461ea572f82d34e1f2c4b88037df5afedb tree 5c6bcb9a6cb50d42c4bf17b41785622dfcc04314 parent bde37d037715bef4a67d58d00fecbe4c71836cab author Larry Finger Mon, 30 Jan 2006 13:12:50 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ieee80211: common wx auth code This patch creates two functions ieee80211_wx_set_auth and ieee80211_wx_get_auth that can be used by drivers for the wireless extension handlers instead of writing their own, if the implementation should be software only. These patches enable using bcm43xx devices with WPA and this seems (as far as I can tell) to be the only difference between the stock ieee80211 and softmac's ieee80211 left. Signed-Off-By: Johannes Berg Signed-off-by: John W. Linville commit bde37d037715bef4a67d58d00fecbe4c71836cab tree 6bac64a4ad48c7a3315cd69f3805ceea0dfaed8d parent 4644151b7208bec9522cad928a7105e0fc04a2b2 author Zhu Yi Tue, 24 Jan 2006 16:38:08 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ipw2200: Disable hwcrypto by default After looking at the mailing list (and experiencing permanent driver lockups while using hwcrypto=1) I think that disabling this option by default would be better than otherwise. Signed-off-by: Andreas Happe Signed-off-by: John W. Linville commit 4644151b7208bec9522cad928a7105e0fc04a2b2 tree 9771f6008d3a20b673a3203ae2aa0a7f2a3734bc parent 2638bc394195f27801d1c184c4358ce25599146b author Zhu Yi Tue, 24 Jan 2006 16:37:59 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ipw2200: Semaphore to mutexes conversion The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Ronald Bultje Cc: "David S. Miller" Cc: Jeff Garzik Cc: Yi Zhu Cc: James Ketrenos Signed-off-by: Andrew Morton Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 2638bc394195f27801d1c184c4358ce25599146b tree 5524a41930056c9cd5a65f795f8901f8f25c579b parent 7c97eb3f1dd09548fe7167e684da4fc94580aceb author Zhu Yi Tue, 24 Jan 2006 16:37:52 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: remove white space and better format the code Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 7c97eb3f1dd09548fe7167e684da4fc94580aceb tree 0b6b65afaf25846b6fa7d1a45ea9887f6f952587 parent 4e22699fa264b88084210ceaa63747b8352bd517 author Zhu Yi Tue, 24 Jan 2006 16:37:47 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: increase ipw2200 driver version increase ipw2200 driver version to git-1.0.10 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4e22699fa264b88084210ceaa63747b8352bd517 tree f70b393f51d8c627cd45aeba09345f75b61f7ee6 parent 0a7bcf261ea584c87a9cee4523023fa74168de4a author Zhu Yi Tue, 24 Jan 2006 16:37:36 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: Fix qos_cmd param switch bug The patch fixes a couple of errors regarding QoS, which results in compile warnings and malfunction of the driver. Signed-off-by: Henrik Brix Andersen Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 0a7bcf261ea584c87a9cee4523023fa74168de4a tree f5ccb4cf6b3e376bbb16a1a0cb12b700b58ba928 parent 397ae121ee0116d3b4125d621f0ef528d1d52580 author Zhu Yi Tue, 24 Jan 2006 16:37:28 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: stack reduction Checking the stack usage of my kernel, showed that ipw2200 had a few bad offenders. This is on i386 32-bit: 0x00002876 ipw_send_associate: 544 0x000028ee ipw_send_associate: 544 0x000027dc ipw_send_scan_request_ext: 520 0x00002864 ipw_set_sensitivity: 520 0x00005eac ipw_set_rsn_capa: 520 The reason is the host_cmd structure is large (500 bytes). All other functions currently using ipw_send_cmd() suffer from the same problem. This patch introduces ipw_send_cmd_simple() for commands with no data transfer, and ipw_send_cmd_pdu() for commands with a data payload and makes the payload a pointer to the buffer passed in from the caller. As an added bonus, the diffstat looks like this: ipw2200.c | 260 +++++++++++++++++++++----------------------------------------- ipw2200.h | 2 2 files changed, 92 insertions(+), 170 deletions(-) and it shrinks the module a lot as well: Before: text data bss dec hex filename 75177 2472 44 77693 12f7d drivers/net/wireless/ipw2200.ko After: text data bss dec hex filename 61363 2488 44 63895 f997 drivers/net/wireless/ipw2200.ko So about a ~18% reduction in module size. Signed-off-by: Jens Axboe Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 397ae121ee0116d3b4125d621f0ef528d1d52580 tree b4de052ca78d6c8b4c05494a4a297aac9e88190e parent 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16 author Zhu Yi Tue, 24 Jan 2006 16:37:22 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: Scale firmware loading watchdog with the firmware size I can't really help with why restarts happen, but the following patch greatly increases the likelihood that a firmware reload will succeed afterward on my thinkpad. It addresses two issues. First, sysfs module loading and hotplug are asynchronous, and as such file operations on the "loading" and "data" files are racy when you load 2 firmwares in quick succession. Second, the timeout for DMAing the firmware needs to scale with the size of the firmware being loaded. That is, the watchdog needs to be on throughput, not on time alone. I no longer get the firmware load errors, though this is at best a hacky workaround for a racy interface. (Obviously, this does nothing to address the fatal errors in firmware which cause reloads; it just causes the initial loading and the reloads to work more often.) Signed-off-by: Peter Jones Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16 tree 6755f4f008dbe8880b128cab6ebd9ae8b13ddc22 parent ede6111cae6a83fbb0b6b621b4333d1a3983c089 author Zhu Yi Tue, 24 Jan 2006 16:37:16 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: add module parameter to enable/disable roaming Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit ede6111cae6a83fbb0b6b621b4333d1a3983c089 tree e1471e6b1b95d1a3fe468f02dc60fe9afacd459b parent c7b6a6744c3eb878e08ef992d57cd01eed457810 author Zhu Yi Tue, 24 Jan 2006 16:37:10 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Make LED blinking frequency independent of HZ Signed-off-by: Clemens Buchacher . Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c7b6a6744c3eb878e08ef992d57cd01eed457810 tree cf3b78c439b0c84f114702be7275280664a5ca9a parent 810dabd466fe70869b66ab64dd326b6153cef645 author Zhu Yi Tue, 24 Jan 2006 16:37:05 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: use jiffies_to_msec() wherever possible This substitutes Linux jiffies_to_msec() wherever there is a computation for determining milliseconds from jiffies, following lead from ieee80211 code. And it does a little cleanup. "it's" == "it is" ... "its" == possessive "it". Indulge me. ;-) Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 810dabd466fe70869b66ab64dd326b6153cef645 tree ca919a3a3b819b6bb46cc9d072b58f8b698b1070 parent 3e234b4e5768b4f783fc45f20be8c6515b875f17 author Zhu Yi Tue, 24 Jan 2006 16:36:59 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Bluetooth coexistence support I've added a new module param "bt_coexist" which defaults to OFF. This does not seem to fix the firmware restarts, but it does do "the right thing" and disables something that we were enabling by default: signaling the Bluetooth h/w which channel we're on (whether or not the BT h/w was out there). Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3e234b4e5768b4f783fc45f20be8c6515b875f17 tree f4c52593b5a7bb92dcdb966066c8d73b99209b4e parent f516dbcd7df76d468be98c343bc22e86ab7207fc author Zhu Yi Tue, 24 Jan 2006 16:36:52 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Add LEAP authentication algorithm support Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f516dbcd7df76d468be98c343bc22e86ab7207fc tree e13557dad21e95ff192d5df6036d36f3425b64e1 parent c8fe6679086a983c4c95a441f3246c7aaecab80a author Zhu Yi Tue, 24 Jan 2006 16:36:44 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2200: Mask out the WEP_KEY command dump from debug log for security reason Signed-off-by: Nick Kralevich Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c8fe6679086a983c4c95a441f3246c7aaecab80a tree e218762630b2d321e4d970417835b70949fe8c65 parent 71aa122d8a510b79338e28e2d56326574642d000 author Zhu Yi Tue, 24 Jan 2006 16:36:36 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2200: Fix indirect SRAM/register 8/16-bit write routines The indirect SRAM/register 8/16-bit write routines are broken for non-dword-aligned destination addresses. Fortunately, these routines are, so far, not used for non-dword-aligned destinations, but here's a patch that fixes them, anyway. The attached patch also adds comments for all direct/indirect I/O routine variations. Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71aa122d8a510b79338e28e2d56326574642d000 tree 5f15ae085d4e1ef654ac8c409b0a13f6a0320e60 parent 8ed55a482e2f044bfb044295ee86ecd5744c9911 author Zhu Yi Tue, 24 Jan 2006 16:08:55 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] increase ipw2100 driver version to git-1.1.4 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8ed55a482e2f044bfb044295ee86ecd5744c9911 tree bcb5e3d219dc51d4aa2de069ec29bd983a44d22e parent be6b3b15b511aededd89d1ebbc7b25d0edd1ccd3 author Zhu Yi Tue, 24 Jan 2006 13:49:20 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2100: remove white space and better format the code Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit be6b3b15b511aededd89d1ebbc7b25d0edd1ccd3 tree fcc97e33b4f4735bad76eb77a2e4e92ac171677f parent 3173ca0b76879be1fb7af826ae4ce7ee733159ce author Zhu Yi Tue, 24 Jan 2006 13:49:08 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2100: Add generic geo information This patch fixes a BUG_ON for the latest ieee80211 change. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3173ca0b76879be1fb7af826ae4ce7ee733159ce tree fedfdd8e491e6a4496ee9dc78d55b3851aca1ae8 parent cbbdd03fadeddd02efec05ccfd4e6870ed913762 author Zhu Yi Tue, 24 Jan 2006 13:49:01 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ipw2100: Make iwconfig txpower setting consistent with user input Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit cbbdd03fadeddd02efec05ccfd4e6870ed913762 tree 7624f3cf850dda8fbb1f9f5a7e0d2108cdac1384 parent 9eafe76b8a5e1420cd6105bc11830914d90bddb4 author Zhu Yi Tue, 24 Jan 2006 13:48:53 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ipw2100: Add LEAP authentication algorithm support Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9eafe76b8a5e1420cd6105bc11830914d90bddb4 tree ccee0929ee13ebd46d92811688b08d3f355b21e4 parent a73e22b286bd162d10526521b34f2d6f37aac635 author Denis Vlasenko Sun, 22 Jan 2006 13:57:10 +0200 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ieee80211: trivial fix for misplaced ()'s Patch fixes misplaced (). Diffed against wireless-2.6.git Signed-off-by: Denis Vlasenko Signed-off-by: John W. Linville commit a73e22b286bd162d10526521b34f2d6f37aac635 tree 728562af8aa42a145cf9b591382b044a31e94fb4 parent 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab author Adrian Bunk Sat, 21 Jan 2006 01:39:42 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] drivers/net/wireless/ipw2200: possible cleanups This patch contains the following possible cleanups: - make needlessly global functions static - "extern inline" -> "static inline" - #if 0 the unused global function ipw_led_activity_on() Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab tree b026cc1cd7c7323a2cf16db76dfef5cdc65fbeea parent a39d3e796cd2df8576c0418faa2c3833153bb3a9 author Adrian Bunk Sat, 21 Jan 2006 01:36:36 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] drivers/net/wireless/ipw2100.c: make ipw2100_wpa_assoc_frame() static This patch makes the needlessly global ipw2100_wpa_assoc_frame() static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit a39d3e796cd2df8576c0418faa2c3833153bb3a9 tree 6427f50efb949d7cd9a96a39183d643ccf111768 parent d86b5e0e6bf5980d3136ab4a855522143f2dcb5d author Adrian Bunk Sat, 21 Jan 2006 01:35:15 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:30 -0500 [PATCH] AIRO{,_CS} <-> CRYPTO fixes CRYPTO is a helper variable, and to make it easier for users, it should therefore select'ed and not be listed in the dependencies. drivers/net/wireless/airo.c requires CONFIG_CRYPTO for compilations. Therefore, AIRO_CS also has to CRYPTO. Additionally, this patch removes the #ifdef's for the non-compiling CRYPTO=n case from drivers/net/wireless/airo.c. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit d86b5e0e6bf5980d3136ab4a855522143f2dcb5d tree 8b63a48c3c063a5cdebeef29f05e698c7143bdf7 parent 747af1e154545566d04f647f86fc3ae512439fab author Adrian Bunk Sat, 21 Jan 2006 00:46:55 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:30 -0500 [PATCH] net/: fix the WIRELESS_EXT abuse This patch contains the following changes: - add a CONFIG_WIRELESS_EXT select'ed by NET_RADIO for conditional code - remove the now no longer required #ifdef CONFIG_NET_RADIO from some #include's Based on a patch by Jean Tourrilhes . Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 747af1e154545566d04f647f86fc3ae512439fab tree 78ac4b4440022d473b28f235df4e880d3b5adcbe parent d1b46b0fba8c1049135ee5d60910b04463dccc95 parent ae7ec20582de0867abda66ad06d468ce12b231f2 author John W. Linville Mon, 30 Jan 2006 17:43:25 -0500 committer John W. Linville Mon, 30 Jan 2006 17:43:25 -0500 Merge branch 'upstream-fixes' commit d6fb89bf6b8b45ec8c911570ba0852940690d846 tree 38e7d7c8f2b5b6f0ae1dd6e977154bcb48389a62 parent b1d917739acd44e14eb13813e4c94dc4b6831ca3 parent 9220a2d0daa1e6782f02d47303340d7b5ca62ac0 author Jeff Garzik Sun, 29 Jan 2006 12:41:09 -0500 committer Jeff Garzik Sun, 29 Jan 2006 12:41:09 -0500 Merge branch 'upstream-fixes' commit b1d917739acd44e14eb13813e4c94dc4b6831ca3 tree d666684748522c31356d04f8243f6bcd7203dc8b parent c893a3ae49279a4ab6aa6cf594a2ec6d286e1187 parent bd12097c7415c13aff53aed473eec92acd15712a author Jeff Garzik Sun, 29 Jan 2006 02:47:18 -0500 committer Jeff Garzik Sun, 29 Jan 2006 02:47:18 -0500 Merge branch 'upstream-fixes' commit 450d86dff3fc4780fd5c2d1654402ab7ffec9c38 tree 0f7314e205dac26aafa4ab0aaed8866aa84831a3 parent 0018dfa48e171315ce7f0ea689e34b67af926e19 author Al Viro Thu, 22 Dec 2005 14:52:52 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:35 -0500 [PATCH] dead code removed in hp100 for mode 2 (memory-mapped) we always set ->mem_ptr_virt; dead code removed. Signed-off-by: Al Viro commit 0018dfa48e171315ce7f0ea689e34b67af926e19 tree 02d3671f79172ea5ff00c173f41620202a7cde36 parent 3c13958620f08c8082a2694e51dec32592438388 author Al Viro Thu, 01 Dec 2005 06:53:59 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:31 -0500 [PATCH] wrong ifdefs in 82596.c ifdefs around variable declaration would better match those around its uses... Signed-off-by: Al Viro commit 3c13958620f08c8082a2694e51dec32592438388 tree 8b14e1b6a4e7f7a884f4f558206d35dccd10c1ba parent 82729971e0f8ccf1f15567cc4f2c5389e0659eb2 author Al Viro Thu, 01 Dec 2005 06:44:55 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:28 -0500 [PATCH] bogus include of linux/irq.h in 7990.c Signed-off-by: Al Viro commit 82729971e0f8ccf1f15567cc4f2c5389e0659eb2 tree 1618283083d7b6b5c035e183b555aaa8a90f8480 parent ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 author Al Viro Tue, 06 Dec 2005 05:53:04 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:25 -0500 [PATCH] missing include of asm/irq.h in drivers/net Signed-off-by: Al Viro commit ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 tree 6755ae998e3b1710ed1d30643aff4582c1960a4b parent 976345cc0fb34d677233b5b22d4819dc7ac92ef1 author Al Viro Sun, 04 Dec 2005 02:28:40 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:22 -0500 [PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/ Signed-off-by: Al Viro commit 976345cc0fb34d677233b5b22d4819dc7ac92ef1 tree 65d54cce8bb4ebe6c79f49eccf9c790b3ef9a9c7 parent b43de2d8db7655d1c520bf6eac7071d8f6d0b864 author Al Viro Tue, 06 Dec 2005 06:02:45 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:19 -0500 [PATCH] appletalk/cops.h: missing const in struct ltfirmware Signed-off-by: Al Viro commit b43de2d8db7655d1c520bf6eac7071d8f6d0b864 tree 72de2f56444a6a167fa61dff14946d1aa90b3bc8 parent d0f6ecad39266f87913539c52dc624f75cc4b914 author Al Viro Thu, 01 Dec 2005 10:15:21 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:15 -0500 [PATCH] ibm_emac sparse annotations Signed-off-by: Al Viro commit d0f6ecad39266f87913539c52dc624f75cc4b914 tree c2c674495d0d13241779ed6fbeeff16b4523e2e0 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Al Viro Fri, 02 Dec 2005 03:54:44 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:11 -0500 [PATCH] arcnet probing cleanups and fixes make arcnet probing do request_mem_region() for all iomem it's going to access, clean the code up. Signed-off-by: Al Viro commit 4f975b32433df87b8ead3de9944e0a9f90d261fd tree 85fc678ccca9eac622b9513919812d2602ea4da1 parent 0cc349d130b34de3046fb3d0e31eaf6ff5540cad parent d1b46b0fba8c1049135ee5d60910b04463dccc95 author Jeff Garzik Sat, 28 Jan 2006 16:07:32 -0500 committer Jeff Garzik Sat, 28 Jan 2006 16:07:32 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 0cc349d130b34de3046fb3d0e31eaf6ff5540cad tree b61bf80ec24a13a685f43341fe38855a625b1e2e parent 01999873a455fe9104e91820c72849e608239928 parent b0b020d4783fbc4cc477e2ca678ac47c50d5bc3e author Jeff Garzik Sat, 28 Jan 2006 16:06:45 -0500 committer Jeff Garzik Sat, 28 Jan 2006 16:06:45 -0500 Merge branch 'upstream-fixes' commit c893a3ae49279a4ab6aa6cf594a2ec6d286e1187 tree a081e82f1273e7dd2c9eb5c26f4078cc5b6a79af parent 6340f019695a08e3b2e317e307014801fc86b178 author Randy Dunlap Sat, 28 Jan 2006 13:15:32 -0500 committer Jeff Garzik Sat, 28 Jan 2006 13:15:32 -0500 Various libata documentation updates. This is a merger of libata docs + cleanups from Martin Waitz and me. From: Randy Dunlap From: Martin Waitz Fix libata kernel-doc comments to match code. Add some function parameters to kernel-doc. Fix some typos/spellos. Put comments in <= 80 columns. Make one DPRINTK string unique. Fix sparse cast warnings. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 6340f019695a08e3b2e317e307014801fc86b178 tree 29ffcfd426be348c2a1f1eb0b9f3dc0034445ba6 parent b376bc1f6b4258112d714fb4ee8e5d57b53625f2 author Luke Kosewski Sat, 28 Jan 2006 12:39:29 -0500 committer Jeff Garzik Sat, 28 Jan 2006 12:39:29 -0500 [libata sata_promise] add correct read/write of hotplug registers for SATAII devices This patch adds support for correctly masking out and knowing about hotplug events on Promise SATAII150 Tx4/Tx2 Plus controllers. Also, a kmalloc->kzalloc cleanup. Signed-off-by: Luke Kosewski Signed-off-by: Jeff Garzik commit b376bc1f6b4258112d714fb4ee8e5d57b53625f2 tree a904b4754c697bc915998f627ad94114f12509a1 parent c2bd58047b9b5c91a3b0a851de66a877f2eb7ae3 author Jeff Garzik Sat, 28 Jan 2006 12:26:23 -0500 committer Jeff Garzik Sat, 28 Jan 2006 12:26:23 -0500 [libata ata_piix] Fix ICH6/7 map value interpretation The previous change failed to properly mask out unrelated bits, which resulted in a failure to detect devices. commit c2bd58047b9b5c91a3b0a851de66a877f2eb7ae3 tree aaaa1cc9da06699c6d68e88dba5e304ae5788a3c parent a62c0fc526c344d8163f7a9e45e68cc63826ffd3 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Fri, 27 Jan 2006 20:58:34 -0500 [PATCH] libata: implement standard reset component operations and ->probe_reset Implement SRST, COMRESET and standard postreset component operations for ata_drive_probe_reset(), and use these three functions to implement ata_std_probe_reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a62c0fc526c344d8163f7a9e45e68cc63826ffd3 tree d803a14848eb785f63b5f9e2d0b3f19afa0bda9d parent c19ba8af4f104cca28d548cac55c128b28dd31fb author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Fri, 27 Jan 2006 20:58:34 -0500 [PATCH] libata: implement ata_drive_probe_reset() Most low level drivers share supported reset/classify actions and sequence. This patch implements ata_drive_probe_reset() which helps constructing ->probe_reset from three component operations - softreset, hardreset and postreset. This minimizes duplicate code and yet allows flexibility if needed. The three component operations can also be shared by EH later. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d1b46b0fba8c1049135ee5d60910b04463dccc95 tree 1ec055eee19d523f5fdd7bbe696dc1f0c0dbd105 parent 15f385982e3a4782fe8ed71a9a6beb64a2160c30 author Zhu Yi Thu, 19 Jan 2006 16:22:15 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add 802.11h information element parsing Added default handlers for various 802.11h DFS and TPC information elements. Moved all information elements into single location (called from two places). Added debug message with information on unparsed IEs if debug_level set. Added code to reset network IBSS DFS information when appropriate. Added code to invoke driver callback for 802.11h ACTION STYPE. Changed a few printk's to IEEE80211_DEBUG_MGMT. Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 15f385982e3a4782fe8ed71a9a6beb64a2160c30 tree d33236c0ed68d8a255c88e3e3279f876c67575c6 parent b79e20b60997e427b701055a2c69fb0c1d507aa9 author Zhu Yi Thu, 19 Jan 2006 16:21:35 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add helpers for IBSS DFS handling To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct ieee80211_network. In IBSS, if one STA sends a beacon with DFS info (for radar detection), all the other STAs should receive and store this DFS. All STAs should send the DFS as one of the information element in the beacon they are scheduled to send (if possible) in the future. Since the ibss_dfs has variable length, it must be allocated dynamically. ieee80211_network_reset() is added to clear the ibss_dfs field. ieee80211_network_free() is also updated to free the ibss_dfs field if it is not NULL. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b79e20b60997e427b701055a2c69fb0c1d507aa9 tree 318bf28699ed6042c667f01c8017c3d9d73c9f7d parent 9184d9348a7a0e60d70d5f4c23de79fdbc72b9a3 author Zhu Yi Thu, 19 Jan 2006 16:21:27 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add 802.11h data type and structures Add 802.11h data types and structure definitions to ieee80211.h. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9184d9348a7a0e60d70d5f4c23de79fdbc72b9a3 tree e7211258e23f29de34c39866cfa0933e5d10d2f7 parent 41a25c616b3140c388ff6009a1cb0b6b06a10f29 author Zhu Yi Thu, 19 Jan 2006 16:22:32 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add TKIP crypt->build_iv This patch adds ieee80211 TKIP build_iv() method to support hardwares that can do TKIP encryption but relies on ieee80211 layer to build the IV. It also changes the build_iv() interface to return the key if possible after the IV is built (this is required by TKIP). Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 41a25c616b3140c388ff6009a1cb0b6b06a10f29 tree c5c7758ba0f98cf58e89731d830a4176381b49f1 parent 8aa914b747b650fc1735f3a3171753ac15ed93ab author Zhu Yi Thu, 19 Jan 2006 16:22:23 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: TIM information element parsing Added partial support of TIM information element parsing Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8aa914b747b650fc1735f3a3171753ac15ed93ab tree 71bdea3b0d816345c3c1fe8bccaa7122788abc49 parent 7bd64366044565d6861783613db191c8aaec691e author Zhu Yi Thu, 19 Jan 2006 16:22:07 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: kmalloc+memset -> kzalloc cleanups kmalloc+memset -> kzalloc cleanups in ieee80211_crypt_tkip Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 7bd64366044565d6861783613db191c8aaec691e tree 2a75f5bda5df503c532e7c12f53b9be9bd47401e parent d128f6c176bff9c4929476e13132804321a6d5c5 author Zhu Yi Thu, 19 Jan 2006 16:21:54 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Add spectrum management information Add spectrum management information and use stat.signal to provide signal level information. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d128f6c176bff9c4929476e13132804321a6d5c5 tree 6c48f08712a5a81501fea7c317faa9f517d70520 parent 24056bec086aaa99923b21c0e1a0e993bb1c7e2a author Zhu Yi Thu, 19 Jan 2006 16:21:45 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: add flags for all geo channels Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 24056bec086aaa99923b21c0e1a0e993bb1c7e2a tree f346787ae101c10185849c44bbbcd42d8d461a9a parent d65292375154085feb7217ed8fccc8edf163c6b2 author Zhu Yi Thu, 19 Jan 2006 16:21:09 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Add LEAP authentication type Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d65292375154085feb7217ed8fccc8edf163c6b2 tree 952ec92d86fd48285580d6bd7e9c4d0ad9d43209 parent 44d7a8cfbdc1112fd80546591fd6f5c831ea0363 author Zhu Yi Thu, 19 Jan 2006 16:20:49 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Log if netif_rx() drops the packet Log to wireless network stats if netif_rx() drops the packet. (also trailing whitespace and Lindent cleanups as part of patch-apply process) Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 44d7a8cfbdc1112fd80546591fd6f5c831ea0363 tree 87e0b6360f041847e519cd25aaa2dbc4b48cbde0 parent 4a99ac3a9ee7e1b90ebc3ddbb44db75eef5c41e6 author Denis Vlasenko Wed, 18 Jan 2006 12:02:33 +0200 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] WEP fields are incorrectly shown to be INSIDE snap in the doc >If encryption is enabled, each fragment payload size is reduced by enough space >to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP) >So if you have 1500 bytes of payload with ieee->fts set to 500 without >encryption it will take 3 frames. With WEP it will take 4 frames as the >payload of each frame is reduced to 492 bytes. Text is correct, but in picture (IV,payload,ICV) sits inside SNAP. Patch corrects this. Signed-Off-By: Denis Vlasenko Acked-By: Johannes Berg Signed-off-by: John W. Linville commit b31c544aedc802688e32240f1398a4321433bfae tree 66500cd9f82d01f8a8c35cd64e918162328371e3 parent 739dbef022e1600cfd3ba989246b3eecf04f2bb5 author Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 committer Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email - V4L/DVB Maintainers list changed. This patch alters the email to the new address. Signed-off-by: Mauro Carvalho Chehab Acked-By: Johannes Stezenbach commit 01999873a455fe9104e91820c72849e608239928 tree 24695d2629535ed0ccfdaa26d028705bca0eaecf parent d0412d967032b9e147bcbacc9ff0c0342636cf2d author Dale Farnsworth Fri, 27 Jan 2006 01:18:01 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Clean up platform_data configuration We shouldn't expose the hardware register contents in platform_data. The only things we allow the user to configure are autoneg, speed, and duplex. Add specific platform_data fields for these values and remove the registers configs. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit d0412d967032b9e147bcbacc9ff0c0342636cf2d tree 1191be1a588161a4d4538536975379d0c8f61011 parent c28a4f8947f1b08996502967e348dc88363749a7 author James Chapman Fri, 27 Jan 2006 01:15:30 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: use MII library for ethtool functions Use the common ethtool support functions of the MII library. Add generic MII ioctl handler. Add PHY parameter speed/duplex/negotiation initialization and modification. Signed-off-by: James Chapman Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c28a4f8947f1b08996502967e348dc88363749a7 tree a0afa38353ebb02f2cef528d1b84e2e8e89443c2 parent 9f8dd319459bb5ab9efcc1c345bed7895cc41768 author James Chapman Fri, 27 Jan 2006 01:13:15 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: use MII library for PHY management Modify link up/down handling to use the functions from the MII library. Note that I track link state using the MII PHY registers rather than the mv643xx chip's link state registers because I think it's cleaner to use the MII library code rather than writing local driver support code. It is also useful to make the actual MII registers available to the user with maskable kernel printk messages so the MII registers are being read anyway Signed-off-by: James Chapman Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 9f8dd319459bb5ab9efcc1c345bed7895cc41768 tree 017ea7b2ca60f29110b8e43afbd6560737824489 parent f98e36f1f7903a319f7f87f96490e88f691ea106 author Dale Farnsworth Fri, 27 Jan 2006 01:10:47 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Make port queue enable/disable code consistent Add and use the following functions: mv643xx_eth_port_enable_tx() mv643xx_eth_port_enable_rx() mv643xx_eth_port_disable_tx() mv643xx_eth_port_disable_rx() so that ports are enabled/disabled consistently. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit f98e36f1f7903a319f7f87f96490e88f691ea106 tree cdad08d70b682bc36225a0a74cb5f49101bef6a3 parent cf4086c7725dc251551243c28325d446d9b1bf06 author Dale Farnsworth Fri, 27 Jan 2006 01:09:18 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Rename mp->tx_ring_skbs to mp->tx_desc_count tx_ring_skbs is actually a count of tx descriptors currently in use. Since there may be multiple descriptors per skb, it is not the same as the number of skbs in the ring. Also change rx_ring_skbs to rx_desc_count to be consistent. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cf4086c7725dc251551243c28325d446d9b1bf06 tree 6773df749dd578e77855c5c82ee5de66d4c63dea parent ed9b5d457668392182659747a734b38e86820adb author Dale Farnsworth Fri, 27 Jan 2006 01:07:48 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Merge unicast and multicast address filtering code Remove duplicated code by having unicast and multicast code use a common filter table function: eth_port_set_filter_table_entry(). Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit ed9b5d457668392182659747a734b38e86820adb tree 0d3c6e28ef5b0d2392278ce8d6c0850b09e9e13f parent cfc88b07292076f960b6782a7fea770abdac4ce6 author Dale Farnsworth Fri, 27 Jan 2006 01:06:38 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Remove needless mp->port_mac_addr mp->port_mac_addr is just a redundant copy of dev->dev_addr, so remove it. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cfc88b07292076f960b6782a7fea770abdac4ce6 tree 97b034ecc70b3d37e774137789b8d18d7fb965d7 parent cca4aa83c79bcd571b06c83c50ea63cb75f1c2bb parent 6651a5c3839517685c601e44979f19de8b6249c3 author Jeff Garzik Fri, 27 Jan 2006 11:09:39 -0500 committer Jeff Garzik Fri, 27 Jan 2006 11:09:39 -0500 Merge branch 'upstream-fixes' commit 7d3d0439f574a4857c97b3ad2e63b082b7382d7e tree 320e1024829ee4939f9d66d5bcddcdb43258cbcb parent efd51b5c6798d103e3aa683464aebb2019b62119 author Ravinandan Arakali Wed, 25 Jan 2006 14:53:07 -0500 committer Jeff Garzik Fri, 27 Jan 2006 10:34:38 -0500 [PATCH] S2io: Large Receive Offload (LRO) feature(v2) for Neterion (s2io) 10GbE Xframe PCI-X and PCI-E NICs Hi, Below is a patch for the Large Receive Offload feature. Please review and let us know your comments. LRO algorithm was described in an OLS 2005 presentation, located at ftp.s2io.com user: linuxdocs password: HALdocs The same ftp site has Programming Manual for Xframe-I ASIC. LRO feature is supported on Neterion Xframe-I, Xframe-II and Xframe-Express 10GbE NICs. Brief description: The Large Receive Offload(LRO) feature is a stateless offload that is complementary to TSO feature but on the receive path. The idea is to combine and collapse(upto 64K maximum) in the driver, in-sequence TCP packets belonging to the same session. It is mainly designed to improve 1500 mtu receive performance, since Jumbo frame performance is already close to 10GbE line rate. Some performance numbers are attached below. Implementation details: 1. Handle packet chains from multiple sessions(current default MAX_LRO_SESSSIONS=32). 2. Examine each packet for eligiblity to aggregate. A packet is considered eligible if it meets all the below criteria. a. It is a TCP/IP packet and L2 type is not LLC or SNAP. b. The packet has no checksum errors(L3 and L4). c. There are no IP options. The only TCP option supported is timestamps. d. Search and locate the LRO object corresponding to this socket and ensure packet is in TCP sequence. e. It's not a special packet(SYN, FIN, RST, URG, PSH etc. flags are not set). f. TCP payload is non-zero(It's not a pure ACK). g. It's not an IP-fragmented packet. 3. If a packet is found eligible, the LRO object is updated with information such as next sequence number expected, current length of aggregated packet and so on. If not eligible or max packets reached, update IP and TCP headers of first packet in the chain and pass it up to stack. 4. The frag_list in skb structure is used to chain packets into one large packet. Kernel changes required: None Performance results: Main focus of the initial testing was on 1500 mtu receiver, since this is a bottleneck not covered by the existing stateless offloads. There are couple disclaimers about the performance results below: 1. Your mileage will vary!!!! We initially concentrated on couple pci-x 2.0 platforms that are powerful enough to push 10 GbE NIC and do not have bottlenecks other than cpu%; testing on other platforms is still in progress. On some lower end systems we are seeing lower gains. 2. Current LRO implementation is still (for the most part) software based, and therefore performance potential of the feature is far from being realized. Full hw implementation of LRO is expected in the next version of Xframe ASIC. Performance delta(with MTU=1500) going from LRO disabled to enabled: IBM 2-way Xeon (x366) : 3.5 to 7.1 Gbps 2-way Opteron : 4.5 to 6.1 Gbps Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit cca4aa83c79bcd571b06c83c50ea63cb75f1c2bb tree ee355d11b62f5f22fcdcfae5f4d5b31629227dfb parent 7e0b58f32fb5e9c958078a6d722a7d0b230346a7 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:49 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/winbond-840.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 7e0b58f32fb5e9c958078a6d722a7d0b230346a7 tree 7bc1545f382d267f1768526e50beb8ab934ac06c parent a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:43 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/de2104x.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away One of the if()s contains a call to de_is_running(), which seems to be safe to replace, but someone with more knownledge of the code might want to verify this... Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9 tree f28ad3ea7984cb8c69228a6665fbb57368017218 parent 97309d1a0bbdcb0813ea08574b4473d8e5416012 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:51 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/xircom_cb.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit c19ba8af4f104cca28d548cac55c128b28dd31fb tree 2624b544c0f8294a712b3255695b1e178943255a parent b4dc7623c1bb258b66418261dab40f0e4cfc6d42 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:20:14 -0500 [PATCH] libata: new ->probe_reset operation Add new ->probe_reset operation to ata_port_operations obsoleting ->phy_reset. The main difference from ->phy_reset is that the new operation is not allowed to manipulate libata internals directly. It's not allowed to configure or disable the port or devices. It can only succeed or fail and classify attached devices into passed @classes. This change gives more control to higher level and eases sharing reset methods with EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b4dc7623c1bb258b66418261dab40f0e4cfc6d42 tree ab6d2d5ce603fdc936d47788d80011abb11d6b57 parent 6f8b99589524f3e759e44721376abcdf88ed8915 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:20:14 -0500 [PATCH] libata: modify ata_dev_try_classify Make ata_dev_try_classify take @r_err to store tf error register value on completion and return device class instead of directly manipulating dev->class. This is preparation for new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6f8b99589524f3e759e44721376abcdf88ed8915 tree ea187cf272f560faaba4ffb6d34848f6f517203e parent 22b49985f526796471c074c0e56bcebfd633a6ff author Tejun Heo Tue, 24 Jan 2006 17:05:21 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:18:47 -0500 [PATCH] libata: export ata_busy_sleep Export ata_busy_sleep(), to be used by low level driver reset functions. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 22b49985f526796471c074c0e56bcebfd633a6ff tree 4e4033c1d9e01b4f5338349dd40ad3a4868f69c6 parent e0bfd149973d22a4330dd6665b54d1dcca07174a author Tejun Heo Mon, 23 Jan 2006 21:38:44 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:08:52 -0500 [PATCH] ahci: add constants for SRST Add constants needed to perform SRST. This is preparation for adding softreset method. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit e0bfd149973d22a4330dd6665b54d1dcca07174a tree b3c2fc9e3bc9a1ed4a3d677710c426e5a300105e parent 9506437921504df18c6601f7d09bb23d72d2f6ba author Tejun Heo Mon, 23 Jan 2006 16:31:53 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:07:08 -0500 [PATCH] ahci: stop engine during hard reset AHCI spec mandates engine to be stopped during hard resets. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9506437921504df18c6601f7d09bb23d72d2f6ba tree 9cac6bc442d39cdbd9251009ee1b7cabb161728b parent a72ec4ce6d3ae92e76baf5b2c65cc26e5e775e83 author Tejun Heo Mon, 23 Jan 2006 13:09:37 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:01:29 -0500 [PATCH] libata: create pio/atapi task queueing wrappers Wrap pio/atapi task queueing in correspondingly named functions. This change doesn't change anything. It's preparation for follow-up pio-task/eh sync patch. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a72ec4ce6d3ae92e76baf5b2c65cc26e5e775e83 tree f5a177cc30c9b39d8ae7dcad29d03d27534b9f78 parent 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a author Tejun Heo Mon, 23 Jan 2006 13:09:37 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:28 -0500 [PATCH] libata: implement and apply ata_eh_qc_complete/retry() Implement ata_eh_qc_complete/retry() using scsi_eh_finish_cmd() and scsi_eh_flush_done_q(). This removes all eh scsicmd finish hacks from low level drivers. This change was first suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a tree 7c03ea4fa7c4329a693ce8041110b27251a9923a parent 9a3d9eb0177eb10500d49cd283b35576082a522d author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:28 -0500 [PATCH] SCSI: export scsi_eh_finish_cmd() and scsi_eh_flush_done_q() Export two SCSI EH command handling functions. To be used by libata EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9a3d9eb0177eb10500d49cd283b35576082a522d tree 3a8279ea3f263338cd02918131a36ee716cad1a8 parent 11a56d2439259892319df81cf1582687d7e7fde5 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] libata: return AC_ERR_* from issue functions Return AC_ERR_* mask from issue fuctions instead of 0/-1. This enables things like failing a qc with AC_ERR_HSM when the device doesn't set DRDY when the qc is about to be issued. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 11a56d2439259892319df81cf1582687d7e7fde5 tree 976f5ecb7ff61c19620ca482c0550b0b009bfa6a parent 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] libata: add detailed AC_ERR_* flags Add detailed AC_ERR_* flags and use them. Long-term goal is to describe all errors with err_mask and tf combination (tf for failed sector information, etc...). After proper error diagnosis is implemented, sense data should also be generated from err_mask instead of directly from hardware tf registers as it is currently. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 tree e8b8b1a69ebb881bd7e2176ef330e417a3ca80d9 parent 8e436af9326f5cc2e07d76505154ffddfb04b485 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] ahci: fix err_mask setting in ahci_host_intr In ahci_host_intr err_mask is determined from IRQ status but never used. This patch sets qc->err_mask to the determined err_mask. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8e436af9326f5cc2e07d76505154ffddfb04b485 tree 26d5a6716ff3c164613811a78e5a06c353d28fe3 parent 77853bf2b48e34449e826a9ef4df5ea0dbe947f4 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:50 -0500 [PATCH] libata: fix ata_qc_issue() error handling When ata_qc_issue() fails, the qc might have been dma mapped or not. So, performing only ata_qc_free() results in dma map leak. This patch makes ata_qc_issue() mark dma map flags correctly on failure and calls ata_qc_complete() after ata_qc_issue() fails. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 77853bf2b48e34449e826a9ef4df5ea0dbe947f4 tree b46a186c141c61f05352b7a1199b2940fd9a2065 parent 4ba946e9d8e10fada7bbce527f6ea05842592e06 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:49 -0500 [PATCH] libata: make the owner of a qc responsible for freeing it qc used to be freed automatically on command completion. However, as a qc can carry information about its completion status, it can be useful to its owner/issuer after command completion. This patch makes freeing qc responsibility of its owner. This simplifies ata_exec_internal() and makes command turn-around for atapi request sensing less hackish. This change was originally suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4ba946e9d8e10fada7bbce527f6ea05842592e06 tree 343f9381a51941bb03073075d577c70325067f6d parent 71e834f563799e09c6bd7d6638993b464fac26f5 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:49 -0500 [PATCH] libata: fold __ata_qc_complete() into ata_qc_free() All ata_qc_free() does is calling __ata_qc_complete() which isn't used anywhere else. Fold __ata_qc_complete() into ata_qc_free(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 71e834f563799e09c6bd7d6638993b464fac26f5 tree 3a35643ddc54e7217ec000eb415cc79a65cdcac1 parent ff0fc1467f8189c8e2340b91161c97138a75e484 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jeff Garzik Thu, 26 Jan 2006 22:33:43 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:33:43 -0500 Merge branch 'master' commit 97309d1a0bbdcb0813ea08574b4473d8e5416012 tree 0dcbcf5aa5146147e0ac1d0c4b73b868a67d333b parent b4ea75b649417606fd6b38710a2962ec9770e772 parent efd51b5c6798d103e3aa683464aebb2019b62119 author Jeff Garzik Thu, 26 Jan 2006 22:19:57 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:19:57 -0500 Merge branch 'upstream-fixes' commit 0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 tree 6fd87eb05df5fd4f8a898680487f0955fd2bd39f parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Arnaldo Carvalho de Melo Thu, 26 Jan 2006 22:01:38 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:01:38 -0500 sundance: Really read addr 0 Make phy 0 actually be read, as it is not being right now as we have: int mii_status = mdio_read(dev, phy, MII_BMSR); int phyx = phy & 0x1f; When we should have instead: int phyx = phy & 0x1f; int mii_status = mdio_read(dev, phyx, MII_BMSR); so that when phy, in the end of the (phy = 1; phy <= 32...) loop gets to 32 phyx gets to 0, i.e. we were reading at 32, when the intended read was for 0. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Jeff Garzik commit ff0fc1467f8189c8e2340b91161c97138a75e484 tree a1cbb418100267424f5edd6cfef3f463de0b49e6 parent 7db74a4780cf9cc6b2ea97582cdc8031d5f22ccd author Tejun Heo Sun, 18 Dec 2005 17:17:07 +0900 committer Jeff Garzik Thu, 26 Jan 2006 21:56:07 -0500 [PATCH] ata_piix: fix MAP VALUE interpretation for for ICH6/7 Unlike their older siblings, ICH6 and 7 use different scheme for MAP VALUE. This patch makes ata_piix interpret MV properly on ICH6/7. Pre-ICH6/7 The value of these bits indicate the address range the SATA port responds to, and whether or not the SATA and IDE functions are combined. 000 = Non-combined. P0 is primary master. P1 is secondary master. 001 = Non-combined. P0 is secondary master. P1 is primary master. 100 = Combined. P0 is primary master. P1 is primary slave. P-ATA is 2:0 Map Value secondary. 101 = Combined. P0 is primary slave. P1 is primary master. P-ATA is secondary. 110 = Combined. P-ATA is primary. P0 is secondary master. P1 is secondary slave. 111 = Combined. P-ATA is primary. P0 is secondary slave. P1 is secondary master. ICH6/7 Map Value - R/W. Map Value (MV): The value in the bits below indicate the address range the SATA ports responds to, and whether or not the PATA and SATA functions are combined. When in combined mode, the AHCI memory space is not available and AHCI may not be used. 00 = Non-combined. P0 is primary master, P2 is the primary slave. P1 is secondary master, P3 is the 1:0 secondary slave (desktop only). P0 is primary master, P2 is the primary slave (mobile only). 01 = Combined. IDE is primary. P1 is secondary master, P3 is the secondary slave. (desktop only) 10 = Combined. P0 is primary master. P2 is primary slave. IDE is secondary 11 = Reserved Signed-off-by: Tejun Heo -- Jeff, without this patch, ata_piix misdetects my ICH7's combined mode, ending up not applying bridge limits to PX-710SA and configuring IDE drive on 40-c cable to UDMA/66. Thanks. Signed-off-by: Jeff Garzik commit 739dbef022e1600cfd3ba989246b3eecf04f2bb5 tree cef3a192ce2e5d169172620d06a6e0af2a1def74 parent c37844f4a8c9524dbe9187397e75caa7a79ae83a author Michael Krufky Thu, 26 Jan 2006 04:37:19 -0200 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:37:19 -0200 V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c - allow tristate build for cx88-vp3054-i2c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit c37844f4a8c9524dbe9187397e75caa7a79ae83a tree a376b2ecaf74f6b21e64d823694490414bca0a27 parent cc925bbed017b12d46436e8ab788e0de8656d08c author Jiri Slaby Tue, 24 Jan 2006 13:15:06 -0800 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:37:06 -0200 V4L/DVB (3439a): media video stradis memory fix memset clears once set structure, there is actually no need for memset, because configure function do it for us. Next, vfree(NULL) is legal, so avoid useless labels. Thanks Dave Jones for reporting this. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 1de87444f8f91009b726108c9a56600645ee8751 tree 66f731a701a005be55337792bf873c182470141a parent 0a0fc0ddbe732779366ab6b1b879f62195e65967 author Ingo Molnar Tue, 24 Jan 2006 15:22:50 -0600 committer Dave Kleikamp Tue, 24 Jan 2006 15:22:50 -0600 JFS: semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Dave Kleikamp commit 0a0fc0ddbe732779366ab6b1b879f62195e65967 tree 7b42490a676cf39ae0691b6859ecf7fd410f229b parent 4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Dave Kleikamp Tue, 24 Jan 2006 14:34:47 -0600 committer Dave Kleikamp Tue, 24 Jan 2006 14:34:47 -0600 Merge with /home/shaggy/git/linus-clean/ commit cc925bbed017b12d46436e8ab788e0de8656d08c tree c96e474944319e199ec8e245cb9a2f0d1cc314dc parent 3fc46d35b30cfae018c4903228a270c9543f4d7a author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3439): removed duplicated tuner_ranges - removed duplicated tuner_ranges Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3fc46d35b30cfae018c4903228a270c9543f4d7a tree 72f02a4cb4e8f8087f1f384d82a4daa9de13086f parent ab66b22f0c4e5786d59fa23569ac37a4a21ab4fb author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3436): move config byte from tuner_params to tuner_range struct. - Move config byte from tuner_params to tuner_range struct. - dvb tuners must be able to set different config byte for each range. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ab66b22f0c4e5786d59fa23569ac37a4a21ab4fb tree 293838829f957b2cf9194bdd4590bd1c7b668a74 parent 257c645d3dc90ee8b7c0640da8d9ea1b2cbe95c4 author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3435): rename cb variable names in tuner structures for global consistency - rename cb variable names in tuner structures for global consistency Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 257c645d3dc90ee8b7c0640da8d9ea1b2cbe95c4 tree 09dc143433be7abc8c66f250704e46aeadc2eb4e parent 9df8e9456d74c7ac749a1ebfb54a3cc36e46a602 author Markus Rechberger Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3434): changed comment in tuner-core.c - changed comment in tuner-core.c Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 9df8e9456d74c7ac749a1ebfb54a3cc36e46a602 tree 751427b861f10e1ee6e127815e98dd4f0562c4b4 parent a94e95b443811c127734ef10f3b7d2220532c1d2 author Randy Dunlap Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3433): Fix printk type warning - Fix printk type warning: drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t' Signed-off-by: Randy Dunlap Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a94e95b443811c127734ef10f3b7d2220532c1d2 tree 4db69dec34628c32dd40788373f3503670ccd542 parent cbcf749382a7bbf70b1bbf6eeb3234d1682c9f17 author Markus Rechberger Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3432): Hauppauge HVR 900 Composite support - Hauppauge HVR 900 Composite support Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit cbcf749382a7bbf70b1bbf6eeb3234d1682c9f17 tree c780467892e5eda3bfb70421ac2f90a820b348d7 parent 757d250518c4905c5d13c8974446e08a2e3cf244 author Michael Krufky Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3431): fixed spelling error, exectuted --> executed. - fixed spelling error, exectuted --> executed. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 757d250518c4905c5d13c8974446e08a2e3cf244 tree 3603696598ffde1f14aad76f12572f847b6ac324 parent ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b author Hans Verkuil Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3430): Add new internal VIDIOC_INT commands - Add new internal VIDIOC_INT commands for setting the tuner mode, for putting a chip into standby mode and to set/get the routing of inputs/outputs of audio or video of a chip. These new commands will replace older commands that are no longer up to the task. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b tree a97c2231872cfd59767684c20d78694dbefeaf42 parent 703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 author Markus Rechberger Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3429): Missing break statement on tuner-core - default_tuner_init was called twice due to a missing break statement. Signed-off-by: Markus Rechberger Acked-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 tree cd9a9404a0cda282013c34ea087611771fc2e6ff parent 8a4b275f9c192921797f45c2d4b5e4bc3875500a author Adrian Bunk Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3428): drivers/media/dvb/ possible cleanups - Make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8a4b275f9c192921797f45c2d4b5e4bc3875500a tree da12ba774968078df22718a58221e87b71387fca parent 9aeb4b051b65c0248ea6589096950413c4da9d63 author Hans Verkuil Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3427): audmode and rxsubchans fixes (VIDIOC_G/S_TUNER) - Audmode and rxsubchans fixes in msp3400, tuner, tvaudio and cx25840. - msp3400 cleanups Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 9aeb4b051b65c0248ea6589096950413c4da9d63 tree 81e14364b0cf1797a5bff9a66cfe2475abf336cd parent 2d50f847c62acbafa25dc690d0fe65b8b908a326 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3423): CodingStyle fixes. - CodingStyle fixes. Signed-off-by: Mauro Carvalho Chehab commit 2d50f847c62acbafa25dc690d0fe65b8b908a326 tree b07c01a3571c08b6e27c645bc1c5ff3475718a03 parent e5589befc472ca50882f37c4fb32333fc93a65b7 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3422): Implemented VIDIOC_G_FMT/S_FMT for sliced VBI - Implemented VIDIOC_G_FMT/S_FMT for sliced VBI - VIDIOC_S_FMT now calls a function Signed-off-by: Mauro Carvalho Chehab commit e5589befc472ca50882f37c4fb32333fc93a65b7 tree 312488c15ed5ffa50806f89ad63b99952308459e parent 12db56071b473a59c550d0aa70db6972a49d73af author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3421): Several fixes to prepare for VBI - Fixed VBI compilation. - Included capacity to specify vbi and video number. - Added a better control for using more than one em28xx device. - VIDIOC_G_FMT now calls a function. Signed-off-by: Mauro Carvalho Chehab commit 12db56071b473a59c550d0aa70db6972a49d73af tree fabe596b7da982788959caaa04d6e8d4598d8da7 parent 4d0dddb10723cee2b3048bd2389673703bc228e4 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3420): Added iocls to configure VBI on tvp5150 - Added iocls to configure VBI on tvp5150 Signed-off-by: Mauro Carvalho Chehab commit 4d0dddb10723cee2b3048bd2389673703bc228e4 tree aea4b467e131d9c1080021840b9884629037d534 parent c835ac24e2e3d5de7fff0620949b61228048e27b author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3419): added some VBI macros and moved minor definitions to header file - Moved some hardcoded minor numbers to videodev2.h - Included more comments for sliced VBI standards - Included some VBI macros to group similar standards Signed-off-by: Mauro Carvalho Chehab commit c835ac24e2e3d5de7fff0620949b61228048e27b tree bbb76d12b09e3ea33afa4ac9e59f97091b6834fb parent bff75d248f27c10d4bf1aaf8d5c81b00623861b9 author Mike Isely Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887 - The tda9887 has an I2C id reserved for it, but it hasn't been using it. Probably an oversight. Fixed with this patch. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit bff75d248f27c10d4bf1aaf8d5c81b00623861b9 tree 65ca985e869dace3bee853b9c051a49a43e7bb79 parent 42d2b6ef40fcf9094d4d55a1a4c8d1c80318271c author Michael Krufky Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option. - make VP-3054 Secondary I2C Bus Support a Kconfig option. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 42d2b6ef40fcf9094d4d55a1a4c8d1c80318271c tree 008b68789d9dbf7fefcc7705ff441830f9fc96f2 parent 28f3d4b37db26a30b8990e039b6881b43de815f9 author Ian Pickworth Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3416): Recognise Hauppauge card #34519 - Recognise Hauppauge card #34519 Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 28f3d4b37db26a30b8990e039b6881b43de815f9 tree 5ad1e541348fac8d0e3a77171d9a1cb15f77ec34 parent d76a617903fa6dc466907531056cc33100560ea4 author Michael Krufky Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv - rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d76a617903fa6dc466907531056cc33100560ea4 tree 4f5ff42902e9938d0332ac45ce52cb70a24e5eed parent 2af3557748c18239b0aa2c77dd9c8392f6c1c7e1 author Michael Krufky Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module - Kill nxt2002 module in favor of nxt200x. - Repair broken nxt2002 support in the nxt200x module. - Make the flexcop driver use nxt200x instead of the nxt2002 module for the Air2PC 2nd generation PCI card. - Remove the nxt2002 module from cvs and kernel build. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2af3557748c18239b0aa2c77dd9c8392f6c1c7e1 tree 884fec413f532a8a2fcb56073d0550273c388c80 parent 2701dacb5ae5e7ecab4131605bdbcedd92bbaf82 author Michael Krufky Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3411): group dvb-bt8xx Subsystem ID's together, in order. - group dvb-bt8xx Subsystem ID's together, in order. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2701dacb5ae5e7ecab4131605bdbcedd92bbaf82 tree 7b4afaa7734005b77bdc9b2be93dff341ee65e2b parent 10b7a903072eb066b17cc9049d6ea55dd044f4c3 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3410): Implemented sliced VBI set on VIDIOC_S_FMT - Implemented sliced VBI set on VIDIOC_S_FMT Signed-off-by: Mauro Carvalho Chehab commit 10b7a903072eb066b17cc9049d6ea55dd044f4c3 tree 9fe5f92e9ef6e9de5df5eeb3baa01961d89e7822 parent 6ac48b458769059ee6147dd8bf2767e820407292 author Peter Missel Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's - Mark Typhoon cards as OEM of Lifeview. Signed-off-by: Peter Missel Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 6ac48b458769059ee6147dd8bf2767e820407292 tree 1c83bdbbd5b3b8751b922d732d1d8d40c4c47a09 parent 3ad96835cedec7704b1b5a211b39262bb794adaf author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 V4L/DVB (3408): Included new sliced VBI types to videodev2.h and tvp5150 - Added other sliced VBI types to videodev2.h - tvp5150 now uses standard V4L2 API codes from videodev2.h - Implemented VIDIOC_G_SLICED_VBI_CAP for tvp5150. This is dynamically filled based on defined VDP C-RAM values filled by the driver. Signed-off-by: Mauro Carvalho Chehab commit 3ad96835cedec7704b1b5a211b39262bb794adaf tree d62864f757dc9a29d50a072614b04178678596f0 parent 439090d7d82a333a21987dcbccb90961f27fd2e9 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 V4L/DVB (3407): added some code for VBI processing and cleanup debug dump - Renamed some registers and improved register debug message - Some cleanups at register dump - Added code to set VBI processor (VDP) - VBI code still incomplete Signed-off-by: Mauro Carvalho Chehab commit 439090d7d82a333a21987dcbccb90961f27fd2e9 tree 30b1ff5543833508668731bcb186dc94a791753c parent e36eaa71c99eb1edb52eb21ab4e8c9e09b943f21 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:10:54 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:10:54 -0200 V4L/DVB (3406): Added credits for em28xx-video.c - Added credits for sn9c102 kernel module and his author as some parts of em28xx-video were based. Acked-by: Luca Risolia Acked-by: Markus Rechberger Acked-by: Ludovico Cavedon Acked-by: Sascha Sommer Signed-off-by: Mauro Carvalho Chehab commit e36eaa71c99eb1edb52eb21ab4e8c9e09b943f21 tree b1ad85f4c22967848de8c546abd26cd1fb4420f6 parent 337208d007d94749cc965742eede1611a94c06ce author Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 V4L/DVB (3405): Fixes tvp5150a/am1 detection. - Tvp5150 type were determined by a secondary register instead of using ROM code. - tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal). All other ROM versions are reported as unknown tvp5150. - Except for reporting, current code doesn't enable any special feature for tvp5150am1 or tvp5150a. Code should work for both models (but were tested only for tvp5150am1). Signed-off-by: Mauro Carvalho Chehab commit 337208d007d94749cc965742eede1611a94c06ce tree b8451df5c11e511da276a1fc3c9972a341fad6c0 parent 94f9e56e2b32e9d0efa1321afc3fa164563b2c55 author Adrian Bunk Mon, 23 Jan 2006 09:48:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:02 -0200 VIDEO_CX88_ALSA must select SND_PCM - VIDEO_CX88_ALSA must select SND_PCM Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 94f9e56e2b32e9d0efa1321afc3fa164563b2c55 tree f8cf7f75026605673b116142acc5002da9ca3f3c parent 53a7240416adabb84e32334a9f118b7f05392ba2 author Hans Verkuil Mon, 23 Jan 2006 09:47:40 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:47:40 -0200 V4L/DVB (3403): Add probe check for the tda9840. - Add probe check for the tda9840 to prevent misdetection of a Micronas dpl3518a as a tda9840. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 53a7240416adabb84e32334a9f118b7f05392ba2 tree 3589d708545b4ba84fcdc39b696f4bd7269dcd5f parent b639f9d286f2216795492eac2a39b8ed6b4d555c author Hans Verkuil Mon, 23 Jan 2006 09:46:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:46:02 -0200 V4L/DVB (3402): Fix handling of VIDIOC_G_TUNER audmode in msp3400 - Fix handling of VIDIOC_G_TUNER audmode in msp3400: audmode is only changed by the user with S_TUNER, never by the driver. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit b639f9d286f2216795492eac2a39b8ed6b4d555c tree 8a618d3041ea3902fcf7f66ea43196575d4648eb parent 4c0f631e14b849782259519c749414b1f1ddbfa8 author Nickolay V. Shmyrev Mon, 23 Jan 2006 09:44:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:44:10 -0200 V4L/DVB (3400): Remove duplicated keymaps and add keymap for KWorld LTV883IR. - Remove duplicated keymaps and add keymap for KWorld LTV883IR. Thanks to Jon Ferguson . Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 4c0f631e14b849782259519c749414b1f1ddbfa8 tree 7976453534a7785899a71bc6cd574e5c7ebc3a95 parent bf47e4e43e4dcf88fef61b1b4139ce2da20e1f73 author Ricardo Cerqueira Mon, 23 Jan 2006 09:42:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:42:06 -0200 V4L/DVB (3393): Move all IR keymaps to ir-common module - All the keymaps have the same structure, and can be shared between different chips, so it makes no sense having them scattered between the input files. This aggregates them all at ir-common module. - Added new Hauppauge remote (Hauppauge grey), contributed by J.O. Aho (with some small changes) Changed KEY_KPx (keypad numerals) references to KEY_x, to avoid problems when NumLock is off (suggested by Peter Missel ) - Some cleanups at IR code Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit bf47e4e43e4dcf88fef61b1b4139ce2da20e1f73 tree 2b6b1bd833e21a18d1e0386d5a9066d6e620076a parent f74a6b395a6dea5028a1604e721dfb2b5c18fc86 author J.O. Aho Mon, 23 Jan 2006 09:34:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:34:06 -0200 V4L/DVB (3395): Hauppauge Grey Remote support - For the Hauppauge PVR cards there are at least two different remotes, one completly black and one that is Grey and black, they keys differ in values eg Black remotes 'mute' has the same value as Grey remotes 'menu'. - This enables the user to select which keymapping to use by using the hauppauge parm. Unlike to the black remote keys, all keys are mapped for the grey remote and the ATi usb remote mappings has been followed. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit f74a6b395a6dea5028a1604e721dfb2b5c18fc86 tree b21de10f98fb076de42b1926ef993b9b1bd9e27a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Michael Krufky Tue, 17 Jan 2006 03:50:23 -0200 committer Mauro Carvalho Chehab Sun, 22 Jan 2006 22:30:01 -0200 V4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. - Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9c4b562abc9005e4b413de02c85d3d29da707cba tree 20985e711d285aaf1b87aa3b4837a7ed2bc3b73a parent 0f36b018b2e314d45af86449f1a97facb1fbe300 author Adrian Bunk Thu, 19 Jan 2006 18:07:10 +0100 committer Adrian Bunk Thu, 19 Jan 2006 18:07:10 +0100 Move ip2.c and ip2main.c to drivers/char/ip2/ where the other files used by this driver reside. Renamed ip2.c to ip2base.c to allow ip2.o to be built from multiple objects. Signed-off-by: Adrian Bunk Acked-by: Michael H. Warfield commit b4ea75b649417606fd6b38710a2962ec9770e772 tree 217727bea3813e154dee942a3c835933de26acee parent 2baeaaa4dab6b43e35c7150d5350bfaff1284153 parent 7c4d33675f81fa38f85eeabbbf3e7b8687c15cc3 author Jeff Garzik Wed, 18 Jan 2006 16:20:16 -0500 committer Jeff Garzik Wed, 18 Jan 2006 16:20:16 -0500 Merge branch 'upstream-fixes' commit 7db74a4780cf9cc6b2ea97582cdc8031d5f22ccd tree 1db7d01b7648b6de99c83b42ccdfbdd16501628c parent 422b75956cd11f9d9214e6e2a99d6e52d98812d4 parent 7eb9b2f56c9812d03ac63031869bcc42151067b1 author Jeff Garzik Wed, 18 Jan 2006 01:01:22 -0500 committer Jeff Garzik Wed, 18 Jan 2006 01:01:22 -0500 Merge branch 'master' commit 2baeaaa4dab6b43e35c7150d5350bfaff1284153 tree da95b3796b4c5199c330ff69f8c879b50a97551f parent ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596 parent 77783a78ded96a56e3a1a0c03bbe87c56896fe6e author Jeff Garzik Tue, 17 Jan 2006 19:57:15 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:57:15 -0500 Merge branch 'upstream' commit 422b75956cd11f9d9214e6e2a99d6e52d98812d4 tree f7aabb4188b651596431ce344b1529dfa0c0b0b4 parent 7c76d1e83961a4e355c3ebd53191bc6072c238bd author Tejun Heo Mon, 19 Dec 2005 22:37:17 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] ahci: separate out ahci_dev_classify Separate out ahci_dev_classify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7c76d1e83961a4e355c3ebd53191bc6072c238bd tree 1ca34cd050c335bf3490ed234cdecc59dee5504f parent 3be680b7329e65b9165d6d8dc81baa1e9e89dfc7 author Tejun Heo Mon, 19 Dec 2005 22:36:34 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] ahci: separate out ahci_stop/start_engine Separate out ahci_stop/start_engine(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3be680b7329e65b9165d6d8dc81baa1e9e89dfc7 tree 75e7392670acb6bc8edfa58dbbbf5e1bbc541abe parent 35cfc45c582c0df666a817bc5e6cbe7aef5693a0 author Tejun Heo Mon, 19 Dec 2005 22:35:02 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] libata: separate out ata_sata_print_link_status Separate out sata_print_link_status() from __sata_phy_reset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 35cfc45c582c0df666a817bc5e6cbe7aef5693a0 tree 4d953c68b07dfde0e4853ea1d3594ef09fc1e826 parent 8a6d498e864aa3d1ae21fce650452dd13a305769 parent 0825788ff27c7145e9d558cb2a26f3837d1f9be5 author Jeff Garzik Tue, 17 Jan 2006 19:46:58 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:46:58 -0500 Merge branch 'lba48-opt' commit 8a6d498e864aa3d1ae21fce650452dd13a305769 tree 7bfd002af9a2901621a1f803d7a834859b3b67fc parent a1bd9e68573239320d18823c73eb06d8e56cc9e2 parent bfd6057959ecd3ff779a373a4d07cda2c2d0eec1 author Jeff Garzik Tue, 17 Jan 2006 19:46:27 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:46:27 -0500 Merge branch 'debug' commit bfd6057959ecd3ff779a373a4d07cda2c2d0eec1 tree f3d6e2a5f408251b59ea17457bde5cf161164fe0 parent 2664b25051f7ab96b22b199aa2f5ef6a949a4296 author Randy Dunlap Tue, 17 Jan 2006 19:34:42 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:34:42 -0500 From: Borislav Petkov libata new debugging macro definitions Signed-off-by: Borislav Petkov Signed-off-by: Randy Dunlap commit ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596 tree 710a1abcd4a3f65ada8a4526747e91b756e7c0b5 parent 03a49eebcaa3486f4ac2c50db83aab996ce5ad9b parent 22d4d77183f0af8b3b643544a5ae64ec6105d88b author Jeff Garzik Tue, 17 Jan 2006 19:29:28 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:29:28 -0500 Merge branch 'upstream' commit 03a49eebcaa3486f4ac2c50db83aab996ce5ad9b tree a92d8a6b3806ec3416ca2b28c45174fca9c4833e parent d4fbeabbc9e68c80738fe59135d201c3ed5fe40f parent 26df54bffd90977fbc6fe8284f2beaed19fea44f author Jeff Garzik Tue, 17 Jan 2006 19:19:20 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:19:20 -0500 Merge branch 'janitor' commit d4fbeabbc9e68c80738fe59135d201c3ed5fe40f tree dc7a965013ec01a54b3e4b265ade1637e8df4a53 parent 0547993820378ef8140b0470b604737bf1fa6c85 author Stefan Rompf Tue, 17 Jan 2006 22:52:51 +0100 committer Jeff Garzik Tue, 17 Jan 2006 19:19:12 -0500 [PATCH] starfire: Implement suspend/resume This patch implements suspend and resume methods for the starfire driver. It allows me to put my desktop PC with a starfire dual board into S4. Signed-Off-By: Stefan Rompf Signed-off-by: Jeff Garzik commit 0825788ff27c7145e9d558cb2a26f3837d1f9be5 tree f6bdb892cec8ca0df69c08a3477c89f1542999e5 parent 02f693c7118f6be9e677070eb630c1f3a654cdd3 parent 1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 author Jeff Garzik Tue, 17 Jan 2006 10:26:28 -0500 committer Jeff Garzik Tue, 17 Jan 2006 10:26:28 -0500 Merge branch 'upstream' commit 26df54bffd90977fbc6fe8284f2beaed19fea44f tree 008deacb21a6ef3769213e142255d31dce2a5ddd parent f03aa2d89ad600a1ed21a223f196776f217cfe00 author Adrian Bunk Sat, 14 Jan 2006 03:09:40 +0100 committer Jeff Garzik Tue, 17 Jan 2006 08:39:11 -0500 [PATCH] drivers/net/s2io.c: make code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit f03aa2d89ad600a1ed21a223f196776f217cfe00 tree c99eec8e63fbc952d5b7180b32fe1cbf5accb9ed parent ff5688ae1cedfb175b5ed0f319d03ad2e5ee005d author Adrian Bunk Sat, 14 Jan 2006 03:10:22 +0100 committer Jeff Garzik Tue, 17 Jan 2006 08:38:12 -0500 [PATCH] drivers/net/arcnet/: possible cleanups This patch contains the following possible cleanups: - make needlessly global code static - arcnet.c: remove the unneeded EXPORT_SYMBOL(arc_proto_null) - arcnet.c: remove the unneeded EXPORT_SYMBOL(arcnet_dump_packet) To make Jeff happy, arcnet.c still prints arcnet: v3.93 BETA 2000/04/29 - by Avery Pennarun et al. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit ff5688ae1cedfb175b5ed0f319d03ad2e5ee005d tree eca0d41b3eefc833238591e0100a8136f21269a7 parent e03d72b99e4027504ada134bf1804d6ea792b206 author Marcelo Feitoza Parisi Mon, 09 Jan 2006 18:37:15 -0800 committer Jeff Garzik Tue, 17 Jan 2006 07:59:23 -0500 [PATCH] drivers/net/*: use time_after() and friends They deal with wrapping correctly and are nicer to read. Also make jiffies-holding variables unsigned long. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit e03d72b99e4027504ada134bf1804d6ea792b206 tree a4c75707712af88ad0ac824e5a40b63488fa7530 parent 2664b25051f7ab96b22b199aa2f5ef6a949a4296 author Adrian Bunk Mon, 09 Jan 2006 18:34:08 -0800 committer Jeff Garzik Tue, 17 Jan 2006 07:45:52 -0500 [PATCH] drivers/net/sk98lin/: possible cleanups This patch contains the following possible cleanups: - make needlessly global functions static - remove unused code Signed-off-by: Adrian Bunk Cc: Stephen Hemminger Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 02f693c7118f6be9e677070eb630c1f3a654cdd3 tree b5493c816a1f76a01319a84955c5ba07d47517c3 parent e7fb585940a3dc87a42ebc30a62296e5cf6f9cd5 parent a18ceba7b40e24a9da87249bd74f16ea5abd6894 author Jeff Garzik Tue, 03 Jan 2006 10:59:55 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:59:55 -0500 Merge branch 'upstream' commit e7fb585940a3dc87a42ebc30a62296e5cf6f9cd5 tree 6b0290f0cb5f019b792df8580a73f0f852a4e856 parent 80c7af4074cbb4cb6be5d35c443ea6d5e8838a84 parent c6329f4df2263ab5a40601a5236639e61b682f51 author Jeff Garzik Tue, 13 Dec 2005 22:22:41 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:22:41 -0500 Merge branch 'upstream' commit 80c7af4074cbb4cb6be5d35c443ea6d5e8838a84 tree e900ad4c0beb4f44f0912b847c3319f11ef57d73 parent 451ec6ab310602515b361418debe93d00f67e273 parent d00d598ffbba974d9045ba8b95296655fe2162c5 author Jeff Garzik Tue, 13 Dec 2005 01:46:20 -0500 committer Jeff Garzik Tue, 13 Dec 2005 01:46:20 -0500 Merge branch 'upstream' commit 451ec6ab310602515b361418debe93d00f67e273 tree 933cbbe7232ae6cb19986012e3162e65a184b77a parent fe54ceda4dd71b6155f4a58cd2aad3a780cb347d parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:14:13 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:14:13 -0500 Merge branch 'master' commit fe54ceda4dd71b6155f4a58cd2aad3a780cb347d tree 6b9b51dc50ab46b6f22d7c30fc013b3f07e70175 parent 5e3c2b95dd560baa41b08c8f5f00bbd6fbeebdcb parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:59:27 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:59:27 -0500 Merge branch 'master' commit 4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a tree 139d47bcbfbbca350536be935961fece7477a7b6 parent ca869912366f60cb5e0bdd09f65e80ee6816e73c author Arjan van de Ven Tue, 29 Nov 2005 08:28:58 -0600 committer Dave Kleikamp Tue, 29 Nov 2005 08:28:58 -0600 JFS: make buddy table static Idea is to reduce false cacheline sharing and stuff Signed-off-by: Dave Kleikamp commit 5e3c2b95dd560baa41b08c8f5f00bbd6fbeebdcb tree 639d83b9bc4d08104e014b8903a773a04b7f1cac parent 4fe1eaf6f39ed3270aff6068d84a2e6a452da734 parent b71d4da092801634d04190693a38ca03bdbe2505 author Jeff Garzik Tue, 29 Nov 2005 03:57:16 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:57:16 -0500 Merge branch 'upstream' commit 4fe1eaf6f39ed3270aff6068d84a2e6a452da734 tree fded327ed0b11554041c307e3f80272ab082a299 parent 8238e747b62db977f80bfd4e5694d4fc2c1112d5 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:57:04 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:57:04 -0500 Merge branch 'master' commit 8238e747b62db977f80bfd4e5694d4fc2c1112d5 tree 7ac1b125cf75752e7b49e99322f2c7d62076691d parent 85a07029aaba8f5b27241bcff56cc009c9f4993b parent 1b15688b31d8c88881102426279e8cc03953860b author Jeff Garzik Sun, 20 Nov 2005 00:41:08 -0500 committer Jeff Garzik Sun, 20 Nov 2005 00:41:08 -0500 Merge branch 'upstream' commit 85a07029aaba8f5b27241bcff56cc009c9f4993b tree c579554c2ea9c942ccbea60e223bc62d8262f652 parent 0da36b3467040908d3df6bc1f5b4d592a8b23b63 parent 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb author Jeff Garzik Fri, 18 Nov 2005 11:42:40 -0500 committer Jeff Garzik Fri, 18 Nov 2005 11:42:40 -0500 Merge branch 'upstream' commit 0da36b3467040908d3df6bc1f5b4d592a8b23b63 tree 4843991fa3a67d9e3cbdfd39eb50574ce8b82c6e parent 8006fdd6dc387abaa4b683bda4868c879fd76070 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Jeff Garzik Fri, 11 Nov 2005 23:38:52 -0500 committer Jeff Garzik Fri, 11 Nov 2005 23:38:52 -0500 Merge branch 'master' commit ca869912366f60cb5e0bdd09f65e80ee6816e73c tree a72913a29495ca078987c09fc0008f47e11b900b parent dd8a306ac0c918268bd2ae89da2dea627f6e352d parent 388f7ef720a982f49925e7b4e96f216f208f8c03 author Dave Kleikamp Fri, 11 Nov 2005 14:09:06 -0600 committer Dave Kleikamp Fri, 11 Nov 2005 14:09:06 -0600 Merge with /home/shaggy/git/linus-clean/ commit dd8a306ac0c918268bd2ae89da2dea627f6e352d tree e3f2c244505931d93b09f7d314014cf3832b0176 parent 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 author Dave Kleikamp Thu, 10 Nov 2005 07:50:03 -0600 committer Dave Kleikamp Thu, 10 Nov 2005 07:50:03 -0600 JFS: Add back directory i_size calculations for legacy partitions Linux-formatted jfs partitions have a different idea about what i_size represents than partitions formatted on OS/2. The i_size calculation is now based on the size of the directory index. For legacy partitions, which have no directory index, the i_size is never being updated. This patch adds back the original i_size calculations for legacy partitions. Signed-off-by: Dave Kleikamp commit 8006fdd6dc387abaa4b683bda4868c879fd76070 tree 314b08f4923dd9ab24930e6b2ac75889c244b154 parent 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b parent 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 author Jeff Garzik Wed, 09 Nov 2005 01:37:34 -0500 committer Jeff Garzik Wed, 09 Nov 2005 01:37:34 -0500 Merge branch 'upstream' commit 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b tree c4a4a9a0455c00edf16689cf0252c82c52d518db parent c4811b151b6584a668de8ae59eb71c4890b9ad94 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:44:48 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:44:48 -0500 Merge branch 'master' commit c4811b151b6584a668de8ae59eb71c4890b9ad94 tree 152e0efddcfd882123757bbe36ae18249a9a9379 parent 024b1432716c0d8332327a506cb0f64c9a2f6083 parent 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a author Jeff Garzik Sun, 30 Oct 2005 23:33:54 -0500 committer Jeff Garzik Sun, 30 Oct 2005 23:33:54 -0500 Merge branch 'upstream' commit 024b1432716c0d8332327a506cb0f64c9a2f6083 tree f2b119c040cfc24243dca79c370a3e6695958c36 parent d2927cbe40b29ceda96c7a2412f7daee70026aad parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 20:24:20 -0500 committer Jeff Garzik Sun, 30 Oct 2005 20:24:20 -0500 Merge branch 'master' commit d2927cbe40b29ceda96c7a2412f7daee70026aad tree 06d3692cb40ed7c787b8860ae926d4bda43d59ef parent 9359ede748ff1461bf0632fb4182f61da4a2f9e2 parent a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 author Jeff Garzik Sun, 30 Oct 2005 04:46:16 -0500 committer Jeff Garzik Sun, 30 Oct 2005 04:46:16 -0500 Merge branch 'upstream' commit 9359ede748ff1461bf0632fb4182f61da4a2f9e2 tree 4ec0c92b4998a535fc1180866a6dff9ad3bbb489 parent 35ebbae2836a361330b784706b7140c90a346a53 parent 81cfb8864c73230eb1c37753aba517db15cf4d8f author Jeff Garzik Sun, 30 Oct 2005 01:59:10 -0500 committer Jeff Garzik Sun, 30 Oct 2005 01:59:10 -0500 Merge branch 'upstream' commit 35ebbae2836a361330b784706b7140c90a346a53 tree ada3c046a8b6bfdf21bcb0932b4b65c95c2af073 parent c6a33e2464edd87f8c12cc2d11369a5b44c65b77 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:30:29 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:30:29 -0400 Merge branch 'master' commit c6a33e2464edd87f8c12cc2d11369a5b44c65b77 tree f15eb374fa98fb1f76bf3a7cffd9cb8ef7173091 parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 author Albert Lee Wed, 12 Oct 2005 15:12:26 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:18:16 -0400 [PATCH] libata CHS: LBA28/LBA48 optimization (revise #6) - add lba_28_ok() and lba_48_ok() to ata.h. - check ending block number instead of staring block number. - use lba_28_ok() for CHS range check - LBA28/LBA48 optimization Suggested by Mark Lord and Alan Cox. Signed-off-by: Albert Lee ===== Signed-off-by: Jeff Garzik