summaryrefslogtreecommitdiffstats
path: root/drivers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* uwb: wrong sizeof argument in mac address compareFrank Leipold2008-10-201-1/+1
| | | | | | | | | | | In the __uwb_beca_find_bymac function the sizeof returns the length of a pointer and not the data it is referring to. Hence only the first 4 bytes were compared, not the entire 6 bytes MAC address. Now the sizeof takes struct uwb_mac_addr as argument. Signed-off-by: Frank Leipold <frank.leipold@eads.net> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: don't use printk_ratelimit() so oftenDavid Vrabel2008-10-168-97/+34
| | | | | | | | | Avoid using printk_ratelimit() in many places because: - many were error messages reporting broken hardware (it's useful to get all of these). - the message itself wasn't useful so the message has been removed. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: use kcalloc where appropriateDavid Vrabel2008-10-153-3/+3
| | | | Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: use time_after() when purging stale beaconsDavid Vrabel2008-10-151-3/+4
| | | | Signed-off-by: David Vrabel <david.vrabel@csr.com>
* Merge branch 'for-upstream' of ↵David Vrabel2008-10-1087-0/+31573
|\ | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dvrabel/uwb into for-upstream
| * uwb: depend on EXPERIMENTALDavid Vrabel2008-09-173-4/+8
| | | | | | | | | | | | | | The UWB stack has some sysfs APIs that will change thus it's best marked as EXPERIMENTAL until these APIs are finalized. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: wusb-cbaf (CBA driver) sysfs ABI simplificationFelipe Zimmerle2008-09-173-235/+317
| | | | | | | | | | | | | | | | | | | | | | Simplify the sysfs ABI of the wusb-cbaf (Cable Based Association) driver: use one value per file and cause the write of the CHID to fetch the CDID (instead of requiring a separate read). Update the example wusb-cbaf script to work with this revised ABI. Signed-off-by: Felipe Zimmerle <felipe.zimmerle@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add symlinks in sysfs between radio controllers and PALsDavid Vrabel2008-09-173-7/+32
| | | | | | | | | | | | | | Add a facility for PALs to have symlinks to their radio controller (and vice-versa) and make WUSB host controllers use this. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: dont tranmit identification IEsDavid Vrabel2008-09-173-36/+0
| | | | | | | | | | | | | | | | The current identification IE doesn't include any useful information (the vendor ID is from the EUI-48) and it causes problems with certain hardware/firmware so don't transmit one. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: i1480/GUWA100U: fix firmware download issuesAnderson Lizardo2008-09-173-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IOGear firmware versions >= 1.4.12224 fail to be downloaded because of a spurious (and harmless) RCEB received after the download notification. This patch handles this RCEB and keeps compatibility with future versions that might not emit this RCEB. i1480_rceb_check() is reused to check for the RCEB. It is also refactored with improved comments and reused in another place in mac.c where the checking was being duplicated. This patch was tested on both i1480 and GUWA100U HWAs, with all firmware versions currently available. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
| * uwb: i1480: remove MAC/PHY information checking functionAnderson Lizardo2008-09-172-101/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some hardware/firmware combinations (most notably an IOGear HWA using the i1480 firmware) kill the host controller after issuing a GET_MAC_PHY_INFO command. Removing this check seems harmless otherwise. The patch fixes the issue where the HC is killed, showing the message: ehci_hcd 0000:00:1d.7: HC died; cleaning up After this error, USB comes back only after reloading the ehci_hcd module. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add Intel i1480 HWA to the UWB RC quirk tableAnderson Lizardo2008-09-171-0/+3
| | | | | | | | | | | | | | | | | | The Intel i1480 HWA uses WHCI commands/events even though reporting itself as WUSB compliant. This patch fixes this by marking it with the WUSB_QUIRK_WHCI_CMD_EVT flag, which disables WUSB command/event filtering. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: disable command/event filtering for D-Link DUB-1210Anderson Lizardo2008-09-171-2/+14
| | | | | | | | | | | | | | | | | | | | | | The D-Link DUB-1210 HWA uses commands and events from the WHCI specification, although reporting itself as WUSB compliant. Therefore, we disable WUSB command/event filtering for it. USB_DEVICE_AND_INTERFACE_INFO is used for matching only the RC interface. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: initialize the debug sub-systemDavid Vrabel2008-09-171-0/+2
| | | | | | | | | | | | Call uwb_dbg_init() so the debugfs files are accessible. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: Fix handling IEs with empty IE data in uwb_est_get_size()Anderson Lizardo2008-09-171-1/+1
| | | | | | | | | | | | | | | | A DRP notification may sometimes have empty IE data. This patch fixes uwb_est_get_size() so that this case is handled properly. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: fix bmRequestType for Abort RPipe requestAnderson Lizardo2008-09-171-1/+1
| | | | | | | | | | | | | | | | | | WUSB 1.0 (Table 8-4) mentions that Abort RPipe requests must have bmRequestType equal to 0x25, although current implementation sets bmRequestType to 0xa5. This patch fixes this typo. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: fix error path for wusb_set_dev_addr()Anderson Lizardo2008-09-171-3/+3
| | | | | | | | | | | | | | | | Error path for wusb_set_dev_addr() was handled incorrectly. Fix it by considering error only when return value is negative. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add HWA host controller driverInaky Perez-Gonzalez2008-09-174-0/+941
| | | | | | | | | | | | | | Add a driver for Wireless USB host controllers connected via USB (a Host Wire Adapter or HWA). Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add the Wire Adapter (WA) coreInaky Perez-Gonzalez2008-09-176-0/+3099
| | | | | | | | | | | | Common code for supporting Host Wire Adapters and Device Wire Adapters. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: WHCI host controller driverDavid Vrabel2008-09-1713-0/+2920
| | | | | | | | | | | | | | | | | | | | | | | | | | A driver for Wireless USB host controllers that comply with the Wireless Host Controller Interface (HCI) specification as published by Intel. The latest publically available version of the specification (0.95) is supported (except for isochronous transfers). Build fixes by Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add the USB wusb-cbaf driverInaky Perez-Gonzalez2008-09-172-1/+623
| | | | | | | | | | | | Add a driver for cable based associated of (Wireless) USB devices. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add the Wireless USB core (build-system)Greg Kroah-Hartman2008-09-174-0/+33
| | | | | | | | | | | | | | Add the WUSB build system (Kconfig and Kbuild) files. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add the Wireless USB core (security)Inaky Perez-Gonzalez2008-09-172-0/+1180
| | | | | | | | | | | | Add the WUSB security (authentication) code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add the Wireless USB core (protocol)Inaky Perez-Gonzalez2008-09-172-0/+1643
| | | | | | | | | | | | Add the WUSB protocol (MMC management and device connection) code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * wusb: add the Wireless USB coreInaky Perez-Gonzalez2008-09-176-0/+1685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Ceritified Wireless USB 1.0 to the USB stack. This has been split into several patches for easier review. core (this patch): - host controller infrastructure - cluster reservation - UWB PAL registration - fake root hub protocol: - MMC management (start/stop, managing IEs) - device connection security: - device authentication and authorization build-system: - Kconfig and Kbuild files Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the i1480 WLP driverInaky Perez-Gonzalez2008-09-1710-0/+2818
| | | | | | | | | | | | Add the driver for the WLP capability of the Intel i1480 device. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the i1480 DFU driverInaky Perez-Gonzalez2008-09-1710-0/+1898
| | | | | | | | | | | | Add the driver for downloading the firmware to an Intel i1480 device. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add WiMedia LLC Protocol (build system)Greg Kroah-Hartman2008-09-173-0/+18
| | | | | | | | | | | | Add the WLP build system (Kconfig and Kbuild files). Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add WiMedia LLC Protocol stack (WSS)Reinette Chatre2008-09-171-0/+1055
| | | | | | | | | | | | Add the Wireless Service Set (WSS) code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add WiMedia LLC Protocol stack (messages)Reinette Chatre2008-09-171-0/+1946
| | | | | | | | | | | | Add the WLP message formatting/decoding code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the WiMedia LLC Protocol stackReinette Chatre2008-09-176-0/+2388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the generic code for the WiMedia Logical Link Control Protocol (WLP). This has been split into several patches for easier review. core (this patch): - everything else messages: - WLP message construction/decode wss: - Wireless Service Set support build-system: - Kconfig and Kbuild files Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add HWA radio controller driverInaky Perez-Gonzalez2008-09-173-0/+924
| | | | | | | | | | | | Add a driver for USB-connected UWB radio controllers (HWAs). Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add whc-rc radio control driverInaky Perez-Gonzalez2008-09-173-1/+549
| | | | | | | | | | | | Add the driver for WHCI radio controllers. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the driver to enumerate WHCI capabilitiesDavid Vrabel2008-09-172-1/+270
| | | | | | | | | | | | | | This enumerates the capabilties of a WHCI device, adding a umc device for each one. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the umc busDavid Vrabel2008-09-174-0/+359
| | | | | | | | | | | | | | The UMC bus is used for the capabilities exposed by a UWB Multi-interface Controller as described in the WHCI specification. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the UWB stack (build system)Greg Kroah-Hartman2008-09-174-0/+51
| | | | | | | | | | | | | | The Kbuild and Kconfig files. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the UWB stack (debug support)David Vrabel2008-09-171-0/+367
| | | | | | | | | | | | Add various debugfs files, principaly for the reservation manager. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the UWB stack (reservation manager)David Vrabel2008-09-174-0/+1661
| | | | | | | | | | | | DRP and reservation management. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the UWB stack (MLME)Inaky Perez-Gonzalez2008-09-174-0/+1721
| | | | | | | | | | | | | | Most of the MAC Layer Management Entity (MLME) support: address, beacon, IE and scan management. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the UWB stack (radio controller interface)Inaky Perez-Gonzalez2008-09-173-0/+1463
| | | | | | | | | | | | Add the UWB radio controller interface (URCI) support. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add the UWB stack (core files)Inaky Perez-Gonzalez2008-09-176-0/+1939
| | | | | | | | | | | | UWB device and radio controller device and event management. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* | hwmon: (abituguru3) Enable DMI probing feature on Abit AT8 32XAlistair John Strachan2008-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Enable driver checking of the DMI product name (when enabled) on an Abit AT8 32X, instead of falling back to a manual probe. This eliminates false negatives and eventually will help avoid unnecessary bus probes on unsupported mainboards. Signed-off-by: Alistair John Strachan <alistair@devzero.co.uk> Tested-by: Daniel Exner <dex@dragonslave.de> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* | hwmon: (abituguru3) Enable reading from AUX3 fan on Abit AT8 32XAlistair John Strachan2008-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The table for the Abit AT8 32X was incorrectly missing an entry for the sixth ("AUX3") fan. Add this entry, exporting the fan reading to userspace. Closes lm-sensors.org ticket #2339. Signed-off-by: Alistair John Strachan <alistair@devzero.co.uk> Tested-by: Daniel Exner <dex@dragonslave.de> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* | hwmon: (it87) Prevent power-off on Shuttle SN68PTJean Delvare2008-10-091-19/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the Shuttle SN68PT, FAN_CTL2 is apparently not connected to a fan, but to something else. One user has reported instant system power-off when changing the PWM2 duty cycle, so we disable it. I use the board name string as the trigger in case the same board is ever used in other systems. This closes lm-sensors ticket #2349: pwmconfig causes a hard poweroff http://www.lm-sensors.org/ticket/2349 Signed-off-by: Jean Delvare <khali@linux-fr.org>
* | eeepc-laptop: Fix hwmon interfaceCorentin Chary2008-10-091-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | Creates a name file in the sysfs directory, that is needed for the libsensors library to work. Also rename fan1_pwm to pwm1 and scale its value as needed. This fixes bug #11520: http://bugzilla.kernel.org/show_bug.cgi?id=11520 Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds2008-10-082-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: tcp: Fix tcp_hybla zero congestion window growth with small rho and large cwnd. net: Fix netdev_run_todo dead-lock tcp: Fix possible double-ack w/ user dma net: only invoke dev->change_rx_flags when device is UP netrom: Fix sock_orphan() use in nr_release ax25: Quick fix for making sure unaccepted sockets get destroyed. Revert "ax25: Fix std timer socket destroy handling." [Bluetooth] Add reset quirk for A-Link BlueUSB21 dongle [Bluetooth] Add reset quirk for new Targus and Belkin dongles [Bluetooth] Fix double frees on error paths of btusb and bpa10x drivers
| * | [Bluetooth] Add reset quirk for A-Link BlueUSB21 dongleMarcel Holtmann2008-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The new A-Link Bluetooth dongle is another one based on the BCM2046 chip from Broadcom and it also needs to send HCI_Reset before it becomes fully operational. Without the quirk it will show a lot of I/O errors. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
| * | [Bluetooth] Add reset quirk for new Targus and Belkin donglesMarcel Holtmann2008-10-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Targus and Belkin have come out with new Bluetooth 2.1 capable dongles using the latest BCM2046 chip from Broadcom. Both of them are so called HID proxy dongles and they need to send HCI_Reset before they become fully operational. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
| * | [Bluetooth] Fix double frees on error paths of btusb and bpa10x driversMarcel Holtmann2008-10-062-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The transfer buffer of an URB will be automatically freed when using the URB_FREE_BUFFER transfer_flag. So the extra calls to kfree() will cause a double free. Reported-by: Justin Mattock <justinmattock@gmail.com> Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
* | | Revert "V4L/DVB (8904): cx88: add missing unlock_kernel"Linus Torvalds2008-10-071-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 135aedc38e812b922aa56096f36a3d72ffbcf2fb, as requested by Hans Verkuil. It was a patch for 2.6.28 where the BKL was pushed down from v4l core to the drivers, not for 2.6.27! Requested-by: Hans Verkuil <hverkuil@xs4all.nl> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-of-by: Linus Torvalds <torvalds@linux-foundation.org>