From 960621b05a23c9730a62d9442d3e239c3a49a607 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Sat, 15 Dec 2007 23:00:04 +0000 Subject: [PATCH] Add support for FreeBSD's ppi interface (by Daniel O'Connor) git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@852 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/tap/cable/generic.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/jtag/src/tap/cable/generic.c b/jtag/src/tap/cable/generic.c index af989d39..37b7c61e 100644 --- a/jtag/src/tap/cable/generic.c +++ b/jtag/src/tap/cable/generic.c @@ -130,14 +130,28 @@ generic_lptcable_help( char *cablename ) printf( _( "Usage: cable %s parallel PORTADDR\n" #if HAVE_LINUX_PPDEV_H - " or: cable %s ppdev DEV\n" + " or: cable %s ppdev PPDEV\n" +#endif +#if HAVE_DEV_PPBUS_PPI_H + " or: cable %s ppi PPIDEV\n" #endif "\n" "PORTADDR parallel port address (e.g. 0x378)\n" #if HAVE_LINUX_PPDEV_H - "DEV ppdev device (e.g. /dev/parport0)\n" + "PPDEF ppdev device (e.g. /dev/parport0)\n" +#endif +#if HAVE_DEV_PPBUS_PPI_H + "PPIDEF ppi device (e.g. /dev/ppi0)\n" #endif "\n" - ), cablename, cablename ); + ), +#if HAVE_LINUX_PPDEV_H + cablename, +#endif +#if HAVE_DEV_PPBUS_PPI_H + cablename, +#endif + cablename + ); }