- Timestamp:
- 04/05/09 01:38:54 (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r44 r45 175 175 @-$(MAKE) --no-print-directory \ 176 176 -f Maketype TYP=$(subst cross-,,$@) \ 177 OS_LIBS=" " \177 OS_LIBS="-lcrypto" \ 178 178 OS_CULI="-lncurses" \ 179 179 OS_PTLI="-lpthread" \ … … 196 196 @-$(MAKE) --no-print-directory \ 197 197 -f Maketype TYP=$(subst cross-,,$@) \ 198 OS_LIBS=" " \198 OS_LIBS="-lcrypto" \ 199 199 OS_CULI="-lncurses" \ 200 200 OS_PTLI="-lpthread" \ -
trunk/csctapi/io_serial.c
r21 r45 45 45 #include "io_serial.h" 46 46 #include "mc_global.h" 47 48 #ifndef OS_CYGWIN32 47 49 #include <linux/serial.h> 50 #endif 48 51 49 52 #define IO_SERIAL_FILENAME_LENGTH 32 … … 512 515 cfsetispeed(&newtio, IO_Serial_Bitrate(props->input_bitrate)); 513 516 } else { 517 #ifndef OS_CYGWIN32 514 518 struct serial_struct nuts; 515 519 ioctl(io->fd, TIOCGSERIAL, &nuts); … … 520 524 cfsetospeed(&newtio, IO_Serial_Bitrate(38400)); 521 525 cfsetispeed(&newtio, IO_Serial_Bitrate(38400)); 526 #else 527 cfsetospeed(&newtio, IO_Serial_Bitrate(9600 / 3.57 * 6)); 528 cfsetispeed(&newtio, IO_Serial_Bitrate(9600 / 3.57 * 6)); 529 #endif 522 530 } 523 531 } else if (mhz == 357 || mhz == 358) { 524 532 /* for 3.57 MHz */ 525 533 if (reader_irdeto_mode) { 534 #ifndef OS_CYGWIN32 526 535 struct serial_struct nuts; 527 536 ioctl(io->fd, TIOCGSERIAL, &nuts); … … 532 541 cfsetospeed(&newtio, IO_Serial_Bitrate(38400)); 533 542 cfsetispeed(&newtio, IO_Serial_Bitrate(38400)); 543 #else 544 cfsetospeed(&newtio, IO_Serial_Bitrate(5713)); 545 cfsetispeed(&newtio, IO_Serial_Bitrate(5713)); 546 #endif 534 547 } else { 535 548 cfsetospeed(&newtio, IO_Serial_Bitrate(props->output_bitrate)); -
trunk/reader-videoguard2.c
r32 r45 4 4 #include <termios.h> 5 5 #include <unistd.h> 6 #ifndef OS_CYGWIN32 6 7 #include <linux/serial.h> 8 #endif 7 9 8 10 #define MAX_ATR_LEN 33 // max. ATR length … … 473 475 } 474 476 477 #ifndef OS_CYGWIN32 475 478 int bconst=B38400; 476 479 int baud=64516; … … 512 515 return 0; 513 516 } 517 #endif 514 518 515 519 unsigned char ins7401[5] = { 0xD0,0x74,0x01,0x00,0x00 };
Note:
See TracChangeset
for help on using the changeset viewer.