summaryrefslogtreecommitdiff
path: root/sys/dev/pci/bktr
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-03-05 12:40:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-03-05 12:40:15 +0000
commitec3b725868ec3096d98d97139ede7ae37bf0cc50 (patch)
treecd986c31ac9759372be3fabb02f7927cd2dc9344 /sys/dev/pci/bktr
parent404a31b0e021e6bd2a6eee790b2c7004e7e07d66 (diff)
ansi
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r--sys/dev/pci/bktr/bktr_os.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/dev/pci/bktr/bktr_os.c b/sys/dev/pci/bktr/bktr_os.c
index 9fc2e08f820..68557e71a40 100644
--- a/sys/dev/pci/bktr/bktr_os.c
+++ b/sys/dev/pci/bktr/bktr_os.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_os.c,v 1.33 2020/06/20 16:06:05 krw Exp $ */
+/* $OpenBSD: bktr_os.c,v 1.34 2021/03/05 12:40:14 jsg Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp $ */
/*
@@ -133,10 +133,7 @@ struct radio_hw_if bktr_hw_if = {
#endif
int
-bktr_probe(parent, match, aux)
- struct device *parent;
- void *match;
- void *aux;
+bktr_probe(struct device *parent, void *match, void *aux)
{
struct pci_attach_args *pa = aux;
@@ -258,10 +255,7 @@ bktr_attach(struct device *parent, struct device *self, void *aux)
* Special Memory Allocation
*/
vaddr_t
-get_bktr_mem(bktr, dmapp, size)
- bktr_ptr_t bktr;
- bus_dmamap_t *dmapp;
- unsigned int size;
+get_bktr_mem(bktr_ptr_t bktr, bus_dmamap_t *dmapp, unsigned int size)
{
bus_dma_tag_t dmat = bktr->dmat;
bus_dma_segment_t seg;
@@ -312,10 +306,7 @@ get_bktr_mem(bktr, dmapp, size)
}
void
-free_bktr_mem(bktr, dmap, kva)
- bktr_ptr_t bktr;
- bus_dmamap_t dmap;
- vaddr_t kva;
+free_bktr_mem(bktr_ptr_t bktr, bus_dmamap_t dmap, vaddr_t kva)
{
bus_dma_tag_t dmat = bktr->dmat;