Root/target/linux/brcm-2.4/files/arch/mips/bcm947xx/include/hndpci.h

1/*
2 * HND SiliconBackplane PCI core software interface.
3 *
4 * Copyright 2007, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 */
12
13#ifndef _hndpci_h_
14#define _hndpci_h_
15
16extern int sbpci_read_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
17                             int len);
18extern int extpci_read_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
19                              int len);
20extern int sbpci_write_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
21                              int len);
22extern int extpci_write_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
23                               int len);
24extern void sbpci_ban(uint16 core);
25extern int sbpci_init(sb_t *sbh);
26extern int sbpci_init_pci(sb_t *sbh);
27extern void sbpci_init_cores(sb_t *sbh);
28extern void sbpci_arb_park(sb_t *sbh, uint parkid);
29
30#define PCI_PARK_NVRAM 0xff
31
32#endif /* _hndpci_h_ */
33

Archive Download this file



interactive