freebsd-dev/sys/pci
Scott Long f6b1c44d1f Mega busdma API commit.
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg.
Lockfunc allows a driver to provide a function for managing its locking
semantics while using busdma.  At the moment, this is used for the
asynchronous busdma_swi and callback mechanism.  Two lockfunc implementations
are provided: busdma_lock_mutex() performs standard mutex operations on the
mutex that is specified from lockfuncarg.  dftl_lock() is a panic
implementation and is defaulted to when NULL, NULL are passed to
bus_dma_tag_create().  The only time that NULL, NULL should ever be used is
when the driver ensures that bus_dmamap_load() will not be deferred.
Drivers that do not provide their own locking can pass
busdma_lock_mutex,&Giant args in order to preserve the former behaviour.

sparc64 and powerpc do not provide real busdma_swi functions, so this is
largely a noop on those platforms.  The busdma_swi on is64 is not properly
locked yet, so warnings will be emitted on this platform when busdma
callback deferrals happen.

If anyone gets panics or warnings from dflt_lock() being called, please
let me know right away.

Reviewed by:	tmm, gibbs
2003-07-01 15:52:06 +00:00
..
agp_ali.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
agp_amd.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
agp_i810.c Add vm object locking. 2003-06-13 08:11:14 +00:00
agp_if.m Fix typo. 2003-04-07 10:06:48 +00:00
agp_intel.c Add PCI IDs for the i82855 and i82875P AGP bridges. 2003-06-23 11:09:45 +00:00
agp_sis.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
agp_via.c Sort the list of PCI ID's in numerical order and fix a whitespace bogon. 2003-06-27 18:17:06 +00:00
agp.c Add vm object locking. 2003-06-19 02:01:33 +00:00
agppriv.h
agpreg.h Add support for the Intel 865 chipset. 2003-05-27 18:23:56 +00:00
agpvar.h Allow retrieval of the virtual address of the AGP aperture 2001-12-19 08:54:29 +00:00
alpm.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
amdpm.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
cy_pci.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
dc21040reg.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
if_dc.c Add ADMtek ADM9511 and ADM9513 device ID's. 2003-06-08 10:11:55 +00:00
if_dcreg.h Add ADMtek ADM9511 and ADM9513 device ID's. 2003-06-08 10:11:55 +00:00
if_de.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
if_devar.h Fix alignment requirements of tulip_rombuf by further increasing 2003-06-13 22:34:03 +00:00
if_mn.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
if_pcn.c Remove unused variables. 2003-05-31 20:02:43 +00:00
if_pcnreg.h
if_rl.c Mega busdma API commit. 2003-07-01 15:52:06 +00:00
if_rlreg.h Add support for Planex FNW-3800-TX(CardBus 100M/10M). 2003-03-18 14:57:09 +00:00
if_sf.c Remove break after return 2003-05-31 19:59:29 +00:00
if_sfreg.h
if_sis.c Mega busdma API commit. 2003-07-01 15:52:06 +00:00
if_sisreg.h Fix typo in an unused macro. 2003-01-29 21:56:10 +00:00
if_sk.c Remove unused variables. 2003-05-31 19:58:45 +00:00
if_skreg.h
if_ste.c Remove unused variables. 2003-05-31 19:58:45 +00:00
if_stereg.h Change the chip description from "DFE-550TX" to "DL10050". 2002-12-23 21:50:47 +00:00
if_ti.c Remove code that tries to detect if the MCLSHIFT and MSIZE macros 2003-06-13 20:46:34 +00:00
if_tireg.h Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
if_tl.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_tlreg.h Use if_printf(ifp, "blah") and device_printf(dev, "blah") instead of 2002-10-21 02:54:50 +00:00
if_vr.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_vrreg.h Add deviceids for 6105 and 6105M chips. Further changes will be necessary 2003-02-01 01:27:05 +00:00
if_wb.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_wbreg.h
if_xl.c Mega busdma API commit. 2003-07-01 15:52:06 +00:00
if_xlreg.h Instead of relying on a compile time define to determine whether the xl 2003-03-18 06:29:51 +00:00
intpm.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
intpmreg.h
locate.pl
meteor_reg.h
meteor.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00
ncr.c Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:17:41 +00:00
ncrreg.h
ti_fw2.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
ti_fw.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
viapm.c Add ID for VT8233A. 2003-06-22 06:50:02 +00:00
xmaciireg.h
xrpu.c Use __FBSDID(). 2003-06-11 06:34:30 +00:00