/* This is it. Find all the controllers and register them. returns the number of block devices registered.  */
static int __init cpqarray_init(void)
/* This is it. Find all the controllers and register them. returns the number of block devices registered.  */
static int __init cpqarray_init(void)
{
	int num_cntlrs_reg = 0;
	int i;
	int rc = 0;
	printk(DRIVER_NAME "\n");
	rc = pci_register_driver(&cpqarray_pci_driver);
	if (rc)
		return rc;
	cpqarray_eisa_detect();
	for (i=0; i < MAX_CTLR; i++) {
		if (hba[i] != NULL)
			num_cntlrs_reg++;
	}
	if (num_cntlrs_reg)
		return 0;
	else {
		pci_unregister_driver(&cpqarray_pci_driver);
		return -ENODEV;
	}
}