Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: [Alsa-devel] Problem with Avermedia 771



> A centralized card list looks more advantageous now ...

Hmm, along these lines maybe?

   Gerd

==============================[ cut here ]==============================

enum bt878_func1 {
	BT878_FUNC1_IS_UNKNOWN = 0,
	BT878_FUNC1_IS_AUDIO,
	BT878_FUNC1_IS_DVB,
	BT878_FUNC1_IS_OTHER,
};

struct bt878_entry {
	u16    subvendor;
	u16    subdevice;
	char   *name;
	enum bt878_func1 func1;      /* what PCI function 1 is used for?    */
	int    bttv_id;              /* for bttv, index into bttv_tvcards[] */
	int    audio_rate;           /* for alsa/btaudio, sample rate       */
};

const struct bt878_entry* bt878_db_lookup(struct pci_dev *pci);





Home | Main Index | Thread Index