Fix device scan

- Bump PORTREVISION for package change

PR:		227252
Reported by:	doktornotor <doktornotor@mailinator.com>
Tested by:	<vidwer@gmail.com>
Obtained from:	58d9f25f25
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-05-10 23:14:57 +00:00
parent 4dd5100bee
commit cbc338213e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469602
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= libpci
PORTVERSION= 3.5.6
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= KERNEL_ORG/software/utils/pciutils \
ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \

View File

@ -1,5 +1,14 @@
--- lib/fbsd-device.c.orig 2017-11-17 12:57:00 UTC
+++ lib/fbsd-device.c
@@ -143,7 +143,7 @@ fbsd_scan(struct pci_access *a)
t = pci_alloc_dev(a);
t->bus = matches[i].pc_sel.pc_bus;
t->dev = matches[i].pc_sel.pc_dev;
- t->dev = matches[i].pc_sel.pc_dev;
+ t->func = matches[i].pc_sel.pc_func;
t->domain = matches[i].pc_sel.pc_domain;
t->domain_16 = matches[i].pc_sel.pc_domain;
t->vendor_id = matches[i].pc_vendor;
@@ -254,7 +254,7 @@ fbsd_read(struct pci_dev *d, int pos, by
if (d->access->fd_rw < 0)