nchan = ZE_V1_NPORTS;
} else {
card_name = "Cyclades-8Zo";
+ nchan = 8;
#ifdef CY_PCI_DEBUG
if (mailbox == ZO_V1) {
*/
if ((mailbox == ZO_V1) || (mailbox == ZO_V2))
cy_writel(addr2 + ID_ADDRESS, 0L);
-
- retval = cyz_load_fw(pdev, addr2, addr0, irq);
- if (retval)
- goto err_unmap;
- /* This must be a Cyclades-8Zo/PCI. The extendable
- version will have a different device_id and will
- be allocated its maximum number of ports. */
- nchan = 8;
}
+
+ retval = cyz_load_fw(pdev, addr2, addr0, irq);
+ if (retval)
+ goto err_unmap;
}
if ((cy_next_channel + nchan) > NR_PORTS) {