From 190f92bccfac74dec41d30535a03897440b8b98e Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 3 Jan 2004 14:53:16 +0000 Subject: [PATCH] Currently the eb7500atx doesn't have a cmos_read function, however it also won't use the RPC600_IOMD_ID code path, so disable that code path for the eb7500atx. --- sys/arch/arm/iomd/vidcaudio.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm/iomd/vidcaudio.c b/sys/arch/arm/iomd/vidcaudio.c index 1c712616378c..f97502e6b2ab 100644 --- a/sys/arch/arm/iomd/vidcaudio.c +++ b/sys/arch/arm/iomd/vidcaudio.c @@ -1,4 +1,4 @@ -/* $NetBSD: vidcaudio.c,v 1.31 2004/01/01 18:07:58 bjh21 Exp $ */ +/* $NetBSD: vidcaudio.c,v 1.32 2004/01/03 14:53:16 chris Exp $ */ /* * Copyright (c) 1995 Melvin Tang-Richardson @@ -65,7 +65,7 @@ #include /* proc.h */ -__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.31 2004/01/01 18:07:58 bjh21 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.32 2004/01/03 14:53:16 chris Exp $"); #include #include /* autoconfig functions */ @@ -217,10 +217,12 @@ vidcaudio_attach(struct device *parent, struct device *self, void *aux) struct vidcaudio_softc *sc = (void *)self; switch (IOMD_ID) { +#ifndef EB7500ATX case RPC600_IOMD_ID: sc->sc_is16bit = (cmos_read(0xc4) >> 5) & 1; sc->sc_dma_intr = IRQ_DMASCH0; break; +#endif case ARM7500_IOC_ID: case ARM7500FE_IOC_ID: sc->sc_is16bit = TRUE;