ibm_ocp ethernet OPB clocks

Ralph Siemsen rsiemsen at rossvideo.com
Fri Jul 9 08:07:26 EST 2004


In pretty much all versions of the kernel (I checked 2.4.x, 2.6.7), one
finds in drivers/net/ibm_ocp/ibm_ocp_emac.h:

#define EMAC_M1_OPB_CLK_66              0x00000010      /* 66Mhz */
#define EMAC_M1_OPB_CLK_83              0x00000008      /* 83hz */

I believe these bitfield values are reversed... at least according to
the 440GX usermanual, page 879.  Bug/typo?  Is the usermanual wrong?  Or
perhaps other 4xx series processors have different definitions?

The definitions for 100MHz and >100MHz appear to be correct though.

Is there a current maintainer for this driver?

-Ralph


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list