public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Amit kumar <akamit91@hotmail.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: DisconnectController API not working.
Date: Fri, 31 Mar 2017 12:26:22 +0000	[thread overview]
Message-ID: <MWHPR11MB1822CB3D5151B578A0756ED4DC370@MWHPR11MB1822.namprd11.prod.outlook.com> (raw)


Hi , 

I am trying to disconnect a controller from the usb mass storage driver, for which i am using  

    Status = gBS->DisconnectController (
			      ControllerHandle,
			      NULL,
			      NULL
			      );

after the call i get Status = SUCCESS , but when i run drivers command in shell, i find it still being manged by the same old driver handle.
Although when i run disconnect command from shell (e.g disconnect 163 ...output disconnect(163,0,0):Status = SUCCESS) 
it works as expected and detaches the controller from the driver.
Can some body point me out what could be the reason.  

             reply	other threads:[~2017-03-31 12:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-31 12:26 Amit kumar [this message]
2017-03-31 17:12 ` DisconnectController API not working Andrew Fish
2017-04-03  9:58   ` Amit kumar
2017-04-03 16:07     ` Andrew Fish
2017-04-05  2:51       ` Tian, Feng
2017-04-05  3:38         ` Amit kumar
  -- strict thread matches above, loose matches on Subject: below --
2017-06-27 22:54 TVKR
2017-06-28 12:36 ` TVKR
2017-06-28 14:07   ` Amit kumar
2017-06-28 14:35     ` TVKR
2017-06-28 15:29       ` Amit kumar
2017-06-28 17:15         ` TVKR
2017-06-28 17:50           ` Amit kumar
2017-06-28 17:51             ` TVKR
2017-06-28 17:56               ` Amit kumar
2017-06-28 18:01                 ` TVKR
2017-06-28 18:02                   ` TVKR
2017-06-28 18:11                   ` Amit kumar
2017-06-28 18:23                     ` Amit kumar
2017-06-28 19:27                       ` TVKR
2017-06-28 19:34                         ` Andrew Fish
2017-06-28 19:37                           ` Amit kumar
2017-06-28 19:53                             ` TVKR
2017-06-29 19:58                               ` TVKR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR11MB1822CB3D5151B578A0756ED4DC370@MWHPR11MB1822.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox