Support for Buffalo WXL (Terastation Duo)
PATCH 1/1 Support for Buffalo WXL (Terastation Duo)
Hi everyone,
I have created a patch to support a new Sub architecture.
Description of patch:
* Modification of Kconfig to add the Option
* 1 new file : buffalo-wxl-setup.c
This file is inspired from the db-78xx0-setup.c already present. The following is done:
- Configure MPP Lines for the plateform (see my patch for MPP)
This is taken from the stock kernel provided by buffalotech (the vendor)
- GigaBit Ethernet
- Sata
- Uart are initiallized in a different way than on the dev board as we
have one core only.
- USB
The kernel has been running for some days now on my plateform.
I would appreciate if you had time to review my patch and give me any comments/feedback
regarding my work.
==== PATCH ====
arch/arm/mach-mv78xx0/Kconfig | 9 ++ arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | 189 +++++++++++++++++++++++++++++ 2 files changed, 198 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
arch/arm/mach-mv78xx0/Kconfig +9 -0
@@ -14,6 +14,15 @@ config MACH_RD78X00_MASA Say 'Y' here if you want your kernel to support the Marvell RD-78x00-mASA Reference Design. + +config MACH_BUFFALO_WXL + bool "Buffalo WLX plateform" + help + Say 'Y' here if you want your kernel to support the + Buffalo WXL Nas. + + + endmenu endif
(quoted diff) +0 -0
b/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
new file mode 100644
index 0000000..9d00e28
arch/arm/mach-mv78xx0/buffalo-wxl-setup.c new file +189 -0
189 lines not on this page · raw message
Signature · 8 lines
1.5.6.5 Signed-off-by: Sebastien Requiem <[email protected]> -- sebastien requiem kolios.dk tel: +45.50.14.00.02
PATCH 1/1 Support for Buffalo WXL (Terastation Duo)
Quoted 22 lines · Sebastien Requiem
Hi everyone,
I have created a patch to support a new Sub architecture.
Description of patch:
* Modification of
Kconfigto add the Option
* 1 new file :buffalo-wxl-setup.c
This file is inspired from thedb-78xx0-setup.calready present. The following is done:
- Configure MPP Lines for the plateform (see my patch for MPP)
This is taken from the stock kernel provided by buffalotech (the vendor)
- GigaBit Ethernet
- Sata
- Uart are initiallized in a different way than on the dev board as we have
one core only.
- USB
Quoted 4 lines
The kernel has been running for some days now on my plateform.
I would appreciate if you had time to review my patch and give me any comments/feedback regarding my work.
All previous comments also apply to this patch.
Furthermore you used the config symbol MACH_BUFFALO_WXL while the machine record expects MACH_TERASTATION_WXL. And in wxl_pci_init() you used machine_is_db78x00_bp() instead of machine_is_terastation_wxl() which is actively wrong.
I've fixed up those and pushed the result too.
Nicolas