Download Print this page

NETGEAR KWGR614 User Manual page 10

Opensource wireless-g router
Hide thumbs Also See for KWGR614:

Advertisement

8. Add the function to system initialization.
user/boa/src/dni/board.c
uint32 sysInit(void)
{
. . .
/* init nvram example */
example_init();
. . .
} /* end sysInit */
9. Add an ID to the configuration management table and to the control table.
user/boa/src/rtl865x/rtl_board.h
enum _board_cfgmgr_tabId_e {
. . .
CFGMGR_TABID_EXAMPLE,
CFGMGR_TABID_MAX
};
user/boa/src/dni/board.c
static _board_cfgmgr_ctrl_t _board_cfgmgr_ctrlTbl[CFGMGR_TABID_MAX+1]
=
{
. . .
{CFGMGR_TABID_EXAMPLE, exampleParamDefault,
(sizeof(exampleParamDefault))},
{CFGMGR_TABID_MAX, NULL, 0}
};
10. Create a
function for the parameter.
save
user/boa/src/dni/board.c

Advertisement

loading