diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-27 02:33:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 05:13:31 -0400 |
commit | 63237eeb5ac92d618a0a6055f4b1f65c5d14682b (patch) | |
tree | 3d44dea70077557a7543951580447dbb71d00b05 /drivers/atm/fore200e.c | |
parent | 738f2b7b813913e651f39387d007dd961755dee2 (diff) |
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>
Diffstat (limited to 'drivers/atm/fore200e.c')
-rw-r--r-- | drivers/atm/fore200e.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index f607e59bffae..7213590b485d 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c | |||
@@ -819,8 +819,8 @@ fore200e_sba_map(struct fore200e* fore200e) | |||
819 | /* get the supported DVMA burst sizes */ | 819 | /* get the supported DVMA burst sizes */ |
820 | bursts = prom_getintdefault(sbus_dev->bus->prom_node, "burst-sizes", 0x00); | 820 | bursts = prom_getintdefault(sbus_dev->bus->prom_node, "burst-sizes", 0x00); |
821 | 821 | ||
822 | if (sbus_can_dma_64bit(sbus_dev)) | 822 | if (sbus_can_dma_64bit()) |
823 | sbus_set_sbus64(sbus_dev, bursts); | 823 | sbus_set_sbus64(&sbus_dev->ofdev.dev, bursts); |
824 | 824 | ||
825 | fore200e->state = FORE200E_STATE_MAP; | 825 | fore200e->state = FORE200E_STATE_MAP; |
826 | return 0; | 826 | return 0; |