summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r277594jkim2015-01-261-11/+7
| | | | Simplify retry loops.
* MFC: r277579jkim2015-01-261-13/+3
| | | | Revert r216942. This commit was premature and caused too many complaints.
* MFC r277318:cperciva2015-01-251-1/+1
| | | | | | | | | | | | | When disabling C3+ CPU states due to the CPU_QUIRK_NO_C3 quirk, don't accidentally enable non-existent states. This bug was triggered if ACPI advertises the presence of a C2 state which we fail to parse via acpi_PkgGas due to our lack of support for FFixedHW resources, and causes an immediate panic when an attempt is made to enter the (NULL) state. One affected platform is the EC2 c4.8xlarge VM instance type; there may be others.
* MFC r276795:delphij2015-01-231-1/+1
| | | | Fix sos@'s name.
* MFC r276892:hselasky2015-01-201-19/+134
| | | | Add support for USB device side mode to the USB modem driver.
* MFC r276491:bryanv2015-01-192-2/+5
| | | | Add softc flag for when the indirect descriptor feature was negotiated
* MFC r276489:bryanv2015-01-191-2/+2
| | | | Use the appropriate IPv4 or IPv6 TSO HW assist flag
* MFC r276798:hselasky2015-01-191-6/+11
| | | | | Fix handling of an error case when the MUSB driver is operating in USB device side mode.
* MFC r277044:hselasky2015-01-193-5/+10
| | | | | | | | | Increase the maximum number of dynamic USB quirks. USB memory stick devices which don't support the synchronize cache SCSI command are likely to also not support the prevent-allow medium removal SCSI command. PR: 185747
* MFC r276959:np2015-01-188-33/+59
| | | | | | | | | | | | | cxgb: replace r273280 with a more comprehensive fix. Poll for link state when the link is down, even for interrupt capable PHYs. Allow PHYs to report a dubious "partial" link. If this state is seen 3 consecutive times (each check is ~1s apart) then reset the PHY. This is a workaround for a situation where repeatedly toggling the link from the peer gets the AEL2005 PHY into a state where it never establishes a PCS block lock even when everything is in order.
* MFC r276012:smh2015-01-122-11/+20
| | | | | | | | | | | | | | | Add a constant AHCI_MAX_IRQS removing magic number MFC r276013: Clamp ahci max irq's to AHCI_MAX_IRQS MFC r276016: Return the error from ahci_setup_interrupt in ahci_attach MFC r276019: style (9) nits Sponsored by: Multiplay
* MFC r276611:hselasky2015-01-111-1/+1
| | | | Make sure an error case exits unlocked.
* MFC r276534:hselasky2015-01-111-1/+10
| | | | | | | | | | The "vt_suspend_flush_timer()" function is sometimes called locked which prevents us from doing a "callout_drain()" call. The callout in question has a lock associated with it and we are not freeing the callout. That means we can use the "callout_stop()" function to atomically stop the callback iff the "callout_stop()" function is called locked. This patch applies proper locking to "callout_stop()" and replaces a "callout_drain()" with a "callout_stop()".
* MFC r271156 and r273376:hselasky2015-01-112-0/+9
| | | | | - Add IDs for Intel Patsburg USB 2.0 controller. - Add the Intel BayTrail USB device which needs port routing for USB 3.0.
* MFC r276321, r276404, r276407 and r276799:hselasky2015-01-113-29/+48
| | | | | | | | | | | | Various XHCI fixes and improvements: - Improve and fix MSI interrupt allocation, setup and release. - Add missed flushing of data which can happen when "xhci_configure_mask()" is called from "xhci_configure_reset_endpoint()". Ensure the 3-strikes error feature is always enabled except for ISOCHRONOUS transfers. - Allow systems having a page size greater than 4K to use fewer scatter-gather XHCI TRB entries for its payload data. The XHCI controller can handle at least 65536 bytes per scatter-gather list entry.
* MFC r276589:loos2015-01-091-0/+6
| | | | puc(4): Add an entry for the Feasso PCI FPP-02 2S1P card.
* MFC: r273546loos2015-01-091-38/+37
| | | | | | | | | | | | | Fix a bug where some DTS layouts could cause the premature ending of the search (i.e. without returning any result) and you would end up with a random MAC address. Change the search algorithm to a recursive one to ensure that all the nodes on DTS will be verified. The previous algorithm could not keep up if the DTS has too many sub-nodes. While here, fix the punctuation on comments.
* MFC r272765: Remove one second wait for threads exit from icl_conn_close().mav2015-01-031-5/+3
| | | | Switch it from polling with pause() to using cv_wait()/cv_signal().
* MFC r274033 (by trasz):mav2015-01-031-3/+3
| | | | s/icl_pdu_new/icl_pdu_new_empty/g; no functional changes.
* MFC r274036 (by trasz):mav2015-01-033-9/+9
| | | | | s/icl_pdu_new_bhs/icl_pdu_new/; no functional changes, just a little nicer code.
* MFC r275864: Make sequence numbers checks more strict.mav2015-01-032-21/+31
| | | | | | | | While we don't support MCS, hole in received sequence numbers may mean only PDU loss. While we don't support lost PDU recovery, terminate the connection to avoid stuck commands. While there, improve handling of sequence numbers wrap after 2^32 PDUs.
* MFC r275335:bryanv2015-01-011-417/+422
| | | | | | | | | | Cleanup and performance improvement of the virtio_blk driver - Add support for GEOM direct completion. Depending on the benchmark, this tends to give a ~30% improvement w.r.t IOPs and BW. - Remove an invariants check in the strategy routine. This assertion is caught later on by an existing panic. - Rename and resort various related functions to make more sense.
* MFC r264400,r265836:ngie2014-12-312-2/+2
| | | | | | | | | | | | | | r264400: NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. r265836: Remove last two NO_MAN= in the tree. In both of these cases, MAN= is what is needed.
* MFC r275951: Log mmc and sd command failures.ian2014-12-271-0/+31
|
* MFC r275944, r275946, r275949, r275950:ian2014-12-272-12/+39
| | | | | | | | | | | Add code to set and reset open-drain mode on the bus when requested. When command and data interrupts have been aggregated together, don't do the data-completed processing if a command-error interrupt is also asserted. Add a new sdhci quirk, SDHCI_QUIRK_WAITFOR_RESET_ASSERTED, to work around TI OMAP controllers which will return the reset-in-progress bit as zero if you read the status register too fast after setting the reset bit.
* MFC r274967:ian2014-12-271-0/+10
| | | | Add busdma sync ops before reading and after modifying the descriptor rings
* MFC r274641, r274644, r274822, r276049:ian2014-12-274-5/+86
| | | | | | | | | | | Allow i2c bus speed to be configured via hints, FDT data, and sysctl. Implement bus speed setting for OMAP4, AM335x, and imx5/6. Fix the i2c bus speed divisors for TI OMAP4 and AM335x to give the advertised 100, 400, and 1000 KHz speeds. PR: 195009
* MFC r274412, r274413, r274414: Bugfixes for imx5/6 pinctrl driver.ian2014-12-271-6/+5
|
* MFC r275960:kib2014-12-271-1/+1
| | | | Increase allowed size of the microcode blob to 32KB.
* MFC r274926: Squelch a (bogus) gcc used before init warningian2014-12-271-0/+1
|
* MFC 276174:scottl2014-12-262-2/+5
| | | | | | | Fix tunable and sysctl handling of the fail_on_task_timeout knob. Reviewed by: emax Obtained from: Netflix, Inc.
* MFC r274188, r274189:ian2014-12-262-2/+2
| | | | DMA tag alignment should be 1 (not 0) when a device can dma at any address.
* MFC r275790 and r275791:hselasky2014-12-262-8/+8
| | | | | Resolve USB driver identification conflict. Regenerate etc/devd/usb.conf.
* MFC r259675, r262128, r262129, r275605, r276239 and r276240:hselasky2014-12-262-7/+52
| | | | | | | | Add more USB quirks. PR: 178771 PR: 180617 PR: 195372
* MFC r275925: Slightly polish iSCSI parameters negotiation.mav2014-12-261-0/+4
|
* MFC r275118: Some microoptimizations.mav2014-12-262-14/+13
|
* MFC r275112:mav2014-12-261-3/+3
| | | | | | | Make isp_find_pdb_by_*() search for targets in portdb in reverse order. Records with target_mode == 1 are allocated from the end of portdb, so it seems logical to start search from the end not traverse whole array.
* MFC r272223:smh2014-12-211-2/+8
| | | | | | Prevent possible use after free in ahci direct mode Sponsored by: Multiplay
* MFC r268156:smh2014-12-211-5/+1
| | | | | | | | Various bugfixes from Stefano GarzarellaA This has been proved to fix reproducable panics on 10.x. Sponsored by: Multiplay
* MFC r274819:smh2014-12-2132-139/+141
| | | | | | | | | Prevent overflow issues in timeout processing MFC r274852: Fix build with asr driver Sponsored by: Multiplay
* MFC r269615:smh2014-12-213-176/+59
| | | | | | Various fixes to hptrr(4) Sponsored by: Multiplay
* MFC r269613:smh2014-12-213-183/+58
| | | | | | Various fixes to hptnr(4) Sponsored by: Multiplay
* MFC r267290:smh2014-12-213-47/+51
| | | | | | Make the hpt27xx(4) driver MPSAFE Sponsored by: Multiplay
* MFC r266772:smh2014-12-211-172/+102
| | | | | | Various cleanups and fixes including switching from timeout to callout Sponsored by: Multiplay
* MFC r272000:smh2014-12-216-21/+27
| | | | | | Switch from timeout(9) to callout(9) Sponsored by: Multiplay
* MFC r272735:smh2014-12-217-7673/+8383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support upto 256VD. MFC r272737: Support 32-bit linux binaries on FreeBSD 64bit. MFC r272738: Fix the minor svn add issue. MFC r272739: Extended MSI-x vectors support for Invader and Fury(12Gb/s HBA). MFC r272740: Add d_poll support. MFC r272741: Fix leak of mfi cmd in the passthru and correctly limit oustanding. MFC r272742: Import vendor Phase 6.5 driver MFC r272744: Style (9) fixes. MFC r273040: Fix for build issue on i386.xen and amd64.xen. Sponsored by: Multiplay
* MFC: r274487smh2014-12-214-373/+253
| | | | | | Lock iir(4) and mark it MPSAFE. Sponsored by: Multiplay
* MFC 272897:jhb2014-12-161-7/+37
| | | | | | | | | | Various fixes to stats: - Read the counts of received, dropped, and transmitted management packets and add sysctl nodes for them. - Fix the total octets received/transmitted to read all 64 bits of the counters. - Add missing sysctl nodes for rlec, tncrs, fcruc, tor, and tot. - Remove spurious spaces.
* MFC r275606:hselasky2014-12-152-0/+9
| | | | Add more U3G USB IDs.
* MFC r275624:hselasky2014-12-151-0/+1
| | | | | | Add port routing support for Wildcat Point. PR: 195793
OpenPOWER on IntegriCloud