diff options
author | phk <phk@FreeBSD.org> | 2004-10-02 18:49:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-02 18:49:29 +0000 |
commit | 955182f9c8b331db9d73e2554bc697305ce0009e (patch) | |
tree | bd25c23caf7918137d936b2bb4380865adc4d375 /sys/dev/si | |
parent | df875e966bc9b17d1cf0e6f937d28cff5a0c4b6d (diff) | |
download | FreeBSD-src-955182f9c8b331db9d73e2554bc697305ce0009e.zip FreeBSD-src-955182f9c8b331db9d73e2554bc697305ce0009e.tar.gz |
Add #ifdef _KERNEL which allows sicontrol(8) to include this file
from userland to get the debugging definitions.
Diffstat (limited to 'sys/dev/si')
-rw-r--r-- | sys/dev/si/sivar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/si/sivar.h b/sys/dev/si/sivar.h index 9cf7e6a..8e28344 100644 --- a/sys/dev/si/sivar.h +++ b/sys/dev/si/sivar.h @@ -20,6 +20,7 @@ * $FreeBSD$ */ +#ifdef _KERNEL int siattach(device_t dev); void si_intr(void *); @@ -58,6 +59,8 @@ struct si_softc { int sc_memsize; }; +#endif /* _KERNEL */ + #ifdef SI_DEBUG /* * debugging stuff - manipulated using siconfig(8) |