mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() Implement the basic PCI abstractions required to write a basic PCI driver. This includes the following data structures: The `pci::Driver` trait represents the interface to the driver and provides `pci::Driver::probe` for the driver to implement. The `pci::Device` abstraction represents a `struct pci_dev` and provides abstractions for common functions, such as `pci::Device::set_master`. In order to provide the PCI specific parts to a generic `driver::Registration` the `driver::RegistrationOps` trait is implemented by `pci::Adapter`. `pci::DeviceId` implements PCI device IDs based on the generic `device_id::RawDevceId` abstraction. Co-developed-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Signed-off-by: Danilo Krummrich <dakr@kernel.org> Tested-by: Dirk Behme <dirk.behme@de.bosch.com> Link: https://lore.kernel.org/r/20241219170425.12036-10-dakr@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
blk.c | ||
bug.c | ||
build_assert.c | ||
build_bug.c | ||
cred.c | ||
device.c | ||
err.c | ||
fs.c | ||
helpers.c | ||
io.c | ||
jump_label.c | ||
kunit.c | ||
mutex.c | ||
page.c | ||
pci.c | ||
pid_namespace.c | ||
rbtree.c | ||
rcu.c | ||
refcount.c | ||
security.c | ||
signal.c | ||
slab.c | ||
spinlock.c | ||
task.c | ||
uaccess.c | ||
vmalloc.c | ||
wait.c | ||
workqueue.c |