Re: Need help with serial card + baycom

From: Fabio IZ4AFW (zmxjgkuj.ggdtkvwsvi@haywardnet.com)
Date: Mon Nov 15 2004 - 00:47:34 EET

  • Next message: Chuck Hast: "Re: Run app on login"

    At 20:47 14/11/2004, you wrote:

    >Hi guys,
    > I'm new to the list, and I need help to use a baycom modem with linux.
    [...]

    I'm looking at the source code in baycom_ser_fdx.c just now, and noticed
    this line in ser12_open():

    if (!dev->base_addr || dev->base_addr > 0x1000-SER12_EXTENT || dev->irq < 2
    || dev->irq > 15)
                     return -ENXIO;

    is there a reason why dev->base_addr must be less than (0x1000-SER12_EXTENT)?
    If, like in this case, SER12_EXTENT==8, then my card at base address 0xb408
    doesn't pass this check...
    I'll try to remove the check as soon as possible to see if this solves the
    problem... but probably that check is there for a good reason ;)
    Anyone?

    Thanks,
    Fabio IZ4AFW

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to terhi.victor@logonet.com
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Mon Nov 15 2004 - 00:50:56 EET