move jtag drivers to src/jtag/drivers Moves JTAG interface drivers to src/jtag/drivers/, Adds src/jtag/drivers/Makefile.am. Builds libocdjtagdrivers.la. Flattens the rlink driver files into the drivers/ directory, adding the 'rlink_' prefix or '.rlink' suffix as appropriate.
remove register_callbacks from jtag interface Changes the jtag_interface->register_callbacks field to a list of commands to be registered. Changes callback to invocation of register_commands() with that command registration list. Removes all JTAG interface driver register_command callback functions, which the previous commits had converted into identical calls.
jlink: use register_commands() Use register_commands() with command registration array.
use COMMAND_REGISTER macro Replaces direct calls to register_command() with a macro, to allow its parameters to be changed and callers updated in phases.
jlink: rewrite to use jtag_usb_open Rewrite jlink_usb_open to use jtag_usb_open helper.
jlink: remove superfluous indentation Rewrite logic to remove indentation in jlink_usb_open, in prep for further surgery.
jtag: remove useless forward declarations Removes some more useless forward declarations from a few JTAG drivers. Moves interface and bit-bang structure defitions below their callbacks.
command_handler: change 'cmd_ctx' to CMD_CTX Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
command_handler: change 'args' to CMD_ARGV This patch converts all instances of 'args' in COMMAND_HANDLER routines to use CMD_ARGV macro.
command_handler: change to 'argc' to CMD_ARGC This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
remove TAP_SCAN_BYTES macro Use DIV_ROUND_UP(n, 8) instead of TAP_SCAN_BYTES macro.
arm-jtag-ew,jlink: switch to COMMAND_HANDLER These drivers were overlooked during the recent upgrade. Convert them, moving their registration routines to eliminate their declarations.
command_context_t -> struct command_context Remove misleading typedef and redundant suffix from struct command_context.
jtag_command_t -> struct jtag_command Remove useless typedef from struct jtag_command.
scan_command_t -> struct scan_command Remove misleading typedef on struct scan_command.
jlink_jtag_t -> struct jlink Remove misleading typedef and redundant suffix.
pending_scan_result_t -> struct pending_scan_result Remove misleading typedef from struct struct pending_scan_result. Future patches need to remove these duplicated types and code.
jtag_interface_t -> struct jtag_interface Remove useless typedef and redundant suffix from struct jtag_interface.
Remove annoying end-of-line whitespace from most src/* files; omitted src/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@2742 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Gary Carlson [gcarlson@carlson-minot.com]: - revert patch from rev1507 as it was causing reset issues with arm9 cores git-svn-id: svn://svn.berlios.de/openocd/trunk@2574 b42882b7-edfa-0310-969c-e2dbd0fdcd60