CPU: Wrong CPU Load %.
[tomato.git] / release / src / include / hndpci.h
blobd190ea99cda12c0fa67c03aaf752e815c3049045
1 /*
2 * HND SiliconBackplane PCI core software interface.
4 * $Id$
5 * Copyright 2007, 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.
14 #ifndef _hndpci_h_
15 #define _hndpci_h_
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_init_cores(sb_t *sbh);
29 extern void sbpci_arb_park(sb_t *sbh, uint parkid);
31 #define PCI_PARK_NVRAM 0xff
33 #endif /* _hndpci_h_ */