summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r291163:mav2015-11-301-3/+18
| | | | | | | | Explicitly call SEND CHANGE REQUEST for pre-24xx chips in target mode. While later firmware always registers for RSCN requests, older one does it only in initiator mode. But in target mode there RSCN can be the only way to detect gone intiator.
* MFC r291162: Generate fake ISPASYNC_CHANGE_PDB on fake login on pre-24xx.mav2015-11-301-1/+7
| | | | This makes port scanner fix absent port ID for added initiator.
* MFC r291161: Gracefully stop firmware before resetting chip when changing role.mav2015-11-301-2/+25
|
* MFC r291160: Add some more asynchronous event status codes.mav2015-11-302-23/+45
|
* MFC r291159: Add more mailbox command codes.mav2015-11-302-47/+74
|
* MFC r291147: Increase maximal value of vports tunable to 254.mav2015-11-301-1/+1
| | | | | I am not sure this value is really viable yet, but that is what chips officially support in NPIV mode (in loop mode maximum is 125).
* MFC r291144: Fix target mode with fabric for pre-24xx chips.mav2015-11-304-19/+70
| | | | | | | For those chips we are not receiving login events, adding initiators based on ATIO requests. But there is no port ID in that structure, so in fabric mode we have to explicitly fetch it from firmware to be able to do normal scan after that.
* MFC r291099: Some cosmetics for ancient cards.mav2015-11-301-3/+7
|
* MFC r291092: Optimize SNS_GID_FT request scratch memory usage.mav2015-11-301-13/+14
| | | | Now with present 4K of scratch we can fetch up to 508 ports (16 more).
* MFC r291080: Another round of port scanner rewrite.mav2015-11-306-632/+292
| | | | | | This change simplifies and unifies port adding/updating for loop and fabric scanners. It also fixes problems with scanning restarts due to concurrent port databases changes. It also fixes many cosmetic issues.
* MFC r291014: Simplify fabric tasting code.mav2015-11-301-87/+22
| | | | | Except cosmetic changes this removes fabric ports from our port database. It is always firmware duty to manage them, so driver don't need to worry.
* MFC r291013: Remove some confusions between loopid and nphdl.mav2015-11-305-66/+66
| | | | | | | | Modern cards in most cases operate abstract port handles, that have no any relation to real loop IDs. Leave loopid used only where it really goes about local loop IDs. While there, fix few more cases where LUNs were still printed in decimal.
* MFC r291000: Register our FC4 Features in SNS.mav2015-11-305-0/+152
|
* MFC r290993, r290994: Unify and cleanup FC ports scan.mav2015-11-303-217/+153
|
* MFC r290981: Off-by-one correctiont to r290980.mav2015-11-301-1/+1
|
* MFC r290980: Make firmware handle virtual ports SNS logins for us.mav2015-11-302-15/+8
|
* MFC r290978: Add real initial support for RQSTYPE_RPT_ID_ACQ.mav2015-11-303-34/+33
|
* MFC r290830: Fix/improve CRN tracking.mav2015-11-302-33/+21
|
* MFC r290507: Rework r290504.mav2015-11-302-5/+7
|
* MFC r290506: Specify VP when sending a marker.mav2015-11-301-0/+1
|
* MFC r290504: Make ISP_SLEEP() really sleep instead of spinning.mav2015-11-302-49/+14
| | | | While there, simplify the wait logic.
* MFC r290160: Remove some unneeded code.mav2015-11-301-4/+0
|
* MFC r290159: Remove reset delays for which I see neither explanation nor need.mav2015-11-301-25/+7
|
* MFC r290147: Fix and improve error masking and reporting.mav2015-11-303-48/+54
|
* MFC r290118: Change the way how target mode is enabled on 23xx chips.mav2015-11-302-4/+5
| | | | | Without docs I am not completely sure about this, but on my tests new method works better then previous, at least with our latest firmware.
* MFC r290104: Improve/fix loop scanning routine.mav2015-11-304-64/+195
| | | | | | | | | | | | For the most of chips (except anscient ones) port handlers have no relation to port IDs. In such situation old code scanning first 125 handlers was quite naive. Instead of doing that, send to chip single request to get full list of port handlers available on specific virtual port and scan only them. Old code had problems with case of several virtual ports enabled, when port handlers allocated from global address space could easily go above 125. This change was successfully tested on 23xx, 24xx and 25xx chips in loop mode with 4 virtual initiator ports, each seing 50 virtual target ports.
* MFC r290855: Increase reset assertion time from 10 to 100us.mav2015-11-291-1/+1
| | | | | | | | | On my own tests I see no effect from this change, but I also can't reproduce the reported problem in general. PR: 127391 PR: 204554 Submitted by: satz@iranger.com
* MFC r291146:hselasky2015-11-241-2/+8
| | | | | | Add support for Kana and Eisu keys to the USB keyboard driver. PR: 204709
* MFC r290326:hselasky2015-11-241-2/+6
| | | | | | | Relax the BUS_DMA_KEEP_PG_OFFSET requirement to allow optimising allocation of DMA bounce buffers. Discussed with: ian @
* MFC r277082:smh2015-11-2410-270/+970
| | | | | | Update to the shared code for Intel I40E drivers (by jfv) Sponsored by: Multiplay
* MFC r286999:royger2015-11-242-0/+10
| | | | | | xen: allow disabling PV disks and nics Sponsored by: Citrix Systems R&D
* MFC r274366:smh2015-11-231-4/+1
| | | | | | | Add missing privilege check when setting the dump device. Approved by: pjd, secteam (both no objections) Sponsored by: Multiplay
* MFC r290199:jimharris2015-11-233-0/+9
| | | | | | nvd, nvme: report stripesize through GEOM disk layer Sponsored by: Intel
* MFC r290198:jimharris2015-11-231-3/+6
| | | | | | nvme: fix race condition in split bio completion path Sponsored by: Intel
* MFC r277974:hselasky2015-11-231-3/+3
| | | | | | | Fix a bunch of -Wcast-qual warnings in sys/dev/usb/input/uhid.c, by using __DECONST. No functional change. Differential Revision: https://reviews.freebsd.org/D1743
* MFC r284722 and r284724:hselasky2015-11-231-1/+1
| | | | Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
* MFC r290708:smh2015-11-231-19/+2
| | | | | | Fix ixl debug sysctls panic Sponsored by: Multiplay
* MFC r290650, r290709, r291067, r291068, r291069 and r291070:hselasky2015-11-2342-0/+27386
| | | | | | | | | | | | | | | | Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100 GBit/s. Infiniband support will be done later. The code added is not compiled by default, which will be done by a separate commit. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4177 Differential Revision: https://reviews.freebsd.org/D4178 Differential Revision: https://reviews.freebsd.org/D4179 Differential Revision: https://reviews.freebsd.org/D4180
* MFC 290416:jhb2015-11-191-0/+29
| | | | | | | | | | | | Chelsio T5 chips do not properly echo the No Snoop and Relaxed Ordering attributes when replying to a TLP from a Root Port. As a workaround, disable No Snoop and Relaxed Ordering in the Root Port of each T5 adapter during attach so that CPU-initiated requests do not contain these flags. Note that this affects CPU-initiated requests to all devices under this root port. Sponsored by: Chelsio
* MFC r290639:hselasky2015-11-192-106/+281
| | | | | | | | Update the wsp driver to support newer touch pads, like found in MacBookPro11,4 and MacBook12,1. This update adds support for the force touch parameter. PR: 204420
* MFC r290542:hselasky2015-11-192-39/+143
| | | | | | | Avoid using the bounce buffer when the source or destination buffer is 32-bits aligned. Merge the two bounce buffers into a single one. Some rough tests showed that the DWC OTG throughput on RPI2 increased by 10% after this patch.
* MFC r290489:hselasky2015-11-192-0/+32
| | | | | Add helper function to check if a USB page cache buffer is properly aligned to reduce the use of bounce buffers in PIO mode.
* MFC r289888:avatar2015-11-171-4/+8
| | | | | | | - Plugging a memory leak when malloc() failed during initialisation; - Plugging another memory leak inside the destructor. Reviewed by: matk
* MFC 290414,290415:jhb2015-11-142-0/+103
| | | | | | | | | | | | | | | | | Additional PCI helper functions. 290414: Add helper routines for PCI device drivers to read, write, and modify PCI-Express capability registers (that is, PCI config registers in the standard PCI config space belonging to the PCI-Express capability register set). Note that all of the current PCI-e registers are either 16 or 32-bits, so only widths of 2 or 4 bytes are supported. 290415: Add a new helper function for PCI devices to locate the upstream PCI-express root port of a given PCI device.
* MFC r290054: Reimplement next port handle generation.mav2015-11-132-60/+43
| | | | | For some reason port handles should be allocated from HBA-global space, while old code was not very specific, mixing per-HBA and per-VP logic.
* MFC r290042: Fix error code that looks like wrong.mav2015-11-131-1/+1
|
* MFC r290018: Reimplement enable and implement disable of virtual ports.mav2015-11-133-72/+167
| | | | | | | | | | Now on 24xx and above chips it is really possible to simulate several virtual FC ports with single physical one. For example, it allows to configure several targets in ctl.conf, assign each of them to separate virtual port, and let user to control access to them with switch zoning. I still doubt that all problems are solved there, but at now it passes at least basic tests.
* MFC r289942: Deliver INOTs only to enabled virtual ports.mav2015-11-131-0/+2
|
* MFC r289937: Try to keep Loop IDs persistent across chip reinits.mav2015-11-132-40/+34
|
* MFC r289933, r289939: Improve Port Database Changed handling and reporting.mav2015-11-132-13/+15
|
OpenPOWER on IntegriCloud