modified to fit usb driver requirements

This commit is contained in:
Markus Fröschle
2013-11-03 03:40:22 +00:00
parent 47a7981f24
commit 77fa6f2732
3 changed files with 45 additions and 22 deletions

View File

@@ -21,6 +21,8 @@
* Author: Markus Fröschle
*/
#include <stdint.h>
#define PCI_MEMORY_OFFSET (0x80000000)
#define PCI_MEMORY_SIZE (0x40000000) /* 1 GByte PCI memory window */
#define PCI_IO_OFFSET (0xD0000000)
@@ -197,4 +199,7 @@ extern void init_eport(void);
extern void init_xlbus_arbiter(void);
extern void init_pci(void);
extern int pci_find_device(uint16_t device_id, uint16_t vendor_id, int index);
#endif /* _PCI_H_ */