mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: <ambx1@neo.rr.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: pnp_assign_resources() issue
Date: Thu, 12 Jul 2007 09:31:53 +0100	[thread overview]
Message-ID: <46960319.76E4.0078.0@novell.com> (raw)

Adam,

I'm having some difficulty understanding why failure to probe for a resource
(in the given case, a DMA channel, but the issue is perhaps more generic) must
always result in failure of the probing of the requesting device. In any case,
the driver is required to call request_dma(), and in many cases the driver may
know how to deal with the device even if that call fails (in the given case,
parport_pc can be used as an example). Shouldn't therefore pnp_assign_dma()
be made never fail, and just mark the resource as unset/disabled if none of
the options were available? I realize drivers may not really look at these flags,
but I'd think this is a driver issue then and shouldn't keep the framework
from supporting as many different systems as possible.

Thanks, Jan


                 reply	other threads:[~2007-07-12  8:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46960319.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=ambx1@neo.rr.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

all inboxes | Powered by JetHome®