Module Name: src
Committed By: jakllsch
Date: Fri Nov 5 19:48:43 UTC 2010
Modified Files:
src/sys/dev/pci: pciide_common.c
Log Message:
Correct copy/paste error in as-of-yet-unused pciide_common_detach().
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/pciide_common.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/pciide_common.c
diff -u src/sys/dev/pci/pciide_common.c:1.44 src/sys/dev/pci/pciide_common.c:1.45
--- src/sys/dev/pci/pciide_common.c:1.44 Fri Nov 5 18:07:24 2010
+++ src/sys/dev/pci/pciide_common.c Fri Nov 5 19:48:43 2010
@@ -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;
}