On Wed, 2 Apr 2025 06:58:32 +
liwencheng wrote:
>
> +def unbind_platform_one(dev_name):
> +filename = "/sys/bus/platform/devices/%s/driver" % dev_name
> +
> +if exists(filename):
> +try:
> +f = open(os.path.join(filename, "unbind"), "w")
> +except OSErro
This patch mainly adds functions for bind and unbind platform devices,
such as bind_platform_one and unbind_platform_one.
Signed-off-by: liwencheng
---
usertools/dpdk-devbind.py | 131 --
1 file changed, 114 insertions(+), 17 deletions(-)
diff --git a
2 matches
Mail list logo