From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Jan 2001 06:14:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Jan 2001 06:13:53 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:59152 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Fri, 26 Jan 2001 06:13:47 -0500 From: Torben Mathiasen To: saw@saw.sw.com.sg, jgarzik@mandrakesoft.com CC: linux-kernel@vger.kernel.org, scott@tranzoa.com Subject: Re: eepro100 problems in 2.4.0 Reply-To: Torben Mathiasen Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailer: kenstermail X-attachments: ee100apm.diff Content-Type: multipart/mixed; boundary="==================_846811060==_" Content-Disposition: inline Message-Id: Date: Fri, 26 Jan 2001 12:13:37 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --==================_846811060==_ Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 On Friday, 26 January 2001, saw@saw.sw.com.sg wrote: > Hi, > > On Thu, Jan 25, 2001 at 04:19:27PM -0500, Jeff Garzik wrote: > > Oops, sorry guys. Thanks to DaveM for correcting me -- my patch has > > nothing to do with the "card reports no resources" problem. My > > apologies. > > No problems. > > However, there is a real problem with eepro100 when the system resumes > operations after a sleep. > May be, you could guess what's wrong in this case? > I had to add this small patch to make it work properly with my Armada M700. It basiclly just does something similar to what happens when we get TX timeouts. Its just a quick hack, as I got tired of the eepro100 driver dumping the tx/rx queues when resuming. Regards, Torben Mathiasen --==================_846811060==_ Content-type: application/octet-stream; name="ee100apm.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ee100apm.diff" LS0tIC9vcHQva2VybmVsL2tlcm5lbHMvbGludXgvZHJpdmVycy9uZXQvZWVwcm8xMDAuYwlUdWUg Tm92IDI4IDAyOjU4OjMyIDIwMDAKKysrI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fY3RybCA9IHNwLT5wYXJ0bmVyID0gMDsKIAlzZXRfcnhfbW9k ZShkZXYpOworCXJlc2V0X21paShkZXYpOwogfQogI2VuZGlmIC8qIENPTkZJR19FRVBSTzEwMF9Q TSAqLwogCg== - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ --==================_846811060==_--