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/net/sunqe.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/net/sunqe.c')
-rw-r--r-- | drivers/net/sunqe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sunqe.c b/drivers/net/sunqe.c index 66f66ee8ca63..4521972fbf3d 100644 --- a/drivers/net/sunqe.c +++ b/drivers/net/sunqe.c | |||
@@ -722,7 +722,7 @@ static inline void qec_init_once(struct sunqec *qecp, struct sbus_dev *qsdev) | |||
722 | { | 722 | { |
723 | u8 bsizes = qecp->qec_bursts; | 723 | u8 bsizes = qecp->qec_bursts; |
724 | 724 | ||
725 | if (sbus_can_burst64(qsdev) && (bsizes & DMA_BURST64)) { | 725 | if (sbus_can_burst64() && (bsizes & DMA_BURST64)) { |
726 | sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); | 726 | sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); |
727 | } else if (bsizes & DMA_BURST32) { | 727 | } else if (bsizes & DMA_BURST32) { |
728 | sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); | 728 | sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); |