summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* The controller does not zero this data structure, ever.sbruno2013-04-281-0/+1
| | | | | | | Zero it out here so we do not misinterpret the data error. Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Let's align correctly by setting to 17.sbruno2013-04-281-1/+1
| | | | | | | | | | OpenCISS states that if the value is 0, then the driver should try a value of 31. That's just silly. Set to 17 so that the subtraction for maxio becomes 16 and aligns nicely. Reviewed by: scottl Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Its time to retire COMPAQ. I don't think that its coming back. :-)sbruno2013-04-281-1/+1
| | | | | Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Bring copyright changes with the agreement of Thomas Skibo.wkoszek2013-04-282-5/+6
| | | | | | | Communication on src-commiters, Sat, 27 Apr 2013 22:09:06 -0700, Subject was: "Re: svn commit: r249997" As I'm here, fix the style main block comments in files' headers.
* Add Xilinx Zynq ARM/FPGA SoC support to FreeBSD/arm port.wkoszek2013-04-273-0/+6
| | | | | | Submitted by: Thomas Skibo <ThomasSkibo (at) sbcglobal.net> Tested by: wkoszek (ZedBoard) Reviewed by: wkoszek, freebsd-arm@ (no objections raised)
* Add Xilinx Zynq ARM/FPGA SoC support to FreeBSD/arm port.wkoszek2013-04-273-0/+2059
| | | | | Submitted by: Thomas Skibo <ThomasSkibo (at) sbcglobal.net> Reviewed by: wkoszek, freebsd-arm@ (no objections raised)
* Change maxio to reflect variable hardware configurations.sbruno2013-04-271-1/+17
| | | | | | | | | | | | | | | | | If max_sg_length is 0, then we default to 16 If max_sg_length is less than CISS_MAX_SG_ELEMENTS, then we will set round the value of max_sg_length to the nearest power of 2 and use it to align maxio. Else, we will use CISS_MAX_SG_ELEMENTS for our calculations. Thanks to scottl for working me through the history and providing the basis for this patch. Submitted by: scott Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Conditionally compile this only if ATH_DEBUG is defined.adrian2013-04-261-0/+4
|
* Dump the entire TXQ descriptor contents during a reset, rather than onlyadrian2013-04-261-0/+29
| | | | completed descriptors.
* Adjust the min comparison to look at the adjust value after subtraction, don'tsbruno2013-04-261-1/+1
| | | | | | | subtract 1 from the chosen value if we are going to use the configued value. Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Add const qualifier to the dst parameter of the ifnet if_output method.glebius2013-04-266-11/+12
|
* In the case where the controller supports an sg_list LESS than our predefinedsbruno2013-04-251-1/+1
| | | | | | | | | | | and tuned value, we would advertise the unsupported value to CAM and it would merrily destroy the controller with way too many IO operations. This manifests itself in a Zero Memory RAID configuration for a P410 and possibly other controllers. Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Move hptmv and mpt drivers shutdown a bit later to the SHUTDOWN_PRI_LASTmav2013-04-242-3/+5
| | | | | | | stage of shutdown_post_sync. That should allow CAM to do final cache flush at the SHUTDOWN_PRI_DEFAULT without using polling magic. MFC after: 3 days
* Fix for duplicate sample rate detection after recent patches.hselasky2013-04-241-6/+13
|
* Fix the USB audio feedback endpoint algorithm. There should nothselasky2013-04-241-4/+0
| | | | | | be any need to bias the returned value. Reported by: Craig Leres <leres@ee.lbl.gov>
* Fix playback for Focusrite Scarlett 2i2 USB recording interface.hselasky2013-04-241-0/+4
| | | | Submitted by: Ed Maste, emaste @
* Fix white spaces.jkim2013-04-233-7/+7
|
* Return a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNSsbruno2013-04-231-0/+13
| | | | | | | | command on a disk device. This quieseces some noise on the console that recently appeared. Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Revert r249800 aseadler2013-04-231-1/+0
| | | | | | | | - it is incorrect: In the 'back' case you want to reuse the previous mbuf. - it was not reviewed by wireless@ Requested by: jhb, adrian
* Add support for Intel C600/X79 Series Chipset KT Controller.eadler2013-04-231-0/+1
| | | | | PR: kern/177072 Submitted by: Kurt Lidl <lidl@pix.net>
* Avoid warning about uninitalized variableeadler2013-04-231-0/+1
| | | | | | PR: kern/176712 Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> (earlier vesion) Approved by: cperciva (mentor)
* Remove always-true conditions from if statement.eadler2013-04-231-2/+2
| | | | | | PR: kern/176712 Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> Approved by: cperciva (mentor)
* Make temp, temp1 the same type that they will later be used for.eadler2013-04-231-1/+1
| | | | | | | PR: kern/176712 Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> Reviewed by: jmg (earlier version) Approved by: cperciva (mentor)
* Remove tautological compare.eadler2013-04-231-4/+4
| | | | | | PR: kern/176712 Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> Approved by: cperciva (mentor)
* Add support for runtime switching of sample rate forhselasky2013-04-231-250/+431
| | | | | | | USB audio devices. Previously the highest sample rate was unconditionally selected. Requested by: Craig Leres <leres@ee.lbl.gov>
* Add convenience wrapper functions to run callbacks in the context of thehselasky2013-04-232-0/+31
| | | | USB explore thread.
* Add descriptive comment.hselasky2013-04-231-0/+6
|
* Update arswitch to the new API.adrian2013-04-221-1/+1
|
* - Some BIOSes use an Extended IRQ resource descriptor in _PRS for a linkjhb2013-04-222-2/+12
| | | | | | | | | | that uses non-ISA IRQs but use a plain IRQ resource in _CRS. However, a non-ISA IRQ can't fit into a plain IRQ resource. If we encounter a link like this, build the resource buffer from _PRS instead of _CRS. - Set the correct size of the end tag in a resource buffer. Tested by: Benjamin Lee <ben@b1c1l1.com> MFC after: 2 weeks
* Build uart_dev_lpc.c on arm only. This fixes pc98 build.nyan2013-04-221-0/+2
|
* Convert over the etherswitch framework to use VLAN IDs per port, ratheradrian2013-04-222-9/+23
| | | | | | | | | | | | | | | | | | | | | than VLAN groups. Some chips (eg this rtl8366rb) has a VLAN group per port - you first define a set of VLANs in a vlan group, then you assign a VLAN group to a port. Other chips (eg the AR8xxx switch chips) have a VLAN ID array per port - there's no group per se, just a list of vlans that can be configured. So for now, the switch API will use the latter and rely on drivers doing the heavy lifting if one wishes to use the VLAN group method. Maybe later on both can be supported. PR: kern/177878 PR: kern/177873 Submitted by: Luiz Otavio O Souza <loos.br@gmail.com> Reviewed by: ray
* Add OHCI controller ID.hselasky2013-04-211-0/+2
| | | | | MFC after: 2 weeks Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* When doing BAW tracking, don't dereference a NULL pointer if the BAWadrian2013-04-211-1/+2
| | | | slot is actually NULL.
* There's some races (likely in the BAR handling, sigh) which is causingadrian2013-04-201-1/+13
| | | | | | | the pause/resume code to not be called completely symmetrically. I'll chase down the root cause of that soon; this at least works around the bug and tells me when it happens.
* Initialise the chainmask fields regardless of whether 11n supportadrian2013-04-191-8/+8
| | | | | | | | | is compiled in or not. This fixes issues with people running -HEAD but who build modules without doing a "make buildkernel KERNCONF=XXX", thus picking up opt_*.h. The resulting module wouldn't have 11n enabled and the chainmask configuration would just be plain wrong.
* mostly whitespace changes:luigi2013-04-193-47/+34
| | | | | - remove vestiges of the old memory allocator - clean up some comments
* Implement a very basic multi-PHY aware switch device.adrian2013-04-191-0/+570
| | | | | | | | | This is intended to be used as a stop-gap for switch devices which expose multiple ethernet PHYs but we don't have a driver for - here, etherswitchcfg and the general switch configuration API can be used to interface to said PHYs. Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>
* Add a debug statement to log the currently chosen chainmask configuration.adrian2013-04-191-0/+6
|
* .. don't know how this snuck into this commit. Sorry.adrian2013-04-191-1/+0
| | | | Fix compile build before anyone notices.
* Print out the chainmask configuration.adrian2013-04-191-0/+5
|
* Use uint32_t for fields that are fetched via ath_hal_getcapability().adrian2013-04-192-6/+6
|
* Attempt to mitigate poor initialization of arc4 by one-shotache2013-04-191-0/+2
| | | | | | | reinitialization from yarrow right after good entropy is harvested. Approved by: secteam (delphij) MFC after: 1 week
* cxgbe(4): Refuse to install T5 firmwares on a T4 card (and vice versa).np2013-04-181-0/+7
| | | | MFC after: 1 week
* cxgbe/tom: Update the CLIP table on the chip when there are changesnp2013-04-182-14/+133
| | | | | to the list of IPv6 addresses on the system. The table is used for TOE+IPv6 only.
* Make siis(4) and mvs(4) send bus_get_dma_tag() requests to parent busesmav2013-04-183-1/+25
| | | | | | passing real bus' child pointers instead of grandchilds. Requested by: kib
* Improving r249461 by providing a better way to handle the clang warning.hiren2013-04-171-3/+4
| | | | | | PR: kern/177164 Reviewed by: jhb Approved by: sbruno (mentor)
* - Correct spelling in commentsgabor2013-04-171-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* - Correct mispellings of word andgabor2013-04-171-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* - Correct mispellings of word resourcegabor2013-04-174-4/+4
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* - Corrrect mispellings of word usefulgabor2013-04-174-4/+4
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
OpenPOWER on IntegriCloud