summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Change the calling convention for ic_node_alloc to deal withsam2008-06-073-6/+12
| | | | | | | | | | | | some longstanding issues: o pass the vap since it's now the "coin of the realm" and required to do things like set initial tx parameters in private node state for use prior to association o pass the mac address as cards that maintain outboard station tables require this to create an entry (e.g. in ibss mode) o remove the node table reference, we only have one node table and it's unlikely this will change so this is not needed to find the com structure
* Add the support for the Globetrotter Max 3.6 HSDPA Modem.attilio2008-06-052-0/+3
| | | | | PR: usb/118374 Submitted by: Greg Rivers <gcr at tharned dot org>
* Add device IDs for Ricoh R5U870-based OEM cameraskevlo2008-06-041-0/+8
|
* Add device ID for AnyDATA ADU-500A EV-DO modem.kan2008-06-032-0/+3
| | | | | Submitted by: Oleksandr Tatmanyants PR: 118479
* Add vendor/device IDs for Novatel U740 repackaged by Dell.kan2008-06-032-0/+3
| | | | | Submitted by: David Gilbert PR: 122803
* Change my email address to the one from the FreeBSD project.ed2008-05-241-1/+1
| | | | Approved by: philip (mentor)
* Drop Giant before calling kproc_exit(), so we don't trigger assertion inpjd2008-05-201-0/+4
| | | | | | kproc_exit(). Discussed with: imp
* Add support for the Epson 4800 scanner.remko2008-05-182-0/+2
| | | | | | | | PR: 118391 Submitted by: "Pedro F. Giffuni" <giffunip at tutopia dot com> Approved by: imp (mentor, implicit) MFC after: 3 days Committed at: BSDCan 2008
* Add support for the Nikon D300 cameraremko2008-05-162-0/+5
| | | | | | | PR: usb/118741 Submitted by: Yuri <yuri at tsoft dot com> Approved by: imp (mentor, implicit) MFC after: 3 days
* Don't let hacksync() call bus_dmamap_sync(9) on DMA maps whichmarius2008-05-132-6/+14
| | | | | | | are not initialized. This fixes a panic on sparc64 where calling bus_dmamap_sync(9) on NULL DMA maps is fatal. Approved by: sam
* From the OpenBSD commit log :cognet2008-05-132-1/+3
| | | | | | | | | | Add support for the Apple USB Ethernet adapter. Work around the "latch in at the first working PHY address hack", that fails for this adapter because it returns 0xffff when reading from lower PHY addresses. Also add more debugging printfs Obtained from: OpenBSD MFC After: 3 days
* Update PLCP<->rate mapping support:sam2008-05-123-7/+79
| | | | | | | | | | o correct mapping of CCK rates to PLCP; was using nonstandard Ralink values which just happened to also be used by Zydas (so went unnoticed) o change ieee80211_plcp2rate api to take a phy type instead of a flag that indicates ofdm/!ofdm o update drivers to match (restore per-driver code to map rate->PLCP) Reviewed by: sephe, weongyo, thompsa
* Minor cleanup of vap create work:sam2008-05-123-3/+6
| | | | | | | | | | | | | o add IEEE80211_C_STA capability to indicate sta mode is supported (was previously assumed) and mark drivers as capable o add ieee80211_opcap array to map an opmode to the equivalent capability bit o move IEEE80211_C_OPMODE definition to where capabilities are defined so it's clear it should be kept in sync (on future additions) o check device capabilities in clone create before trying to create a vap; this makes driver checks unneeded o make error codes return on failed clone request unique o temporarily add console printfs on clone request failures to aid in debugging; these will move under DIAGNOSTIC or similar before release
* Add ID for HTC PPC6700 Modem.delphij2008-05-082-0/+2
| | | | | Submitted by: Kris Moore <kris pcbsd com> MFC after: 3 days
* A couple of cameras that I recently boughtimp2008-05-031-0/+2
|
* Unify all the wifi *_ioctl routinesthompsa2008-05-012-14/+17
| | | | | | | | | | | | | | - Limit grabbing the lock to SIOCSIFFLAGS. - Move ieee80211_start_all() to SIOCSIFFLAGS. - Remove SIOCSIFMEDIA as it is not useful. - Limit ether_ioctl to only SIOCGIFADDR. SIOCSIFADDR and SIOCSIFMTU have no affect as there is no input/output path in the vap parent. The vap code will handle the reinit of the mac address changes. - Split off ndis_ioctl_80211 as it was getting too different to wired devices. This fixes a copyout while locked and a lock recursion. Reviewed by: sam
* Add support for Microsoft Notebook Optical Mouse 3000 Model 1049.kaiw2008-04-302-0/+21
| | | | | | | Reviewed by: imp (RELENG-7) Tested by: Oliver Herold <oliver@akephalos.de> PR: usb/121052 MFC after: 1 month
* Add Epson DX8400 scanner.imp2008-04-292-0/+2
| | | | | PR: 123148 Submitted by: Bill Squire
* Add support for the Davicom DM9601.imp2008-04-262-5/+3
| | | | Submitted by: William Grzybowski
* remove scan task on state change so it doesn't unexpectedly firesam2008-04-251-1/+2
| | | | Noticed by: Paul B. Mahol
* Multi-bss (aka vap) support for 802.11 devices.sam2008-04-206-1356/+1241
| | | | | | | | | | | Note this includes changes to all drivers and moves some device firmware loading to use firmware(9) and a separate module (e.g. ral). Also there no longer are separate wlan_scan* modules; this functionality is now bundled into the wlan module. Supported by: Hobnob and Marvell Reviewed by: many Obtained from: Atheros (some bits)
* Add one more HTC PocketPC device id.mav2008-04-202-0/+2
| | | | | | Tested on HTC TyTN. Submitted by: Alexander Logvinov <ports@logvinov.com>
* - Correctly destroy assoiciated ucom device on detach.stas2008-04-161-0/+2
| | | | | | MFC after: 2 weeks Reported by: Ilya Bakulin <webmaster@kibab.com> Approved by: imp, cognet
* Replace callout_init(..., 1) with callout_init(..., CALLOUT_MPSAFE) forkris2008-04-161-1/+1
| | | | | | | better grep-compliance and to standardize with the rest of the kernel. Reviewed by: jhb MFC after: 1 week
* Identify ICH9 USB controllers.benno2008-04-112-0/+26
| | | | | | | | I've taken a slightly different approach than is used with the ICH8 controllers in that each controller is not identified individually (eg USB A, USB B, etc). Instead I've given then same description to each one even though the device ID differs. This can easily be changed if desired, or ICH8 (and any others using that approach) can be made to work as this does.
* Add support for Verizon v740 to ubsa(4).flz2008-04-092-0/+3
| | | | | | PR: usb/122610 Submitted by: Randi Harper <randi@freebsdgirl.com> MFC after: 3 days
* Add PCI ID's for ICH8 USB controllers.jhb2008-04-072-0/+33
| | | | | | MFC after: 1 week PR: usb/116574 Submitted by: Dave Grochowski malus.x of gmail
* Add Qualcomm ZTE CMDMA MSM modem to the list of supported modems.rpaulo2008-03-282-0/+4
| | | | MFC after: 1 week
* split out tty create part of ucom_attach into ucom_attach_tty sosam2008-03-252-7/+13
| | | | | | | derived drivers can use it Submitted by: Jared Go MFC after: 3 weeks
* add some CDMA modemssam2008-03-251-0/+9
| | | | | Submitted by: Jared Go MFC after: 1 week
* Workaround design botch in usb: blindly mixing bus_dma with PIO does notsam2008-03-202-0/+32
| | | | | | | | | | | | | work on architectures with a write-back cache as the PIO writes end up in the cache which the sync(BUS_DMASYNC_POSTREAD) in usb_transfer_complete then discards; compensate in the xfer methods that do PIO by pushing the writes out of the cache before usb_transfer_complete is called. This fixes USB on xscale and likely other places. Sponsored by: hobnob Reviewed by: cognet, imp MFC after: 1 month
* Correct cache handling for xfer requests marked URQ_REQUEST: many (if notsam2008-03-201-1/+2
| | | | | | | | | all uses) involve a read but usbd_start_transfer only does a PREWRITE; change this to BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE as I'm not sure if any users do write+read. Reviewed by: cognet, imp MFC after: 1 month
* - Add the Corega CG-WLUSB2GL from NetBSDkevlo2008-03-202-0/+4
| | | | - Add the Corega CG-WLUSB2GPX
* add some debug msgs for tracking xferssam2008-03-201-4/+9
|
* add support for %b printing of request + xfer flagssam2008-03-202-0/+4
|
* don't set sniffer mode to ON when the driver is running with theweongyo2008-03-171-2/+1
| | | | | | | | | | monitor mode. This solves a problem that sometimes mangled frames are passed. Submitted by: Werner Backes <werner_at_bit-1.de> Tested by: Werner Backes <werner_at_bit-1.de> PR: kern/121608 Approved by: thompsa (mentor)
* Add a quirk to ignore ASUS LCM display found on some ASUS laptops.jkim2008-03-142-0/+3
|
* Relax the BIOS/OS sempahore handoff code to workaround different hardjhb2008-03-121-1/+4
| | | | | | | | | | | | | | | hangs (one at boot, one at shutdown) in recent machines. First, only try to take ownership of the EHCI controller if the BIOS currently owns the controller. On a HP DL160 G5, the machine hangs when we try to take ownership. Second, don't bother trying to give up ownership of the controller during shutdown. It's not strictly required and a Dell DCS S29 hangs on shutdown after the config write. Both of these changes match the behavior of the Linux EHCI driver. I also think both of these hangs are caused by bugs in the BIOS' SMM handler causing it to get stuck in an infinite loop in SMM. MFC after: 1 week
* Partially revert 1.95. It changed the probe for a mouse device to onlyjhb2008-03-121-1/+4
| | | | | | | | | accept a mouse using the boot subclass. Instead, restore the original hid_is_collection() test and fallback to testing the interface class, subclass, and protocol if that fails. MFC after: 1 week PR: usb/118670
* Apply le*toh() or htole*() to the variables of which we use the addressmarcel2008-03-071-1/+6
| | | | | | | as the buffer pointer in the call to axe_cmd(). This is needed to make the code work on big-endian machines. Ok'd: imp@
* Oops, I accidently concatenated uslcom.[c4] multiple times before therink2008-03-051-1676/+0
| | | | | | commit :-/ Quickly fix before things get broken... Pointyhat to: me
* Import uslcom(4) from OpenBSD - this is a driver for Silicon Laboratoriesrink2008-03-052-0/+2121
| | | | | | | | CP2101/CP2102 based USB serial adapters. Reviewed by: imp, emaste Obtained from: OpenBSD MFC after: 2 weeks
* - Handle buffer lock waiters count directly in the buffer cache insteadattilio2008-03-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than rely on the lockmgr support [1]: * bump the waiters only if the interlock is held * let brelvp() return the waiters count * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check for the waiters number - Remove a namespace pollution introduced recently with lockmgr.h including lock.h by including lock.h directly in the consumers and making it mandatory for using lockmgr. - Modify flags accepted by lockinit(): * introduce LK_NOPROFILE which disables lock profiling for the specified lockmgr * introduce LK_QUIET which disables ktr tracing for the specified lockmgr [2] * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it can only be used on a per-instance basis - Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer used This patch breaks KPI so __FreBSD_version will be bumped and manpages updated by further commits. Additively, 'struct buf' changes results in a disturbed ABI also. [2] Really, currently there is no ktr tracing in the lockmgr, but it will be added soon. [1] Submitted by: kib Tested by: pho, Andrea Barberio <insomniac at slackware dot it>
* Add support for the EPSON CX5400 scannerremko2008-02-262-0/+2
| | | | | | | PR: usb/120980 Submitted by: Christophe Etcheverry <cetcheve at gmail dot com> MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes)
* - Add support for Axesstel MV100H, as used on CDMA network operated by O2 CZpav2008-02-262-0/+6
|
* o Add module event handler.akiyama2008-02-241-2/+19
| | | | | | | | Now ucom kernel module can unload properly. o Update copyright year. PR: usb/88966 MFC after: 1 week
* Add support for the VIA USB2IDE bridge [1].remko2008-02-212-0/+22
| | | | | | | | | PR: usb/95173 Submitted by: Goegele Hannes <diazepam@gmx.net> Ben Kelly <bkelly at vadev dot org> Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week
* Eliminate BUS_DMA <-> cache incoherencies in USB transfers.raj2008-02-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With write-allocate cache we get into the following scenario: 1. data has been updated in the memory by the USB HC, but 2. D-cache holds an un-flushed value of it 3. when affected cache line is being replaced, the old (un-flushed) value is flushed and overwrites the newly arrived This is possible due to how write-allocate works with virtual caches (ARM for example). In case of USB transfers it leads to fatal tags discrepancies in umass(4) operation, which look like the following: umass0: Invalid CSW: tag 1 should be 2 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 3 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 4 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 5 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 6 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exausted To eliminate this, a BUS_DMASYNC_PREREAD sync operation is required in usbd_start_transfer(). Credits for nailing this down go to Grzegorz Bernacki gjb AT semihalf DOT com. Reviewed by: imp Approved by: cognet (mentor)
* - Revert last ehci.c changeattilio2008-02-101-1/+0
| | | | | | | - Include lock.h in lockmgr.h as nested header in order to safely use LOCK_FILE and LOCK_LINE. As long as this code will be replaced soon we can tollerate for a while this namespace pollution even if the real fix would be to let lockmgr() depend by lock.h as a separate header.
* After rev. 1.60 of sys/lockmgr.h, the header requires inclusion of thekib2008-02-101-0/+1
| | | | sys/lock.h.
OpenPOWER on IntegriCloud