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. Bastian -- 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
- References:
- [PATCH 2.6.14-rc4-git] s390, ccw - export modalias
- From: Bastian Blank <[email protected]>
- Re: [PATCH 2.6.14-rc4-git] s390, ccw - export modalias
- From: Andrew Morton <[email protected]>
- Re: [PATCH 2.6.14-rc4-git] s390, ccw - export modalias
- From: Martin Schwidefsky <[email protected]>
- [PATCH 2.6.14-rc4-git] s390, ccw - export modalias
- Prev by Date: Re: [PATCH] New System call unshare (try 2)
- Next by Date: Re: [PATCH] New System call unshare (try 2)
- Previous by thread: Re: [PATCH 2.6.14-rc4-git] s390, ccw - export modalias
- Next by thread: Re: [PATCH 2.6.14-rc4-git] s390, ccw - export modalias
- Index(es):