OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [common/] [v2_0/] [cdl/] [net.cdl] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      net.cdl
4
#
5
#      Networking configuration data
6
#
7
# ====================================================================
8
#####ECOSPDCOPYRIGHTBEGIN####
9
#
10
# Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
11
# All Rights Reserved.
12
#
13
# Permission is granted to use, copy, modify and redistribute this
14
# file.
15
#
16
#####ECOSPDCOPYRIGHTEND####
17
# ====================================================================
18
######DESCRIPTIONBEGIN####
19
#
20
# Author(s):      gthomas
21
# Original data:  gthomas
22
# Contributors:
23
# Date:           1999-11-29
24
#
25
#####DESCRIPTIONEND####
26
#
27
# ====================================================================
28
 
29
cdl_package CYGPKG_NET {
30
    display       "Basic networking framework"
31
    doc           ref/net-common-tcpip.html
32
    include_dir   .
33
    requires      CYGPKG_IO
34
    requires      CYGPKG_ISOINFRA
35
    requires      CYGINT_ISO_C_TIME_TYPES
36
    requires      CYGINT_ISO_STRERROR
37
    requires      CYGINT_ISO_ERRNO
38
    requires      CYGINT_ISO_ERRNO_CODES
39
    requires      CYGINT_ISO_MALLOC
40
    requires      CYGINT_ISO_STRING_BSD_FUNCS
41
    description   "Basic networking support, including TCP/IP."
42
 
43
    cdl_interface     CYGPKG_NET_DRIVER_FRAMEWORK {
44
        display   "Suitable driver framework interface, used by network package"
45
        description "
46
          In order to decouple the network stack from driver specifics, the
47
          driver framework must be defined in a separate package."
48
    }
49
 
50
    # Commonly exported infrastructure
51
    implements    CYGINT_ISO_NETDB_PROTO
52
    implements    CYGINT_ISO_NETDB_SERV
53
    requires      { CYGBLD_ISO_NETDB_PROTO_HEADER == "" }
54
    requires      { CYGBLD_ISO_NETDB_SERV_HEADER == "" }
55
 
56
    cdl_interface CYGPKG_NET_STACK {
57
        display   "Suitable network stack implementation, used by network package"
58
        description "
59
          In order to decouple the network support from most stack specifics, the
60
          actual stack implementation must be defined in a separate package."
61
    }
62
    requires      { CYGPKG_NET_STACK == 1 }
63
    define_proc {
64
        puts $::cdl_header "#include "
65
        puts $::cdl_header "#include CYGDAT_NET_STACK_CFG"
66
    }
67
 
68
    cdl_interface CYGPKG_NET_STACK_INET {
69
        display   "Network stack support for IPv4"
70
    }
71
    cdl_interface CYGPKG_NET_STACK_INET6 {
72
        display   "Network stack support for IPv6"
73
    }
74
 
75
    cdl_component CYGPKG_NET_INET {
76
        display       "INET support"
77
        active_if     CYGPKG_NET_STACK_INET
78
        flavor        bool
79
        no_define
80
        default_value 1
81
        description   "
82
            This option enables support for INET (IP) network processing."
83
        define INET
84
        compile \
85
            inet_addr.c \
86
            inet_ntoa.c \
87
            inet_ntop.c \
88
            inet_pton.c \
89
            bootp_support.c \
90
            dhcp_support.c \
91
            dhcp_prot.c \
92
            network_support.c \
93
            getproto.c \
94
            getserv.c
95
        compile   getaddrinfo.c \
96
            ifaddrs.c
97
 
98
        cdl_option CYGPKG_NET_INET6 {
99
            display       "IPv6 support"
100
            active_if     CYGPKG_NET_STACK_INET6
101
            requires      CYGINT_IO_ETH_MULTICAST
102
            flavor        bool
103
            default_value 0
104
            description   "
105
                This option enables support for IPv6 networks."
106
            define INET6
107
        }
108
 
109
        cdl_option CYGSEM_NET_ROUTING {
110
            display "Multicast routing support"
111
            flavor  bool
112
            no_define
113
            default_value 0
114
            description   "
115
                This option enables support for packet routing."
116
            define MROUTING
117
        }
118
 
119
        cdl_option CYGSEM_NET_RANDOMID {
120
            display "Use random sequence for IP packet identifiers"
121
            flavor  bool
122
            no_define
123
            default_value 0
124
            description   "
125
                This option enables the use of random IP packet sequence
126
            identifiers, rather than a purely sequential sequence.  It is
127
            believed that use of random identifiers improves security, at
128
            a fairly substantial computational overhead."
129
            define RANDOM_IP_ID
130
        }
131
 
132
    }
133
 
134
    cdl_component CYGPKG_NET_TFTP {
135
        display        "TFTP (RFC-1350) support"
136
        requires       CYGPKG_NET_INET
137
        flavor         bool
138
        default_value  1
139
        compile        tftp_client.c \
140
                       tftp_server.c
141
        description    "
142
          This option provides additional library support for
143
          the TFTP (Trivial File Transfer Protocol)."
144
 
145
        cdl_option CYGPKG_NET_TFTPD_THREAD_PRIORITY {
146
            display "Priority level for TFTP daemon thread."
147
            flavor  data
148
            default_value 10
149
            description   "
150
            This option allows the thread priority level used by the
151
            TFTP server thread to be adjusted by the user.  It should be set
152
            high enough that sufficient CPU resources are available to
153
            process network data, but may be adjusted so that application
154
            threads can have precedence over TFTP server processing."
155
        }
156
 
157
        cdl_option CYGPKG_NET_TFTP_FILE_ACCESS {
158
            display       "File I/O functions for TFTP server"
159
            flavor        bool
160
            default_value 1
161
            compile       tftp_dummy_file.c
162
            description   "
163
              Minimal in-memory file I/O support for TFTP server."
164
        }
165
    }
166
 
167
    cdl_component CYGPKG_NET_DHCP {
168
        display "Use full DHCP instead of BOOTP"
169
        requires       CYGPKG_NET_INET
170
        active_if (CYGHWR_NET_DRIVERS > 0)
171
        flavor bool
172
        default_value 1
173
        description "
174
            Provide DHCP for initializing the IP address
175
            of network interfaces.  The DHCP client is capable of falling
176
            back to BOOTP usage if the server does not support DHCP, so it
177
            should never be necessary to disable this option.  However,
178
            depending on other configuration the DHCP client may provide or
179
            require a kernel thread of its own; this consumes quite a lot
180
            of resource which a BOOTP solution does not require."
181
 
182
        cdl_option CYGOPT_NET_DHCP_DHCP_THREAD {
183
            display "DHCP management thread"
184
            flavor bool
185
            default_value 1
186
            description "
187
                Provide a separate thread to renew DHCP leases; otherwise
188
                the application MUST periodically examine the semaphore
189
                dhcp_needs_attention and call dhcp_bind() if it is
190
                signalled.  If enabled, this thread does all that for you.
191
                Independent of this option, initialization of the
192
                interfaces still occurs in init_all_network_interfaces()
193
                and your startup code must call that.  It will start the
194
                DHCP management thread if necessary.  If a lease fails to
195
                be renewed, the management thread will shut down all
196
                interfaces and attempt to initialize all the interfaces
197
                again from scratch.  This may cause application problems,
198
                in which case managing the DHCP state in an application
199
                aware thread is recommended.  See comments in dhcp.h"
200
        }
201
 
202
        cdl_option CYGOPT_NET_DHCP_DHCP_THREAD_PARAM {
203
            display "DHCP management thread loops forever"
204
            flavor  data
205
            default_value 1
206
            active_if CYGOPT_NET_DHCP_DHCP_THREAD
207
            description "
208
                If the parameter is nonzero, it loops forever; if zero,
209
                the thread exits if a lease expires, and the application
210
                must detect this and tidy up or reboot the whole machine."
211
        }
212
 
213
        cdl_option CYGPKG_NET_DHCP_THREAD_PRIORITY {
214
            display "DHCP management thread priority"
215
            flavor  data
216
            default_value CYGPKG_NET_THREAD_PRIORITY + 1
217
            active_if CYGOPT_NET_DHCP_DHCP_THREAD
218
            description "
219
            This option sets the thread priority level used by the DHCP
220
            management thread.  It should be high enough that it can run
221
            when necessary, but it does not need to be as high as the
222
            network thread itself."
223
        }
224
    }
225
 
226
    cdl_component CYGPKG_NET_IPV6_ROUTING {
227
        display       "Options controlling IPv6 routing"
228
        active_if     CYGPKG_NET_INET6
229
        flavor        bool
230
        default_value 1
231
        description "
232
            Various options which control how routing is done for the
233
            IPv6 enabled interfaces."
234
 
235
        cdl_component CYGOPT_NET_IPV6_ROUTING_THREAD {
236
            display       "Thread for IPv6 routing"
237
            flavor        bool
238
            default_value 1
239
            description "
240
                Provide a separate thread to send router solicitation
241
                messages."
242
 
243
            compile ipv6_routing_thread.c
244
 
245
            cdl_option CYGINT_NET_IPV6_ROUTING_THREAD_PRIORITY {
246
                display       "IPv6 routing thread priority"
247
                flavor        data
248
                default_value CYGPKG_NET_THREAD_PRIORITY + 1
249
                description "
250
                    This option sets the thread priority level used by the IPv6
251
                    routing thread.  It should be high enough that it can run
252
                    when necessary, but it does not need to be as high as the
253
                    network thread itself."
254
            }
255
 
256
            cdl_option CYGINT_NET_IPV6_ROUTING_THREAD_PERIOD {
257
                display       "IPv6 routing thread rate"
258
                flavor        data
259
                default_value 5*60
260
                description "
261
                    This option sets the rate at which router solicitations will
262
                    be sent out by the routing thread (in seconds)."
263
            }
264
        }
265
    }
266
 
267
    cdl_component CYGPKG_NET_DEBUG {
268
        display       "Debug output"
269
        default_value 0
270
        description   "
271
                This component controls whether there is diagnostic output
272
                for stack operations. Options within this component allow
273
                even more verbose output for certain areas."
274
 
275
        cdl_option CYGDBG_NET_DHCP_CHATTER {
276
                display       "Extra debug output for DHCP"
277
                default_value 0
278
        }
279
    }
280
 
281
    cdl_option CYGDBG_NET_TIMING_STATS {
282
        display       "Network timing statistics"
283
        default_value 0
284
        description   "
285
                This component controls whether there is diagnostic
286
                information about how long memcpy, malloc, mbuf_alloc
287
                etc take to perform."
288
    }
289
 
290
    cdl_component CYGPKG_NET_OPTIONS {
291
        display "Networking support build options"
292
        flavor  none
293
        no_define
294
 
295
        cdl_option CYGPKG_NET_CFLAGS_ADD {
296
            display "Additional compiler flags"
297
            flavor  data
298
            no_define
299
            default_value { "-D_KERNEL -D__ECOS -D__INSIDE_NET" }
300
            description   "
301
                This option modifies the set of compiler flags for
302
                building the networking package.
303
                These flags are used in addition
304
                to the set of global flags."
305
        }
306
 
307
        cdl_option CYGPKG_NET_CFLAGS_REMOVE {
308
            display "Suppressed compiler flags"
309
            flavor  data
310
            no_define
311
            default_value { "" }
312
            description   "
313
                This option modifies the set of compiler flags for
314
                building the networking package. These flags are removed from
315
                the set of global flags if present."
316
        }
317
    }
318
 
319
    cdl_component CYGPKG_NET_BUILD_TESTS {
320
        display "Testing options"
321
        flavor  none
322
        no_define
323
        description "
324
                This component contains options related to testing the network
325
                stack."
326
 
327
        cdl_option CYGPKG_NET_BUILD_HW_TESTS {
328
            display "Build hardware networking tests (demo programs)"
329
            flavor  bool
330
            no_define
331
            requires { CYGHWR_NET_DRIVER_ETH0_SETUP || CYGHWR_NET_DRIVER_ETH1_SETUP }
332
            default_value 0
333
            description   "
334
             This option enables the building of additional network tests
335
             that use real ethernet devices. At this time these are just
336
             demos. With this option disabled, only loopback
337
             interface tests will be built."
338
        }
339
 
340
        cdl_option CYGPKG_NET_TESTS {
341
            display "Networking tests"
342
            flavor  data
343
            no_define
344
            calculated { CYGPKG_NET_BUILD_HW_TESTS ? \
345
                    "tests/mbuf_test \
346
                    tests/socket_test \
347
                    tests/ftp_test \
348
                    tests/server_test \
349
                    tests/nc_test_slave \
350
                    tests/tftp_client_test \
351
                    tests/tftp_server_test \
352
                    tests/tcp_echo \
353
                    tests/set_mac_address \
354
                    tests/bridge \
355
                    tests/flood \
356
                    tests/ping_test \
357
                    tests/dhcp_test \
358
                    tests/dhcp_test2 \
359
                    tests/ping_lo_test \
360
                    tests/tcp_lo_test \
361
                    tests/udp_lo_test \
362
                    tests/multi_lo_select \
363
                    tests/tcp_lo_select"
364
            :
365
                    "tests/ping_lo_test \
366
                    tests/tcp_lo_test \
367
                    tests/udp_lo_test \
368
                    tests/multi_lo_select \
369
                    tests/tcp_lo_select"
370
            }
371
            description   "
372
             This option specifies the set of tests
373
             for the networking package."
374
        }
375
 
376
        cdl_option CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS {
377
            display "Use real-time response test harness (if available)"
378
            default_value 0
379
            description "
380
                    Platform and/or ethernet device driver packages may
381
                    provide a test harness to verify that interrupts are
382
                    not disabled or flooded for too long during a test.  If
383
                    such is provided, CYGTST_DEVS_ETH_TEST_NET_REALTIME is
384
                    defined and can be #include'd to acquire the support.
385
                    Some tests in the TCP/IP stack can use this harness;
386
                    this option controls whether they do.  The StrongARM
387
                    EBSA285 Ethernet device driver is one package that
388
                    provides such a harness.  See the file
389
                    tests/test_net_realtime.h in there for details."
390
        }
391
    }
392
 
393
# Description and control over different interfaces
394
 
395
    cdl_interface CYGHWR_NET_DRIVERS {
396
        display "Network drivers"
397
    }
398
 
399
    cdl_interface CYGHWR_NET_DRIVER_ETH0 {
400
        display "Does the hardware provide an 'eth0' device?"
401
        requires { CYGHWR_NET_DRIVER_ETH0 <= 1 }
402
        flavor   bool
403
    }
404
 
405
    cdl_component CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS {
406
        display "Initialization options for 'eth0'"
407
        active_if (CYGHWR_NET_DRIVER_ETH0 == 1)
408
        flavor none
409
        no_define
410
 
411
        cdl_interface CYGHWR_NET_DRIVER_ETH0_SETUP {
412
            display "Initialization options for 'eth0'"
413
            requires 1 == CYGHWR_NET_DRIVER_ETH0_SETUP
414
            no_define
415
        }
416
 
417
        cdl_component CYGHWR_NET_DRIVER_ETH0_MANUAL {
418
            display "Initialize 'eth0' manually?"
419
            default_value 0
420
            implements CYGHWR_NET_DRIVER_ETH0_SETUP
421
            description "
422
                If this option is selected, the eCos library provides no
423
                initialization code for this interface; you must perform
424
                all the initialization in the application, by means of
425
                appropriate ioctl() calls, or by calling init_net() with an
426
                appropriate bootp record you have constructed yourself."
427
        }
428
 
429
        cdl_component CYGHWR_NET_DRIVER_ETH0_BOOTP {
430
            display "Use BOOTP/DHCP to initialize 'eth0'?"
431
            default_value 1
432
            implements CYGHWR_NET_DRIVER_ETH0_SETUP
433
            description "
434
                If this option is selected, init_all_network_interfaces()
435
                will use DHCP or BOOTP to acquire initialization data for
436
                this interface, and then set it up accordingly."
437
 
438
            cdl_option CYGHWR_NET_DRIVER_ETH0_DHCP {
439
                display "Use DHCP rather than BOOTP for 'eth0'?"
440
                flavor  bool
441
                default_value 1
442
                active_if CYGPKG_NET_DHCP
443
            }
444
 
445
            cdl_option CYGHWR_NET_DRIVER_ETH0_BOOTP_SHOW {
446
                display "Show BOOTP/DHCP initialization values?"
447
                flavor  bool
448
                default_value 1
449
            }
450
        }
451
 
452
        cdl_option CYGHWR_NET_DRIVER_ETH0_IPV6_PREFIX {
453
            display "Static IPv6 address prefix for 'eth0'"
454
            flavor  booldata
455
            active_if CYGPKG_NET_INET6
456
            default_value { "3ffe:302:11:2" }
457
            description "
458
               This option allows a specific, static address prefix to be set
459
               for an interface running IPv6.  When used, the lower 64 bits
460
               of the address will be set to the IPv4 IP address.  Note: this
461
               should not be confused with the standard IPv4->IPv6 mapped
462
               addresses, but rather just a simple way to assign addresses
463
               to nodes within an IPv6 network."
464
        }
465
 
466
        cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS {
467
            display "Address setups for 'eth0'"
468
            implements CYGHWR_NET_DRIVER_ETH0_SETUP
469
            no_define
470
 
471
            description "
472
                These options let you configure all the initialization data
473
                that init_all_network_interfaces() will use
474
                for 'eth0' statically.  Be careful when doing this, because
475
                if you run the same application image on multiple boards,
476
                they will have identical IP addresses and so on; this is a
477
                Bad Thing.
478
                The values you set are inserted in a bootp-style record
479
                that is fed into a common setup routine to configure the
480
                interface.  That routine does not in fact use the 'Server
481
                IP address' field.
482
                The bootp record is also available to application code, and
483
                some eCos networking test programs use the 'Server IP
484
                address' field to mean 'a machine we can interact with' for
485
                example to ping or perform ftp with.  That is the rationale
486
                for its inclusion here.
487
                The gateway address is used to set up a default route if
488
                nonzero.  If you have more than one interface, setting up
489
                more than one default route is will cause malfunctions.  A
490
                gateway address of 0.0.0.0 can be set to prevent that route
491
                setup.  Of course, your application can add real routes
492
                once the interface(s) initialization is complete."
493
 
494
            cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP {
495
                display "IP address for 'eth0'"
496
                flavor  data
497
                default_value { "192.168.1.2" }
498
            }
499
 
500
            cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK {
501
                display "Network mask address for 'eth0'"
502
                flavor  data
503
                default_value { "255.255.255.0" }
504
            }
505
 
506
            cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST {
507
                display "Broadcast address for 'eth0'"
508
                flavor  data
509
                default_value { "192.168.1.255" }
510
            }
511
 
512
            cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY {
513
                display "Gateway/router IP address for 'eth0'"
514
                flavor  data
515
                default_value { "192.168.1.1" }
516
            }
517
 
518
            cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER {
519
                display "Server IP address for 'eth0'"
520
                flavor  data
521
                default_value { "192.168.1.101" }
522
            }
523
        }
524
    }
525
 
526
    cdl_interface CYGHWR_NET_DRIVER_ETH1 {
527
        display "Does the hardware provide an 'eth1' device?"
528
        requires { CYGHWR_NET_DRIVER_ETH1 <= 1 }
529
        flavor   bool
530
    }
531
 
532
    cdl_component CYGHWR_NET_DRIVER_ETH1_SETUP_OPTIONS {
533
        display "Initialization options for 'eth1'"
534
        active_if (CYGHWR_NET_DRIVER_ETH1 == 1)
535
        flavor none
536
        no_define
537
 
538
        cdl_interface CYGHWR_NET_DRIVER_ETH1_SETUP {
539
            display "Initialization options for 'eth1'"
540
            requires 1 == CYGHWR_NET_DRIVER_ETH1_SETUP
541
            no_define
542
        }
543
 
544
        cdl_component CYGHWR_NET_DRIVER_ETH1_MANUAL {
545
            display "Initialize 'eth1' manually?"
546
            default_value 0
547
            implements CYGHWR_NET_DRIVER_ETH1_SETUP
548
            description "
549
                If this option is selected, the eCos library provides no
550
                initialization code for this interface; you must perform
551
                all the initialization in the application, by means of
552
                appropriate ioctl() calls, or by calling init_net() with an
553
                appropriate bootp record you have constructed yourself."
554
        }
555
 
556
        cdl_component CYGHWR_NET_DRIVER_ETH1_BOOTP {
557
            display "Use BOOTP/DHCP to initialize 'eth1'?"
558
            default_value 1
559
            implements CYGHWR_NET_DRIVER_ETH1_SETUP
560
            description "
561
                If this option is selected, init_all_network_interfaces()
562
                will use DHCP or BOOTP to acquire initialization data for
563
                this interface, and then set it up accordingly."
564
 
565
            cdl_option CYGHWR_NET_DRIVER_ETH1_DHCP {
566
                display "Use DHCP rather than BOOTP for 'eth1'?"
567
                flavor  bool
568
                default_value 1
569
                active_if CYGPKG_NET_DHCP
570
            }
571
 
572
            cdl_option CYGHWR_NET_DRIVER_ETH1_BOOTP_SHOW {
573
                display "Show BOOTP/DHCP initialization values?"
574
                flavor  bool
575
                default_value 1
576
            }
577
        }
578
 
579
        cdl_option CYGHWR_NET_DRIVER_ETH1_IPV6_PREFIX {
580
            display "Static IPv6 address prefix for 'eth1'"
581
            flavor  booldata
582
            active_if CYGPKG_NET_INET6
583
            default_value { "3ffe:302:12:2" }
584
            description "
585
               This option allows a specific, static address prefix to be set
586
               for an interface running IPv6.  When used, the lower 64 bits
587
               of the address will be set to the IPv4 IP address.  Note: this
588
               should not be confused with the standard IPv4->IPv6 mapped
589
               addresses, but rather just a simple way to assign addresses
590
               to nodes within an IPv6 network."
591
        }
592
 
593
        cdl_component CYGHWR_NET_DRIVER_ETH1_ADDRS {
594
            display "Address setups for 'eth1'"
595
            implements CYGHWR_NET_DRIVER_ETH1_SETUP
596
            no_define
597
 
598
            description "
599
                These options let you configure all the initialization data
600
                that init_all_network_interfaces() will use
601
                for 'eth1' statically.  Be careful when doing this, because
602
                if you run the same application image on multiple boards,
603
                they will have identical IP addresses and so on; this is a
604
                Bad Thing.
605
                The values you set are inserted in a bootp-style record
606
                that is fed into a common setup routine to configure the
607
                interface.  That routine does not in fact use the 'Server
608
                IP address' field.
609
                The bootp record is also available to application code, and
610
                some eCos networking test programs use the 'Server IP
611
                address' field to mean 'a machine we can interact with' for
612
                example to ping or perform ftp with.  That is the rationale
613
                for its inclusion here.
614
                The gateway address is used to set up a default route if
615
                nonzero.  If you have more than one interface, setting up
616
                more than one default route is will cause malfunctions.  A
617
                gateway address of 0.0.0.0 can be set to prevent that route
618
                setup.  Of course, your application can add real routes
619
                once the interface(s) initialization is complete.
620
                This interface 'eth1' has no route set up in the default
621
                configuration."
622
 
623
            cdl_option CYGHWR_NET_DRIVER_ETH1_ADDRS_IP {
624
                display "IP address for 'eth1'"
625
                flavor  data
626
                default_value { "192.168.1.2" }
627
            }
628
 
629
            cdl_option CYGHWR_NET_DRIVER_ETH1_ADDRS_NETMASK {
630
                display "Network mask address for 'eth1'"
631
                flavor  data
632
                default_value { "255.255.255.0" }
633
            }
634
 
635
            cdl_option CYGHWR_NET_DRIVER_ETH1_ADDRS_BROADCAST {
636
                display "Broadcast address for 'eth1'"
637
                flavor  data
638
                default_value { "192.168.1.255" }
639
            }
640
 
641
            cdl_option CYGHWR_NET_DRIVER_ETH1_ADDRS_GATEWAY {
642
                display "Gateway/router IP address for 'eth1'"
643
                flavor  data
644
                default_value { "0.0.0.0" }
645
            }
646
 
647
            cdl_option CYGHWR_NET_DRIVER_ETH1_ADDRS_SERVER {
648
                display "Server IP address for 'eth1'"
649
                flavor  data
650
                default_value { "192.168.1.101" }
651
            }
652
        }
653
    }
654
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.