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)
Sun, Oct 12, 7:21 PM
Unknown Object (File)
Sun, Oct 12, 7:21 PM
Unknown Object (File)
Sun, Oct 12, 7:21 PM
Unknown Object (File)
Sun, Oct 12, 7:50 AM
Unknown Object (File)
Fri, Oct 10, 4:00 PM
Unknown Object (File)
Wed, Oct 8, 3:32 AM
Unknown Object (File)
Tue, Oct 7, 6:08 AM
Unknown Object (File)
Mon, Oct 6, 7:27 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?