Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Fix thinko in previous commit.
details: https://anonhg.NetBSD.org/src/rev/75cb911db197
branches: trunk
changeset: 482717:75cb911db197
user: enami <enami%NetBSD.org@localhost>
date: Sun Feb 20 03:48:40 2000 +0000
description:
Fix thinko in previous commit.
diffstat:
sys/dev/pcmcia/if_sm_pcmcia.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 18b0d4066af4 -r 75cb911db197 sys/dev/pcmcia/if_sm_pcmcia.c
--- a/sys/dev/pcmcia/if_sm_pcmcia.c Sun Feb 20 03:38:04 2000 +0000
+++ b/sys/dev/pcmcia/if_sm_pcmcia.c Sun Feb 20 03:48:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sm_pcmcia.c,v 1.21 2000/02/09 13:40:42 enami Exp $ */
+/* $NetBSD: if_sm_pcmcia.c,v 1.22 2000/02/20 03:48:40 enami Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -229,14 +229,14 @@
return;
iomap_failed:
+ /* Free our i/o space. */
+ pcmcia_io_free(pa->pf, &psc->sc_pcioh);
+
+ ioalloc_failed:
/* Disable the device */
pcmcia_function_disable(pa->pf);
enable_failed:
- /* Free our i/o space. */
- pcmcia_io_free(pa->pf, &psc->sc_pcioh);
-
- ioalloc_failed:
psc->sc_io_window = -1;
}
Home |
Main Index |
Thread Index |
Old Index