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/scsi/qlogicpti.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/scsi/qlogicpti.c')
-rw-r--r-- | drivers/scsi/qlogicpti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 1559d455b2b7..e16c56c515f1 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c | |||
@@ -158,7 +158,7 @@ static inline void set_sbus_cfg1(struct qlogicpti *qpti) | |||
158 | * is a nop and the chip ends up using the smallest burst | 158 | * is a nop and the chip ends up using the smallest burst |
159 | * size. -DaveM | 159 | * size. -DaveM |
160 | */ | 160 | */ |
161 | if (sbus_can_burst64(qpti->sdev) && (bursts & DMA_BURST64)) { | 161 | if (sbus_can_burst64() && (bursts & DMA_BURST64)) { |
162 | val = (SBUS_CFG1_BENAB | SBUS_CFG1_B64); | 162 | val = (SBUS_CFG1_BENAB | SBUS_CFG1_B64); |
163 | } else | 163 | } else |
164 | #endif | 164 | #endif |