Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pcmcia correct pcmcom detach (like card removal). P...



details:   https://anonhg.NetBSD.org/src/rev/6aa358314cb4
branches:  trunk
changeset: 486516:6aa358314cb4
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed May 24 03:44:46 2000 +0000

description:
correct pcmcom detach (like card removal).  PR 9334.

diffstat:

 sys/dev/pcmcia/pcmcom.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 30a1356b1f84 -r 6aa358314cb4 sys/dev/pcmcia/pcmcom.c
--- a/sys/dev/pcmcia/pcmcom.c   Wed May 24 02:22:36 2000 +0000
+++ b/sys/dev/pcmcia/pcmcom.c   Wed May 24 03:44:46 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmcom.c,v 1.5 2000/02/04 01:27:14 cgd Exp $   */
+/*     $NetBSD: pcmcom.c,v 1.6 2000/05/24 03:44:46 itojun Exp $        */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -288,7 +288,7 @@
                        continue;
 
                /* Detach the child. */
-               if ((error = config_detach(self, flags)) != 0)
+               if ((error = config_detach(psi->psi_child, flags)) != 0)
                        return (error);
                psi->psi_child = NULL;
 



Home | Main Index | Thread Index | Old Index