aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* MFCAttilio Rao2011-07-0413-173/+531
|\ | | | | | | Notes: svn path=/projects/largeSMP/; revision=223757
| * Make the USB keyboard driver more HID compliant.Hans Petter Selasky2011-07-043-151/+475
| | | | | | | | | | | | | | | | | | Try to auto-detect keyboards which should use the BOOT protocol. MFC after: 2 weeks Notes: svn path=/head/; revision=223755
| * Tag mbufs of all incoming frames or packets with the interface's FIBBjoern A. Zeeb2011-07-034-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | setting (either default or if supported as set by SIOCSIFFIB, e.g. from ifconfig). Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) Reviewed by: julian MFC after: 2 weeks Notes: svn path=/head/; revision=223741
| * Introduce a quirk for broken USB MIDI hardware instead of limiting performanceHans Petter Selasky2011-07-034-11/+18
| | | | | | | | | | | | | | | | | | in general. MFC after: 1 week Notes: svn path=/head/; revision=223736
| * Fix for "nomatch" event for ums and ukbd drivers when uhid is loaded.Hans Petter Selasky2011-07-021-0/+12
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=223728
| * Fix problem about USB MIDI TX data format, that some devices only acceptHans Petter Selasky2011-07-021-23/+30
| | | | | | | | | | | | | | | | | | | | a maximum of 4 bytes (one command) per short terminated USB transfer. Optimise the TX case by sending multiple USB frames. MFC after: 1 week Notes: svn path=/head/; revision=223727
| * Add ID for Marvell 88SE9125 SATA controller.Alexander Motin2011-06-301-0/+1
| | | | | | | | | | | | | | | | PR: kern/157843 MFC after: 1 week Notes: svn path=/head/; revision=223699
* | MFCAttilio Rao2011-06-307-6/+71
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=223691
| * Add detection for the Marvel 88E1149R and treat it just like theWarner Losh2011-06-302-1/+6
| | | | | | | | | | | | | | 88E1149. Notes: svn path=/head/; revision=223688
| * - Add read-only sysctls for all of the tunables supported by the igb andJohn Baldwin2011-06-293-5/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | em drivers. - Make the per-instance 'enable_aim' sysctl truly per-instance by having it change a per-instance variable (which is used to control AIM) rather than having all of the per-instance sysctls operate on a single global variable. Reviewed by: jfv (earlier version) MFC after: 1 week Notes: svn path=/head/; revision=223676
| * Add support for a MosChip PCI express serial port adapter.Hans Petter Selasky2011-06-291-0/+2
| | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=223672
| * Fix a corner case in STA beacon processing when a CSA is received butAdrian Chadd2011-06-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the AP doesn't transmit beacons. If the AP requests a CSA (ie, a channel switch) and then enters CAC (channel availability check) for 60 seconds, it doesn't send beacons and it just listens for radar events (and other things which we don't do yet.) Now, ath_newstate() was not resetting the beacon timer config on a transition to the RUN state when in STA mode - it was setting sc_syncbeacon, which simply updates the beacon config from the contents of the next received beacon. This means the STA never generates beacon miss events. If the AP goes into CAC for 60 seconds and recovers, the STA will happily receive the first beacon and reconfigure timers. But if it gets a radar event after that, it'll change channel again, not notify the station that it's changed channel.. and since the station is happily waiting for the first beacon to configure the beacon timer details from, it won't ever generate a beacon miss interrupt and it'll sit there forever (or until the AP appears on that channel once again.) This change forces the last known beacon timer config to be written to hardware on a transition from CSA->RUN in STA mode. This forces bmiss events to occur and the STA will eventually (after a handful of beacon miss events) begin scanning for another access point. Notes: svn path=/head/; revision=223671
* | MFCAttilio Rao2011-06-292-48/+55
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=223664
| * Fix typo in r223648 which was accidentally committedMarius Strobl2011-06-281-1/+1
| | | | | | | | Notes: svn path=/head/; revision=223649
| * - In gem_reset_rx() also reset the RX MAC which is necessary in order toMarius Strobl2011-06-282-48/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get it out of a stuck condition that can be caused by GEM_MAC_RX_OVERFLOW. - In gem_reset_rxdma() call gem_setladrf() in order to reprogram the RX filter and restore the previous content of GEM_MAC_RX_CONFIG. While at it consistently use the newly introduced sc_mac_rxcfg throughout the driver instead of reading the its old content. - Increment if_iqdrops instead of if_ierrors in case of RX buffer allocation failure. - According to the GEM datasheet the RX MAC should also be disabled in gem_setladrf() before changing its configuration. - Add error messages to gem_disable_{r,t}x() and take advantage of these throughout the driver instead of duplicating their functionality all over the place. In joint forces with: yongari Notes: svn path=/head/; revision=223648
* | MFCAttilio Rao2011-06-2819-27/+16
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=223645
| * Remove duplicate header includesKevin Lo2011-06-2813-20/+0
| | | | | | | | Notes: svn path=/head/; revision=223624
| * Make sure the extended regdomain word is initialised.Adrian Chadd2011-06-282-0/+3
| | | | | | | | | | | | | | | | As with the AR9285, the AR9287 has a default word of 0x1F which means all the various bits in that field are set on by default. Notes: svn path=/head/; revision=223615
| * Enable CPUSaver D102 E-step microcode loading for 82551 revisionPyun YongHyeon2011-06-271-0/+2
| | | | | | | | | | | | | | 0x10. Notes: svn path=/head/; revision=223610
| * Disable microcode loading for 82550 and 82550C controllers. LoadingPyun YongHyeon2011-06-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | the microcode caused SCB timeouts. Linux driver does not allow microcode loading for these controllers and jfv also confirmed that there is no need to do and it shouldn't. PR: kern/103332 Additional confirmation from: jfv MFC after: 1 week Notes: svn path=/head/; revision=223608
| * Fix whitespace inconsistencies in the TTY layer and its drivers owned by me.Ed Schouten2011-06-263-7/+7
| | | | | | | | Notes: svn path=/head/; revision=223575
* | MFCAttilio Rao2011-06-2620-185/+420
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=223572
| * Fix beacon transmission after a channel set.Adrian Chadd2011-06-261-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DFS code was tickling the channel set directly whilst going through the state RUN -> CSA -> RUN. This only changed the channel; it didn't go via ath_reset(). However in this driver, a channel change always causes a chip reset, which resets the beacon timer configuration and interrupt setup. This meant that data would go out but as the beacon timers never fired, beacons would never be queued. The confusing part is that sometimes the state transition was RUN -> SCAN -> CAC -> RUN (with CSA being in there sometimes); going via SCAN would clear sc_beacons and thus the transition to RUN would reprogram beacon transmission. In case someone tries debugging why suspending a device currently beaconing (versus just RX'ing beacons which is what occurs in STA mode), add a silly comment which should hopefully land them at this commit message. The call to ath_hal_reset() will be clearing the beacon config and it may not be always reset. Notes: svn path=/head/; revision=223568
| * Add ATH_ENABLE_DFS which enables the DFS flag so the DFS codeAdrian Chadd2011-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | can be tested. This doesn't at all actually do radar detection! It's just so developers who wish to test the net80211 DFS code can easily do so. Without this flag, the DFS channels are never marked DFS and thus the DFS stuff doesn't run. Notes: svn path=/head/; revision=223567
| * The SMCWUSBG is a zyd(4) device, not an uath(4) device. Remove from theGavin Atkinson2011-06-262-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | latter. It appears that the addition to uath(4) came in through PR kern/135009, which had tested another device, the SMCWUSBTG2, successfully with uath(4) and included the SMCWUSBG as it "has the same chipset". I can find no other evidence that these two do actually share the same chipset. Moreover, Linux treats the SMCWUSBG as a zyd(4) device also. This reverts r223537. Discussed with: hselasky, kevlo MFC after: 1 week Notes: svn path=/head/; revision=223566
| * Do not attach to the sound device on G5 Xserves, which is actually anNathan Whitehorn2011-06-261-0/+12
| | | | | | | | | | | | | | | | | | | | LED controller used to run the load graph on the server's front panel. Reported by: Paul Mather <paul at gromit dot dlib dot vt dot edu> MFC after: 3 days Notes: svn path=/head/; revision=223554
| * - Export the USB device ID format to userspace tools.Hans Petter Selasky2011-06-252-1/+114
| | | | | | | | | | | | | | MFC after: 14 days Notes: svn path=/head/; revision=223538
| * - Remove duplicate USB ID.Hans Petter Selasky2011-06-251-1/+0
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=223537
| * Now that ia64 has been switched to the event timers, remove theMarcel Moolenaar2011-06-251-4/+0
| | | | | | | | | | | | | | conditional compilation work-arounds. Notes: svn path=/head/; revision=223527
| * Commit missing piece from a couple days ago - re-add ath_hal_debug.Adrian Chadd2011-06-251-2/+8
| | | | | | | | Notes: svn path=/head/; revision=223525
| * Small fix to bring the non-debug definitions of HALDEBUG/HALDEBUG_G in lineAdrian Chadd2011-06-241-2/+2
| | | | | | | | | | | | | | with the debug definitions. Notes: svn path=/head/; revision=223524
| * - Export more USB device ID's.Hans Petter Selasky2011-06-243-10/+25
| | | | | | | | | | | | | | | | | | - Update bus_auto.conf accordingly. MFC after: 3 days Notes: svn path=/head/; revision=223521
| * Split out host_pcib_get_busno() from the generic PCI-PCI bridge driver toJohn Baldwin2011-06-242-92/+130
| | | | | | | | | | | | | | | | start a new file that will hold utility APIs used by various Host-PCI bridge drivers and drivers that provide PCI domains. Notes: svn path=/head/; revision=223520
| * - Export more USB device ID's.Hans Petter Selasky2011-06-244-49/+49
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=223515
| * - Ensure that we get all the required nomatch devd events.Hans Petter Selasky2011-06-241-9/+10
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=223513
| * - Move execution of event handlers into the probe and attach function so thatHans Petter Selasky2011-06-242-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | dynamically loaded device drivers get a chance to run their event hooks. - Decouple the USB suspend and resume lock from witness. It produces some false warnings due to reusing the lock name among multiple devices. MFC after: 3 days Notes: svn path=/head/; revision=223512
| * - Export the URIO USB device ID's.Hans Petter Selasky2011-06-241-9/+12
| | | | | | | | | | | | | | | | | | - Add checks for configuration and interface index. MFC after: 3 days Notes: svn path=/head/; revision=223511
* | MFCAttilio Rao2011-06-2481-158/+1421
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=223508
| * Typo.John Baldwin2011-06-241-1/+1
| | | | | | | | Notes: svn path=/head/; revision=223502
| * - Add additional information to the PnP info of USB HUBs children whichHans Petter Selasky2011-06-242-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | is now required by bus_autoconf. - Allow interface class matching even if device class is vendor specific. - Update bus_autoconf tool to not generate system and subsystem match lines for the nomatch event. PR: misc/157903 MFC after: 14 days Notes: svn path=/head/; revision=223489
| * - Move all USB device ID arrays into so-called sections,Hans Petter Selasky2011-06-2439-58/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sorted according to the mode which they support: host, device or dual mode - Add generic tool to extract these data: tools/bus_autoconf Discussed with: imp Suggested by: Robert Millan <rmh@debian.org> PR: misc/157903 MFC after: 14 days Notes: svn path=/head/; revision=223486
| * Put back the global for rx processing due to popular demand.Jack F Vogel2011-06-231-1/+5
| | | | | | | | Notes: svn path=/head/; revision=223482
| * add missing #define for the non-debug case.Adrian Chadd2011-06-231-0/+1
| | | | | | | | Notes: svn path=/head/; revision=223474
| * - Add some comments about the origin of some USB descriptors.Hans Petter Selasky2011-06-233-1/+10
| | | | | | | | | | | | | | MFC after: 7 days Notes: svn path=/head/; revision=223472
| * - Add more USB templates for various USB device classesHans Petter Selasky2011-06-2310-11/+1169
| | | | | | | | | | | | | | | | | | | | - Add basic template support for USB 3.0 - Export definition of template sysctl numbers through usb_ioctl.h MFC after: 7 days Notes: svn path=/head/; revision=223467
| * Re-introduce a global ath_hal_debug again for now, whilst I figure out whatAdrian Chadd2011-06-2313-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to do about the few cases where the HAL state isn't available (regdomain) or isn't yet setup (probe/attach.) The global ath_hal_debug now affects all instances of the HAL. This also restores the ability for probe/attach debugging to work; as the sysctl tree may not be attached at that point. Users can just set the global "hw.ath.hal.debug" to a suitable value to enable probe/attach related debugging. Notes: svn path=/head/; revision=223466
| * Fix indenting issues introduced by the previous commit.Adrian Chadd2011-06-232-4/+4
| | | | | | | | Notes: svn path=/head/; revision=223465
| * Break out most of the HAL related tweaks into a per-HAL instance,Adrian Chadd2011-06-2315-55/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than global variables. This specifically allows for debugging to be enabled per-NIC, rather than globally. Since the ath driver doesn't know about AH_DEBUG, and to keep the ABI consistent regardless of whether AH_DEBUG is enabled or not, enable the debug parameter always but only conditionally compile in the debug methods if needed. The ALQ support is currently still global pending some brainstorming. Submitted by: ssgriffonuser@gmail.com Reviewed by: adrian, bschmidt Notes: svn path=/head/; revision=223459
| * Fix build on ia64 after r223426.Jung-uk Kim2011-06-221-0/+2
| | | | | | | | Notes: svn path=/head/; revision=223449
| * Use USB_VENDOR_OVISLINK define rather than the vendor ID.Gavin Atkinson2011-06-221-1/+1
| | | | | | | | | | | | | | | | | | PR: usb/158142 Submitted by: Robert Millan <rmh debian.org> MFC after: 1 week Notes: svn path=/head/; revision=223446