diff options
Diffstat (limited to 'arch/sparc/include/asm/io_64.h')
-rw-r--r-- | arch/sparc/include/asm/io_64.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/io_64.h b/arch/sparc/include/asm/io_64.h index 0bff078ffdd0..73a9c5d41954 100644 --- a/arch/sparc/include/asm/io_64.h +++ b/arch/sparc/include/asm/io_64.h | |||
@@ -495,6 +495,17 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | |||
495 | #define sbus_iounmap(__addr, __size) \ | 495 | #define sbus_iounmap(__addr, __size) \ |
496 | release_region((unsigned long)(__addr), (__size)) | 496 | release_region((unsigned long)(__addr), (__size)) |
497 | 497 | ||
498 | static inline int sbus_can_dma_64bit(void) | ||
499 | { | ||
500 | return 1; | ||
501 | } | ||
502 | static inline int sbus_can_burst64(void) | ||
503 | { | ||
504 | return 1; | ||
505 | } | ||
506 | struct device; | ||
507 | extern void sbus_set_sbus64(struct device *, int); | ||
508 | |||
498 | /* | 509 | /* |
499 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem | 510 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem |
500 | * access | 511 | * access |