public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Bart Veer <bartv@redhat.com>
To: tadams@theone.dnsalias.com
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] ethernet driver package idea
Date: Mon, 03 Sep 2001 11:01:00 -0000	[thread overview]
Message-ID: <200109031801.f83I1Ln11575@sheesh.cambridge.redhat.com> (raw)
In-Reply-To: <000f01c130ae$747a0100$090110ac@TRENT>

>>>>> "Trenton" == Trenton D Adams <tadams@theone.dnsalias.com> writes:

    Trenton> One more thing. You might want to do what I've done
    Trenton> below. It's a little nicer using a drop down box than a
    Trenton> text box for selection of the ethX device name!

    Trenton> 	cdl_option CYGDAT_ETHDRV_NAME {
    Trenton> 	    display       "Name to use for this network device"
    Trenton> 	    flavor        data
    Trenton>           legal_values {"\"eth0\"" "\"eth1\""}
    Trenton> 	    default_value { (1 == CYGHWR_NET_DRIVERS) ? "\"eth0\"" :
    Trenton> "\"eth1\"" }
    Trenton> 	    description "
    Trenton> 	        The name of this network device for control purposes.
    Trenton> 	    "
    Trenton> 	}

This would prevent the user from calling the device something other
than eth0 or eth1, effectively restricting the system to just two
ethernet devices. It is possible to have more than that, although at
present only eth0 and eth1 can be easily configured via the
configuration tool - any additional ones require effort at the
application level. I would prefer users to still have the flexibility
to call their network devices anything they want to, even if this
involves a bit more complexity in the user interface.

Bart

  reply	other threads:[~2001-09-03 11:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-23 11:41 Trenton D. Adams
2001-08-23 12:24 ` Trenton D. Adams
2001-08-23 13:30   ` [ECOS] CS8900 ethernet driver PATCH Trenton D. Adams
2001-08-24  4:22   ` [ECOS] ethernet driver package idea Bart Veer
2001-08-24  7:59     ` Trenton D. Adams
2001-08-24  8:42       ` Bart Veer
2001-08-24  8:47         ` Trenton D. Adams
2001-08-29 10:18           ` Trenton D. Adams
2001-09-03 11:01             ` Bart Veer [this message]
2001-09-06 12:20               ` Jonathan Larmour
2001-09-11 10:58                 ` Hugo Tyson

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=200109031801.f83I1Ln11575@sheesh.cambridge.redhat.com \
    --to=bartv@redhat.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=tadams@theone.dnsalias.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).