mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Andrew Morton <akpm@osdl.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: PCI layer: Need for enable/disable counting (was  disable PCI device if it is enabled	before probing)
Date: Mon, 30 Jan 2006 23:01:09 +0000	[thread overview]
Message-ID: <1138662069.31089.89.camel@localhost.localdomain> (raw)
In-Reply-To: <43DE6A06.9030707@shadowconnect.com>

On Llu, 2006-01-30 at 20:33 +0100, Markus Lidel wrote:
> I've searched for a function enabled() or so, but didn't find anything. 
> Could you tell me the right way to do it normally?

Right now there isn't one. I've hit this problem with the new libata
layer stuff having successfully disabled my root pci bridge on unload at
least once.

Would be easy to add one but I suspect it should be rcounted so that
enable/disable just stack naturally ?

What do people want from such an interface and should it also start boot
enabled devices at a count of 1 or just the bridges/video class
devices ?

Alan


  reply	other threads:[~2006-01-30 23:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23 23:29 [PATCH 1/2] I2O: don't disable PCI device if it is enabled before probing Markus Lidel
2006-01-30 18:17 ` Alan Cox
2006-01-30 19:33   ` Markus Lidel
2006-01-30 23:01     ` Alan Cox [this message]
2006-01-31  9:31       ` PCI layer: Need for enable/disable counting (was disable PCI device if it is enabled before probing) Markus Lidel

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=1138662069.31089.89.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=Markus.Lidel@shadowconnect.com \
    --cc=akpm@osdl.org \
    --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