startup/request_port functions not being called

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

 



I'm writing my first serial driver for a UART (AXI UART Lite from 
Xilinx).  Yes, I know there's one in the kernel but the hardware in this 
case isn't embedded.

Using the documentation in <kernel_src>/Documentation/serial/driver and 
the existing code for references, I've implemented my driver.  However, 
I cannot validate the my startup or request_port functions are being 
called.

I'm calling uart_register_driver() and then uart_register_port() and I'm 
sure these functions are passing.  I'm seeing my device handles show in 
/dev.  The documentation states that the startup() function, "... will 
only be called when the port is initially opened."  Yet, I'm not seeing 
pr_info() messages that I should be.  What should I look for in order to 
determine why the setup functions aren't being called?

Andy��.n��������+%������w��{.n�����{��ǫ����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��




[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