mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mehul Patel <mehuljpatel@yahoo.com>
To: linux-kernel@vger.kernel.org
Cc: greg@kroah.com
Subject: Exclusive access to hardware for test purpose
Date: Thu, 28 Oct 2004 23:35:52 +0100 (BST)	[thread overview]
Message-ID: <20041028223552.71331.qmail@web52801.mail.yahoo.com> (raw)

Hi,

Is anyone aware of kernel call which allows a test
tool developer to have exclusive access to PCI adapter
hardware. By exclusive access I mean both
driver as well as kernel should not touch hardware. 

I have been using driver's remove call to simulate the
situation as if adapter has been hot plugged out. And
once my testing is done I call driver's probe
call to put adapter back. But this seems to create a
problem when somehow kernel calls driver's remove
call.

Also If I dont call probe for the removed adapter, on
next reboot machine hangs !

Any information/suggestions please .....

Thanks in advance.

best regards,
Mehul.

Send instant messages to your online friends http://uk.messenger.yahoo.com 

             reply	other threads:[~2004-10-28 22:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28 22:35 Mehul Patel [this message]
     [not found] <OF2D431ED5.0E0040F4-ON65256F3B.0074805E-65256F3B.007703B3@in.ibm.com>
2004-10-29 20:43 ` Greg KH
     [not found]   ` <OF8948B2BB.F576944E-ON65256F3C.00784B09-65256F3C.007CC331@in.ibm.com>
2004-10-29 22:58     ` Greg KH

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-all 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=20041028223552.71331.qmail@web52801.mail.yahoo.com \
    --to=mehuljpatel@yahoo.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome