summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-04-24 04:21:42 +0000
committerkato <kato@FreeBSD.org>1999-04-24 04:21:42 +0000
commitb2970ba31d220c828c0af25b1218d1ef9e302201 (patch)
tree7005d8dd542ad62cf121040ae380e4b65d81caec
parentfbfb955028d072fa49ac57b83e3f6e7e02c67d2a (diff)
downloadFreeBSD-src-b2970ba31d220c828c0af25b1218d1ef9e302201.zip
FreeBSD-src-b2970ba31d220c828c0af25b1218d1ef9e302201.tar.gz
- PC98 doesn't support 16bits bus I/F of adv deriver.
- PC98 has the bs driver. Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
-rw-r--r--sys/i386/isa/isa_compat.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/i386/isa/isa_compat.h b/sys/i386/isa/isa_compat.h
index 96a4b7d..b33f3ba 100644
--- a/sys/i386/isa/isa_compat.h
+++ b/sys/i386/isa/isa_compat.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: isa_compat.h,v 1.2 1999/04/17 19:38:38 peter Exp $
+ * $Id: isa_compat.h,v 1.3 1999/04/18 15:50:35 peter Exp $
*/
#include "vt.h"
@@ -88,6 +88,9 @@
#include "isic.h"
#include "tina.h"
#include "ppc.h"
+#ifdef PC98
+#include "bs.h"
+#endif
struct old_isa_driver {
int type;
@@ -157,6 +160,9 @@ extern struct isa_driver pcfdriver;
extern struct isa_driver isicdriver;
extern struct isa_driver tinadriver;
extern struct isa_driver ppcdriver;
+#ifdef PC98
+extern struct isa_driver bsdriver;
+#endif
static struct old_isa_driver old_drivers[] = {
@@ -306,13 +312,22 @@ static struct old_isa_driver old_drivers[] = {
/* CAM */
+#ifndef PC98
#if NADV > 0
{ DRIVER_TYPE_CAM, &advdriver },
#endif
+#endif
+
#if NAHA > 0
{ DRIVER_TYPE_CAM, &ahadriver },
#endif
+#ifdef PC98
+#if NBS > 0
+ { DRIVER_TYPE_CAM, &bsdriver },
+#endif
+#endif
+
/* MISC */
#if NOLTR > 0
OpenPOWER on IntegriCloud