Loading .gitignore +1 −0 Original line number Original line Diff line number Diff line Loading @@ -37,6 +37,7 @@ modules.builtin tags tags TAGS TAGS vmlinux vmlinux vmlinuz System.map System.map Module.markers Module.markers Module.symvers Module.symvers Loading Documentation/DocBook/mtdnand.tmpl +6 −6 Original line number Original line Diff line number Diff line Loading @@ -174,7 +174,7 @@ </para> </para> <programlisting> <programlisting> static struct mtd_info *board_mtd; static struct mtd_info *board_mtd; static unsigned long baseaddr; static void __iomem *baseaddr; </programlisting> </programlisting> <para> <para> Static example Static example Loading @@ -182,7 +182,7 @@ static unsigned long baseaddr; <programlisting> <programlisting> static struct mtd_info board_mtd; static struct mtd_info board_mtd; static struct nand_chip board_chip; static struct nand_chip board_chip; static unsigned long baseaddr; static void __iomem *baseaddr; </programlisting> </programlisting> </sect1> </sect1> <sect1 id="Partition_defines"> <sect1 id="Partition_defines"> Loading Loading @@ -283,7 +283,7 @@ int __init board_init (void) } } /* map physical address */ /* map physical address */ baseaddr = (unsigned long)ioremap(CHIP_PHYSICAL_ADDRESS, 1024); baseaddr = ioremap(CHIP_PHYSICAL_ADDRESS, 1024); if (!baseaddr) { if (!baseaddr) { printk("Ioremap to access NAND chip failed\n"); printk("Ioremap to access NAND chip failed\n"); err = -EIO; err = -EIO; Loading Loading @@ -316,7 +316,7 @@ int __init board_init (void) goto out; goto out; out_ior: out_ior: iounmap((void *)baseaddr); iounmap(baseaddr); out_mtd: out_mtd: kfree (board_mtd); kfree (board_mtd); out: out: Loading @@ -341,7 +341,7 @@ static void __exit board_cleanup (void) nand_release (board_mtd); nand_release (board_mtd); /* unmap physical address */ /* unmap physical address */ iounmap((void *)baseaddr); iounmap(baseaddr); /* Free the MTD device structure */ /* Free the MTD device structure */ kfree (board_mtd); kfree (board_mtd); Loading Documentation/IO-mapping.txt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -157,7 +157,7 @@ For such memory, you can do things like * access only the 640k-1MB area, so anything else * access only the 640k-1MB area, so anything else * has to be remapped. * has to be remapped. */ */ char * baseptr = ioremap(0xFC000000, 1024*1024); void __iomem *baseptr = ioremap(0xFC000000, 1024*1024); /* write a 'A' to the offset 10 of the area */ /* write a 'A' to the offset 10 of the area */ writeb('A',baseptr+10); writeb('A',baseptr+10); Loading Documentation/DMA-mapping.txt→Documentation/PCI/PCI-DMA-mapping.txt +0 −0 File moved. View file Documentation/block/00-INDEX +0 −2 Original line number Original line Diff line number Diff line 00-INDEX 00-INDEX - This file - This file as-iosched.txt - Anticipatory IO scheduler barrier.txt barrier.txt - I/O Barriers - I/O Barriers biodoc.txt biodoc.txt Loading Loading
.gitignore +1 −0 Original line number Original line Diff line number Diff line Loading @@ -37,6 +37,7 @@ modules.builtin tags tags TAGS TAGS vmlinux vmlinux vmlinuz System.map System.map Module.markers Module.markers Module.symvers Module.symvers Loading
Documentation/DocBook/mtdnand.tmpl +6 −6 Original line number Original line Diff line number Diff line Loading @@ -174,7 +174,7 @@ </para> </para> <programlisting> <programlisting> static struct mtd_info *board_mtd; static struct mtd_info *board_mtd; static unsigned long baseaddr; static void __iomem *baseaddr; </programlisting> </programlisting> <para> <para> Static example Static example Loading @@ -182,7 +182,7 @@ static unsigned long baseaddr; <programlisting> <programlisting> static struct mtd_info board_mtd; static struct mtd_info board_mtd; static struct nand_chip board_chip; static struct nand_chip board_chip; static unsigned long baseaddr; static void __iomem *baseaddr; </programlisting> </programlisting> </sect1> </sect1> <sect1 id="Partition_defines"> <sect1 id="Partition_defines"> Loading Loading @@ -283,7 +283,7 @@ int __init board_init (void) } } /* map physical address */ /* map physical address */ baseaddr = (unsigned long)ioremap(CHIP_PHYSICAL_ADDRESS, 1024); baseaddr = ioremap(CHIP_PHYSICAL_ADDRESS, 1024); if (!baseaddr) { if (!baseaddr) { printk("Ioremap to access NAND chip failed\n"); printk("Ioremap to access NAND chip failed\n"); err = -EIO; err = -EIO; Loading Loading @@ -316,7 +316,7 @@ int __init board_init (void) goto out; goto out; out_ior: out_ior: iounmap((void *)baseaddr); iounmap(baseaddr); out_mtd: out_mtd: kfree (board_mtd); kfree (board_mtd); out: out: Loading @@ -341,7 +341,7 @@ static void __exit board_cleanup (void) nand_release (board_mtd); nand_release (board_mtd); /* unmap physical address */ /* unmap physical address */ iounmap((void *)baseaddr); iounmap(baseaddr); /* Free the MTD device structure */ /* Free the MTD device structure */ kfree (board_mtd); kfree (board_mtd); Loading
Documentation/IO-mapping.txt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -157,7 +157,7 @@ For such memory, you can do things like * access only the 640k-1MB area, so anything else * access only the 640k-1MB area, so anything else * has to be remapped. * has to be remapped. */ */ char * baseptr = ioremap(0xFC000000, 1024*1024); void __iomem *baseptr = ioremap(0xFC000000, 1024*1024); /* write a 'A' to the offset 10 of the area */ /* write a 'A' to the offset 10 of the area */ writeb('A',baseptr+10); writeb('A',baseptr+10); Loading
Documentation/block/00-INDEX +0 −2 Original line number Original line Diff line number Diff line 00-INDEX 00-INDEX - This file - This file as-iosched.txt - Anticipatory IO scheduler barrier.txt barrier.txt - I/O Barriers - I/O Barriers biodoc.txt biodoc.txt Loading