default serial device on BSD systems

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2343 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.8
Stéphane Fillod, F8CFE 2008-05-04 15:36:23 +00:00
rodzic b3dc2f4713
commit 74495d7dfb
2 zmienionych plików z 12 dodań i 7 usunięć

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Interface - main file
* Copyright (c) 2000-2006 by Stephane Fillod and Frank Singleton
* Copyright (c) 2000-2008 by Stephane Fillod and Frank Singleton
*
* $Id: rig.c,v 1.95 2007-11-26 20:54:12 n0nb Exp $
* $Id: rig.c,v 1.96 2008-05-04 15:36:23 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -30,7 +30,7 @@
* \brief Ham Radio Control Libraries interface
* \author Stephane Fillod
* \author Frank Singleton
* \date 2000-2006
* \date 2000-2008
*
* Hamlib provides a user-callable API, a set of "front-end" routines that
* call rig-specific "back-end" routines whichactually communicate with
@ -76,7 +76,7 @@ const char hamlib_version[] = "Hamlib version " PACKAGE_VERSION;
* \brief Hamlib copyright notice
*/
const char hamlib_copyright[] =
"Copyright (C) 2000-2007 Stephane Fillod and Frank Singleton\n"
"Copyright (C) 2000-2008 Stephane Fillod and Frank Singleton\n"
"This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
@ -85,6 +85,8 @@ const char hamlib_copyright[] =
#if defined(WIN32) && !defined(__CYGWIN__)
#define DEFAULT_SERIAL_PORT "\\\\.\\COM1"
#elif BSD
#define DEFAULT_SERIAL_PORT "/dev/cuaa0"
#else
#define DEFAULT_SERIAL_PORT "/dev/ttyS0"
#endif

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Interface - main file
* Copyright (c) 2000-2006 by Stephane Fillod and Frank Singleton
* Copyright (c) 2000-2008 by Stephane Fillod and Frank Singleton
*
* $Id: rotator.c,v 1.21 2006-10-15 00:27:52 aa6e Exp $
* $Id: rotator.c,v 1.22 2008-05-04 15:36:23 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -29,7 +29,7 @@
* \file src/rotator.c
* \brief Rotator interface
* \author Stephane Fillod
* \date 2000-2006
* \date 2000-2008
*
* Hamlib interface is a frontend implementing rotator wrapper functions.
*/
@ -65,9 +65,12 @@
#if defined(WIN32) && !defined(__CYGWIN__)
#define DEFAULT_SERIAL_PORT "\\\\.\\COM1"
#elif BSD
#define DEFAULT_SERIAL_PORT "/dev/cuaa0"
#else
#define DEFAULT_SERIAL_PORT "/dev/ttyS0"
#endif
#if defined(WIN32)
#define DEFAULT_PARALLEL_PORT "\\\\.\\$VDMLPT1"
#elif defined(HAVE_DEV_PPBUS_PPI_H)