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)
Fri, May 15, 5:25 PM
Unknown Object (File)
Fri, May 15, 5:09 PM
Unknown Object (File)
Apr 19 2026, 6:35 AM
Unknown Object (File)
Apr 17 2026, 9:32 AM
Unknown Object (File)
Apr 16 2026, 5:23 PM
Unknown Object (File)
Apr 16 2026, 4:00 PM
Unknown Object (File)
Apr 15 2026, 5:31 AM
Unknown Object (File)
Apr 13 2026, 6:41 PM

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?