HomeFreeBSD

When the switch is set to operate in the Multi Chip Addressing Mode we

Description

When the switch is set to operate in the Multi Chip Addressing Mode we
cannot access the GLOBAL2 register directly.

Despite the comment in code (which was misleading), the indirect access is
only used to read the switch CONFIG data from the scrap register and not
for the GLOBAL2 access.

Use the dsa data to define when the switch is in the Multi Chip Addressing
Mode (a even address different than zero).

While here fix a typo.

Sponsored by: Rubicon Communications, LLC (Netgate)

Details

Committed
loosApr 30 2017, 7:51 AM
Parents
rS317604: Set the correct default for #address-cells variable when the property does
Branches
Unknown
Tags
Unknown