Re: 8250_pci -> change device name

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

 



Hi Alexander,

On 05/05/2015 02:21 AM, Hänel-Baas, Alexander wrote:
> Hi
> 
> In the kernel config i can build the 8250_pci driver as module. 
> So I can switch on (with loading module) the ValleyView LPIO1/2 HSUART Controller when I need it, and not always at startup.
> That is exactly what I want. But I need to change the device name from ttySx to my name like "ttyHSUARTx" 
> only for this pci device and not for the other uart devices which is also controlled by the 8250.
> 
> See:
> tty/serial/8250
>                   /8250_core -> uart -> ttySx <- the naming are untouched
>                   /8250_pci  -> hsuart ->ttyHSUARTx <- only here I will set another device name
> 
> 
> I'm not sure what is the right way to do that. Or is this not possible?

The right way to handle this would be to create a symlink in a udev
script (or rc.d scripts if you don't have/use udev).


Regards,
Peter Hurley


--
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