- Tryfix SH4 internal reader (seems it needs frequency instead of Fi)
- Some code optimalization (lesser unneeded calculations during init)


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8965 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Adapted smartreader protocol and default speed settings smartreader.

The triple work's now by me with card detect on three cards on and is stable.
The v1 also work's ok

The v2  I'm curious needs report about that one

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8966 4b0bc96b-bc66-0410-9d44-ebda105a78c1
A small correction with write lock

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8967 4b0bc96b-bc66-0410-9d44-ebda105a78c1
emm back ok for v1

emm does work back on v1 . For v2 or triple emm must be off or card detect must be off. Still in process for improvement.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8968 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Now emm en cd work's togheter lso on triple.

triple sometimes still not 100 % ok.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8969 4b0bc96b-bc66-0410-9d44-ebda105a78c1
reset the 4232H to max size off 512

works better after all
invalidate buffers on usb_reset

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8970 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Corrected some warnings about smartreader.c

Also set cmake warning list to higher level.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8971 4b0bc96b-bc66-0410-9d44-ebda105a78c1
The -Wshadow and -Warray warning fix

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8972 4b0bc96b-bc66-0410-9d44-ebda105a78c1
- Add more support for new nagra "seca3" cards
- Secatype detection for 0100:00006a is now done on card init
- Added detection of nano01 (new protection for premium content)
- Auto disable controlwordchecksum if nano01 is in effect


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8973 4b0bc96b-bc66-0410-9d44-ebda105a78c1
- nano01 detection for other providers than 0100:00006a too


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8974 4b0bc96b-bc66-0410-9d44-ebda105a78c1
This change should stabilize the v2 reader

The triple better but still not 100 % ok

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8975 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Fix compilation error reported in ticket #3481.

Not declaring variable "static" allows any object file to
access it by just declaring the variable as "extern" in the
source file where the variable will be used.

If you have to add variable in globals.h you are probably
doing it wrong /like in this case/ :)

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8976 4b0bc96b-bc66-0410-9d44-ebda105a78c1
smartreader protocol also works for triple

Now smartreader protocol works ok for triple with three times card detect
For cards tvv and telesat. at 800 and 800 optimum perfo

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8977 4b0bc96b-bc66-0410-9d44-ebda105a78c1
small correction forgot to reset these parameters

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8978 4b0bc96b-bc66-0410-9d44-ebda105a78c1
double insertion declaration

The fact that icc_async.h and atr.h are included both
leads to double declaration from smartdev_found integer.
since atr.h is included in atr.h do not needs to be included in reader common.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8979 4b0bc96b-bc66-0410-9d44-ebda105a78c1
now the smartdev_found error should be gone,

created an extra header file for smartreader.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8980 4b0bc96b-bc66-0410-9d44-ebda105a78c1
the file seemed not to be included in commit

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8981 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove global variable.

Declaring variable in header file (that is not static or extern) is
almost always a sign of bug or serious design flaw.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8982 4b0bc96b-bc66-0410-9d44-ebda105a78c1
a little snac with card detection

sorry sorry forgot to change one off my values I just used for testing.
Start off reader much more stable now detection will wait on card initiation

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8983 4b0bc96b-bc66-0410-9d44-ebda105a78c1
inserted old card detect procedure for v1 reader only

reduced the number of start attempts for triple and v2 to 2
removed a small hick wich may cause card failure for irdeteo cards at start.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8984 4b0bc96b-bc66-0410-9d44-ebda105a78c1