Tag the current round of deprecated drivers.Differential Revision: https://reviews.freebsd.org/D13818
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.
show more ...
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
Use the right product names.Pointy Hat To: imp@
Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO buildingblock. Use it in all the PNP drivers to export either the current PNPtable. For uart, create a custom table and export it usingMOD
Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO buildingblock. Use it in all the PNP drivers to export either the current PNPtable. For uart, create a custom table and export it usingMODULE_PNP_INFO since it's the only one that matches on functionnumber.Differential Review: https://reviews.freebsd.org/D3461
Lock the scsi_low code and the drivers which use it along with otherrelated cleanups:- Require each driver to initalize a mutex in the scsi_low_softc that is shared with the scsi_low code. This
Lock the scsi_low code and the drivers which use it along with otherrelated cleanups:- Require each driver to initalize a mutex in the scsi_low_softc that is shared with the scsi_low code. This mutex is used for CAM SIMs, timers, and interrupt handlers.- Replace the osdep function switch with direct calls to the relevant CAM functions and direct manipulation of timers via callout(9).- Collapse the CAM-specific scsi_low_osdep_interface substructure directly into scsi_low_softc.- Use bus_*() instead of bus_space_*().- Return BUS_PROBE_DEFAULT from probe routines instead of 0.- No need to zero softcs.- Pass 0ul and ~0ul instead of 0 and ~0 to bus_alloc_resource().- Spell "dettach" as "detach".- Remove unused 'dvname' variables.- De-spl().Tested by: no one
Remove some more NetBSD compat shims and other unused bits from thesedrivers:- Remove scsi_low_pisa.*, they were unused.- Remove <compat/netbsd/physio_proc.h> and calls to the stubs in that head
Remove some more NetBSD compat shims and other unused bits from thesedrivers:- Remove scsi_low_pisa.*, they were unused.- Remove <compat/netbsd/physio_proc.h> and calls to the stubs in that header. They were empty nops.- Retire sl_xname and use device_get_nameunit() and device_printf() with the underlying device_t instead.- Remove unused {ct,ncv,nsp,stg}print() functions.- Remove empty SOFT_INTR_REQUIRED() macro and the unused sl_irq member.
Remove NetBSD compat shims for drivers originally shared with NetBSD/pc98.NetBSD/pc98 was never merged into the main NetBSD tree and is no longerdeveloped. Adding locking to these drivers would ha
Remove NetBSD compat shims for drivers originally shared with NetBSD/pc98.NetBSD/pc98 was never merged into the main NetBSD tree and is no longerdeveloped. Adding locking to these drivers would have made the compatshims hard to impossible to maintain, so remove the shims to easefuture changes.These changes were verified by md5. Some additional shims can be removedthat do affect the compiled results that I will probably do in anotherround.Approved by: nyan (tentatively)
strict kobj sigs: fix assortment of device_detach and device_shutdown implswith common issue of having void return type instead of intReviewed by: imp, current@Approved by: jhb (mentor)
o break newbus api: add a new argument of type driver_filter_t to bus_setup_intr()o add an int return code to all fast handlerso retire INTR_FAST/IH_FASTFor more info: http://docs.freebsd.org
o break newbus api: add a new argument of type driver_filter_t to bus_setup_intr()o add an int return code to all fast handlerso retire INTR_FAST/IH_FASTFor more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-currentReviewed by: manyApproved by: re@
no need to print unload anymore
Since DELAY() was moved, most <machine/clock.h> #includes have beenunnecessary.
Remove OLDCARD support by removing compat shims
Eliminate unused argument in PCMCIA_CARD macro.Provide a backwards compatible way to have the extra macro by definingPCCARD_API_LEVEL 5 before including pccarddevs for driver writers thatwant/nee
Eliminate unused argument in PCMCIA_CARD macro.Provide a backwards compatible way to have the extra macro by definingPCCARD_API_LEVEL 5 before including pccarddevs for driver writers thatwant/need to have the same driver on 5 and 6 with pccard attachments.Approved by: re (dwhite)
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386and amd64. The optimization is a trivial on recent machines.Reviewed by: -arch (imp, marcel, dfr)
takawata tells me that KXLC0003 also works with this driver, so add itto the list. Note it is untested.Also kill some whitespace at the end of the line...
Start each of the license/copyright comments with /*-, minor shuffle of lines
Update for the KDB framework:o Make debugging code dependent upon KDB instead of DDB.
Fix disordering of pccarddevs.h noticed by bde. Also remove a fewredundant includes and fix some of the include disordering.Submitted by: bde
Move to generating pccarddevs.h on the fly, both for the kernel andthe modules.Also generate usbdevs.h automatically now, but a non-kernel file isstopping that at the moment.
Convert callers to the new bus_alloc_resource_any(9) API.Submitted by: Mark Santcroos <[email protected]>Reviewed by: imp, dfr, bde
Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a commonMI area before they proliferate more.
Const poison string accessor functions.
Use __FBSDID().Also some minor style cleanups.
Make sure that pp_name is non-null before setting the devicedescription. This allows us to rely entirely on the CIS entries ifnecessary...
12