diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-31 16:00:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-31 16:00:06 +0000 |
commit | fe821c9ca0fcc081bbf42e6ee92aca114bcde32b (patch) | |
tree | 57bfddf18b179ea3fbe9258481d0633b913aa81c /tools/serial_probe/kudzu.h | |
parent | 0d4c275cd59708cc674744b3b932f40ea083e7a6 (diff) | |
download | drakx-backup-do-not-use-fe821c9ca0fcc081bbf42e6ee92aca114bcde32b.tar drakx-backup-do-not-use-fe821c9ca0fcc081bbf42e6ee92aca114bcde32b.tar.gz drakx-backup-do-not-use-fe821c9ca0fcc081bbf42e6ee92aca114bcde32b.tar.bz2 drakx-backup-do-not-use-fe821c9ca0fcc081bbf42e6ee92aca114bcde32b.tar.xz drakx-backup-do-not-use-fe821c9ca0fcc081bbf42e6ee92aca114bcde32b.zip |
merge in with rh:
- new debug system
- rename some fields
- kill dead code
- (setup_serial_port) return -1 if cfsetospeed() failled
- (read_pnp_string) return PNP_COM_OK instead of 0 on success
Diffstat (limited to 'tools/serial_probe/kudzu.h')
-rw-r--r-- | tools/serial_probe/kudzu.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/serial_probe/kudzu.h b/tools/serial_probe/kudzu.h new file mode 100644 index 000000000..cae9cbe6c --- /dev/null +++ b/tools/serial_probe/kudzu.h @@ -0,0 +1,27 @@ +/* Copyright 1999-2003 Red Hat, Inc. + * + * This software may be freely redistributed under the terms of the GNU + * public license. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef _KUDZU_H_ +#define _KUDZU_H_ + +/* kudzu: it grows on you */ + +/* level of debugging output */ +//#undef DEBUG_LEVEL +#define DEBUG_LEVEL 2 + +#ifdef DEBUG_LEVEL +#define DEBUG(s...) fprintf(stderr,s) +#else +#define DEBUG(s...) ; +#endif + +#endif |