summaryrefslogtreecommitdiff
path: root/rules/75-net-description.rules
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-30 08:48:46 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-07-30 08:48:51 -0400
commitf6571c3d6454c43956ca243d92d0229ed5a07d8d (patch)
treec6873d97ed81375a9652ad35e18046dd8106739c /rules/75-net-description.rules
parent9930444543b91a61a73d4c98eccf68f06e1ff8b5 (diff)
rules: bring up to date with upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'rules/75-net-description.rules')
-rw-r--r--rules/75-net-description.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/75-net-description.rules b/rules/75-net-description.rules
index fe9fca14db..7e62f8b26b 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"