From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Zoz Date: Tue, 15 Feb 2005 08:15:34 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 001 release Message-Id: <20050215081534.GO24733@suse.de> MIME-Version: 1 Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp" List-Id: References: <20050211004033.GA26624@suse.de> In-Reply-To: <20050211004033.GA26624@suse.de> To: linux-hotplug@vger.kernel.org --17pEHd4RhPHOinZp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Greg, the pci alias string does never match. Here is a patch. --=20 ciao, christian =E7=9D=A1=E7=9C=A0=E4=B8=8D=E8=B6=B3=E3=81=AF=E3=81=84=E3=81=84=E4=BB=95=E4= =BA=8B=E3=81=AE=E6=95=B5=E3=81=A0=E3=80=82 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hotplug-ng-001.pci_id.patch" --- hotplug-ng-001.orig/module_pci.c 2005-02-11 00:40:02.000000000 +0100 +++ hotplug-ng-001.2nd/module_pci.c 2005-02-11 13:48:03.000000000 +0100 @@ -60,10 +60,10 @@ interface = (unsigned char)class; strcpy(pci_string, "pci:"); - sprintf(pci_string + strlen(pci_string), "v%04X", vendor); - sprintf(pci_string + strlen(pci_string), "d%04X", device); - sprintf(pci_string + strlen(pci_string), "sv%04X", subvendor); - sprintf(pci_string + strlen(pci_string), "sd%04X", subdevice); + sprintf(pci_string + strlen(pci_string), "v%08X", vendor); + sprintf(pci_string + strlen(pci_string), "d%08X", device); + sprintf(pci_string + strlen(pci_string), "sv%08X", subvendor); + sprintf(pci_string + strlen(pci_string), "sd%08X", subdevice); sprintf(pci_string + strlen(pci_string), "bc%02X", baseclass); sprintf(pci_string + strlen(pci_string), "sc%02X", subclass); sprintf(pci_string + strlen(pci_string), "i%02X", interface); --17pEHd4RhPHOinZp-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel