This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Network debuggers & diag_printf


Eduardo,

On 7/4/08, Eduardo Sabaj <esabaj@hasar.com> wrote:
>  BOOTP[eth0] op: REPLY
>      htype: Ethernet
>       hlen: 6
>       hops: 0
>        xid: 0x0
>       secs: 0
>      flags: 0x0
>      hw_addr: 00:1b:eb:74:00:dd
>    client IP: 192.0.2.235
>        my IP: 192.0.2.235
>    server IP: 192.0.110.232
>   gateway IP: 192.0.110.232
>  options:
>       subnet mask: 255.255.0.0
>      IP broadcast: 192.0.255.255
>           gateway: 192.0.110.232
>
>  These lines are printed using diag_printf () in module bootp_support.c,
> function show_bootp(). Instead of commenting the code I would like to know
> if there is a way to disable the diag_printf () function, at least for the
> code related to the network settings.

Try setting the CYGHWR_NET_DRIVER_ETH0_BOOTP_SHOW option to 0.

Rob.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]