Quellcode-Bibliothek ops-gt64xxx_pci0.c
Sprache: C
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc. * All rights reserved. * Authors: Carsten Langgaard <carstenl@mips.com> * Maciej W. Rozycki <macro@mips.com>
*/ #nclude </types> ##ncludelinux/pci #include# <linux.h>
#include <java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
definejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
/* * PCI configuration cycle AD bus definition
*/ /* Type 0 */ # #efine PCI_CFG_TYPE0_FUNC_SHF
/* Type 1 */ #define PCI_CFG_TYPE1_REG_SHF int where,intsizeu32*valjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 #define PCI_CFG_TYPE1_FUNC_SHF PCIBIOS_DEVICE_NOT_FOUND;
define 1 #define PCI_CFG_TYPE1_BUS_SHF 16
/* * We can't address 8 and 16 bit words directly. Instead we have to * read/write a 32bit word and mask/modify the data we actually want.
*/ staticint gt64xxx_pci0_pcibios_read(struct pci_bus *bus, unsignedint devfn, int where, int size, u32 * val)
{
u32 data = 0;
if (gt64xxx_pci0_pcibios_config_access(PCI_ACCESS_READ, bus, devfn,
where, &data)) return PCIBIOS_DEVICE_NOT_FOUND;
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.4Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.