Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rrojo/pci device updates #2609

Merged
merged 4 commits into from May 24, 2022
Merged

Rrojo/pci device updates #2609

merged 4 commits into from May 24, 2022

Conversation

r-rojo
Copy link
Contributor

@r-rojo r-rojo commented May 24, 2022

  • Fixup coding sytle in pci_device.py
  • Add pci_driver class
  • Add driver property to pci_node class
  • Fix unbind method in sysfs_driver to test for sysfs_node instead
    of sysfs_device
  • Add bind method to pci_node, sysfs_driver, and sysfs_device
  • Add str() and repr() support to sysfs_driver
  • Add 'bind' action to pci_device command

Fixup coding sytle in pci_device.py

Signed-off-by: Rodrigo Rojo <rodrigo.rojo@intel.com>
* Add pci_driver class
* Add `driver` property to `pci_node` class
* Fix `unbind` method in `sysfs_driver` to test for sysfs_node instead
  of sysfs_device
* Add `bind` method to `pci_node`, `sysfs_driver`,  and `sysfs_device`
* Add str() and repr() support to `sysfs_driver`

Signed-off-by: Rodrigo Rojo <rodrigo.rojo@intel.com>
Signed-off-by: Rodrigo Rojo <rodrigo.rojo@intel.com>
@r-rojo r-rojo self-assigned this May 24, 2022
@r-rojo r-rojo merged commit beed59d into master May 24, 2022
@r-rojo r-rojo deleted the rrojo/pci_device-updates branch May 24, 2022 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants