summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcaudio.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-11-30 05:59:09 +0000
committerjulian <julian@FreeBSD.org>1995-11-30 05:59:09 +0000
commit0878e17aef1c77dafc6b61475e1a84c226e5a6f2 (patch)
tree8bbd581513294d2963b53e5f7b5963f2ce5907aa /sys/i386/isa/pcaudio.c
parentbc297730483b7bb6e50f298f8ad5482a6add0ed1 (diff)
downloadFreeBSD-src-0878e17aef1c77dafc6b61475e1a84c226e5a6f2.zip
FreeBSD-src-0878e17aef1c77dafc6b61475e1a84c226e5a6f2.tar.gz
A pair of really tiny patches that not only allow it all to compile
but also IT ACTUALLY WORKS! FreeBSD with options JREMOD now runs with no entries in the devsw tables prior to the devices puting their own entries there.. Thanks to bde and terry for thoughts and comments. next stop 'Real' devfs support in devices.
Diffstat (limited to 'sys/i386/isa/pcaudio.c')
-rw-r--r--sys/i386/isa/pcaudio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c
index 90fb125..9ef2758 100644
--- a/sys/i386/isa/pcaudio.c
+++ b/sys/i386/isa/pcaudio.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcaudio.c,v 1.18 1995/11/28 09:41:27 julian Exp $
+ * $Id: pcaudio.c,v 1.19 1995/11/29 10:47:47 julian Exp $
*/
#include "pca.h"
@@ -49,14 +49,14 @@
#include <i386/isa/sound/ulaw.h>
+#ifdef DEVFS
+#include <sys/devfsext.h>
+#endif /* DEVFS */
#ifdef JREMOD
#include <sys/conf.h>
#include <sys/kernel.h>
-#ifdef DEVFS
-#include <sys/devfsext.h>
-#endif /*DEVFS*/
#define CDEV_MAJOR 24
-#endif /*JREMOD*/
+#endif /* JREMOD */
#define BUF_SIZE 8192
#define SAMPLE_RATE 8000
OpenPOWER on IntegriCloud