]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: kcs_bmc: Split out kcs_bmc_cdev_ipmi
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 8 Jun 2021 10:47:45 +0000 (20:17 +0930)
committerCorey Minyard <cminyard@mvista.com>
Tue, 22 Jun 2021 00:50:13 +0000 (19:50 -0500)
commit99bfb500569beb83cdc6a444ff08742b054a7570
tree23d6db6cf14ba3b659241a3add3d797e108cbedd
parent3ae89ba0fe9b8cfbae1556c1b9d48f25601fe6a3
ipmi: kcs_bmc: Split out kcs_bmc_cdev_ipmi

Take steps towards defining a coherent API to separate the KCS device
drivers from the userspace interface. Decreasing the coupling will
improve the separation of concerns and enable the introduction of
alternative userspace interfaces.

For now, simply split the chardev logic out to a separate file. The code
continues to build into the same module.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Zev Weiss <zweiss@equinix.com>
Message-Id: <20210608104757.582199-5-andrew@aj.id.au>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/Makefile
drivers/char/ipmi/kcs_bmc.c
drivers/char/ipmi/kcs_bmc.h
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c [new file with mode: 0644]