Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Correct copy/paste error in as-of-yet-unused pci...
details: https://anonhg.NetBSD.org/src/rev/a60582169f47
branches: trunk
changeset: 758480:a60582169f47
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Fri Nov 05 19:48:43 2010 +0000
description:
Correct copy/paste error in as-of-yet-unused pciide_common_detach().
diffstat:
sys/dev/pci/pciide_common.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9df6cf607e84 -r a60582169f47 sys/dev/pci/pciide_common.c
--- a/sys/dev/pci/pciide_common.c Fri Nov 05 18:07:23 2010 +0000
+++ b/sys/dev/pci/pciide_common.c Fri Nov 05 19:48:43 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciide_common.c,v 1.44 2010/11/05 18:07:24 jakllsch Exp $ */
+/* $NetBSD: pciide_common.c,v 1.45 2010/11/05 19:48:43 jakllsch Exp $ */
/*
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide_common.c,v 1.44 2010/11/05 18:07:24 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_common.c,v 1.45 2010/11/05 19:48:43 jakllsch Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -217,7 +217,7 @@
if (sc->sc_dma_ios != 0)
bus_space_unmap(sc->sc_dma_iot, sc->sc_dma_ioh, sc->sc_dma_ios);
if (sc->sc_ba5_ss != 0)
- bus_space_unmap(sc->sc_dma_iot, sc->sc_dma_ioh, sc->sc_dma_ios);
+ bus_space_unmap(sc->sc_ba5_st, sc->sc_ba5_sh, sc->sc_ba5_ss);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index