projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ide: remove IDE_*_REG macros
[deliverable/linux.git]
/
drivers
/
ide
/
ppc
/
pmac.c
diff --git
a/drivers/ide/ppc/pmac.c
b/drivers/ide/ppc/pmac.c
index b37dcfbdaad6b0a5585db7977bf4e89880df1255..03a77713caf2ea1397d0f59507d2482aaf712d64 100644
(file)
--- a/
drivers/ide/ppc/pmac.c
+++ b/
drivers/ide/ppc/pmac.c
@@
-450,7
+450,8
@@
pmac_ide_init_hwif_ports(hw_regs_t *hw,
hw->dev = &pmac_ide[ix].mdev->ofdev.dev;
}
hw->dev = &pmac_ide[ix].mdev->ofdev.dev;
}
-#define PMAC_IDE_REG(x) ((void __iomem *)(IDE_DATA_REG+(x)))
+#define PMAC_IDE_REG(x) \
+ ((void __iomem *)((drive)->hwif->io_ports[IDE_DATA_OFFSET] + (x)))
/*
* Apply the timings of the proper unit (master/slave) to the shared
/*
* Apply the timings of the proper unit (master/slave) to the shared
This page took
0.038341 seconds
and
5
git commands to generate.