diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-10-22 11:51:29 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-10-22 11:51:29 +0000 |
commit | 3fc4938e6b110e2027b1c5195eaf06a3a013eb3d (patch) | |
tree | 74d76bcf0731a864d616f2d58a055aa4de4f89c6 /sys/dev/pci | |
parent | 2b0e735e115f9102fbdf54ceac4d5953f706c822 (diff) |
remove some horrible iwm typedefs
ok stsp@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_iwm.c | 10 | ||||
-rw-r--r-- | sys/dev/pci/if_iwmvar.h | 5 |
2 files changed, 6 insertions, 9 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 600e8c17286..5e3fbe4e4ae 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.60 2015/10/16 12:17:58 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.61 2015/10/22 11:51:28 jsg Exp $ */ /* * Copyright (c) 2014 genua mbh <info@genua.de> @@ -406,7 +406,7 @@ int iwm_init(struct ifnet *); void iwm_start(struct ifnet *); void iwm_stop(struct ifnet *, int); void iwm_watchdog(struct ifnet *); -int iwm_ioctl(struct ifnet *, u_long, iwm_caddr_t); +int iwm_ioctl(struct ifnet *, u_long, caddr_t); #ifdef IWM_DEBUG const char *iwm_desc_lookup(uint32_t); void iwm_nic_error(struct iwm_softc *); @@ -415,7 +415,7 @@ void iwm_notif_intr(struct iwm_softc *); int iwm_intr(void *); int iwm_match(struct device *, void *, void *); int iwm_preinit(struct iwm_softc *); -void iwm_attach_hook(iwm_hookarg_t); +void iwm_attach_hook(void *); void iwm_attach(struct device *, struct device *, void *); void iwm_init_task(void *); int iwm_activate(struct device *, int); @@ -5685,7 +5685,7 @@ iwm_watchdog(struct ifnet *ifp) } int -iwm_ioctl(struct ifnet *ifp, u_long cmd, iwm_caddr_t data) +iwm_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { struct iwm_softc *sc = ifp->if_softc; struct ieee80211com *ic = &sc->sc_ic; @@ -6376,7 +6376,7 @@ iwm_preinit(struct iwm_softc *sc) } void -iwm_attach_hook(iwm_hookarg_t arg) +iwm_attach_hook(void *arg) { struct iwm_softc *sc = arg; diff --git a/sys/dev/pci/if_iwmvar.h b/sys/dev/pci/if_iwmvar.h index 8ac2ce17ed8..d49f928b5ad 100644 --- a/sys/dev/pci/if_iwmvar.h +++ b/sys/dev/pci/if_iwmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwmvar.h,v 1.11 2015/10/11 10:22:28 stsp Exp $ */ +/* $OpenBSD: if_iwmvar.h,v 1.12 2015/10/22 11:51:28 jsg Exp $ */ /* * Copyright (c) 2014 genua mbh <info@genua.de> @@ -223,9 +223,6 @@ struct iwm_host_cmd { * DMA glue is from iwn */ -typedef caddr_t iwm_caddr_t; -typedef void *iwm_hookarg_t; - struct iwm_dma_info { bus_dma_tag_t tag; bus_dmamap_t map; |