Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 22 Mar 2001 08:28:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 22 Mar 2001 08:28:07 -0500 Received: from panic.ohr.gatech.edu ([130.207.47.194]:46809 "HELO havoc.gtf.org") by vger.kernel.org with SMTP id ; Thu, 22 Mar 2001 08:28:02 -0500 Message-ID: <3AB9FD99.F601EDE0@mandrakesoft.com> Date: Thu, 22 Mar 2001 08:26:49 -0500 From: Jeff Garzik Organization: MandrakeSoft X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3-pre6 i686) X-Accept-Language: en MIME-Version: 1.0 To: Ulrich Windl Cc: linux-kernel@vger.kernel.org Subject: Re: 2.2.18: e100.c (SuSE 7.1): udelay() used in a wrong way? In-Reply-To: <3ABA0537.18043.146E671@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ulrich Windl wrote: > void > Phy82562EHDelayMilliseconds(int Time) > { > udelay(Time); > } > > AFAIK, udelay() delays microseconds, not milliseconds. Yep, you are correct, and the code is incorrect. mdelay() delays milliseconds. -- Jeff Garzik | May you have warm words on a cold evening, Building 1024 | a full mooon on a dark night, MandrakeSoft | and a smooth road all the way to your door. - 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/