bugReal-Time Application Interface - Bugs: bug #10805, rt_16550_set_config: incorrect...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #10805: rt_16550_set_config: incorrect enable modem status interrupt

Submitted by:  Joao Assuncao <jassuncao>
Submitted on:  Thu 17 Jan 2008 04:41:19 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu 17 Jan 2008 04:41:19 PM UTC, original submission:

Probably a typo, but it seems a incorrect mask is used to enable the modem status interrupt. If think IER_MODEM should be used instead of IER_TX.

...
if (testbits(config->event_mask,
RTSER_EVENT_MODEMHI | RTSER_EVENT_MODEMLO))
/* enable modem status interrupt */
ctx->ier_status |= IER_TX; <<<---
else
/* disable modem status interrupt */
ctx->ier_status &= ~IER_TX; <<<---
...

Joao Assuncao <jassuncao>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jassuncao (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup