At now there is no general rule about what part of (or whole) machine
name string should be used for board name assignment/detection and every
target handles this in a different way.
For most of the boards in ar71xx we already use only part of the string,
generally without the vendor name.
This shortens wildcards patterns in case statement for board name
assignment, wherever possible (e.g. where it won't be misleading).
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
*"GL-MIFI")
name="gl-mifi"
;;
*"GL-MIFI")
name="gl-mifi"
;;
name="esr900"
;;
*"JA76PF")
name="esr900"
;;
*"JA76PF")
*"My Net N750")
name="mynet-n750"
;;
*"My Net N750")
name="mynet-n750"
;;
- *"WD My Net Wi-Fi Range Extender")
+ *"My Net Wi-Fi Range Extender")
name="mynet-rext"
;;
*"MZK-W04NU")
name="mynet-rext"
;;
*"MZK-W04NU")
*"NBG460N/550N/550NH")
name="nbg460n_550n_550nh"
;;
*"NBG460N/550N/550NH")
name="nbg460n_550n_550nh"
;;
name="nbg6716"
;;
*"OM2P")
name="nbg6716"
;;
*"OM2P")
*"SMART-300")
name="smart-300"
;;
*"SMART-300")
name="smart-300"
;;
- "Smart Electronics Black Swift board"*)
- *"Telldus TellStick ZNet Lite")
+ *"TellStick ZNet Lite")
name="tellstick-znet-lite"
;;
*"SOM9331")
name="tellstick-znet-lite"
;;
*"SOM9331")
*"WRT400N")
name="wrt400n"
;;
*"WRT400N")
name="wrt400n"
;;
name="wrtnode2q"
;;
*"WZR-450HP2")
name="wrtnode2q"
;;
*"WZR-450HP2")
*"EmbWir-Dorin-Router")
name="ew-dorin-router"
;;
*"EmbWir-Dorin-Router")
name="ew-dorin-router"
;;
- "8devices Carambola2"*)
- *"BHU BXU2000n-2 rev. A1")
name="bxu2000n-2-a1"
;;
*"HiWiFi HC6361")
name="bxu2000n-2-a1"
;;
*"HiWiFi HC6361")