dump_cis

2010-09-10 Thread Arne Zachlod

Hello,

at the moment I'm developing a CardBus-Card and I would like to use the 
dump_$something , especially the dump_cis tool to debug my Card, but it 
seems like the tools are not in the pccardctl-package included anymore. 
Is there another way to read out the CardBus-Registers?

In case it is needed: I'm running kernel 2.6.32 and PCMCIAutils 0.17

Regards,
Arne

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


Re: dump_cis

2010-09-10 Thread Wolfram Sang
> at the moment I'm developing a CardBus-Card and I would like to use
> the dump_$something , especially the dump_cis tool to debug my Card,
> but it seems like the tools are not in the pccardctl-package

Get the sourcecode and run "make debugtools" -> voila!

-- 
Pengutronix e.K.   | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/  |


signature.asc
Description: Digital signature
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


[PATCH 5/5] Build infrastructure for mkcis and dump_cis programs

2010-09-24 Thread Dmitry Eremin-Solenikov
Add Makefile and .gitignore for mkcis/dump_cis programs.

Signed-off-by: Dmitry Eremin-Solenikov 
---
 mkcis/.gitignore |4 
 mkcis/Makefile   |   29 +
 2 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 mkcis/.gitignore
 create mode 100644 mkcis/Makefile

diff --git a/mkcis/.gitignore b/mkcis/.gitignore
new file mode 100644
index 000..8d19f6d
--- /dev/null
+++ b/mkcis/.gitignore
@@ -0,0 +1,4 @@
+*.o
+mkcis
+dump_cis
+
diff --git a/mkcis/Makefile b/mkcis/Makefile
new file mode 100644
index 000..b7faa6f
--- /dev/null
+++ b/mkcis/Makefile
@@ -0,0 +1,29 @@
+CFLAGS = -Wall -I.
+LDFLAGS = -lm
+
+# Uncomment to regenerate flex/bison output
+# GENERATE_PARSER = 1
+
+BISON = bison
+FLEX = flex
+
+all: mkcis dump_cis
+
+dump_cis: dump_cis.o
+
+mkcis: mkcis.o mkcis-lexer.lex.o mkcis-parser.tab.o
+
+clean:
+   -rm -f mkcis dump_cis *.o
+
+mkcis-lexer.lex.o: mkcis-parser.tab.h
+
+ifeq ($(GENERATE_PARSER),1)
+mkcis-parser.tab.h: mkcis-parser.tab.c
+
+mkcis-parser.tab.c: mkcis-parser.y
+   $(BISON) -d -o $@ $<
+
+mkcis-lexer.lex.c: mkcis-lexer.l
+   $(FLEX) -o $@ $<
+endif
-- 
1.7.1


___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia