BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
c2b0401
Branches
Tags
master
mips_sys
fw
config.c
added file headers
Stefan Schuermans
commited
c2b0401
at 2012-04-08 11:54:40
config.c
Blame
History
Raw
/* MIPS I system * Copyright 2011-2012 Stefan Schuermans <stefan@schuermans.info> * Copyleft GNU public license V2 or later * http://www.gnu.org/copyleft/gpl.html */ #include "config.h" #include "macros.h" #include "nethelp.h" /// MAC address /* extern */ struct config_mac config_mac = { .mac = { 0x02, 0x4D, 0x49, 0x50, 0x53, 0x01 } }; /** * @brief IP configuration * * fill with meaningful data for static configuration * or fill with zeros for DHCP */ /* extern */ struct config_ip config_ip = { #if 0 .ip = { 192, 168, 0, 89 }, .mask = { 255, 255, 255, 0 }, .gw = { 192, 168, 0, 1 } #else .ip = { 0, 0, 0, 0 }, .mask = { 0, 0, 0, 0 }, .gw = { 0, 0, 0, 0 } #endif };