forked from Imagelibrary/rtems
2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/include/pci.h: Add prototypes for BusCountPCI(void), init_pci(void).
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* shared/include/pci.h: Add prototypes for BusCountPCI(void),
|
||||||
|
init_pci(void).
|
||||||
|
|
||||||
2009-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* shared/include/pci.h: Revert extern inline patch.
|
* shared/include/pci.h: Revert extern inline patch.
|
||||||
|
|||||||
@@ -1105,7 +1105,7 @@ typedef struct {
|
|||||||
unsigned char, unsigned short);
|
unsigned char, unsigned short);
|
||||||
int (*write_config_dword)(unsigned char, unsigned char, unsigned char,
|
int (*write_config_dword)(unsigned char, unsigned char, unsigned char,
|
||||||
unsigned char, unsigned int);
|
unsigned char, unsigned int);
|
||||||
}pci_config_access_functions;
|
} pci_config_access_functions;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
volatile unsigned char* pci_config_addr;
|
volatile unsigned char* pci_config_addr;
|
||||||
@@ -1154,8 +1154,8 @@ pci_write_config_dword(unsigned char bus, unsigned char slot, unsigned char func
|
|||||||
/*
|
/*
|
||||||
* Return the number of PCI busses in the system
|
* Return the number of PCI busses in the system
|
||||||
*/
|
*/
|
||||||
extern unsigned char BusCountPCI();
|
extern unsigned char BusCountPCI(void);
|
||||||
extern int init_pci();
|
extern int init_pci(void);
|
||||||
|
|
||||||
extern int dma_to_pci(unsigned int addr, unsigned int paddr, unsigned int len);
|
extern int dma_to_pci(unsigned int addr, unsigned int paddr, unsigned int len);
|
||||||
extern int dma_from_pci(unsigned int addr, unsigned int paddr, unsigned int len);
|
extern int dma_from_pci(unsigned int addr, unsigned int paddr, unsigned int len);
|
||||||
|
|||||||
Reference in New Issue
Block a user