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)
commit55ab48b4e356212fbe084ca110db73bb9a6e7058
tree23d6db6cf14ba3b659241a3add3d797e108cbedd
parent961f7a3af9a9e60bbd2f95ae2d3e9e5e6f41fe6a
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]