Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Make ESIOP_DEBUG compile (on some platforms? depe...
details: https://anonhg.NetBSD.org/src/rev/12b11f3c708c
branches: trunk
changeset: 752055:12b11f3c708c
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Feb 12 06:40:52 2010 +0000
description:
Make ESIOP_DEBUG compile (on some platforms? depends on bus definitions...)
>From Chris Ross in PR 42792.
diffstat:
sys/dev/ic/esiop.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0885bb9c5880 -r 12b11f3c708c sys/dev/ic/esiop.c
--- a/sys/dev/ic/esiop.c Fri Feb 12 05:02:40 2010 +0000
+++ b/sys/dev/ic/esiop.c Fri Feb 12 06:40:52 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esiop.c,v 1.49 2009/10/19 18:41:12 bouyer Exp $ */
+/* $NetBSD: esiop.c,v 1.50 2010/02/12 06:40:52 dholland Exp $ */
/*
* Copyright (c) 2002 Manuel Bouyer.
@@ -28,7 +28,7 @@
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.49 2009/10/19 18:41:12 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.50 2010/02/12 06:40:52 dholland Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1819,7 +1819,7 @@
(u_long)(bus_space_read_4(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_DSP)
- sc->sc_c.sc_scriptaddr),
bus_space_read_4(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_DSA));
- bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_CTEST2);
+ (void)bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_CTEST2);
printf("istat 0x%x\n",
bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_ISTAT));
#else
Home |
Main Index |
Thread Index |
Old Index