public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "wang cui" <iucgnaw@msn.com>
To: jay@systech.com, andrew@lunn.ch
Cc: ecos-discuss@ecos.sourceware.org
Subject: RE: [ECOS] Add config keys to Set/Clear promiscuous mode to ethernet device?
Date: Fri, 02 Feb 2007 17:18:00 -0000	[thread overview]
Message-ID: <BAY110-F27C07742CE43F0F35DCCBCA59B0@phx.gbl> (raw)
In-Reply-To: <74C9525D67A5FF4791614FDB06593BB10429A1E1@mail.systech.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 1760 bytes --]

Thanks. I'm reading i82559 code for reference, it is exactly like what you 
said. I will modify my driver and test it next monday.
I think no further config key need to be added. :-)


>From: Jay Foster <jay@systech.com>
>To: 'Andrew Lunn' <andrew@lunn.ch>, wang cui <iucgnaw@msn.com>
>CC: ecos-discuss@ecos.sourceware.org
>Subject: RE: [ECOS] Add config keys to Set/Clear promiscuous mode to 
ethernet device?
>Date: Fri, 2 Feb 2007 09:04:46 -0800 
>
>This may also be done generically from the ethernet driver's 
xxx_eth_start()
>function.  There is a 'flags' argument passed to the start function, but
>unfortunately, eCos makes no use of it.  However, if CYGPKG_NET is 
included,
>the interface flags can be accessed using (sc->sc_arpcom.ac_if.if_flags).
>These flags contain the flags IFF_PROMISC, IFF_MULTICAST, IFF_ALLMULTI,
>IFF_BROADCAST, etc.
>
>Jay
>
>-----Original Message-----
>From: Andrew Lunn [mailto:andrew@lunn.ch]
>Sent: Thursday, February 01, 2007 11:53 PM
>To: wang cui
>Cc: ecos-discuss@ecos.sourceware.org
>Subject: Re: [ECOS] Add config keys to Set/Clear promiscuous mode to
>ethernet device?
>
>
>On Fri, Feb 02, 2007 at 07:35:03AM +0000, wang cui wrote:
> > I wander is there a standard way to change promiscuous mode of a 
ethernet
> > device?
>
>Take a look at the i82559 driver.
>
>      Andrew
>
>--
>Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn/  


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2007-02-02 17:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-02 17:11 [ECOS] Add config keys to Set/Clear promiscuous mode to ether net device? Jay Foster
2007-02-02 17:18 ` wang cui [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-02-02  7:35 [ECOS] Add config keys to Set/Clear promiscuous mode to ethernet device? wang cui
2007-02-02  7:53 ` Andrew Lunn
2007-02-02 16:25   ` wang cui

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=BAY110-F27C07742CE43F0F35DCCBCA59B0@phx.gbl \
    --to=iucgnaw@msn.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=jay@systech.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).