/* We register ourselves as hotplug enabled module and let PCI subsystem discover our adapters.  */
static int __init megaraid_init(void)
/* We register ourselves as hotplug enabled module and let PCI subsystem discover our adapters.  */
static int __init megaraid_init(void)
{
	int	rval;
	con_log(CL_ANN, (KERN_INFO "megaraid: %s %s\n", MEGARAID_VERSION,
		MEGARAID_EXT_VERSION));
	if (megaraid_cmd_per_lun > MBOX_MAX_SCSI_CMDS) {
		con_log(CL_ANN, (KERN_WARNING
			"megaraid mailbox: max commands per lun reset to %d\n",
			MBOX_MAX_SCSI_CMDS));
		megaraid_cmd_per_lun = MBOX_MAX_SCSI_CMDS;
	}
	rval = pci_register_driver(&megaraid_pci_driver);
	if (rval < 0) {
		con_log(CL_ANN, (KERN_WARNING
			"megaraid: could not register hotplug support.\n"));
	}
	return rval;
}