Lines Matching refs:hw_revision
89 u8 hw_revision, old_ver; in ene_hw_detect() local
97 hw_revision = ene_read_reg(dev, ENE_ECHV); in ene_hw_detect()
107 if (hw_revision == 0xFF) { in ene_hw_detect()
115 chip_major, chip_minor, old_ver, hw_revision); in ene_hw_detect()
124 if (chip_major == 0x39 && chip_minor == 0x26 && hw_revision == 0xC0) { in ene_hw_detect()
125 dev->hw_revision = ENE_HW_C; in ene_hw_detect()
127 } else if (old_ver == 0x24 && hw_revision == 0xC0) { in ene_hw_detect()
128 dev->hw_revision = ENE_HW_B; in ene_hw_detect()
131 dev->hw_revision = ENE_HW_D; in ene_hw_detect()
136 if (dev->hw_revision < ENE_HW_C) in ene_hw_detect()
400 if (dev->hw_revision < ENE_HW_C) in ene_rx_setup()
469 if (dev->hw_revision < ENE_HW_C) { in ene_rx_enable_hw()
591 if (dev->hw_revision == ENE_HW_C) in ene_tx_enable()
683 if (dev->hw_revision < ENE_HW_C) { in ene_irq_status()