busdma: Remove outdated comments about Giant.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin
2021-12-09 22:17:54 -05:00
parent a9545eede4
commit 8493918868
6 changed files with 6 additions and 18 deletions
+1 -3
View File
@@ -419,9 +419,7 @@ must_bounce(bus_dma_tag_t dmat, bus_dmamap_t map, bus_addr_t paddr,
/* /*
* Convenience function for manipulating driver locks from busdma (during * Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks * busdma_swi, for example).
* should specify &Giant to dmat->lockfuncarg. Drivers that use their own
* non-mutex locking scheme don't have to use this at all.
*/ */
void void
busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)
+1 -3
View File
@@ -53,9 +53,7 @@ __FBSDID("$FreeBSD$");
/* /*
* Convenience function for manipulating driver locks from busdma (during * Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks * busdma_swi, for example).
* should specify &Giant to dmat->lockfuncarg. Drivers that use their own
* non-mutex locking scheme don't have to use this at all.
*/ */
void void
busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)
+1 -3
View File
@@ -298,9 +298,7 @@ _bus_dma_can_bounce(vm_offset_t lowaddr, vm_offset_t highaddr)
/* /*
* Convenience function for manipulating driver locks from busdma (during * Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks * busdma_swi, for example).
* should specify &Giant to dmat->lockfuncarg. Drivers that use their own
* non-mutex locking scheme don't have to use this at all.
*/ */
void void
busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)
+1 -3
View File
@@ -186,9 +186,7 @@ run_filter(bus_dma_tag_t dmat, bus_addr_t paddr)
/* /*
* Convenience function for manipulating driver locks from busdma (during * Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks * busdma_swi, for example).
* should specify &Giant to dmat->lockfuncarg. Drivers that use their own
* non-mutex locking scheme don't have to use this at all.
*/ */
void void
busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)
+1 -3
View File
@@ -53,9 +53,7 @@ __FBSDID("$FreeBSD$");
/* /*
* Convenience function for manipulating driver locks from busdma (during * Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks * busdma_swi, for example).
* should specify &Giant to dmat->lockfuncarg. Drivers that use their own
* non-mutex locking scheme don't have to use this at all.
*/ */
void void
busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)
+1 -3
View File
@@ -57,9 +57,7 @@ __FBSDID("$FreeBSD$");
/* /*
* Convenience function for manipulating driver locks from busdma (during * Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks * busdma_swi, for example).
* should specify &Giant to dmat->lockfuncarg. Drivers that use their own
* non-mutex locking scheme don't have to use this at all.
*/ */
void void
busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)