]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/devs/eth/davicom/dm9000/v2_0/cdl/davicom_dm9000_eth_drivers.cdl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / devs / eth / davicom / dm9000 / v2_0 / cdl / davicom_dm9000_eth_drivers.cdl
index b1532ffb5a96d03f6aeab32ab617053fcae2baba..3247a280fcd0507c89b6b6e1d6e241d767200ccb 100644 (file)
@@ -64,6 +64,18 @@ cdl_package CYGPKG_DEVS_ETH_DAVICOM_DM9000 {
 
     compile       -library=libextras.a if_dm9000.c
 
+    cdl_option CYGSEM_DEVS_ETH_DAVICOM_DM9000_WRITE_EEPROM {
+        display "SIOCSIFHWADDR records ESA (MAC address) in EEPROM"
+        default_value 0
+        description   "
+            The ioctl() socket call with operand SIOCSIFHWADDR sets the
+            interface hardware address - the MAC address or Ethernet Station
+            Address (ESA).  This option causes the new MAC address to be
+            written into the EEPROM associated with the interface, so that the
+            new MAC address is permanently recorded.  Doing this should be a
+            carefully chosen decision, hence this option."
+    }
+
     cdl_option CYGNUM_DEVS_ETH_DAVICOM_DM9000_DEV_COUNT {
        display "Number of supported interfaces."
        calculated    { CYGINT_DEVS_ETH_DAVICOM_DM9000_REQUIRED }
@@ -82,7 +94,7 @@ cdl_package CYGPKG_DEVS_ETH_DAVICOM_DM9000 {
             display "Additional compiler flags"
             flavor  data
             no_define
-            default_value { "" }
+            default_value { "-D_KERNEL -D__ECOS" }
             description   "
                 This option modifies the set of compiler flags for
                 building the Davicom DM9000 ethernet driver package.