convert brcm-2.4 to the new target structure
[openwrt/staging/yousong.git] / target / linux / brcm-2.4 / files / arch / mips / bcm947xx / include / hndpci.h
1 /*
2 * HND SiliconBackplane PCI core software interface.
3 *
4 * $Id: hndpci.h,v 1.1.1.1 2006/02/27 03:43:16 honor Exp $
5 * Copyright 2006, Broadcom Corporation
6 * All Rights Reserved.
7 *
8 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
9 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
10 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
11 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
12 */
13
14 #ifndef _hndpci_h_
15 #define _hndpci_h_
16
17 extern int sbpci_read_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
18 int len);
19 extern int extpci_read_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
20 int len);
21 extern int sbpci_write_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
22 int len);
23 extern int extpci_write_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
24 int len);
25 extern void sbpci_ban(uint16 core);
26 extern int sbpci_init(sb_t *sbh);
27 extern int sbpci_init_pci(sb_t *sbh);
28 extern void sbpci_check(sb_t *sbh);
29
30 #endif /* _hndpci_h_ */