public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: Andrew Lunn <andrew.lunn@ascom.ch>
Cc: Gary Thomas <gthomas@redhat.com>,
	ecos-discuss@sourceware.cygnus.com, Nick.Barnes@pobox.com
Subject: Re: [ECOS] Notes on static configuration of an eCos network inte
Date: Mon, 17 Jul 2000 09:40:00 -0000	[thread overview]
Message-ID: <20000717164033.A29707@visi.com> (raw)
In-Reply-To: <200007171628.SAA06642@biferten.ma.tech.ascom.ch>

> Time to chip my two pence worth in.
> 
> 1) I think having the ability to statically defined IP
> addresses inside the binary is a bad idea.

I guess I wasn't clear.  My IP addresses aren't hard-wired in
the source code.  They're retrieved from flash.  The change I'm
thinking of making is instead of taking those addresses and
building a bootp frame to pass to init_net(), I'll just make
the ioctl() calls.  That eliminates the need for the routines
to build/parse bootp records, and the network initialization
happens where it's obvious what's going on.

> In my case i get them from flash, so they are board specific, not
> binary specific. 

Same here.

> As i said in my last message, it not so easy to get
> it right, especially when init_all_network... keeps changing with
> every release. Thats why i asked for a review off all this when DHCP
> is added. init_all_network... should be
> init_all_unintializes_network...

-- 
Grant Edwards
grante@visi.com

  reply	other threads:[~2000-07-17  9:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-17  5:45 [ECOS] Notes on static configuration of an eCos network interface Nick Barnes
2000-07-17  6:59 ` Bart Veer
2000-07-17  7:07   ` [ECOS] Notes on static configuration of an eCos network inte Gary Thomas
2000-07-18  5:52   ` [ECOS] Notes on static configuration of an eCos network interface Nick Barnes
2000-07-18  8:03     ` Grant Edwards
2000-07-17  8:52 ` Grant Edwards
2000-07-17  9:03   ` [ECOS] Notes on static configuration of an eCos network inte Gary Thomas
2000-07-17  9:28     ` Andrew Lunn
2000-07-17  9:40       ` Grant Edwards [this message]
2000-07-17  9:47         ` Andrew Lunn
2000-07-17  9:29     ` Grant Edwards
2000-07-17  9:45       ` Gary Thomas
2000-07-17 10:01         ` Grant Edwards
2000-07-17  9:45   ` [ECOS] Notes on static configuration of an eCos network interface Hugo 'NOx' Tyson
2000-07-20  7:00 ` Hugo 'NOx' Tyson
2000-07-20  9:57   ` Bart Veer
2000-07-20 11:00     ` Hugo 'NOx' Tyson
2000-07-20 11:19       ` Bart Veer

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=20000717164033.A29707@visi.com \
    --to=grante@visi.com \
    --cc=Nick.Barnes@pobox.com \
    --cc=andrew.lunn@ascom.ch \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=gthomas@redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).