Re: [PATCH] [PNP] 'modalias' sysfs export

From: Pierre Ossman
Date: Tue Mar 14 2006 - 07:45:12 EST


Sergey Vlasov wrote:
> BTW, we can change the alias format for PNP device drivers to
>
> pnp:*dXXXYYYY*
>
> (note the additional "*" before the device ID). This would allow us to
> have a single-value "modalias" attribute for PNP logical devices too -
> it would have the form
>
> pnp:dXXXYYYYdXXXYYYYdXXXYYYY
>
> (listing all IDs, in this case sorting is not required, because each
> driver will match at most only a single dXXXYYYY entry).
>

How do you guarantee that the modules are tried in the correct order? Is
it well defined in modprobe that pnp:*dABC0001* would match before
pnp:*dXYZ0001* if the modalias is pnp:dABC0001dXYZ0001 ?

Rgds
Pierre

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/