sh: SuperHyway support for SH4-202.
PATCH 4/7 sh: SuperHyway support for SH4-202.
This adds support for the relatively quirky (ie, not in line with any known documentation, and amazed it works at all) SuperHyway implementation on SH4-202. This depends on the earlier SuperHyway patch for multiple block support and VCR refactoring.
---
arch/sh/drivers/Makefile | 5 + arch/sh/drivers/superhyway/Makefile | 6 + arch/sh/drivers/superhyway/ops-sh4-202.c | 171 ++++++++++++++++++++++++++++++ 3 files changed, 180 insertions(+), 2 deletions(-) create mode 100644 arch/sh/drivers/superhyway/Makefile create mode 100644 arch/sh/drivers/superhyway/ops-sh4-202.c
applies-to: 1e8c6a6fee2c7973ff121392a9535f554e1a8075 d80a13cfb77f09f5b205c3eb34974357eb1bff56
arch/sh/drivers/Makefile +3 -2
@@ -2,6 +2,7 @@ # Makefile for the Linux SuperH-specific device drivers. # -obj-$(CONFIG_PCI) += pci/ -obj-$(CONFIG_SH_DMA) += dma/ +obj-$(CONFIG_PCI) += pci/ +obj-$(CONFIG_SH_DMA) += dma/ +obj-$(CONFIG_SUPERHYWAY) += superhyway/
arch/sh/drivers/superhyway/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# +# Makefile for the SuperHyway specific kernel interface routines under Linux. +# + +obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += ops-sh4-202.o +
arch/sh/drivers/superhyway/ops-sh4-202.c new file +171 -0
171 lines not on this page · raw message
---
0.99.8.GIT
Quoted 2 lines · Paul Mundt
+int
__initsuperhyway_scan_bus(struct superhyway_bus *bus)
This appears to be unreferenced, and perhaps doesn't need global scope?
Quoted 5 lines · Andrew Morton
Quoted 2 lines · Paul Mundt
+int
__initsuperhyway_scan_bus(struct superhyway_bus *bus)This appears to be unreferenced, and perhaps doesn't need global scope?
It's used in drivers/sh/superhyway/superhyway.c:superhyway_init().