Revert to static Ethernet driver for the ATARI.
After all there's no momentum for a W5100-based Ethernet solution on the ATARI. So I revert to static linkage of the CS8900A driver as this improves program load times.
This commit is contained in:
parent
7b7781360f
commit
a6472c8dd9
5 changed files with 14 additions and 17 deletions
|
@ -90,15 +90,15 @@ config_read(char *filename)
|
|||
log_message("Def. Router: ", ipaddrtoa(&config.draddr, uip_buf));
|
||||
log_message("DNS Server: ", ipaddrtoa(&config.resolvaddr, uip_buf));
|
||||
|
||||
#ifndef ETHERNET
|
||||
#ifndef STATIC_DRIVER
|
||||
log_message("Eth. Driver: ", config.ethernetcfg.name);
|
||||
#else /* !ETHERNET */
|
||||
#else /* !STATIC_DRIVER */
|
||||
#define _stringize(arg) #arg
|
||||
#define stringize(arg) _stringize(arg)
|
||||
log_message("Eth. Driver: ", stringize(ETHERNET));
|
||||
#undef _stringize
|
||||
#undef stringize
|
||||
#endif /* !ETHERNET */
|
||||
#endif /* !STATIC_DRIVER */
|
||||
log_message("Driver Port: $", utoa(config.ethernetcfg.addr, uip_buf, 16));
|
||||
|
||||
uip_sethostaddr(&config.hostaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue