X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fjtag%2Fparport.c;h=13f04904fa4ced4b8b25ea7f7d6d595d15ceb4fd;hb=6fda8707668c413a78f44ae4f58a79f5765376c2;hp=31629d21d35ba108684d157cc7fe24c837727634;hpb=6bfad873ede29b341b11cfa56d28d73e98b7e2bb;p=openocd diff --git a/src/jtag/parport.c b/src/jtag/parport.c index 31629d21..13f04904 100644 --- a/src/jtag/parport.c +++ b/src/jtag/parport.c @@ -2,6 +2,9 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -101,7 +104,7 @@ cable_t cables[] = { "wiggler_ntrst_inverted", 0x80, 0x10, 0x02, 0x04, 0x08, 0x01, 0x11, 0x80, 0x80, 0x80, 0x00 }, { "old_amt_wiggler", 0x80, 0x01, 0x02, 0x04, 0x08, 0x10, 0x11, 0x80, 0x80, 0x80, 0x00 }, - { "arm-jtag", 0x80, 0x01, 0x02, 0x04, 0x08, 0x10, 0x01, 0x80, 0x80, 0x80, 0x00 }, + { "arm-jtag", 0x80, 0x01, 0x02, 0x04, 0x08, 0x10, 0x01, 0x80, 0x80, 0x80, 0x00 }, { "chameleon", 0x80, 0x00, 0x04, 0x01, 0x02, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00 }, { "dlc5", 0x10, 0x00, 0x04, 0x02, 0x01, 0x00, 0x00, 0x00, 0x10, 0x10, 0x00 }, { "triton", 0x80, 0x08, 0x04, 0x01, 0x02, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00 }, @@ -265,11 +268,11 @@ int parport_speed(int speed) int parport_register_commands(struct command_context_s *cmd_ctx) { register_command(cmd_ctx, NULL, "parport_port", parport_handle_parport_port_command, - COMMAND_CONFIG, NULL); + COMMAND_CONFIG, "either the address of the I/O port or the number of the ‘/dev/parport’ device"); register_command(cmd_ctx, NULL, "parport_cable", parport_handle_parport_cable_command, - COMMAND_CONFIG, NULL); + COMMAND_CONFIG, "the layout of the parallel port cable used to connect to the target"); register_command(cmd_ctx, NULL, "parport_write_on_exit", parport_handle_write_on_exit_command, - COMMAND_CONFIG, NULL); + COMMAND_CONFIG, "configure the parallel driver to write a known value to the parallel interface"); return ERROR_OK; }