2 Jun 2006 18:55
ral endian issue
Sean Boudreau <seanb <at> qnx.com>
2006-06-02 16:55:36 GMT
2006-06-02 16:55:36 GMT
Hi: The eeprom bits are shifted out in host order. Regards, -seanb Index: dev/ic/ral.c =================================================================== RCS file: /cvsroot/src/sys/dev/ic/ral.c,v retrieving revision 1.6 diff -c -r1.6 ral.c *** dev/ic/ral.c 18 Nov 2005 16:53:56 -0000 1.6 --- dev/ic/ral.c 2 Jun 2006 16:50:34 -0000 *************** *** 993,999 **** RAL_EEPROM_CTL(sc, 0); RAL_EEPROM_CTL(sc, RAL_EEPROM_C); ! return le16toh(val); } /* --- 993,999 ---- RAL_EEPROM_CTL(sc, 0); RAL_EEPROM_CTL(sc, RAL_EEPROM_C); ! return val;(Continue reading)
+ /* Grow our congestion window if neccecary. */
RSS Feed