chiark / gitweb /
[PATCH] udev kill extra bus_id compares in match_id
authorpatmans@us.ibm.com <patmans@us.ibm.com>
Thu, 12 Feb 2004 09:24:54 +0000 (01:24 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:26 +0000 (21:32 -0700)
commit5a42932b9a783670ae3406fb2c3462036bb16d32
tree5156ae2b54a039946878e076a9cbb3b57cfc4b3d
parent7b1cbec91a51a8d8f1546935d942744b0f5a274e
[PATCH] udev kill extra bus_id compares in match_id

Kill the extra bus_id check in match_id. This is wrong, especially since
we check for rule matches with the parent devices on a given devices path.

For example, given a device path of:

/sys/devices/pci0000:01/0000:01:0c.0/host5/5:0:2:0

With this patch, the following rule will no longer match:

BUS="scsi", ID="host5", NAME="sd-bus_id-host5"
namedev.c