With the IP35 support series [1] posted, these two changes let ioc3-eth
drive the IOC3 of the SGI Fuel, which sits behind an XBridge and has no
MAC PROM.
Patch 1 applies the DMA attributes and the RX barrier's upper address
bits only to 64-bit direct-mapped addresses, so the IOC3 can use a
bridge's 32-bit direct window. Patch 2 asks
eth_platform_get_mac_address() when the 1-wire MAC PROM read fails,
and uses a random address once deferred probing gives up.
Both were posted as 25/53 and 38/53 of the IP35 series v2 [1] and are
reposted on their own for net-next, as Jakub asked [2]. The rest of that
series puts an IOC3 behind an XBridge or PIC on the 32-bit window and
supplies the MAC address from the L1 system controller. There is no
build dependency in either direction, and IOC3 Ethernet on IP35 machines
needs both sides.
Tested on an SGI Fuel.
[1] https://lore.kernel.org/all/cover.1791890466.git.kaloz@kernel.org/ (local)
[2] https://lore.kernel.org/all/20261021073921.07632a37@kernel.org/ (local)
Imre Kaloz (2):
net: sgi: ioc3-eth: apply the DMA attributes only to 64-bit addresses
net: sgi: ioc3-eth: fall back to the platform MAC address
drivers/net/ethernet/sgi/ioc3-eth.c | 43 ++++++++++++++++++++++++-----
1 file changed, 36 insertions(+), 7 deletions(-)
base-commit: 97ced2c090bfc2156db31fca9f52cf253e4bc186
--
2.47.3