Subject: Marvell 64260 gfe_attach(); evbppc
To: None <port-powerpc@netbsd.org>
From: Doug Fraser <dwfraser@onebox.com>
List: port-powerpc
Date: 05/02/2005 13:33:19
In gfe_attach(), sys/dev/marvell/if_gfe.c
The SDMA config register is set up on lines 330 -> 333
In that section, the BLMR and BLMT flags are not set up.
The Marvell sets these to Little Endian on reset, and for the
evbppc port, they need to be big endian (bits cleared.).
Would it be best to just clear those bits here or to set/clear
based on a config setting?
Is anyone using this port with a Marvell bridge with the
BLMT/BLMR bits set to Little Endian?
--
Douglas Fraser
dwfraser@onebox.com