]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 299205: Restore name=value format of PCI location strings.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 May 2016 03:42:18 +0000 (03:42 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 May 2016 03:42:18 +0000 (03:42 +0000)
commit0522c14ec849ab455c60f10d08c57a5b7554dc41
tree067e2d03d040a84a18436b4e7ef3b19984f1c0c9
parent2bf361e41c0e2772b7eabcca2dd05a9c08171fde
MFC 299205: Restore name=value format of PCI location strings.

When devctl was added, the location string for PCI devices was changed to
use the PCI "selector" that pciconf and devctl accept.  However, devd
assumes that location strings are formatted as a list of name=value pairs.
As a result, devd is no longer parsing any of the values out of PCI
device events.  Restore the previous format of the PCI location strings
to restore the location and slot keywords in case any devd scripts are
using this.  Add the "selector" as a new 'dbsf' location variable.

git-svn-id: svn://svn.freebsd.org/base/stable/10@299311 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pci/pci.c