Commit 384708bb authored by claes's avatar claes

One ld_node file for each node

parent f9c1d03b
/* /*
* Proview $Id: ini.c,v 1.23 2005-11-14 16:36:35 claes Exp $ * Proview $Id: ini.c,v 1.24 2006-05-05 11:31:08 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -799,7 +799,7 @@ ini_CheckContext ( ...@@ -799,7 +799,7 @@ ini_CheckContext (
cp->bootfile.logOpenFail = errh_LogFatal; cp->bootfile.logOpenFail = errh_LogFatal;
if (!cp->flags.b.nodefile) if (!cp->flags.b.nodefile)
sprintf(cp->nodefile.name, dbs_cNameNode, cp->dir, cp->busid); sprintf(cp->nodefile.name, dbs_cNameNode, cp->dir, cp->nodename, cp->busid);
cdh_ToLower(cp->nodefile.name, cp->nodefile.name); cdh_ToLower(cp->nodefile.name, cp->nodefile.name);
cp->nodefile.errcount = &cp->fatals; cp->nodefile.errcount = &cp->fatals;
cp->nodefile.logOpenFail = errh_LogFatal; cp->nodefile.logOpenFail = errh_LogFatal;
......
#ifdef PDR_HDR #ifdef PDR_HDR
%/** %/**
% * Proview $Id: co_dbs.pdr,v 1.23 2005-09-01 14:57:52 claes Exp $ % * Proview $Id: co_dbs.pdr,v 1.24 2006-05-05 11:31:37 claes Exp $
% * Copyright (C) 2005 SSAB Oxelsund AB. % * Copyright (C) 2005 SSAB Oxelsund AB.
% * % *
% * This program is free software; you can redistribute it and/or % * This program is free software; you can redistribute it and/or
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
%#define dbs_cNameAlias "%spwrp_alias.dat" %#define dbs_cNameAlias "%spwrp_alias.dat"
%#define dbs_cNameAppl "%sld_appl_%s_%d.txt" %#define dbs_cNameAppl "%sld_appl_%s_%d.txt"
%#define dbs_cNameBoot "%sld_boot_%s_%04d.dat" %#define dbs_cNameBoot "%sld_boot_%s_%04d.dat"
%#define dbs_cNameNode "%sld_node_%04d.dat" %#define dbs_cNameNode "%sld_node_%s_%04d.dat"
%#define dbs_cNameRc "%sld_rc_%s_%04d.dat" %#define dbs_cNameRc "%sld_rc_%s_%04d.dat"
% %
%/** %/**
......
#ifdef RPC_HDR #ifdef RPC_HDR
%/* %/*
% * Proview $Id: rt_load.x,v 1.4 2005-09-01 14:57:55 claes Exp $ % * Proview $Id: rt_load.x,v 1.5 2006-05-05 11:31:54 claes Exp $
% * Copyright (C) 2005 SSAB Oxelsund AB. % * Copyright (C) 2005 SSAB Oxelsund AB.
% * % *
% * This program is free software; you can redistribute it and/or % * This program is free software; you can redistribute it and/or
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
%#define load_cNameAlias "%spwrp_alias.dat" %#define load_cNameAlias "%spwrp_alias.dat"
%#define load_cNameAppl "%sld_appl_%s_%d.txt" %#define load_cNameAppl "%sld_appl_%s_%d.txt"
%#define load_cNameBoot "%sld_boot_%s_%04d.dat" %#define load_cNameBoot "%sld_boot_%s_%04d.dat"
%#define load_cNameNode "%sld_node_%04d.dat" %#define load_cNameNode "%sld_node_%s_%04d.dat"
%#define load_cNameRc "%sld_rc_%s_%04d.dat" %#define load_cNameRc "%sld_rc_%s_%04d.dat"
% %
% %
......
This diff is collapsed.
/* /*
* Proview $Id: wb_pkg.cpp,v 1.13 2006-02-08 13:56:41 claes Exp $ * Proview $Id: wb_pkg.cpp,v 1.14 2006-05-05 11:32:28 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -151,7 +151,7 @@ void wb_pkg::readConfig() ...@@ -151,7 +151,7 @@ void wb_pkg::readConfig()
pkg_node &n = getNode( line_item[1]); pkg_node &n = getNode( line_item[1]);
// Add ld_node file // Add ld_node file
sprintf( fname, load_cNameNode, load_cDirectory, n.bus()); sprintf( fname, load_cNameNode, load_cDirectory, n.name(), n.bus());
pkg_pattern pnode( fname, "", 'E'); pkg_pattern pnode( fname, "", 'E');
n.push_back( pnode); n.push_back( pnode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment