cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cx25821-cards.c (696B)


      1// SPDX-License-Identifier: GPL-2.0-or-later
      2/*
      3 *  Driver for the Conexant CX25821 PCIe bridge
      4 *
      5 *  Copyright (C) 2009 Conexant Systems Inc.
      6 *  Authors  <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
      7 *	Based on Steven Toth <stoth@linuxtv.org> cx23885 driver
      8 */
      9
     10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
     11
     12#include <linux/init.h>
     13#include <linux/module.h>
     14#include <linux/pci.h>
     15
     16#include "cx25821.h"
     17
     18/* board config info */
     19
     20struct cx25821_board cx25821_boards[] = {
     21	[UNKNOWN_BOARD] = {
     22		.name = "UNKNOWN/GENERIC",
     23		/* Ensure safe default for unknown boards */
     24		.clk_freq = 0,
     25	},
     26
     27	[CX25821_BOARD] = {
     28		.name = "CX25821",
     29		.portb = CX25821_RAW,
     30		.portc = CX25821_264,
     31	},
     32
     33};