Re: [PATCH 2.6.14-rc4-git] s390, ccw - export modalias

From: Bastian Blank
Date: Thu Oct 13 2005 - 05:10:19 EST

On Thu, Oct 13, 2005 at 11:09:38AM +0200, Martin Schwidefsky wrote:
> The wanted to have some information for use by udev. After looking at
> the patch I wonder why they can't use the cutype/devtype attributes.
> They already contain the information that gets exported by the new
> attribute. It might be a little bit harder to parse because devtype can
> be "n/a" but that certainly isn't rocket science.

The modalias entry is matched against the alias strings generated by
modpost and put into /lib/modules/$ver/modules.alias. This needs no
special knowledge about this sort of hardware.

Just take a look on how it is used by the pci and usb system.


Where there's no emotion, there's no motive for violence.
-- Spock, "Dagger of the Mind", stardate 2715.1

Attachment: signature.asc
Description: Digital signature