X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=rules%2F75-net-description.rules;h=7e62f8b26b79c16335fa582274be50fb87defe24;hp=fe9fca14db5e6d5af11da40bfe3a9934ea359e2b;hb=d09d5ecda2172ba539f1b08da9f3e9787be37229;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/rules/75-net-description.rules b/rules/75-net-description.rules index fe9fca14d..7e62f8b26 100644 --- a/rules/75-net-description.rules +++ b/rules/75-net-description.rules @@ -4,11 +4,11 @@ ACTION=="remove", GOTO="net_end" SUBSYSTEM!="net", GOTO="net_end" IMPORT{builtin}="net_id" + SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb" SUBSYSTEMS=="usb", GOTO="net_end" SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}" - -IMPORT{builtin}="hwdb" +SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci" LABEL="net_end"