diff options
author | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-12-13 02:52:12 +0000 |
---|---|---|
committer | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-12-13 02:52:12 +0000 |
commit | 5c6a44287062e8deb7c860b5f01eb311ce713a85 (patch) | |
tree | 15bcf3807be01c4b92e5b84b10c93af9081bb8db /sys/dev/ieee1394/fwnodevar.h | |
parent | fc45335f431868d7d900fa409fa490791fa437e1 (diff) |
Better memory balancing (between alloc/free),
some enhancements, lots of debugging, KNF...
Diffstat (limited to 'sys/dev/ieee1394/fwnodevar.h')
-rw-r--r-- | sys/dev/ieee1394/fwnodevar.h | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/sys/dev/ieee1394/fwnodevar.h b/sys/dev/ieee1394/fwnodevar.h index 9660ab80a8a..6cf353b11dc 100644 --- a/sys/dev/ieee1394/fwnodevar.h +++ b/sys/dev/ieee1394/fwnodevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fwnodevar.h,v 1.1 2002/06/25 17:11:49 itojun Exp $ */ +/* $OpenBSD: fwnodevar.h,v 1.2 2002/12/13 02:52:04 tdeval Exp $ */ /* $NetBSD: fwnodevar.h,v 1.4 2002/02/27 05:02:25 jmc Exp $ */ /* @@ -37,22 +37,18 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _DEV_IEEE1394_FWNODEVAR_H -#define _DEV_IEEE1394_FWNODEVAR_H +#ifndef _DEV_IEEE1394_FWNODEVAR_H +#define _DEV_IEEE1394_FWNODEVAR_H -struct fwnode_softc { - struct ieee1394_softc sc_sc1394; - - int sc_flags; - - int (*sc1394_read)(struct ieee1394_abuf *); - int (*sc1394_write)(struct ieee1394_abuf *); - int (*sc1394_inreg)(struct ieee1394_abuf *, int); - int (*sc1394_unreg)(struct ieee1394_abuf *, int); - - struct device **sc_children; +typedef struct fwnode_softc { + struct ieee1394_softc sc_sc1394; + int sc_flags; + int (*sc1394_read) (struct ieee1394_abuf *); + int (*sc1394_write)(struct ieee1394_abuf *); + int (*sc1394_inreg)(struct ieee1394_abuf *, int); + int (*sc1394_unreg)(struct ieee1394_abuf *, int); + struct device **sc_children; + struct p1212_rom *sc_configrom; +} fwnode_softc; - struct p1212_rom *sc_configrom; -}; - -#endif /* _DEV_IEEE1394_FWNODEVAR_H */ +#endif /* _DEV_IEEE1394_FWNODEVAR_H */ |