Mercurial > mplayer.hg
comparison vidix/savage_vid.c @ 22858:6c57087c5a2d
checking for dynamic drivers version number is now pointless
author | ben |
---|---|
date | Sun, 01 Apr 2007 11:13:04 +0000 |
parents | 77def5093daf |
children | 3657ff134131 |
comparison
equal
deleted
inserted
replaced
22857:77def5093daf | 22858:6c57087c5a2d |
---|---|
759 VGAOUT16(vgaCRIndex, 0x0093 ); | 759 VGAOUT16(vgaCRIndex, 0x0093 ); |
760 VGAOUT8( vgaCRIndex, 0x92 ); | 760 VGAOUT8( vgaCRIndex, 0x92 ); |
761 VGAOUT8( vgaCRReg, VGAIN8(vgaCRReg) & 0x40 ); | 761 VGAOUT8( vgaCRReg, VGAIN8(vgaCRReg) & 0x40 ); |
762 | 762 |
763 info->videoFlags &= ~VF_STREAMS_ON; | 763 info->videoFlags &= ~VF_STREAMS_ON; |
764 } | |
765 | |
766 | |
767 /** | |
768 * @brief Check age of driver. | |
769 * | |
770 * @return vidix version number. | |
771 */ | |
772 static unsigned int | |
773 savage_get_version (void) | |
774 { | |
775 return (VIDIX_VERSION); | |
776 } | 764 } |
777 | 765 |
778 /** | 766 /** |
779 * @brief Find chip index in Unichrome compliant devices list. | 767 * @brief Find chip index in Unichrome compliant devices list. |
780 * | 768 * |
1475 | 1463 |
1476 VDXDriver savage_drv = { | 1464 VDXDriver savage_drv = { |
1477 "savage", | 1465 "savage", |
1478 NULL, | 1466 NULL, |
1479 .probe = savage_probe, | 1467 .probe = savage_probe, |
1480 .get_version = savage_get_version, | |
1481 .get_caps = savage_get_caps, | 1468 .get_caps = savage_get_caps, |
1482 .query_fourcc = savage_query_fourcc, | 1469 .query_fourcc = savage_query_fourcc, |
1483 .init = savage_init, | 1470 .init = savage_init, |
1484 .destroy = savage_destroy, | 1471 .destroy = savage_destroy, |
1485 .config_playback = savage_config_playback, | 1472 .config_playback = savage_config_playback, |