sparc: Move SBUS DMA attribute interfaces out of asm/sbus.h
This is in preparation for the subsequent asm/sbus.h removal. Also, make these routines take a "struct device" or no arguments, as appropriate. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -308,6 +308,17 @@ extern void sbus_iounmap(volatile void __iomem *vaddr, unsigned long size);
|
||||
#define RTC_PORT(x) (rtc_port + (x))
|
||||
#define RTC_ALWAYS_BCD 0
|
||||
|
||||
static inline int sbus_can_dma_64bit(void)
|
||||
{
|
||||
return 0; /* actually, sparc_cpu_model==sun4d */
|
||||
}
|
||||
static inline int sbus_can_burst64(void)
|
||||
{
|
||||
return 0; /* actually, sparc_cpu_model==sun4d */
|
||||
}
|
||||
struct device;
|
||||
extern void sbus_set_sbus64(struct device *, int);
|
||||
|
||||
#endif
|
||||
|
||||
#define __ARCH_HAS_NO_PAGE_ZERO_MAPPED 1
|
||||
|
Reference in New Issue
Block a user