Home
last modified time | relevance | path

Searched refs:ipmi_major (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/char/ipmi/
Dipmi_devintf.c794 static int ipmi_major; variable
795 module_param(ipmi_major, int, 0);
796 MODULE_PARM_DESC(ipmi_major, "Sets the major number of the IPMI device. By"
816 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_new_smi()
834 dev_t dev = MKDEV(ipmi_major, if_num); in ipmi_smi_gone()
860 if (ipmi_major < 0) in init_ipmi_devintf()
869 rv = register_chrdev(ipmi_major, DEVICE_NAME, &ipmi_fops); in init_ipmi_devintf()
872 pr_err("ipmi: can't get major %d\n", ipmi_major); in init_ipmi_devintf()
876 if (ipmi_major == 0) { in init_ipmi_devintf()
877 ipmi_major = rv; in init_ipmi_devintf()
[all …]