From: Andrew Morton Subject: Re: [patch 12/13] pcnet32 79C975 fiber fix Date: Tue, 15 Mar 2005 17:03:22 -0800 Message-ID: <20050315170322.3398bd60.akpm@osdl.org> References: <200503152222.j2FMMiLB016826@shell0.pdx.osdl.net> <20050316005630.GA9421@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, jgarzik@pobox.com, netdev@oss.sgi.com, steven.hardy@astrium.eads.net To: Don Fry In-Reply-To: <20050316005630.GA9421@us.ibm.com> Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org Don Fry wrote: > > I had not seen this problem until now. The patch looks ok and > probably should have been written that way initially. I have been > able to do a quick touch test with a 970A, 971, 972, 973, 975, 976, and > 978 (some on ia32 and others on ppc64) without any adverse effects. > The 975 I have is copper not fiber. Great, thanks. > Since only bit 12 is needed to enable LED writes, the code could > really be "a->write_bcr(ioaddr, 2, a->read_bcr(ioaddr, 2) | 0x1000);" > During pcnet32_open the ASEL bit is changed anyway. OK, could you please prepare a final patch sometime and get it into Jeff? cc me as well please so I can update the patch I have. > This change should also be applied to 2.4.30 as well. And that too, I guess.