diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-10 20:29:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-10 20:29:55 +0000 |
commit | 99a51eb26bb175ed50e8f772700c884309e5b15f (patch) | |
tree | 0b0aeae2aba24602ff1f07a64b8ccefefd6892f9 /sys/dev/ic/atwvar.h | |
parent | b05b9b0a74f4f8c673615879849fea1280e9c764 (diff) |
More cases of shutdown hooks not needed after card is already stopped. In
these cases the xxstop function is a bit more complicated and has a flag of
some sort, but the use of that flag does not matter; DMA is already ceased
ok dlg
Diffstat (limited to 'sys/dev/ic/atwvar.h')
-rw-r--r-- | sys/dev/ic/atwvar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/atwvar.h b/sys/dev/ic/atwvar.h index b3fcc5f9cd2..a8be9ed36a7 100644 --- a/sys/dev/ic/atwvar.h +++ b/sys/dev/ic/atwvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atwvar.h,v 1.17 2009/06/03 20:00:36 deraadt Exp $ */ +/* $OpenBSD: atwvar.h,v 1.18 2009/08/10 20:29:54 deraadt Exp $ */ /* $NetBSD: atwvar.h,v 1.13 2004/07/23 07:07:55 dyoung Exp $ */ /* @@ -195,7 +195,6 @@ struct atw_softc { bus_space_handle_t sc_sh; /* bus space handle */ bus_size_t sc_mapsize; /* mapping size */ bus_dma_tag_t sc_dmat; /* bus dma tag */ - void *sc_sdhook; /* shutdown hook */ void *sc_powerhook; /* power management hook */ u_int32_t sc_cacheline; /* cache line size */ u_int32_t sc_maxburst; /* maximum burst length */ @@ -440,6 +439,5 @@ int atw_activate(struct device *, enum devact); int atw_intr(void *arg); int atw_enable(struct atw_softc *); void atw_power(int, void *); -void atw_shutdown(void *); #endif /* _DEV_IC_ATWVAR_H_ */ |