|
@@ -1118,21 +1118,3 @@ void mv88e6xxx_g2_irq_mdio_free(struct mv88e6xxx_chip *chip,
|
|
|
for (phy = 0; phy < chip->info->num_internal_phys; phy++)
|
|
|
irq_dispose_mapping(bus->irq[phy]);
|
|
|
}
|
|
|
-
|
|
|
-int mv88e6xxx_g2_setup(struct mv88e6xxx_chip *chip)
|
|
|
-{
|
|
|
- u16 reg;
|
|
|
- int err;
|
|
|
-
|
|
|
- /* Ignore removed tag data on doubly tagged packets, disable
|
|
|
- * flow control messages, force flow control priority to the
|
|
|
- * highest, and send all special multicast frames to the CPU
|
|
|
- * port at the highest priority.
|
|
|
- */
|
|
|
- reg = MV88E6XXX_G2_SWITCH_MGMT_FORCE_FLOW_CTL_PRI | (0x7 << 4);
|
|
|
- err = mv88e6xxx_g2_write(chip, MV88E6XXX_G2_SWITCH_MGMT, reg);
|
|
|
- if (err)
|
|
|
- return err;
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|