diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-27 00:29:56 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-27 00:29:56 +0000 |
commit | 8978c18a91c7b55e0d0fa640590ee2d1ca81dbbc (patch) | |
tree | f1a446f14b19b8dccd0120d89a3870d4f5f39f71 /sys/arch | |
parent | 6babe9805998e05466af389e63ef989373502792 (diff) |
Eradicate the type 'bus_dmasync_op_t'. Unused. Sporadically
implemented. Use int.
ok mickey@ miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mips64/mips64/busdma.c | 4 | ||||
-rw-r--r-- | sys/arch/sgi/include/bus.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mips64/mips64/busdma.c b/sys/arch/mips64/mips64/busdma.c index 5405889012e..1c6ddc10060 100644 --- a/sys/arch/mips64/mips64/busdma.c +++ b/sys/arch/mips64/mips64/busdma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: busdma.c,v 1.8 2005/11/06 10:26:56 martin Exp $ */ +/* $OpenBSD: busdma.c,v 1.9 2006/05/27 00:29:55 krw Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -340,7 +340,7 @@ _dmamap_sync(t, map, addr, size, op) bus_dmamap_t map; bus_addr_t addr; bus_size_t size; - bus_dmasync_op_t op; + int op; { #define SYNC_R 0 #define SYNC_W 1 diff --git a/sys/arch/sgi/include/bus.h b/sys/arch/sgi/include/bus.h index be40dd46561..1d84ced752b 100644 --- a/sys/arch/sgi/include/bus.h +++ b/sys/arch/sgi/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.4 2005/01/02 19:33:11 kettenis Exp $ */ +/* $OpenBSD: bus.h,v 1.5 2006/05/27 00:29:55 krw Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB Sweden. All rights reserved. @@ -289,7 +289,6 @@ struct uio; #define BUS_DMASYNC_POSTWRITE 0x0002 #define BUS_DMASYNC_PREREAD 0x0004 #define BUS_DMASYNC_PREWRITE 0x0008 -typedef int bus_dmasync_op_t; typedef struct machine_bus_dma_tag *bus_dma_tag_t; typedef struct machine_bus_dmamap *bus_dmamap_t; |