xref: /linux/drivers/media/pci/cx25821/cx25821-cards.c (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1 /*
2  *  Driver for the Conexant CX25821 PCIe bridge
3  *
4  *  Copyright (C) 2009 Conexant Systems Inc.
5  *  Authors  <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
6  *	Based on Steven Toth <stoth@linuxtv.org> cx23885 driver
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *
17  *  GNU General Public License for more details.
18  */
19 
20 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
21 
22 #include <linux/init.h>
23 #include <linux/module.h>
24 #include <linux/pci.h>
25 
26 #include "cx25821.h"
27 
28 /* board config info */
29 
30 struct cx25821_board cx25821_boards[] = {
31 	[UNKNOWN_BOARD] = {
32 		.name = "UNKNOWN/GENERIC",
33 		/* Ensure safe default for unknown boards */
34 		.clk_freq = 0,
35 	},
36 
37 	[CX25821_BOARD] = {
38 		.name = "CX25821",
39 		.portb = CX25821_RAW,
40 		.portc = CX25821_264,
41 	},
42 
43 };
44