[Mplayer-cvslog] CVS: main/vidix/drivers nvidia_vid.c,1.1,1.2
Alex Beregszaszi
alex at mplayer.dev.hu
Tue Jan 15 17:35:19 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/libdha/sysdep pci_386bsd.c,1.1,1.2 pci_bsdi.c,1.1,1.2 pci_freebsd.c,1.1,1.2 pci_isc.c,1.1,1.2 pci_linux.c,1.1,1.2 pci_mach386.c,1.1,1.2 pci_netbsd.c,1.1,1.2 pci_openbsd.c,1.1,1.2 pci_os2.c,1.1,1.2 pci_sco.c,1.1,1.2 pci_svr4.c,1.1,1.2 pci_win32.c,1.1,1.2
- Next message: [Mplayer-cvslog] CVS: main Makefile,1.140,1.141 configure,1.371,1.372 mencoder.c,1.58,1.59 mp_msg.c,1.8,1.9 mplayer.c,1.367,1.368
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mplayer:/var/tmp.root/cvs-serv12245
Modified Files:
nvidia_vid.c
Log Message:
commited due to request of nexus
Index: nvidia_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/nvidia_vid.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nvidia_vid.c 13 Jan 2002 00:26:23 -0000 1.1
+++ nvidia_vid.c 15 Jan 2002 16:35:17 -0000 1.2
@@ -18,15 +18,22 @@
static int32_t overlay_offset = 0;
static uint32_t ram_size = 0;
+#define CARD_FLAGS_NONE 0x00
+#define CARD_FLAGS_NOTSUPPORTED 0x01
+
struct nv_card_id_s
{
const unsigned int id ;
const char name[17];
+ const int core;
+ const int flags;
};
static const struct nv_card_id_s nv_card_ids[]=
{
- { DEVICE_NVIDIA_RIVA_TNT2_NV5, "nVidia TNT2" },
+ { DEVICE_NVIDIA_RIVA_TNT2_NV5, "nVidia TNT2 (NV5) ", 5, CARD_FLAGS_NOTSUPPORTED},
+ { DEVICE_NVIDIA_VANTA_NV6, "nVidia Vanta (NV6.1)", 6, CARD_FLAGS_NOTSUPPORTED},
+ { DEVICE_NVIDIA_VANTA_NV62, "nVidia Vanta (NV6.2)", 6, CARD_FLAGS_NOTSUPPORTED},
};
static int find_chip(unsigned int chip_id)
@@ -95,7 +102,15 @@
idx = find_chip(lst[i].device);
if (idx == -1)
continue;
- printf("Found chip: %s\n", nv_card_ids[idx].name);
+ if (nv_card_ids[idx].flags & CARD_FLAGS_NOTSUPPORTED)
+ {
+ printf("Found chip: %s, but not supported!\n",
+ nv_card_ids[idx].name);
+ continue;
+ }
+ else
+
+ printf("Found chip: %s\n", nv_card_ids[idx].name);
nvidia_cap.device_id = nv_card_ids[idx].id;
err = 0;
memcpy(&pci_info, &lst[i], sizeof(pciinfo_t));
- Previous message: [Mplayer-cvslog] CVS: main/libdha/sysdep pci_386bsd.c,1.1,1.2 pci_bsdi.c,1.1,1.2 pci_freebsd.c,1.1,1.2 pci_isc.c,1.1,1.2 pci_linux.c,1.1,1.2 pci_mach386.c,1.1,1.2 pci_netbsd.c,1.1,1.2 pci_openbsd.c,1.1,1.2 pci_os2.c,1.1,1.2 pci_sco.c,1.1,1.2 pci_svr4.c,1.1,1.2 pci_win32.c,1.1,1.2
- Next message: [Mplayer-cvslog] CVS: main Makefile,1.140,1.141 configure,1.371,1.372 mencoder.c,1.58,1.59 mp_msg.c,1.8,1.9 mplayer.c,1.367,1.368
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list