public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] dhcp problems with Windows Server
Date: Thu, 12 Oct 2006 02:09:58 +0200	[thread overview]
Message-ID: <20061012000958.9AD8E353DA2@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 12 Oct 2006 09:46:39 +1000." <452D825F.8040304@magellan-technology.com>

In message <452D825F.8040304@magellan-technology.com> you wrote:
>
> I fully understand that and no-one wants to have to include delays in their
> system but unfortunately Microsoft didn't write their DHCP server code to allow
> for a client which responds as quickly as U-Boot can.

;-)

> --- current/net/bootp.c 2005-11-18 12:18:48.000000000 +1100
> +++ u-boot-1.1.3-MAGARMv3/net/bootp.c   2006-10-11 16:35:51.000000000 +1000
> @@ -844,6 +844,10 @@
>         NetSetIP(iphdr, 0xFFFFFFFFL, PORT_BOOTPS, PORT_BOOTPC, iplen);
> 
>         debug ("Transmitting DHCPREQUEST packet: len = %d\n", pktlen);
> +       // delay a small amount because Windows Server 2003 has problems if you
> reply too quickly
> +       // 15ms was proven to be OK on my at91rm9200 system, so I'll double it
> just in case
> +        udelay(30000);
> +
>         NetSendPacket(NetTxPacket, pktlen);
>  }

Please submit a proper patch, i. e.

* Include a CHANGELOG entry
* Make sure not to violate the coding style (no C++ comments,
  indentation by TABs, line length < 70
* Make sure that your mailer does not wrap lines

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Success covers a multitude of blunders."       - George Bernard Shaw

  reply	other threads:[~2006-10-12  0:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11  0:46 [U-Boot-Users] dhcp problems with Windows Server Aras Vaichas
2006-10-11  5:38 ` Aras Vaichas
2006-10-11  7:31   ` Wolfgang Denk
2006-10-11 23:46     ` Aras Vaichas
2006-10-12  0:09       ` Wolfgang Denk [this message]
2006-10-11  6:47 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061012000958.9AD8E353DA2@atlas.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox