git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
ide
/
pci
/
via82cxxx.c
diff --git
a/drivers/ide/pci/via82cxxx.c
b/drivers/ide/pci/via82cxxx.c
index
9914a78
..
5e59f99
100644
(file)
--- a/
drivers/ide/pci/via82cxxx.c
+++ b/
drivers/ide/pci/via82cxxx.c
@@
-441,7
+441,7
@@
static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif)
#if defined(CONFIG_PPC_CHRP) && defined(CONFIG_PPC32)
- if(
machine_is(chrp)
&& _chrp_type == _CHRP_Pegasos) {
+ if(
_machine == _MACH_chrp
&& _chrp_type == _CHRP_Pegasos) {
hwif->irq = hwif->channel ? 15 : 14;
}
#endif