BCM57766 on Apple T2 Macs (Macmini8,1) has no dedicated EEPROM and the
chip firmware handshake fails (the T2 intercepts PCI config space),
leaving the SRAM mailbox unpopulated. All four existing MAC retrieval
paths (SRAM mailbox, NVRAM, EEPROM, firmware stub) fail, causing bge to
abort attach with "failed to read station address".
Work around this with two changes:
- Tolerate EEPROM read failure on BCM57766. The chip is copper-only so hwcfg=0 is correct; skip the fatal error that aborts attach before bge_get_eaddr() is ever called.
- Implement bge_get_eaddr_fw() to read a "hint.bge.N.mac" string (e.g. "f0:18:98:f4:1e:2f") from loader(8) tunable / kenv.
This is a workaround until the T2 BCE API is understood well enough to
either poke the chip firmware into completing its handshake or read the
MAC from the T2 directly.