Page MenuHomeFreeBSD

linuxkpi: Add `pci_device_is_present()`
ClosedPublic

Authored by dumbbell on Jan 22 2023, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:18 AM
Unknown Object (File)
Dec 12 2023, 9:32 AM
Unknown Object (File)
Nov 2 2023, 11:34 PM
Unknown Object (File)
Nov 2 2023, 11:34 PM
Unknown Object (File)
Nov 2 2023, 11:34 PM
Unknown Object (File)
Nov 2 2023, 11:22 PM
Unknown Object (File)
Aug 11 2023, 8:50 AM
Unknown Object (File)
Aug 11 2023, 8:50 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 23 2023, 7:42 AM
This revision was automatically updated to reflect the committed changes.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/pci.h
1681

The declaration should be at the top of the file?

sys/compat/linuxkpi/common/src/linux_pci.c
1006

Ca we not fold this into return (bus_child_present(pdev->dev.bsddev)); continuing to assume pdev cannot be NULL?