public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Bug in cs89x0.c?
@ 2008-03-28 15:09 Guennadi Liakhovetski
  0 siblings, 0 replies; only message in thread
From: Guennadi Liakhovetski @ 2008-03-28 15:09 UTC (permalink / raw)
  To: netdev

Hi

Do I understand it right, that this

705:		i = readreg(dev, PP_LineCTL);
706:		/* Preserve the setting of the HCB1 pin. */
707:		if ((i & (HCB1 | HCB1_ENBL)) ==  (HCB1 | HCB1_ENBL))
708:			lp->adapter_cnf |= A_CNF_DC_DC_POLARITY;

(line numbers may deviate slightly) is a bug? HCB1 and HCB1_ENBL bits are 
from the PP_SelfCTL and not from the PP_LineCTL register...

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-28 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-28 15:09 Bug in cs89x0.c? Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox