Hi,
This patch includes port of NUT to LynxOS 4.0. The patch is against
yesterday's svn tree. Here is a brief description of changes:
drivers/powercom.c:
Rename shutdown() to shutdown2(). shutdown() is already defined
in LynxOS system header files. Please feel free to rename it more
appropriately. (I didn't do it due to lack of imagination :-) )
include/proto.h:
Added some guards and missing prototypes.
Could somebody review and apply these changes to NUT tree?
Regards,
Olli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut-lynxos.diff
Type: text/x-patch
Size: 1364 bytes
Desc: not available
Url :
http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060517/fb717290/nut-lynxos.bin
Hello.> Hi, > > This patch includes port of NUT to LynxOS 4.0. The patch is against > yesterday's svn tree. Here is a brief description of changes: > > drivers/powercom.c: > Rename shutdown() to shutdown2(). shutdown() is already defined > in LynxOS system header files. Please feel free to rename it more > appropriately. (I didn't do it due to lack of imagination :-) ) > > include/proto.h: > Added some guards and missing prototypes. > > Could somebody review and apply these changes to NUT tree? > > Regards, > Olliwhat model of powercom you use? i use bnt-1200AP and powercom driver not work correct ( it send wrong command for delayed shutdown of UPS. it send only 1 byte command, but for powerup after power restore UPS need's 2 bytes command) -- ? ?????????, ??????? mailto:alex@reutman.ru
2006/5/17, Olli Savia <ops@iki.fi>:> Hi, > > This patch includes port of NUT to LynxOS 4.0. The patch is against > yesterday's svn tree. Here is a brief description of changes: > > drivers/powercom.c: > Rename shutdown() to shutdown2(). shutdown() is already defined > in LynxOS system header files. Please feel free to rename it more > appropriately. (I didn't do it due to lack of imagination :-) ) > > include/proto.h: > Added some guards and missing prototypes. > > Could somebody review and apply these changes to NUT tree?logged into the tracker: https://alioth.debian.org/tracker/index.php?func=detail&aid=303460&group_id=30602&atid=411544 thanks for the patch, Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/