feature.c (51d3082fe6e55aecfa17113dbe98077c749f724c) | feature.c (d2dd482bc17c3bc240045f80a7c4b4d5cea5e29c) |
---|---|
1/* 2 * arch/ppc/platforms/pmac_feature.c 3 * 4 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au) 5 * Ben. Herrenschmidt (benh@kernel.crashing.org) 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 2669 unchanged lines hidden (view full) --- 2678 return; 2679 } 2680 2681 if (i >= MAX_MACIO_CHIPS) { 2682 printk(KERN_ERR "pmac_feature: Please increase MAX_MACIO_CHIPS !\n"); 2683 printk(KERN_ERR "pmac_feature: %s skipped\n", node->full_name); 2684 return; 2685 } | 1/* 2 * arch/ppc/platforms/pmac_feature.c 3 * 4 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au) 5 * Ben. Herrenschmidt (benh@kernel.crashing.org) 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 2669 unchanged lines hidden (view full) --- 2678 return; 2679 } 2680 2681 if (i >= MAX_MACIO_CHIPS) { 2682 printk(KERN_ERR "pmac_feature: Please increase MAX_MACIO_CHIPS !\n"); 2683 printk(KERN_ERR "pmac_feature: %s skipped\n", node->full_name); 2684 return; 2685 } |
2686 addrp = of_get_pci_address(node, 0, &size); | 2686 addrp = of_get_pci_address(node, 0, &size, NULL); |
2687 if (addrp == NULL) { 2688 printk(KERN_ERR "pmac_feature: %s: can't find base !\n", 2689 node->full_name); 2690 return; 2691 } 2692 addr = of_translate_address(node, addrp); 2693 if (addr == 0) { 2694 printk(KERN_ERR "pmac_feature: %s, can't translate base !\n", --- 406 unchanged lines hidden --- | 2687 if (addrp == NULL) { 2688 printk(KERN_ERR "pmac_feature: %s: can't find base !\n", 2689 node->full_name); 2690 return; 2691 } 2692 addr = of_translate_address(node, addrp); 2693 if (addr == 0) { 2694 printk(KERN_ERR "pmac_feature: %s, can't translate base !\n", --- 406 unchanged lines hidden --- |