/* HP's Remote Management Console. The Diva chip came in several different versions. N-class, L2000 and A500 have two Diva chips, each with 3 UARTs (the third UART on the second chip is unused). Superdome and Keystone have one Diva chip with 3 UARTs. Some later machines have one Diva chip, but it has been expanded to 5 UARTs.  */
static int pci_hp_diva_init(struct pci_dev *dev)
/* HP's Remote Management Console. The Diva chip came in several different versions. N-class, L2000 and A500 have two Diva chips, each with 3 UARTs (the third UART on the second chip is unused). Superdome and Keystone have one Diva chip with 3 UARTs. Some later machines have one Diva chip, but it has been expanded to 5 UARTs.  */
static int pci_hp_diva_init(struct pci_dev *dev)
{
	int rc = 0;
	switch (dev->subsystem_device) {
	case PCI_DEVICE_ID_HP_DIVA_TOSCA1:
	case PCI_DEVICE_ID_HP_DIVA_HALFDOME:
	case PCI_DEVICE_ID_HP_DIVA_KEYSTONE:
	case PCI_DEVICE_ID_HP_DIVA_EVEREST:
		rc = 3;
		break;
	case PCI_DEVICE_ID_HP_DIVA_TOSCA2:
		rc = 2;
		break;
	case PCI_DEVICE_ID_HP_DIVA_MAESTRO:
		rc = 4;
		break;
	case PCI_DEVICE_ID_HP_DIVA_POWERBAR:
	case PCI_DEVICE_ID_HP_DIVA_HURRICANE:
		rc = 1;
		break;
	}
	return rc;
}