diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-07-07 15:25:11 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-07-07 15:25:11 +0000 |
commit | 971b5f76327451eda17260f799aad58effbf6a80 (patch) | |
tree | af2dedc7b79f9dbec330d2aaba66f11d720f62b3 /sys/compat/linsysfs/linsysfs.c | |
parent | f06b6fdcb168526e4b93ff5dc6c1ba55979cc871 (diff) | |
download | src-971b5f76327451eda17260f799aad58effbf6a80.tar.gz src-971b5f76327451eda17260f799aad58effbf6a80.zip |
Create PCI_MATCH and pci_match_device
Create a covenience function to match PCI device IDs. It's about 15
years overdue.
Differential Revision: https://reviews.freebsd.org/D15999
Notes
Notes:
svn path=/head/; revision=336066
Diffstat (limited to 'sys/compat/linsysfs/linsysfs.c')
-rw-r--r-- | sys/compat/linsysfs/linsysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linsysfs/linsysfs.c b/sys/compat/linsysfs/linsysfs.c index dd28da5f2e0a..8aaa61ccc64f 100644 --- a/sys/compat/linsysfs/linsysfs.c +++ b/sys/compat/linsysfs/linsysfs.c @@ -273,6 +273,7 @@ linsysfs_fill_vgapci(PFS_FILL_ARGS) return (0); } +#undef PCI_DEV #define PCI_DEV "pci" #define DRMN_DEV "drmn" static int |