aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/auxio
Commit message (Collapse)AuthorAgeFilesLines
* Remove sparc64 kernel supportWarner Losh2020-02-032-400/+0
| | | | | | | | | Remove all sparc64 specific files Remove all sparc64 ifdefs Removee indireeect sparc64 ifdefs Notes: svn path=/head/; revision=357455
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-272-0/+4
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* Consistently use `device_t`Jean-Sébastien Pédron2016-08-091-1/+1
| | | | | | | | | | | | | | | | | | Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all `struct device *` to `device_t`. The remaining occurrences of `struct device` are those referring to the Linux or OpenBSD version of the structure, or the code is not built on FreeBSD and it's unclear what to do. Submitted by: Matthew Macy <mmacy@nextbsd.org> (previous version) Approved by: emaste, jhibbits, sbruno MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7447 Notes: svn path=/head/; revision=303890
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵Sofian Brabez2013-01-301-2/+4
| | | | | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet Notes: svn path=/head/; revision=246128
* Enroll these drivers in multipass probing. The motivation behind thisMarius Strobl2009-12-221-2/+5
| | | | | | | | | | | | is that the JBus to EBus bridges share the interrupt controller of a sibling JBus to PCIe bridge (at least as far as the OFW device tree is concerned, in reality they are part of the same chip) so we have to probe and attach the latter first. That happens to be also the case due to the fact that the JBus to PCIe bridges appear first in the OFW device tree but it doesn't hurt to ensure the right order. Notes: svn path=/head/; revision=200874
* Provide and consume missing module dependency information.Marius Strobl2009-12-211-3/+5
| | | | Notes: svn path=/head/; revision=200815
* - Only touch the LED bit of the (LED) AUXIO register when turning theMarius Strobl2006-01-261-4/+9
| | | | | | | | | | | | | | | system LED on or off. Unlike the EBus LED AUXIO register where the remaining bits are unused the upper bits of the SBus AUXIO register are used to control other things like the link test enable pin of the on-board NIC which we don't want to change as a side-effect. - Remove the superfluous bzero()'ing of the softc obtained from device_get_softc(). Reviewed by: yongari MFC after: 3 days Notes: svn path=/head/; revision=154864
* Switch from trying to allocate up to 8 register banks for the EBusMarius Strobl2005-07-101-19/+6
| | | | | | | | | | | | | | variant to allocating a fixed set of 5 banks that the EBus variant is documented to have (and also has in reality). Trying to allocate up to 8 banks is a remnant from experiments during the development of this driver. Discussed with: joerg, yongari Reviewed by: yongari Approved by: re (scottl) Notes: svn path=/head/; revision=147877
* - Take advantage of ebus(4) having switched to SYS_RES_MEMORY for memoryMarius Strobl2005-06-041-42/+31
| | | | | | | | | | | resources in ebus.c rev. 1.22 and collapse the resource allocation for both the EBus and SBus variants into auxio_attach_common(). - For the EBus variant make sure that the resource for controlling the LED is actually available; (in theory) we could have ended up using the resource without allocating it. Notes: svn path=/head/; revision=146965
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-062-2/+2
| | | | Notes: svn path=/head/; revision=139749
* Port NetBSD auxio driver. The driver was modified to use led(4) and canPyun YongHyeon2004-10-092-0/+408
be used to announce various system activity. The auxio device provides auxiliary I/O functions and is found on various SBus/EBus UltraSPARC models. At present, only front panel LED is controlled by this driver. Approved by: jake (mentor) Reviewed by: joerg Tested by: joerg Notes: svn path=/head/; revision=136301