Remove more needless <sys/tty.h> includesAs part of my journey to make it easy to determine what's relying on ttybits, remove a couple more. Some of these just outright didn't need it,while other
Remove more needless <sys/tty.h> includesAs part of my journey to make it easy to determine what's relying on ttybits, remove a couple more. Some of these just outright didn't need it,while others did rely on <sys/tty.h> pollution for mutex headers.
show more ...
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
Replace some more default range checks with RMAN_IS_DEFAULT_RANGE().This is a follow-on to r295832.
Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any()Since these calls only use default arguments, bus_alloc_resource_any() is theright call.Differenti
Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any()Since these calls only use default arguments, bus_alloc_resource_any() is theright call.Differential Revision: https://reviews.freebsd.org/D5306
Convert rman to use rman_res_t instead of u_longSummary:Migrate to using the semi-opaque type rman_res_t to specify rman resources. Fornow, this is still compatible with u_long.This is step on
Convert rman to use rman_res_t instead of u_longSummary:Migrate to using the semi-opaque type rman_res_t to specify rman resources. Fornow, this is still compatible with u_long.This is step one in migrating rman to use uintmax_t for resources instead ofu_long.Going forward, this could feasibly be used to specify architecture-specificdefinitions of resource ranges, rather than baking a specific integer type intothe API.This change has been broken out to facilitate MFC'ing drivers back to 10 withoutbreaking ABI.Reviewed By: jhbSponsored by: Alex Perez/Inertial ComputingDifferential Revision: https://reviews.freebsd.org/D5075
Follow r261352 by updating all drivers which are children of simplebusto check the status property in their probe routines.Simplebus used to only instantiate its children whose status="okay"but t
Follow r261352 by updating all drivers which are children of simplebusto check the status property in their probe routines.Simplebus used to only instantiate its children whose status="okay"but that was improper behavior, fixed in r261352. Now that it doesn'tcheck anymore and probes all its children; the children all have todo the check because really only the children know how to properlyinterpret their status property strings.Right now all existing drivers only understand "okay" versus something-that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
- There's no need to overwrite the default device method with the default one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_
- There's no need to overwrite the default device method with the default one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel- While at it, use DEVMETHOD_END. Discussed with: jhb- Also while at it, use __FBSDID.
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.This means that their use is restricted to a single C file.
Convert Freescale PowerPC platforms to FDT convention.The following systems are affected: - MPC8555CDS - MPC8572DSThis overhaul covers the following major changes: - All integrated periph
Convert Freescale PowerPC platforms to FDT convention.The following systems are affected: - MPC8555CDS - MPC8572DSThis overhaul covers the following major changes: - All integrated peripherals drivers for Freescale MPC85XX SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values). - This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC, QUICC, UART, CFI. - Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire ocpbus(4) driver, which was based on hard-coded config data.Note that world for these platforms has to be built WITH_FDT.Reviewed by: impSponsored by: The FreeBSD Foundation
Remove a soft member which was never used.Approved by: marcel
Support for Freescale QUad Integrated Communications Controller.The QUICC engine is found on various Freescale parts including MPC85xx, andprovides multiple generic time-division serial channel re
Support for Freescale QUad Integrated Communications Controller.The QUICC engine is found on various Freescale parts including MPC85xx, andprovides multiple generic time-division serial channel resources, which are inturn muxed/demuxed by the Serial Communications Controller (SCC).Along with core QUICC/SCC functionality a uart(4)-compliant device driver isprovided which allows for serial ports over QUICC/SCC.Approved by: cognet (mentor)Obtained from: JuniperMFp4: e500