summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-10110-0/+35881
|\ | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dvrabel/uwb into for-upstream
| * uwb: add credits for the original developers of the UWB/WUSB/WLP subsystemsInaky Perez-Gonzalez2008-09-171-0/+11
| | | | | | | | | | Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add entries in the MAINTAINERS fileDavid Vrabel2008-09-171-0/+17
| | | | | | | | | | | | Add entries for the UWB, WUSB, and WLP subsystems to the MAINTAINERS file. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * 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-174-262/+350
| | | | | | | | | | | | | | | | | | | | | | 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: document UWB and WUSB sysfs filesDavid Vrabel2008-09-175-0/+340
| | | | | | | | | | | | Add some brief documentation on the UWB and WUSB related sysfs files. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add symlinks in sysfs between radio controllers and PALsDavid Vrabel2008-09-174-8/+37
| | | | | | | | | | | | | | 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>
| * wusb: add the Wireless USB include files.Inaky Perez-Gonzalez2008-09-172-0/+647
| | | | | | | | | | | | Common header files derived from the WUSB 1.0 specification. 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-173-1/+387
| | | | | | | | | | | | | | 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-175-0/+553
| | | | | | | | | | | | | | 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-177-0/+57
| | | | | | | | | | | | | | 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>
| * uwb: add the uwb include filesInaky Perez-Gonzalez2008-09-175-0/+2362
| | | | | | | | Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * uwb: add initial documentationInaky Perez-Gonzalez2008-09-172-0/+581
| | | | | | | | | | | | | | | | Documentation (and example utilities) for the UWB (and WUSB) stacks. Some of the documentation may be out-of-date. Signed-off-by: David Vrabel <david.vrabel@csr.com>
| * bitmap: add bitmap_copy_le()David Vrabel2008-09-172-0/+23
| | | | | | | | | | | | | | | | | | | | | | bitmap_copy_le() copies a bitmap, putting the bits into little-endian order (i.e., each unsigned long word in the bitmap is put into little-endian order). The UWB stack used bitmaps to manage Medium Access Slot availability, and these bitmaps need to be written to the hardware in LE order. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* | Linux 2.6.27v2.6.27Linus Torvalds2008-10-101-1/+1
| |
* | Don't allow splice() to files opened with O_APPENDLinus Torvalds2008-10-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is debatable, but while we're debating it, let's disallow the combination of splice and an O_APPEND destination. It's not entirely clear what the semantics of O_APPEND should be, and POSIX apparently expects pwrite() to ignore O_APPEND, for example. So we could make up any semantics we want, including the old ones. But Miklos convinced me that we should at least give it some thought, and that accepting writes at arbitrary offsets is wrong at least for IS_APPEND() files (which always have O_APPEND set, even if the reverse isn't true: you can obviously have O_APPEND set on a regular file). So disallow O_APPEND entirely for now. I doubt anybody cares, and this way we have one less gray area to worry about. Reported-and-argued-for-by: Miklos Szeredi <miklos@szeredi.hu> Acked-by: Jens Axboe <ens.axboe@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6Linus Torvalds2008-10-095-36/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6: hwmon: (abituguru3) Enable DMI probing feature on Abit AT8 32X hwmon: (abituguru3) Enable reading from AUX3 fan on Abit AT8 32X hwmon: (adt7473) Fix some bogosity in documentation file hwmon: Define sysfs interface for energy consumption register hwmon: (it87) Prevent power-off on Shuttle SN68PT eeepc-laptop: Fix hwmon interface
| * | 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>