summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2011-02-21Make mos(4) set IFF_BROADCAST in if_flags.Stefan Sperling
ok jsg kevlo claudio; committing with miod's permission (src is soft-locked)
2011-02-17allow interfaces other than slaves of the union interface to be theJacob Meuser
data interface. lets an "MTK GPS Receiver" work, as reported by Daniel C. Sinclair. ok miod@
2011-02-10now that usb_wait_task() is back, bring back recently revertedJacob Meuser
changes: * use usb_ref_{incr,decr,wait}() to avoid detaching the driver while a process is still using the hardware. * don't add timeout(9)s if the device is detached. * add checks to see if the device has been detached before running ioctls, timeouts, and tasks. * use usb_wait_task() to wait for tasks to complete. ok damien@
2011-02-09bring back changes in usb.c revision 1.73Jacob Meuser
date: 2011/02/04 08:21:39; author: jakemsr; state: Exp; lines: +85 -34 * merge 'onqueue' and 'running' members of struct usb_task into a new member, 'state'. * add new function 'usb_wait_task()', which waits for queued or running usb_tasks to complete. * in the USB_DEVICEINFO ioctl, fill struct usb_device_info in a usb_task, thereby avoiding races against driver attach/detach. but this time make the state a bitmask, since it is valid to be added to the task queue while the task is running. also be more careful about waking up the task when state changes. ok miod@
2011-02-09revert usb.c to r1.72, and all subsequent changes that depend on it.Jacob Meuser
this is causing problems with suspend/resume for some people.
2011-02-05* use usb_ref_{incr,decr,wait}() to avoid detaching the driver while aJacob Meuser
process is still using the hardware. * don't add timeout(9)s if the device is detached. * add checks to see if the device has been detached before running ioctls, timeouts, and tasks. * use usb_wait_task() to wait for tasks to complete. ok damien@
2011-02-04* merge 'onqueue' and 'running' members of struct usb_task intoJacob Meuser
a new member, 'state'. * add new function 'usb_wait_task()', which waits for queued or running usb_tasks to complete. * in the USB_DEVICEINFO ioctl, fill struct usb_device_info in a usb_task, thereby avoiding races against driver attach/detach. ok miod@
2011-02-01Add the Toshiba 3G HSDPA MiniCard, found in my Dell Latitude D630.David Coppa
Ok jsg@, sthen@, miod@
2011-02-01regenDavid Coppa
2011-02-01Add the Toshiba 3G HSDPA MiniCard, found in my Dell Latitude D630.David Coppa
Ok jsg@, sthen@, miod@
2011-01-30another runTed Unangst
2011-01-30regenTed Unangst
2011-01-30another run device. ok miodTed Unangst
2011-01-25garbage collect "usb events". without /dev/usb there is no way to accessJacob Meuser
them from userland, and nothing in the kernel uses them. ok krw@, miod@
2011-01-17syncKevin Lo
2011-01-17Add the Moschip mcs7832; from BradKevin Lo
2011-01-16* instead of NULLing pointers to interface descriptors in the uaa, markJacob Meuser
interfaces as being claimed in the usbd_device's copy of the interface descriptors * allow ugen(4) to be attached if there are unused interfaces in a configuration that has had drivers attached * make ugen(4) aware that it may be sharing a device with (an)other driver(s), and if so: * do not let ugen(4) change the configuration * do not let ugen(4) access the already claimed interfaces discussed with deraadt and miod
2011-01-15* add 'udi_serial' to struct usb_device_info.Jacob Meuser
* fill 'udi_serial' with the serial number in usbd_fill_deviceinfo(). * add compatability ioctl/struct so old binaries continue to work. discussed with deraadt and miod
2011-01-11use ic->ic_ibss_chan instead of ic->ic_bss->ni_chan for Rx radiotapDamien Bergamini
since the latter is not initialized in monitor mode. should fix a panic reported by Benjamin Nadland with kismet.
2011-01-10add the Buffalo WLI-UC-GNHP.Damien Bergamini
from Jordi Beltran Creix.
2011-01-10regenDamien Bergamini
2011-01-10add the Buffalo WLI-UC-GNHP.Damien Bergamini
from Jordi Beltran Creix.
2011-01-08reserve one xfer for beacons during init.Damien Bergamini
2011-01-08fix LEDs handling.Damien Bergamini
do not read back the LED GPIO pin since it is configured in output only mode. makes the link LED blink on the WiFiStation EXT when scanning (the LEDs indicating the signal strength are not working yet).
2011-01-06Remove dead links.Damien Bergamini
Atheros have reworked their website.
2011-01-06only athn at uhub (not pci or cardbus) needs firmloadDamien Bergamini
2011-01-06cleanup athn_usb_rx_frame().Damien Bergamini
remove padding after 802.11 header if any.
2011-01-06implement fast channel change.Damien Bergamini
this dramatically reduces the number of register reads/writes and thus the number of context switches when changing channel. makes scanning much faster.
2011-01-06create STA entry for our BSS upon association.Damien Bergamini
update Rx filter after association. move RECV_START command outside of rx_enable since rx_enable callback is not allowed to fail.
2011-01-06"athn* at uhub? port ?"Damien Bergamini
this adds preliminary support for the Atheros AR9271 chipset and probably the AR9280+AR7010 and AR9287+AR7010 too though those were not tested. scanning still takes a very long time (~1 sec per channel) but otherwise, operation in STA mode seems stable. will implement fast channel change soon. committed over the Ubiquiti WifiStation EXT (AR9271) on i386 with WPA. requires firmware (see man page for details) ok deraadt@ (who checked the .h files)
2011-01-01regenDamien Bergamini
2011-01-01the ACCTON is an AR9280+AR7010, not an AR9271, so update id accordingly.Damien Bergamini
cleanup other AR928X+AR7010 ids while i'm here.
2010-12-31grrr... use the same style in the activate functions than in theDamien Bergamini
surrounding code.
2010-12-30Regen.Antoine Jacoutot
2010-12-30Add the Novatel EU870D HSDPA modem found in (at least) Dell XT.Antoine Jacoutot
ok robert@
2010-12-30* do not add timeouts if the driver is dyingJacob Meuser
* use usbd_ref_{incr,decr,wait} to not detach while another process/thread is using the driver * s/usb_rem_task/usb_rem_wait_task/ in detach functions because detach doesn't always happen in the task thread; otherwise a task could be running while the driver detaches * in detach functions, first delete pending timeouts, then wait for processes to be done with the driver before freeing resources ok martynas@
2010-12-30* add a process reference counting variable to struct usbd_deviceJacob Meuser
* add functions to increment and decrement the reference count, and a function to wait until the reference count is zero ok martynas@
2010-12-30backout previous. this is not a regular usb device driver, and thusJacob Meuser
has no usbd_device. found the hard way by deraadt
2010-12-27* add cfattach activate functions and call usbd_deactivate() in theJacob Meuser
DVACT_DEACTIVATE case for drivers that don't have activate finctions * fill out cfattach activate functions and call usbd_deactivate() in the DVACT_DEACTIVATE case for drivers that don't have a dying flag "ok with the intent" miod@
2010-12-26Kill pmap_phys_address(), and force every driver's mmap() routine to returnMiod Vallat
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
2010-12-19- use usb_lookup(), these should be the last drivers that rolled their ownJasper Lievisse Adriaanse
unneeded macro around it. - fix a reference to the previous driver name utwitch while here ok jakemsr@
2010-12-18rsu(4) supports the Sweex LW154Jacob Meuser
2010-12-18syncJacob Meuser
2010-12-18Sweex LW154Jacob Meuser
2010-12-17don't catch signals in usbd_{bulk,intr}_transfer if a timeout isJacob Meuser
set. no other transfer methods catch signals, and it is not possible to restart these transfers reliably.
2010-12-17- use nitems()Jasper Lievisse Adriaanse
ok jakemsr@
2010-12-17- use usb_lookup() instead of handrolled macroJasper Lievisse Adriaanse
ok jakemsr@
2010-12-17- attach to abbott stereo plug and fix it's firmware loadingJasper Lievisse Adriaanse
from aschrijver@ ok deraadt@
2010-12-17 regenJasper Lievisse Adriaanse
2010-12-17add abbbott stereo plug cableJasper Lievisse Adriaanse
from aschrijver@