Commit c5343405 authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Linus Torvalds

[PATCH] ppc32: fix comment in arch/ppc/platforms/pmac_pci.c

Typos.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3cf67121
...@@ -124,9 +124,9 @@ fixup_bus_range(struct device_node *bridge) ...@@ -124,9 +124,9 @@ fixup_bus_range(struct device_node *bridge)
* (iBook, G4, new IMacs, and all the recent Apple machines). * (iBook, G4, new IMacs, and all the recent Apple machines).
* It contains 3 controllers in one ASIC. * It contains 3 controllers in one ASIC.
* *
* The U3 is the bridge used on G5 machines. It contains on * The U3 is the bridge used on G5 machines. It contains an
* AGP bus which is dealt with the old UniNorth access routines * AGP bus which is dealt with the old UniNorth access routines
* and an HyperTransport bus which uses its own set of access * and a HyperTransport bus which uses its own set of access
* functions. * functions.
*/ */
...@@ -705,7 +705,7 @@ setup_u3_ht(struct pci_controller* hose, struct reg_property *addr) ...@@ -705,7 +705,7 @@ setup_u3_ht(struct pci_controller* hose, struct reg_property *addr)
* any of the 0xfxxxxxxx "fine" memory regions to /ht. * any of the 0xfxxxxxxx "fine" memory regions to /ht.
* We need to fix that sooner or later by either parsing all child "ranges" * We need to fix that sooner or later by either parsing all child "ranges"
* properties or figuring out the U3 address space decoding logic and * properties or figuring out the U3 address space decoding logic and
* then read it's configuration register (if any). * then read its configuration register (if any).
*/ */
hose->io_base_phys = 0xf4000000 + 0x00400000; hose->io_base_phys = 0xf4000000 + 0x00400000;
hose->io_base_virt = ioremap(hose->io_base_phys, 0x00400000); hose->io_base_virt = ioremap(hose->io_base_phys, 0x00400000);
...@@ -939,8 +939,8 @@ pmac_pci_enable_device_hook(struct pci_dev *dev, int initial) ...@@ -939,8 +939,8 @@ pmac_pci_enable_device_hook(struct pci_dev *dev, int initial)
* default, gmac is not powered up, and so will be absent * default, gmac is not powered up, and so will be absent
* from the kernel initial PCI lookup. * from the kernel initial PCI lookup.
* *
* Should be replaced by 2.4 new PCI mecanisms and really * Should be replaced by 2.4 new PCI mechanisms and really
* regiser the device. * register the device.
*/ */
pci_read_config_word(dev, PCI_COMMAND, &cmd); pci_read_config_word(dev, PCI_COMMAND, &cmd);
cmd |= PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE; cmd |= PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment