ACTION!="add|change", GOTO="end_video"
SUBSYSTEM=="pci", ATTR{class}=="0x030000", ATTRS{vendor}=="0x10de", GOTO="subsystem_pci"
GOTO="end_video"

LABEL="subsystem_pci"
ATTRS{device}=="0x06c0", GOTO="configure_nvidia"
ATTRS{device}=="0x06c4", GOTO="configure_nvidia"
ATTRS{device}=="0x06ca", GOTO="configure_nvidia"
ATTRS{device}=="0x06cd", GOTO="configure_nvidia"
ATTRS{device}=="0x06d1", GOTO="configure_nvidia"
ATTRS{device}=="0x06d2", GOTO="configure_nvidia"
ATTRS{device}=="0x06d8", GOTO="configure_nvidia"
ATTRS{device}=="0x06d9", GOTO="configure_nvidia"
ATTRS{device}=="0x06da", GOTO="configure_nvidia"
ATTRS{device}=="0x06dc", GOTO="configure_nvidia"
ATTRS{device}=="0x06dd", GOTO="configure_nvidia"
ATTRS{device}=="0x06de", GOTO="configure_nvidia"
ATTRS{device}=="0x06df", GOTO="configure_nvidia"
ATTRS{device}=="0x0dc0", GOTO="configure_nvidia"
ATTRS{device}=="0x0dc4", GOTO="configure_nvidia"
ATTRS{device}=="0x0dc5", GOTO="configure_nvidia"
ATTRS{device}=="0x0dc6", GOTO="configure_nvidia"
ATTRS{device}=="0x0dcd", GOTO="configure_nvidia"
ATTRS{device}=="0x0dce", GOTO="configure_nvidia"
ATTRS{device}=="0x0dd1", GOTO="configure_nvidia"
ATTRS{device}=="0x0dd2", GOTO="configure_nvidia"
ATTRS{device}=="0x0dd3", GOTO="configure_nvidia"
ATTRS{device}=="0x0dd6", GOTO="configure_nvidia"
ATTRS{device}=="0x0dd8", GOTO="configure_nvidia"
ATTRS{device}=="0x0dda", GOTO="configure_nvidia"
ATTRS{device}=="0x0de0", GOTO="configure_nvidia"
ATTRS{device}=="0x0de1", GOTO="configure_nvidia"
ATTRS{device}=="0x0de2", GOTO="configure_nvidia"
ATTRS{device}=="0x0de3", GOTO="configure_nvidia"
ATTRS{device}=="0x0de4", GOTO="configure_nvidia"
ATTRS{device}=="0x0de5", GOTO="configure_nvidia"
ATTRS{device}=="0x0de7", GOTO="configure_nvidia"
ATTRS{device}=="0x0de8", GOTO="configure_nvidia"
ATTRS{device}=="0x0de9", GOTO="configure_nvidia"
ATTRS{device}=="0x0dea", GOTO="configure_nvidia"
ATTRS{device}=="0x0deb", GOTO="configure_nvidia"
ATTRS{device}=="0x0dec", GOTO="configure_nvidia"
ATTRS{device}=="0x0ded", GOTO="configure_nvidia"
ATTRS{device}=="0x0dee", GOTO="configure_nvidia"
ATTRS{device}=="0x0def", GOTO="configure_nvidia"
ATTRS{device}=="0x0df0", GOTO="configure_nvidia"
ATTRS{device}=="0x0df1", GOTO="configure_nvidia"
ATTRS{device}=="0x0df2", GOTO="configure_nvidia"
ATTRS{device}=="0x0df3", GOTO="configure_nvidia"
ATTRS{device}=="0x0df4", GOTO="configure_nvidia"
ATTRS{device}=="0x0df5", GOTO="configure_nvidia"
ATTRS{device}=="0x0df6", GOTO="configure_nvidia"
ATTRS{device}=="0x0df7", GOTO="configure_nvidia"
ATTRS{device}=="0x0df8", GOTO="configure_nvidia"
ATTRS{device}=="0x0df9", GOTO="configure_nvidia"
ATTRS{device}=="0x0dfa", GOTO="configure_nvidia"
ATTRS{device}=="0x0dfc", GOTO="configure_nvidia"
ATTRS{device}=="0x0e22", GOTO="configure_nvidia"
ATTRS{device}=="0x0e23", GOTO="configure_nvidia"
ATTRS{device}=="0x0e24", GOTO="configure_nvidia"
ATTRS{device}=="0x0e30", GOTO="configure_nvidia"
ATTRS{device}=="0x0e31", GOTO="configure_nvidia"
ATTRS{device}=="0x0e3a", GOTO="configure_nvidia"
ATTRS{device}=="0x0e3b", GOTO="configure_nvidia"
ATTRS{device}=="0x0f00", GOTO="configure_nvidia"
ATTRS{device}=="0x0f01", GOTO="configure_nvidia"
ATTRS{device}=="0x0f02", GOTO="configure_nvidia"
ATTRS{device}=="0x0f03", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc0", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc1", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc2", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc6", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc8", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc9", GOTO="configure_nvidia"
ATTRS{device}=="0x0fcd", GOTO="configure_nvidia"
ATTRS{device}=="0x0fce", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd1", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd2", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd3", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd4", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd5", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd8", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd9", GOTO="configure_nvidia"
ATTRS{device}=="0x0fdf", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe0", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe1", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe2", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe3", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe4", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe9", GOTO="configure_nvidia"
ATTRS{device}=="0x0fea", GOTO="configure_nvidia"
ATTRS{device}=="0x0fec", GOTO="configure_nvidia"
ATTRS{device}=="0x0fed", GOTO="configure_nvidia"
ATTRS{device}=="0x0fee", GOTO="configure_nvidia"
ATTRS{device}=="0x0fef", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff2", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff3", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff6", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff8", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff9", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffa", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffb", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffc", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffd", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffe", GOTO="configure_nvidia"
ATTRS{device}=="0x0fff", GOTO="configure_nvidia"
ATTRS{device}=="0x1001", GOTO="configure_nvidia"
ATTRS{device}=="0x1004", GOTO="configure_nvidia"
ATTRS{device}=="0x1005", GOTO="configure_nvidia"
ATTRS{device}=="0x1007", GOTO="configure_nvidia"
ATTRS{device}=="0x1008", GOTO="configure_nvidia"
ATTRS{device}=="0x100a", GOTO="configure_nvidia"
ATTRS{device}=="0x100c", GOTO="configure_nvidia"
ATTRS{device}=="0x1021", GOTO="configure_nvidia"
ATTRS{device}=="0x1022", GOTO="configure_nvidia"
ATTRS{device}=="0x1023", GOTO="configure_nvidia"
ATTRS{device}=="0x1024", GOTO="configure_nvidia"
ATTRS{device}=="0x1026", GOTO="configure_nvidia"
ATTRS{device}=="0x1027", GOTO="configure_nvidia"
ATTRS{device}=="0x1028", GOTO="configure_nvidia"
ATTRS{device}=="0x1029", GOTO="configure_nvidia"
ATTRS{device}=="0x102a", GOTO="configure_nvidia"
ATTRS{device}=="0x102d", GOTO="configure_nvidia"
ATTRS{device}=="0x103a", GOTO="configure_nvidia"
ATTRS{device}=="0x103c", GOTO="configure_nvidia"
ATTRS{device}=="0x1040", GOTO="configure_nvidia"
ATTRS{device}=="0x1042", GOTO="configure_nvidia"
ATTRS{device}=="0x1048", GOTO="configure_nvidia"
ATTRS{device}=="0x1049", GOTO="configure_nvidia"
ATTRS{device}=="0x104a", GOTO="configure_nvidia"
ATTRS{device}=="0x104b", GOTO="configure_nvidia"
ATTRS{device}=="0x104c", GOTO="configure_nvidia"
ATTRS{device}=="0x1050", GOTO="configure_nvidia"
ATTRS{device}=="0x1051", GOTO="configure_nvidia"
ATTRS{device}=="0x1052", GOTO="configure_nvidia"
ATTRS{device}=="0x1054", GOTO="configure_nvidia"
ATTRS{device}=="0x1055", GOTO="configure_nvidia"
ATTRS{device}=="0x1056", GOTO="configure_nvidia"
ATTRS{device}=="0x1057", GOTO="configure_nvidia"
ATTRS{device}=="0x1058", GOTO="configure_nvidia"
ATTRS{device}=="0x1059", GOTO="configure_nvidia"
ATTRS{device}=="0x105a", GOTO="configure_nvidia"
ATTRS{device}=="0x105b", GOTO="configure_nvidia"
ATTRS{device}=="0x107c", GOTO="configure_nvidia"
ATTRS{device}=="0x107d", GOTO="configure_nvidia"
ATTRS{device}=="0x1080", GOTO="configure_nvidia"
ATTRS{device}=="0x1081", GOTO="configure_nvidia"
ATTRS{device}=="0x1082", GOTO="configure_nvidia"
ATTRS{device}=="0x1084", GOTO="configure_nvidia"
ATTRS{device}=="0x1086", GOTO="configure_nvidia"
ATTRS{device}=="0x1087", GOTO="configure_nvidia"
ATTRS{device}=="0x1088", GOTO="configure_nvidia"
ATTRS{device}=="0x1089", GOTO="configure_nvidia"
ATTRS{device}=="0x108b", GOTO="configure_nvidia"
ATTRS{device}=="0x1091", GOTO="configure_nvidia"
ATTRS{device}=="0x1094", GOTO="configure_nvidia"
ATTRS{device}=="0x1096", GOTO="configure_nvidia"
ATTRS{device}=="0x109a", GOTO="configure_nvidia"
ATTRS{device}=="0x109b", GOTO="configure_nvidia"
ATTRS{device}=="0x1140", GOTO="configure_nvidia"
ATTRS{device}=="0x1180", GOTO="configure_nvidia"
ATTRS{device}=="0x1183", GOTO="configure_nvidia"
ATTRS{device}=="0x1184", GOTO="configure_nvidia"
ATTRS{device}=="0x1185", GOTO="configure_nvidia"
ATTRS{device}=="0x1187", GOTO="configure_nvidia"
ATTRS{device}=="0x1188", GOTO="configure_nvidia"
ATTRS{device}=="0x1189", GOTO="configure_nvidia"
ATTRS{device}=="0x118a", GOTO="configure_nvidia"
ATTRS{device}=="0x118e", GOTO="configure_nvidia"
ATTRS{device}=="0x118f", GOTO="configure_nvidia"
ATTRS{device}=="0x1193", GOTO="configure_nvidia"
ATTRS{device}=="0x1194", GOTO="configure_nvidia"
ATTRS{device}=="0x1195", GOTO="configure_nvidia"
ATTRS{device}=="0x1198", GOTO="configure_nvidia"
ATTRS{device}=="0x1199", GOTO="configure_nvidia"
ATTRS{device}=="0x119a", GOTO="configure_nvidia"
ATTRS{device}=="0x119d", GOTO="configure_nvidia"
ATTRS{device}=="0x119e", GOTO="configure_nvidia"
ATTRS{device}=="0x119f", GOTO="configure_nvidia"
ATTRS{device}=="0x11a0", GOTO="configure_nvidia"
ATTRS{device}=="0x11a1", GOTO="configure_nvidia"
ATTRS{device}=="0x11a2", GOTO="configure_nvidia"
ATTRS{device}=="0x11a3", GOTO="configure_nvidia"
ATTRS{device}=="0x11a7", GOTO="configure_nvidia"
ATTRS{device}=="0x11b4", GOTO="configure_nvidia"
ATTRS{device}=="0x11b6", GOTO="configure_nvidia"
ATTRS{device}=="0x11b7", GOTO="configure_nvidia"
ATTRS{device}=="0x11b8", GOTO="configure_nvidia"
ATTRS{device}=="0x11ba", GOTO="configure_nvidia"
ATTRS{device}=="0x11bc", GOTO="configure_nvidia"
ATTRS{device}=="0x11bd", GOTO="configure_nvidia"
ATTRS{device}=="0x11be", GOTO="configure_nvidia"
ATTRS{device}=="0x11bf", GOTO="configure_nvidia"
ATTRS{device}=="0x11c0", GOTO="configure_nvidia"
ATTRS{device}=="0x11c2", GOTO="configure_nvidia"
ATTRS{device}=="0x11c3", GOTO="configure_nvidia"
ATTRS{device}=="0x11c4", GOTO="configure_nvidia"
ATTRS{device}=="0x11c5", GOTO="configure_nvidia"
ATTRS{device}=="0x11c6", GOTO="configure_nvidia"
ATTRS{device}=="0x11c8", GOTO="configure_nvidia"
ATTRS{device}=="0x11cb", GOTO="configure_nvidia"
ATTRS{device}=="0x11e0", GOTO="configure_nvidia"
ATTRS{device}=="0x11e1", GOTO="configure_nvidia"
ATTRS{device}=="0x11e2", GOTO="configure_nvidia"
ATTRS{device}=="0x11e3", GOTO="configure_nvidia"
ATTRS{device}=="0x11fa", GOTO="configure_nvidia"
ATTRS{device}=="0x11fc", GOTO="configure_nvidia"
ATTRS{device}=="0x1200", GOTO="configure_nvidia"
ATTRS{device}=="0x1201", GOTO="configure_nvidia"
ATTRS{device}=="0x1203", GOTO="configure_nvidia"
ATTRS{device}=="0x1205", GOTO="configure_nvidia"
ATTRS{device}=="0x1206", GOTO="configure_nvidia"
ATTRS{device}=="0x1207", GOTO="configure_nvidia"
ATTRS{device}=="0x1208", GOTO="configure_nvidia"
ATTRS{device}=="0x1210", GOTO="configure_nvidia"
ATTRS{device}=="0x1211", GOTO="configure_nvidia"
ATTRS{device}=="0x1212", GOTO="configure_nvidia"
ATTRS{device}=="0x1213", GOTO="configure_nvidia"
ATTRS{device}=="0x1241", GOTO="configure_nvidia"
ATTRS{device}=="0x1243", GOTO="configure_nvidia"
ATTRS{device}=="0x1244", GOTO="configure_nvidia"
ATTRS{device}=="0x1245", GOTO="configure_nvidia"
ATTRS{device}=="0x1246", GOTO="configure_nvidia"
ATTRS{device}=="0x1247", GOTO="configure_nvidia"
ATTRS{device}=="0x1248", GOTO="configure_nvidia"
ATTRS{device}=="0x1249", GOTO="configure_nvidia"
ATTRS{device}=="0x124b", GOTO="configure_nvidia"
ATTRS{device}=="0x124d", GOTO="configure_nvidia"
ATTRS{device}=="0x1251", GOTO="configure_nvidia"
ATTRS{device}=="0x1280", GOTO="configure_nvidia"
ATTRS{device}=="0x1281", GOTO="configure_nvidia"
ATTRS{device}=="0x1282", GOTO="configure_nvidia"
ATTRS{device}=="0x1284", GOTO="configure_nvidia"
ATTRS{device}=="0x1286", GOTO="configure_nvidia"
ATTRS{device}=="0x1287", GOTO="configure_nvidia"
ATTRS{device}=="0x1288", GOTO="configure_nvidia"
ATTRS{device}=="0x1289", GOTO="configure_nvidia"
ATTRS{device}=="0x128b", GOTO="configure_nvidia"
ATTRS{device}=="0x1290", GOTO="configure_nvidia"
ATTRS{device}=="0x1291", GOTO="configure_nvidia"
ATTRS{device}=="0x1292", GOTO="configure_nvidia"
ATTRS{device}=="0x1293", GOTO="configure_nvidia"
ATTRS{device}=="0x1295", GOTO="configure_nvidia"
ATTRS{device}=="0x1296", GOTO="configure_nvidia"
ATTRS{device}=="0x1298", GOTO="configure_nvidia"
ATTRS{device}=="0x1299", GOTO="configure_nvidia"
ATTRS{device}=="0x129a", GOTO="configure_nvidia"
ATTRS{device}=="0x12b9", GOTO="configure_nvidia"
ATTRS{device}=="0x12ba", GOTO="configure_nvidia"
ATTRS{device}=="0x1340", GOTO="configure_nvidia"
ATTRS{device}=="0x1341", GOTO="configure_nvidia"
ATTRS{device}=="0x1344", GOTO="configure_nvidia"
ATTRS{device}=="0x1346", GOTO="configure_nvidia"
ATTRS{device}=="0x1347", GOTO="configure_nvidia"
ATTRS{device}=="0x1348", GOTO="configure_nvidia"
ATTRS{device}=="0x1349", GOTO="configure_nvidia"
ATTRS{device}=="0x134b", GOTO="configure_nvidia"
ATTRS{device}=="0x134d", GOTO="configure_nvidia"
ATTRS{device}=="0x134e", GOTO="configure_nvidia"
ATTRS{device}=="0x134f", GOTO="configure_nvidia"
ATTRS{device}=="0x137a", GOTO="configure_nvidia"
ATTRS{device}=="0x137d", GOTO="configure_nvidia"
ATTRS{device}=="0x1380", GOTO="configure_nvidia"
ATTRS{device}=="0x1381", GOTO="configure_nvidia"
ATTRS{device}=="0x1382", GOTO="configure_nvidia"
ATTRS{device}=="0x1390", GOTO="configure_nvidia"
ATTRS{device}=="0x1391", GOTO="configure_nvidia"
ATTRS{device}=="0x1392", GOTO="configure_nvidia"
ATTRS{device}=="0x1393", GOTO="configure_nvidia"
ATTRS{device}=="0x1398", GOTO="configure_nvidia"
ATTRS{device}=="0x1399", GOTO="configure_nvidia"
ATTRS{device}=="0x139a", GOTO="configure_nvidia"
ATTRS{device}=="0x139b", GOTO="configure_nvidia"
ATTRS{device}=="0x139c", GOTO="configure_nvidia"
ATTRS{device}=="0x139d", GOTO="configure_nvidia"
ATTRS{device}=="0x13b0", GOTO="configure_nvidia"
ATTRS{device}=="0x13b1", GOTO="configure_nvidia"
ATTRS{device}=="0x13b2", GOTO="configure_nvidia"
ATTRS{device}=="0x13b3", GOTO="configure_nvidia"
ATTRS{device}=="0x13b9", GOTO="configure_nvidia"
ATTRS{device}=="0x13ba", GOTO="configure_nvidia"
ATTRS{device}=="0x13bb", GOTO="configure_nvidia"
ATTRS{device}=="0x13bc", GOTO="configure_nvidia"
ATTRS{device}=="0x13c0", GOTO="configure_nvidia"
ATTRS{device}=="0x13c2", GOTO="configure_nvidia"
ATTRS{device}=="0x13d7", GOTO="configure_nvidia"
ATTRS{device}=="0x13d8", GOTO="configure_nvidia"
ATTRS{device}=="0x13d9", GOTO="configure_nvidia"
ATTRS{device}=="0x13da", GOTO="configure_nvidia"
ATTRS{device}=="0x13f0", GOTO="configure_nvidia"
ATTRS{device}=="0x13f1", GOTO="configure_nvidia"
ATTRS{device}=="0x13f2", GOTO="configure_nvidia"
ATTRS{device}=="0x13f3", GOTO="configure_nvidia"
ATTRS{device}=="0x13f8", GOTO="configure_nvidia"
ATTRS{device}=="0x13f9", GOTO="configure_nvidia"
ATTRS{device}=="0x13fa", GOTO="configure_nvidia"
ATTRS{device}=="0x13fb", GOTO="configure_nvidia"
ATTRS{device}=="0x1401", GOTO="configure_nvidia"
ATTRS{device}=="0x1402", GOTO="configure_nvidia"
ATTRS{device}=="0x1406", GOTO="configure_nvidia"
ATTRS{device}=="0x1407", GOTO="configure_nvidia"
ATTRS{device}=="0x1427", GOTO="configure_nvidia"
ATTRS{device}=="0x1430", GOTO="configure_nvidia"
ATTRS{device}=="0x1431", GOTO="configure_nvidia"
ATTRS{device}=="0x1617", GOTO="configure_nvidia"
ATTRS{device}=="0x1618", GOTO="configure_nvidia"
ATTRS{device}=="0x1619", GOTO="configure_nvidia"
ATTRS{device}=="0x161a", GOTO="configure_nvidia"
ATTRS{device}=="0x1667", GOTO="configure_nvidia"
ATTRS{device}=="0x179c", GOTO="configure_nvidia"
ATTRS{device}=="0x17c2", GOTO="configure_nvidia"
ATTRS{device}=="0x17c8", GOTO="configure_nvidia"
ATTRS{device}=="0x17f0", GOTO="configure_nvidia"
ATTRS{device}=="0x17f1", GOTO="configure_nvidia"
ATTRS{device}=="0x17fd", GOTO="configure_nvidia"
ATTRS{device}=="0x1b80", GOTO="configure_nvidia"
ATTRS{device}=="0x1b81", GOTO="configure_nvidia"
GOTO="configure_nvidia-legacy"

LABEL="configure_nvidia"
ENV{xorg_driver}="nvidia", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xorg-configure@nvidia.service"
GOTO="end_video"

LABEL="configure_nvidia-legacy"
ENV{xorg_driver}="nvidia", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xorg-configure@nvidia-legacy.service"
GOTO="end_video"

LABEL="end_video"
