blob: f2ebc989b30338b943e1406780a61a219db7c7fc [file] [log] [blame]
Mauro Carvalho Chehab1a9fc852009-09-13 11:30:11 -03001/*
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 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 */
23
Joe Perches36d89f72010-11-07 17:48:21 -030024#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
25
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030026#include <linux/init.h>
27#include <linux/module.h>
28#include <linux/pci.h>
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030029
30#include "cx25821.h"
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030031
sai770238bf2010-03-22 23:29:25 -030032/* board config info */
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030033
34struct cx25821_board cx25821_boards[] = {
35 [UNKNOWN_BOARD] = {
Leonid V. Fedorenchik0fe773d2011-09-02 11:55:34 +080036 .name = "UNKNOWN/GENERIC",
37 /* Ensure safe default for unknown boards */
38 .clk_freq = 0,
39 },
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030040
41 [CX25821_BOARD] = {
Leonid V. Fedorenchik0fe773d2011-09-02 11:55:34 +080042 .name = "CX25821",
43 .portb = CX25821_RAW,
44 .portc = CX25821_264,
Leonid V. Fedorenchik0fe773d2011-09-02 11:55:34 +080045 },
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030046
47};