From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] rules: avoid reading DRIVER for devices without modalias
Date: Sun, 16 Aug 2009 08:46:15 +0000 [thread overview]
Message-ID: <4A87C757.8080004@tuffmail.co.uk> (raw)
In-Reply-To: <4A268DF5.2030108@tuffmail.co.uk>
Marco d'Itri wrote:
> On Jun 03, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
>
>
>> DRIVER requires a readlink() in sysfs. The MODALIAS key is provided by
>> uevent and requires no additional read. Test MODALIAS first.
>>
> What is the point of checking both DRIVER and ENV{MODALIAS}?
> The Debian rules files always checked only ENV{MODALIAS}.
>
I think the idea is to avoid calling modprobe if the driver was built
into the kernel (or the module is already loaded).
Alan
next prev parent reply other threads:[~2009-08-16 8:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 14:51 [PATCH] rules: avoid reading DRIVER for devices without modalias Alan Jenkins
2009-06-03 19:54 ` Kay Sievers
2009-06-03 20:10 ` Alan Jenkins
2009-08-15 23:32 ` [PATCH] rules: avoid reading DRIVER for devices without Marco d'Itri
2009-08-16 8:46 ` Alan Jenkins [this message]
2009-08-16 10:51 ` Marco d'Itri
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=4A87C757.8080004@tuffmail.co.uk \
--to=alan-jenkins@tuffmail.co.uk \
--cc=linux-hotplug@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.