VOL-1194 reference to constants problem
Change-Id: Iaf93e31d8413f64b19360416d53be350b6fe2ae8
diff --git a/src/core.cc b/src/core.cc
index 7f4e6da..bf2a41e 100644
--- a/src/core.cc
+++ b/src/core.cc
@@ -36,6 +36,8 @@
#include <bcmos_system.h>
#include <bal_api.h>
#include <bal_api_end.h>
+// FIXME : dependency problem
+// #include <bcm_common_gpon.h>
}
#define NUM_OF_PON_PORTS 16
@@ -63,13 +65,22 @@
device_info->set_hardware_version("");
device_info->set_firmware_version(firmware_version);
device_info->set_technology(technology);
- device_info->set_onu_id_start(1);
- device_info->set_onu_id_end(XGPON_NUM_OF_ONUS - 1);
- device_info->set_alloc_id_start(1024);
- device_info->set_alloc_id_end(XGPON_NUM_OF_ALLOC_IDS * NUM_OF_PON_PORTS - 1);
- device_info->set_gemport_id_start(RSC_MGR_XGPON_MIN_BASE_SERVICE_PORT_ID);
- device_info->set_gemport_id_end(XGPON_NUM_OF_GEM_PORT_IDS_PER_PON * NUM_OF_PON_PORTS - 1);
device_info->set_pon_ports(NUM_OF_PON_PORTS);
+ device_info->set_onu_id_start(1);
+ device_info->set_onu_id_end(257);
+ device_info->set_alloc_id_start(1024);
+ device_info->set_alloc_id_end(16383);
+ device_info->set_gemport_id_start(1024);
+ device_info->set_gemport_id_end(65535);
+
+ // FIXME: Once dependency problem is fixed
+ // device_info->set_pon_ports(NUM_OF_PON_PORTS);
+ // device_info->set_onu_id_end(XGPON_NUM_OF_ONUS - 1);
+ // device_info->set_alloc_id_start(1024);
+ // device_info->set_alloc_id_end(XGPON_NUM_OF_ALLOC_IDS * NUM_OF_PON_PORTS ? - 1);
+ // device_info->set_gemport_id_start(XGPON_MIN_BASE_SERVICE_PORT_ID);
+ // device_info->set_gemport_id_end(XGPON_NUM_OF_GEM_PORT_IDS_PER_PON * NUM_OF_PON_PORTS ? - 1);
+ // device_info->set_pon_ports(NUM_OF_PON_PORTS);
return Status::OK;
}