diff options
Diffstat (limited to 'sys/dev/ic/pgtvar.h')
-rw-r--r-- | sys/dev/ic/pgtvar.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/pgtvar.h b/sys/dev/ic/pgtvar.h index d4c6f9ba860..0407201a561 100644 --- a/sys/dev/ic/pgtvar.h +++ b/sys/dev/ic/pgtvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pgtvar.h,v 1.9 2006/10/06 21:55:33 mglocker Exp $ */ +/* $OpenBSD: pgtvar.h,v 1.10 2006/10/09 20:45:27 mglocker Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -178,6 +178,8 @@ struct pgt_softc { int (*sc_enable)(struct pgt_softc *); void (*sc_disable)(struct pgt_softc *); void (*sc_power)(struct pgt_softc *, int); + void *sc_shutdown_hook; /* shutdown hook */ + void *sc_power_hook; /* power mgmt hook */ struct pgt_mgmt_descq sc_mgmtinprog; struct pgt_descq sc_freeq[PGT_QUEUE_COUNT]; @@ -213,8 +215,7 @@ struct pgt_softc { int pgt_intr(void *); void pgt_attach(void *); -int pgt_detach(struct pgt_softc *sc); -void pgt_reboot(struct pgt_softc *); +int pgt_detach(struct pgt_softc *); static __inline int pgt_queue_is_rx(enum pgt_queue pq) |