Re: [PATCH]: Third (final?) release of Sun Neptune driver

Stephen Hemminger
2007-10-05T21:19:35Z

On Fri, 05 Oct 2007 14:12:47 -0700 (PDT)
David Miller <davem@davemloft.net> wrote:

> From: Stephen Hemminger <shemminger@linux-foundation.org>
> Date: Fri, 5 Oct 2007 08:39:24 -0700
>
> > Build failed on x86_64
> >
> > ERROR: "__bad_udelay" [drivers/net/niu.ko] undefined!
>
> Can you figure out which udelay() call is too big and
> thus causing problems?
--- a/drivers/net/niu.c 2007-10-05 08:09:31.000000000 -0700
+++ b/drivers/net/niu.c 2007-10-05 08:42:06.000000000 -0700
@@ -804,7 +804,7 @@ static int bcm8704_init_user_dev3(struct
if (err)
return err;

- udelay(1000000);
+ mdelay(1000);

return 0;
}

--
Stephen Hemminger <shemminger@linux-foundation.org>