summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2002-01-06 23:01:41 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2002-01-06 23:01:41 +0000
commit84362f68ec61b40f2de337270dc710949b361f52 (patch)
tree9bf68e833b25ed51453c2bd417cc883ffd873a9e /sys/dev
parentfd72330b255feaec907d7db8ef6b771147055a5b (diff)
remove bogus diagnostic check.
pr#2298
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/yds.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/pci/yds.c b/sys/dev/pci/yds.c
index 48aca2e7c4e..349eef48de6 100644
--- a/sys/dev/pci/yds.c
+++ b/sys/dev/pci/yds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yds.c,v 1.11 2002/01/04 20:42:18 ericj Exp $ */
+/* $OpenBSD: yds.c,v 1.12 2002/01/06 23:01:40 ericj Exp $ */
/* $NetBSD: yds.c,v 1.5 2001/05/21 23:55:04 minoura Exp $ */
/*
@@ -1485,16 +1485,6 @@ yds_trigger_input(addr, start, end, blksize, intr, arg, param)
}
sc->sc_rec.dma = p;
-#ifdef DIAGNOSTIC
- {
- u_int32_t ctrlsize;
- if ((ctrlsize = YREAD4(sc, YDS_REC_CTRLSIZE)) !=
- sizeof(struct rec_slot) / sizeof(u_int32_t))
- panic("%s: invalid rec slot ctrldata %d",
- sc->sc_dev.dv_xname, ctrlsize);
- }
-#endif
-
s = DMAADDR(p);
l = ((char *)end - (char *)start);
sc->sc_rec.length = l;