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:
parent
4dd5100bee
commit
cbc338213e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469602
@ -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/ \
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user