summaryrefslogtreecommitdiffstats
path: root/sys/arm/cavium
Commit message (Collapse)AuthorAgeFilesLines
* Use the base arm bus_space instead of an identical local copy.ian2015-01-212-112/+6
|
* For some reason, all the arm bus_space functions that work with uint16ian2015-01-211-8/+7
| | | | | values have armv4 in the name. There's nothing armv4-special about them, so just use the same sort of names as all the other functions.
* Add 64-bit DMA support in the XHCI controller driver.hselasky2015-01-052-0/+2
| | | | | | | - Fix some comments and whitespace while at it. MFC after: 1 month Submitted by: marius@
* Mechanically convert to if_inc_counter().glebius2014-09-191-3/+3
|
* Unify interrupts bit definition and usage. While here remove PSR_C_bit.andrew2014-09-101-1/+2
| | | | | | Submitted by: Svatopluk Kraus <onwahe at gmail.com>, Michal Meloun <meloun at miracle.cz> Differential Revision: https://reviews.freebsd.org/D754
* Fix various NIC drivers to properly cleanup static DMA resources.jhb2014-06-111-12/+20
| | | | | | | | | | | | | | | In particular, don't check the value of the bus_dma map against NULL to determine if either bus_dmamem_alloc() or bus_dmamap_load() succeeded. Instead, assume that bus_dmamap_load() succeeeded (and thus that bus_dmamap_unload() should be called) if the bus address for a resource is non-zero, and assume that bus_dmamem_alloc() succeeded (and thus that bus_dmamem_free() should be called) if the virtual address for a resource is not NULL. In many cases these bugs could result in leaks when a driver was detached. Reviewed by: yongari MFC after: 2 weeks
* When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE.ian2014-05-101-4/+4
| | | | | | On armv4 these are defined as synonyms right now, but it's a bit ambiguous what NOCACHE means (is buffering/write-combining also enabled or not?); this is a first step towards replacing PTE_NOCACHE with a less ambiguous name.
* Move sys/arm/econa to sys/arm/cavium/cns11xx.rpaulo2014-04-0715-0/+4757
OpenPOWER on IntegriCloud