2009-01-22 01:27:03 +00:00
|
|
|
.import ip65_init
|
|
|
|
.import ip65_process
|
|
|
|
|
|
|
|
.import cfg_mac
|
|
|
|
.import cfg_ip
|
|
|
|
.import cfg_netmask
|
|
|
|
.import cfg_gateway
|
|
|
|
.import cfg_dns
|
|
|
|
.import cfg_tftp_server
|
|
|
|
|
|
|
|
.import dhcp_init
|
|
|
|
.import dhcp_server
|
|
|
|
|
2009-04-04 05:14:37 +00:00
|
|
|
.import cfg_get_configuration_ptr
|
|
|
|
|
2009-01-22 01:27:03 +00:00
|
|
|
.macro init_ip_via_dhcp
|
|
|
|
|
|
|
|
print_driver_init
|
|
|
|
jsr ip65_init
|
|
|
|
bcc :+
|
|
|
|
print_failed
|
|
|
|
sec
|
|
|
|
jmp @end_macro
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
print_ok
|
|
|
|
|
|
|
|
print_dhcp_init
|
|
|
|
|
|
|
|
jsr dhcp_init
|
2009-03-26 00:43:35 +00:00
|
|
|
bcc :+
|
2009-01-22 01:27:03 +00:00
|
|
|
print_failed
|
|
|
|
sec
|
2009-03-26 00:43:35 +00:00
|
|
|
jmp @end_macro
|
2009-01-22 01:27:03 +00:00
|
|
|
:
|
|
|
|
print_ok
|
|
|
|
clc
|
|
|
|
@end_macro:
|
|
|
|
.endmacro
|