Re: can't detect 16550A at port 0x010 on Vortex86dx board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> # cat .config
> <snip>
> #
> # Serial drivers
> #
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_FIX_EARLYCON_MEM=y
> CONFIG_SERIAL_8250_NR_UARTS=5
> CONFIG_SERIAL_8250_RUNTIME_UARTS=5
> CONFIG_SERIAL_8250_EXTENDED=y
> CONFIG_SERIAL_8250_MANY_PORTS=y
> CONFIG_SERIAL_8250_VORTEX=y
> </snip>

CONFIG_SERIAL_8250_SHARE_IRQ=y

It needed IRQ sharing to make it work.

COM9 on a Vortex86DX is now working in Linux 3.3.8 but it requires
more than a simple serial driver patch.

I'm not entirely sure how to go about creating a proper patch for the
changes I have made. My serial driver writes to the South Bridge, but
it's a quick hack using outl() calls to the right addresses. Should I
use a proper PCI function call?

I also modified the x86 io port mappings in /arch/x86/kernel/setup.c.

Do I either add #ifdef-ery to setup.c, or create a new entry in
arch/x86/kernel/cpu/ and do my different io mappings there?

Aras
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux