dd7b6aadaa
- Avoid having num_of_ports as 0 [to prevent a division by 0 via MFW_PORT()]. Also fix the MFW_PORT() macro for CMT. - Read the device's number of ports from shmem. - Rename num_ports_in_engines to num_ports_in_engine. Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>