Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Nuke some dead code.
details: https://anonhg.NetBSD.org/src/rev/c6bdfe76d195
branches: trunk
changeset: 485600:c6bdfe76d195
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue May 02 03:32:09 2000 +0000
description:
Nuke some dead code.
diffstat:
sys/dev/isa/fd.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (21 lines):
diff -r f89c230ebc4d -r c6bdfe76d195 sys/dev/isa/fd.c
--- a/sys/dev/isa/fd.c Tue May 02 03:03:21 2000 +0000
+++ b/sys/dev/isa/fd.c Tue May 02 03:32:09 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.3 2000/04/23 16:47:45 thorpej Exp $ */
+/* $NetBSD: fd.c,v 1.4 2000/05/02 03:32:09 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -993,11 +993,7 @@
isa_dmastart(fdc->sc_ic, fdc->sc_drq,
bp->b_data + fd->sc_skip, fd->sc_nbytes,
NULL, read | DMAMODE_DEMAND, BUS_DMA_NOWAIT);
-#if 0 /* XXX i/o port kludge */
- bus_space_write_1(iot, ioh, fdctl, type->rate);
-#else
bus_space_write_1(iot, fdc->sc_fdctlioh, 0, type->rate);
-#endif
#ifdef FD_DEBUG
printf("fdcintr: %s drive %d track %d head %d sec %d nblks %d\n",
read ? "read" : "write", fd->sc_drive, fd->sc_cylin,
Home |
Main Index |
Thread Index |
Old Index