summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 21:04:34 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 21:04:34 +0000
commit0682afece8f4896188ce74187fec17c1048e6369 (patch)
tree14dad4ea846b843fb103590751b15e2588fe7a7e
parent39363e4e013d832a75ce159e4b547fd6e0808074 (diff)
downloadopenocd+libswd-0682afece8f4896188ce74187fec17c1048e6369.tar.gz
openocd+libswd-0682afece8f4896188ce74187fec17c1048e6369.tar.bz2
openocd+libswd-0682afece8f4896188ce74187fec17c1048e6369.tar.xz
openocd+libswd-0682afece8f4896188ce74187fec17c1048e6369.zip
Uwe Hermann <uwe@hermann-uwe.de>: Make ICEbear look like other targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@1584 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--contrib/openocd.udev6
-rw-r--r--src/target/interface/icebear.cfg18
2 files changed, 6 insertions, 18 deletions
diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index be38e563..c8789756 100644
--- a/contrib/openocd.udev
+++ b/contrib/openocd.udev
@@ -52,9 +52,9 @@ SYSFS{idVendor}=="0403", SYSFS{idProduct}=="bdc8", MODE="664", GROUP="plugdev"
# Marvell Sheevaplug
SYSFS{idVendor}=="9e88", SYSFS{idProduct}=="9e8f", MODE="664", GROUP="plugdev"
-# Icebear (Section5)
-SYSFS{idProduct}=="c140", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
-SYSFS{idProduct}=="c141", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
+# Section5 ICEbear
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c140", MODE="664", GROUP="plugdev"
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c141", MODE="664", GROUP="plugdev"
LABEL="openocd_rules_end"
diff --git a/src/target/interface/icebear.cfg b/src/target/interface/icebear.cfg
index 97b50daa..3df42cb5 100644
--- a/src/target/interface/icebear.cfg
+++ b/src/target/interface/icebear.cfg
@@ -1,23 +1,11 @@
-#####################################################
-# IceBear Configuration
#
-# http://section5.ch/icebear
-#
-# Author: Sten, debian@sansys-electronic.com
-#####################################################
-#
-# Add file /etc/udev/rules.d/45-icebear.rules
+# Section5 ICEBear
#
-#BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="kcontrol_rules_end"
-#
-#SYSFS{idProduct}=="c140", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
-#SYSFS{idProduct}=="c141", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
-#
-#LABEL="kcontrol_rules_end"
+# http://section5.ch/icebear
#
interface ft2232
-#ft2232_device_desc ""
+# ft2232_device_desc ""
ft2232_layout icebear
ft2232_vid_pid 0x0403 0xc140