git: c40219c572df - main - LinuxKPI: pci: add reset_{prepare,done} to pci_error_handlers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Sep 2026 19:48:13 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=c40219c572df8b4b0c2392ee341d93bc82e6076b
commit c40219c572df8b4b0c2392ee341d93bc82e6076b
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-08-16 22:03:56 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-09-14 19:06:00 +0000
LinuxKPI: pci: add reset_{prepare,done} to pci_error_handlers
Needed by an upcoming wireless driver.
MFC after: 3 days
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D58882
---
sys/compat/linuxkpi/common/include/linux/pci.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
index 73c38f4571ca..8ecc4caaca70 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -942,6 +942,8 @@ struct pci_error_handlers {
pci_ers_result_t (*link_reset)(struct pci_dev *dev);
pci_ers_result_t (*slot_reset)(struct pci_dev *dev);
void (*resume)(struct pci_dev *dev);
+ void (*reset_prepare)(struct pci_dev *);
+ void (*reset_done)(struct pci_dev *);
};
/* FreeBSD does not support SRIOV - yet */