Disable broken radio(4) support for bktr(4). The configuration code doesn't

even check if the TV card has a radio tuner.
This commit is contained in:
tron 2002-01-07 12:12:55 +00:00
parent ab5ccee692
commit 559521efa3
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.461 2002/01/06 16:07:06 jmcneill Exp $ # $NetBSD: GENERIC,v 1.462 2002/01/07 12:12:55 tron Exp $
# #
# GENERIC machine description file # GENERIC machine description file
# #
@ -20,7 +20,7 @@
include "arch/i386/conf/std.i386" include "arch/i386/conf/std.i386"
#ident "GENERIC-$Revision: 1.461 $" #ident "GENERIC-$Revision: 1.462 $"
maxusers 32 # estimated number of users maxusers 32 # estimated number of users
@ -968,7 +968,7 @@ midi* at umidi? # USB MIDI
# Brooktree 848/849/878/879 based TV cards # Brooktree 848/849/878/879 based TV cards
bktr* at pci? dev ? function ? bktr* at pci? dev ? function ?
radio* at bktr? #radio* at bktr?
# Mice # Mice

View File

@ -1,4 +1,4 @@
/* $NetBSD: bktr_os.c,v 1.26 2002/01/07 10:43:43 tron Exp $ */ /* $NetBSD: bktr_os.c,v 1.27 2002/01/07 12:12:55 tron Exp $ */
/* FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp */ /* FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp */
@ -50,7 +50,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.26 2002/01/07 10:43:43 tron Exp $"); __KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.27 2002/01/07 12:12:55 tron Exp $");
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#include "bktr.h" #include "bktr.h"
@ -195,7 +195,11 @@ int bktr_debug = 0;
/* Support for radio(4) under NetBSD */ /* Support for radio(4) under NetBSD */
#ifdef __NetBSD__ #ifdef __NetBSD__
#ifdef RADIO_ON_BKTR_WORKS
#include "radio.h" #include "radio.h"
#else
#define NRADIO 0
#endif
#if NRADIO > 0 #if NRADIO > 0
#include <sys/radioio.h> #include <sys/radioio.h>
#include <dev/radio_if.h> #include <dev/radio_if.h>