Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/pnpbios complain if we can't get the recording...
details: https://anonhg.NetBSD.org/src/rev/5648e94aba16
branches: trunk
changeset: 527009:5648e94aba16
user: mrg <mrg%NetBSD.org@localhost>
date: Wed May 15 18:14:41 2002 +0000
description:
complain if we can't get the recording drq at attach time.
diffstat:
sys/arch/i386/pnpbios/wss_pnpbios.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r c58c2bc8ee96 -r 5648e94aba16 sys/arch/i386/pnpbios/wss_pnpbios.c
--- a/sys/arch/i386/pnpbios/wss_pnpbios.c Wed May 15 18:13:00 2002 +0000
+++ b/sys/arch/i386/pnpbios/wss_pnpbios.c Wed May 15 18:14:41 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wss_pnpbios.c,v 1.6 2001/11/15 07:03:35 lukem Exp $ */
+/* $NetBSD: wss_pnpbios.c,v 1.7 2002/05/15 18:14:41 mrg Exp $ */
/*
* Copyright (c) 1999
* Matthias Drochner. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wss_pnpbios.c,v 1.6 2001/11/15 07:03:35 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wss_pnpbios.c,v 1.7 2002/05/15 18:14:41 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -144,8 +144,10 @@
printf(": can't get DMA channel\n");
return;
}
- if (pnpbios_getdmachan(aa->pbt, aa->resc, 1, &sc->wss_recdrq))
+ if (pnpbios_getdmachan(aa->pbt, aa->resc, 1, &sc->wss_recdrq)) {
+ printf(": can't get recording DMA channel");
sc->wss_recdrq = -1;
+ }
sc->sc_ad1848.sc_ad1848.sc_iot = sc->sc_iot;
bus_space_subregion(sc->sc_iot, sc->sc_ioh, wph->offset_ad1848, 4,
Home |
Main Index |
Thread Index |
Old Index