summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
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;