summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds2007-05-047-4878/+5740
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (49 commits) [SCTP]: Set assoc_id correctly during INIT collision. [SCTP]: Re-order SCTP initializations to avoid race with sctp_rcv() [SCTP]: Fix the SO_REUSEADDR handling to be similar to TCP. [SCTP]: Verify all destination ports in sctp_connectx. [XFRM] SPD info TLV aggregation [XFRM] SAD info TLV aggregationx [AF_RXRPC]: Sort out MTU handling. [AF_IUCV/IUCV] : Add missing section annotations [AF_IUCV]: Implementation of a skb backlog queue [NETLINK]: Remove bogus BUG_ON [IPV6]: Some cleanups in include/net/ipv6.h [TCP]: zero out rx_opt in tcp_disconnect() [BNX2]: Fix TSO problem with small MSS. [NET]: Rework dev_base via list_head (v3) [TCP] Highspeed: Limited slow-start is nowadays in tcp_slow_start [BNX2]: Update version and reldate. [BNX2]: Print bus information for PCIE devices. [BNX2]: Add 1-shot MSI handler for 5709. [BNX2]: Restructure PHY event handling. [BNX2]: Add indirect spinlock. ...
| * [BNX2]: Fix TSO problem with small MSS.Michael Chan2007-05-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove the check for skb->len greater than MTU when doing TSO. When the destination has a smaller MSS than the source, a TSO packet may be smaller than the MTU at the source and we still need to process it as a TSO packet. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com> for reporting the problem. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [NET]: Rework dev_base via list_head (v3)Pavel Emelianov2007-05-033-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Cleanup of dev_base list use, with the aim to simplify making device list per-namespace. In almost every occasion, use of dev_base variable and dev->next pointer could be easily replaced by for_each_netdev loop. A few most complicated places were converted to using first_netdev()/next_netdev(). Signed-off-by: Pavel Emelianov <xemul@openvz.org> Acked-by: Kirill Korotaev <dev@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Update version and reldate.Michael Chan2007-05-032-4/+4
| | | | | | | | | | | | | | Update version to 1.5.10. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Print bus information for PCIE devices.Michael Chan2007-05-032-50/+87
| | | | | | | | | | | | | | Fix the code to print PCI or PCIE bus information for all devices. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Add 1-shot MSI handler for 5709.Michael Chan2007-05-032-41/+81
| | | | | | | | | | | | | | | | | | | | | | The 5709 supports the one-shot MSI handler similar to some of the tg3 chips. In this mode, the MSI disables itself automatically until it is re-enabled at the end of NAPI poll. Put the request_irq/free_irq logic in common procedures. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Restructure PHY event handling.Michael Chan2007-05-031-23/+32
| | | | | | | | | | | | | | | | Restructure by adding bnx2_phy_event_is_set() to make code cleaner and easier to understand. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Add indirect spinlock.Michael Chan2007-05-032-1/+12
| | | | | | | | | | | | | | | | The indirect register access method will be used by more than one caller in BH context (NAPI poll and timer), so a spinlock is required. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Add support for 5709 Serdes.Michael Chan2007-05-032-12/+227
| | | | | | | | | | | | | | Add PCI ID and code to support the 5709 Serdes PHY. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Re-structure the 2.5G Serdes code.Michael Chan2007-05-031-39/+108
| | | | | | | | | | | | | | | | Add some common procedures to handle enabling and disabling 2.5G. Add some missing code to resolve flow control. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Put MII register offsets in the bnx2 struct.Michael Chan2007-05-032-47/+58
| | | | | | | | | | | | | | | | The 5709 Serdes device uses non-standard MII register offsets. This re-structuring will make it easier to support 5709 Serdes. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Add ipv6 TSO and checksum for 5709.Michael Chan2007-05-032-28/+67
| | | | | | | | | | Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Update 5709 firmware.Michael Chan2007-05-031-3930/+3938
| | | | | | | | | | | | | | Add ipv6 TSO support in firmware. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Update 5708 firmware.Michael Chan2007-05-031-653/+1044
| | | | | | | | | | | | | | This fixes the problem of not counting all dropped multicast packets. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Save PCI state during suspend.Michael Chan2007-05-031-0/+2
| | | | | | | | | | | | | | | | This is needed to save the MSI state which will be lost during suspend. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Fix race conditions when calling register_netdev().Michael Chan2007-05-031-14/+14
| | | | | | | | | | | | | | | | | | | | | | Hot-plug scripts can call bnx2_open() as soon as register_netdev() is called in bnx2_init_one(). We need to call pci_set_drvdata() and setup everything before calling register_netdev(). netif_carrier_off() also needs to be moved to bnx2_open() to avoid race conditions with the irq. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Add 40-bit DMA workaround for 5708.Michael Chan2007-05-032-18/+21
| | | | | | | | | | | | | | | | | | The internal PCIE-to-PCIX bridge of the 5708 has the same 40-bit DMA limitation as some of the tg3 chips. Set dma_mask and persistent DMA mask to 40-bit to workaround. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Fix register and memory test on 5709.Michael Chan2007-05-031-24/+46
| | | | | | | | | | | | | | Tweak registers and memory test range for 5709. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [BNX2]: Block MII access when ifdown.Michael Chan2007-05-031-0/+6
| | | | | | | | | | | | | | | | The device may be in D3hot state and should not allow MII register access. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* | Merge branch 'for-linus' of ↵Linus Torvalds2007-05-04112-3166/+4122
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input: (65 commits) Input: gpio_keys - add support for switches (EV_SW) Input: cobalt_btns - convert to use polldev library Input: add skeleton for simple polled devices Input: update some documentation Input: wistron - fix typo in keymap for Acer TM610 Input: add input_set_capability() helper Input: i8042 - add Fujitsu touchscreen/touchpad PNP IDs Input: i8042 - add Panasonic CF-29 to nomux list Input: lifebook - split into 2 devices Input: lifebook - add signature of Panasonic CF-29 Input: lifebook - activate 6-byte protocol on select models Input: lifebook - work properly on Panasonic CF-18 Input: cobalt buttons - separate device and driver registration Input: ati_remote - make button repeat sensitivity configurable Input: pxa27x - do not use deprecated SA_INTERRUPT flag Input: ucb1400 - make delays configurable Input: misc devices - switch to using input_dev->dev.parent Input: joysticks - switch to using input_dev->dev.parent Input: touchscreens - switch to using input_dev->dev.parent Input: mice - switch to using input_dev->dev.parent ... Fixed up conflicts with core device model removal of "struct subsystem" manually. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| * | Input: gpio_keys - add support for switches (EV_SW)Roman Moravcik2007-05-011-7/+12
| | | | | | | | | | | | | | | | | | Signed-off-by: Roman Moravcik <roman.moravcik@gmail.com> Signed-off-by: Paul Sokolovsky <pmiscml@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6Dmitry Torokhov2007-05-011666-55507/+128759
| |\| | | | | | | | | | | | | | | | | | | Conflicts: drivers/usb/input/Makefile drivers/usb/input/gtco.c
| * | Input: cobalt_btns - convert to use polldev libraryDmitry Torokhov2007-04-292-37/+23
| | | | | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
| * | Input: add skeleton for simple polled devicesDmitry Torokhov2007-04-293-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | input-polldev provides a skeleton for supporting simple input devices that need to be periodically scanned or polled to detect changes in their state. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: wistron - fix typo in keymap for Acer TM610Eric Piel2007-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes typo that prevented PROG2 key from working on Acer Travelmate 610. Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: add input_set_capability() helperDmitry Torokhov2007-04-251-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | Add input_set_capability() helper used to indicate that an input device supports a certain event without need to manipulate bitmaps directly. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: i8042 - add Fujitsu touchscreen/touchpad PNP IDsDmitry Torokhov2007-04-251-0/+2
| | | | | | | | | | | | | | | | | | | | | Add PNP IDs for Fujitsu touchscreen/touchpad for AUX port detection to latch onto. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: i8042 - add Panasonic CF-29 to nomux listDmitry Torokhov2007-04-251-0/+11
| | | | | | | | | | | | | | | | | | | | | There is no data coming from touchscreen on Panasonic CF-29 notebook unless keyboard controller is in legacy mode. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - split into 2 devicesDmitry Torokhov2007-04-251-20/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | Have lifebook protocol register 2 separate input devices - one for the touchscreen reporting absolute coordinates and touches and another one for touchpad reporting relative coordinates and left and right button presses. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - add signature of Panasonic CF-29Dmitry Torokhov2007-04-251-0/+8
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - activate 6-byte protocol on select modelsDmitry Torokhov2007-04-121-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It appears that if we turn on 6-byte Lifebook protocol on Panasonic CF-28 its touchpad is left alone and generates standard 3-byte PS/2 data stream with relative packets instead of being converted in 3-byte Lifebook protocol with absolute coordinates - in other words what get what we need to distinguish between touchscreen and touchpad. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - work properly on Panasonic CF-18Dmitry Torokhov2007-04-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Panasonic CF18 has an active multiplexing controller with touchscreen connected to one port and a touchpad to another. Use "phys" from serio port to activate lifebook protoocol only on the port that has touchscreen connected to it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: cobalt buttons - separate device and driver registrationDmitry Torokhov2007-04-121-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | Create platform device for cobalt buttons as part of arch setup. This makes the driver follow current driver model more closely. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
| * | Input: ati_remote - make button repeat sensitivity configurableKarl Pickett2007-04-121-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ati_remote causes repeats after only .23 seconds with my remote and makes it hard to use comfortably. Make a precise way of setting the repeat delay time in milliseconds and default it to 500ms. The old behavior can be had by setting repeat_delay = 0. Signed-off-by: Karl Pickett <karl.pickett@gmail.com> Signed-off-by: Vincent Vanackere <vincent.vanackere@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: pxa27x - do not use deprecated SA_INTERRUPT flagThomas Gleixner2007-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | IRQF_DISABLED is the proper name. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: ucb1400 - make delays configurableCliff Brake2007-04-121-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds module parameters for several timing values used in the driver. These values can vary based on the hardware design and how much capacitive filtering there is on the touch panel inputs, and the resistance of the panel. Signed-off-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: misc devices - switch to using input_dev->dev.parentDmitry Torokhov2007-04-124-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: joysticks - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1218-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: touchscreens - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1210-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: mice - switch to using input_dev->dev.parentDmitry Torokhov2007-04-124-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: USB devices - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1213-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: keyboards - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1214-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: prepare to switching to struct deviceDmitry Torokhov2007-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation to switching to struct device and class device going away provide an alias to allow drivers that create devices to use either input_dev->cdev.dev or input_dev->dev.parent to put them into sysfs tree. The former will go away once conversion to struct device is complete. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/usb/input - don't access dev->private directlyDmitry Torokhov2007-04-1213-41/+56
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/misc - don't access dev->private directlyDmitry Torokhov2007-04-122-10/+9
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/keyboard - don't access dev->private directlyDmitry Torokhov2007-04-1214-20/+13
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/joystick - don't access dev->private directlyDmitry Torokhov2007-04-1220-49/+59
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/touchscreen - don't access dev->private directlyDmitry Torokhov2007-04-129-13/+8
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/mice - don't access dev->private directlyDmitry Torokhov2007-04-124-5/+0
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: USB devices - handle errors when registering input devicesDmitry Torokhov2007-04-1211-67/+99
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>