902aa402b3830b9c9aa26758390b6eb93b42a0f5
Stefan Schuermans added file headers

Stefan Schuermans authored 12 years ago

1) /* MIPS I system
Stefan Schuermans replace email address in he...

Stefan Schuermans authored 12 years ago

2)  * Copyright 2011-2012 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans added file headers

Stefan Schuermans authored 12 years ago

3)  * Copyleft GNU public license V2 or later
4)  *          http://www.gnu.org/copyleft/gpl.html
5)  */
6) 
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

7) #include "config.h"
8) #include "macros.h"
9) #include "nethelp.h"
10) 
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

11) /// MAC address
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

12) /* extern */ struct config_mac config_mac = {
13)   .mac = { 0x02, 0x4D, 0x49, 0x50, 0x53, 0x01 }
14) };
15) 
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

16) /**
17)  * @brief IP configuration
18)  *
19)  * fill with meaningful data for static configuration
20)  * or fill with zeros for DHCP
21)  */
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

22) /* extern */ struct config_ip config_ip = {
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

23) #if 0
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

24)   .ip = { 192, 168, 0, 89 },
Stefan Schuermans fix subnet mask

Stefan Schuermans authored 12 years ago

25)   .mask = { 255, 255, 255, 0 },
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

26)   .gw = { 192, 168, 0, 1 }
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

27) #else
28)   .ip = { 0, 0, 0, 0 },
29)   .mask = { 0, 0, 0, 0 },
30)   .gw = { 0, 0, 0, 0 }
31) #endif