Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv,mfi, mps, mpr, mvs, my, oce, pcn, ral, rl. This only labels existingpci device tables, and has no probe / attach code changes.Rev
Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv,mfi, mps, mpr, mvs, my, oce, pcn, ral, rl. This only labels existingpci device tables, and has no probe / attach code changes.Reviewed by: imp, chuckSubmitted by: Lakhan Shiva Kamireddy <[email protected]>Sponsored by: Google, Inc. (GSoC 2018)Approved by: re (glen)
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.
Remove support for EISA in the ida driver. Remove references toEISA-only registers. Remove known EISA cards from man page.
Resolve LINT linking issue by renaming ida_init() to ida_setup(). Theida_init() symbol name is now taken for use by the LinuxKPI.Reported by: emaste @Discussed with: mav @
sys/dev: minor spelling fixes.Most affect comments, very few have user-visible effects.
Remove MAXBSIZE use from drivers where it has nothing to do.In some cases limits are just not needed, in others -- DFLTPHYS is theright constant to use instead.MFC after: 1 month
A dma tag alignment should be 1 (not 0) when a device can dma at any address.
Rework the DMA handling in ida(4) and add locking to make this driverMPSAFE.- Preallocate a full set of QCBs during attach rather than allocating new ones on demand to avoid allocations in the I/
Rework the DMA handling in ida(4) and add locking to make this driverMPSAFE.- Preallocate a full set of QCBs during attach rather than allocating new ones on demand to avoid allocations in the I/O path.- Remove the explicit bus space tag/handle and use bus_*() on the relevant 'struct resource' instead.- Defer logical drive probing to an intrhook.- Fix ida_detach() to detach and delete child devices (logical drives).- Update the DMA handling to support EINPROGRESS by moving the work to submit a mapped request into the bus_dma callback routine as well as add support for freezing the queue when EINPROGRESS is encountered.Tested by: Marco Steinbach coco executive-computing de
Convert a number of drivers to obtaining their parent DMA tag from theirPCI device attachment.
- 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.
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@
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)
Test for NULL before use.Submitted by: sam (Coverity)
Add KASSERT() to warn against NULL deref.Submitted by: sam (Coverity)
Define additional commands.Obtained from: Linux
Whitespace cleanup.
Use BUS_PROBE_DEFAULT for pci probe return value
Start each of the license/copyright comments with /*-, minor shuffle of lines
Add a callout to dump card status on command queue timeouts.
Modify ida_v3_done() to treat FIFO status of -1 as FIFO empty (0).This is what ida_v4_done() does and seems to be necessary with somefirmware versions on v3 devices.
Reformat arguments bus_dma_tag_create().
Do the dreaded s/dev_t/struct cdev */Bump __FreeBSD_version accordingly.
Add missing <sys/module.h> includes
Convert callers to the new bus_alloc_resource_any(9) API.Submitted by: Mark Santcroos <[email protected]>Reviewed by: imp, dfr, bde
Device megapatch 4/6:Introduce d_version field in struct cdevsw, this must always beinitialized to D_VERSION.Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removingfour D_NOGIANT fl
Device megapatch 4/6:Introduce d_version field in struct cdevsw, this must always beinitialized to D_VERSION.Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removingfour D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
12345