Question about IO/MMIO check in uart_configure_port() in serial_core.c

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

 



In uart_configure_port(), there is code:
        /*
         * If there isn't a port here, don't do anything further.
         */
        if (!port->iobase && !port->mapbase && !port->membase)
                return;

Actually, there is some UART devices over SPI interface, which don't have IO spcae or MMIO registers which could be directly accessed, like Maxim's 3100/3110/3111E. Further on, there may be UART devices over I2C.

These check may block those device from been correctly configured in linux, or they have to fake out a iobase or mapbase.. to pass this check, so my question is can these check re removed?

Thanks,
Martin


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
--
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