On Sat, Jan 02, 2021 at 12:06:57PM +, Yifei ZHAN wrote:
> Hi,
>
> The following patch will make kernel recognize Lynloong LM9002/9003 and
> LM9013. I think LM9002/9003 is very similar to LM9001 since it works just
> fine on my LM9002 with the codebase for LM9001. (Maybe they are just a
> different batch of LM9001 for education market)
>
> LM9013 on the other hand is fairly different from LM9001 and is more like
> Yeeloong 8089 when it comes to hardware design. I might need to make a few
> drivers for its IDE/USB interfaces in future for it to be fully
> functional.
I have committed your patch. Thank you.
> Index: sys/arch/loongson/loongson/machdep.c
> ===
> RCS file: /cvs/src/sys/arch/loongson/loongson/machdep.c,v
> retrieving revision 1.93
> diff -u -r1.93 machdep.c
> --- sys/arch/loongson/loongson/machdep.c 17 Nov 2020 16:38:10 -
> 1.93
> +++ sys/arch/loongson/loongson/machdep.c 1 Jan 2021 11:43:42 -
> @@ -207,6 +207,10 @@
> { "LM8101", _platform },
> /* Lemote Lynloong all-in-one computer */
> { "LM9001", _platform },
> + { "LM9002", _platform },
> + { "LM9003", _platform },
> + /* Lemote Lynloong all-in-one computer, Xueloong edition */
> + { "LM9013", _platform },
> #endif
> #ifdef CPU_LOONGSON3
> /* Laptops */
>