summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-04-27 21:08:24 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-04-27 21:08:24 +0000
commitd9333a380781cb044a32d23c3b2cf33ebdab4e15 (patch)
tree072e301ad04ce3d592c52af01558880db880ac7d /sys/dev/ppbus
parent6bf9295658f4d592060af2154a8ac0a4c3cfff42 (diff)
downloadFreeBSD-src-d9333a380781cb044a32d23c3b2cf33ebdab4e15.zip
FreeBSD-src-d9333a380781cb044a32d23c3b2cf33ebdab4e15.tar.gz
make the example compile again.
The makefile contains a reference to /sys/dev/ppbus. What really should be done is copy the header files to /usr/include/sys/dev/ppbus. PR: kern/16767 Submitted by: Jin Guojun (FTG staff) <jin@gracie.lbl.gov>
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/ppbconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ppbus/ppbconf.h b/sys/dev/ppbus/ppbconf.h
index 93fc886..96b7b1b 100644
--- a/sys/dev/ppbus/ppbconf.h
+++ b/sys/dev/ppbus/ppbconf.h
@@ -250,6 +250,7 @@ struct ppb_data {
void *ppb_owner; /* device which owns the bus */
};
+#ifdef _KERNEL
extern int ppb_attach_device(device_t);
extern int ppb_request_bus(device_t, device_t, int);
extern int ppb_release_bus(device_t, device_t);
@@ -263,6 +264,7 @@ extern int ppb_get_epp_protocol(device_t);
extern int ppb_set_mode(device_t, int); /* returns old mode */
extern int ppb_get_mode(device_t); /* returns current mode */
extern int ppb_write(device_t, char *, int, int);
+#endif /* _KERNEL */
/*
* These are defined as macros for speedup.
OpenPOWER on IntegriCloud