Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750873AbVJMKJa (ORCPT ); Thu, 13 Oct 2005 06:09:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750851AbVJMKJa (ORCPT ); Thu, 13 Oct 2005 06:09:30 -0400 Received: from wavehammer.waldi.eu.org ([82.139.196.55]:22748 "EHLO wavehammer.waldi.eu.org") by vger.kernel.org with ESMTP id S1750829AbVJMKJ3 (ORCPT ); Thu, 13 Oct 2005 06:09:29 -0400 Date: Thu, 13 Oct 2005 12:09:19 +0200 From: Bastian Blank To: Martin Schwidefsky Cc: Andrew Morton , torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.14-rc4-git] s390, ccw - export modalias Message-ID: <20051013100918.GA15805@wavehammer.waldi.eu.org> Mail-Followup-To: Martin Schwidefsky , Andrew Morton , torvalds@osdl.org, linux-kernel@vger.kernel.org References: <20051012192639.GA25481@wavehammer.waldi.eu.org> <20051012125939.6ee58910.akpm@osdl.org> <1129194579.5305.13.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <1129194579.5305.13.camel@localhost.localdomain> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1524 Lines: 44 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 Where there's no emotion, there's no motive for violence. -- Spock, "Dagger of the Mind", stardate 2715.1 --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iEYEARECAAYFAkNOMk4ACgkQnw66O/MvCNFazACdHi+EaDF6jtqxybTozdJ6vVUi YhwAnjHH2pV733S78uAKo2scJo2dW/C0 =3xeC -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/