Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756269AbXL3Thq (ORCPT ); Sun, 30 Dec 2007 14:37:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753469AbXL3Thh (ORCPT ); Sun, 30 Dec 2007 14:37:37 -0500 Received: from smtpq1.tilbu1.nb.home.nl ([213.51.146.200]:42601 "EHLO smtpq1.tilbu1.nb.home.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753429AbXL3Thg (ORCPT ); Sun, 30 Dec 2007 14:37:36 -0500 Message-ID: <4777F297.9070207@keyaccess.nl> Date: Sun, 30 Dec 2007 20:33:43 +0100 From: Rene Herman User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Alan Cox CC: Ingo Molnar , Linus Torvalds , dpreed@reed.com, Islam Amer , hpa@zytor.com, Pavel Machek , Ingo Molnar , Andi Kleen , Thomas Gleixner , Linux Kernel Subject: Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override References: <477711DC.5030800@keyaccess.nl> <20071230144700.78f4605c@the-village.bc.nu> <20071230152835.GX16946@elte.hu> <20071230153818.1a554a7e@the-village.bc.nu> <20071230160132.GA14311@elte.hu> <20071230164828.039916c8@the-village.bc.nu> <4777E010.7030703@keyaccess.nl> <20071230183927.5a5a3c42@the-village.bc.nu> In-Reply-To: <20071230183927.5a5a3c42@the-village.bc.nu> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1767 Lines: 38 On 30-12-07 19:39, Alan Cox wrote: > On Sun, 30 Dec 2007 19:14:40 +0100 > Rene Herman wrote: >> I'm by the way looking at drivers/net/wd.c which my 386 uses for its dual >> mode NE2000/WD8013 clone ISA NIC and while it specifically needs no delay at >> all it seems, the mixed use of out and outb_p seems to suggest that someone >> once thought about that. Would you advice sticking in a udelay(2) manually >> there? > > I would need to dig out the documentation and NE2000 reference code if I > even still have them. From memory NE2K needs them but I don't know > offhand if the WD80x3 devices do, or if only some of them do. It'll also > depend on the port - the DPRAM is different to the 8390. > > Don Becker wrote the drivers and at the time he tuned them carefully for > performance so I would expect delays to be the ones needed This NIC (a Networth UTP16B) has a National Semiconductor DP83905 AT/LANTIC for which I'm reading the software developers guide now. It doesn't seem to list specific delays... I also just now dug up a "WDC (C) 1987" WD8003EBT and a "Novell, Inc (C) 1990" NE1000, both 8-bit ISA NICs and the ownership of which, I would suggest, makes me a really cool person. Both are coax and a little clumsy to test but that 1987 one is probably going to be close to the oldest type around. I've been testing with the 386's own 2.2.26 kernel upto now but I'll try and compile a 2.6 system on there with uclibc and busybox or some such and test more. Rene. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/