android_kernel_xiaomi_sm8350/arch/sparc
David Miller b70ac77185 serial: allow 8250 to be used on sparc
This requires three changes:

1) Remove !SPARC restriction in Kconfig.

2) Move Sparc specific serial drivers before 8250, so that serial
   console devices don't change names on us, even if 8250 finds
   devices.

3) Since the Sparc specific serial drivers try to use the
   same major/minor device namespace as 8250, some coordination
   is necessary.  Use the sunserial_*() layer routines to allocate
   minor number space within TTY_MAJOR when CONFIG_SPARC.

   This has no effect on other platforms.

Thanks to Josip Rodin for bringing up this issue and testing
plus debugging various revisions of this patch.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:40 -07:00
..
boot sparc: Add target for a stripped kernel 2008-08-24 20:35:47 -07:00
include/asm serial: allow 8250 to be used on sparc 2008-10-13 09:51:40 -07:00
kernel Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-11 12:39:35 -07:00
lib sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
math-emu sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
mm sparc32: add init memory poisoning 2008-09-03 16:29:42 -07:00
oprofile
prom sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
defconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig sparc32: use RTC subsystem 2008-09-03 15:52:38 -07:00
Kconfig.debug
Makefile sparc: Add target for a stripped kernel 2008-08-24 20:35:47 -07:00