lkml.org 
[lkml]   [2010]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2]: serial8250: Use native_io_delay on the x86
On 03/17/2010 05:30 AM, Simon Kagstrom wrote:
> #ifdef __i386__
> - outb(0xff, 0x080);
> + native_io_delay();
> #endif

There is something a lot more weird about this. First of all, it's
#ifdef'd out on all but __i386__ including x86-64; second, it looks like
this is specific to synchronizing to the IER.

I'm wondering if the right thing isn't to add a dummy write to the SCR
register (or similar.)

-hpa


\
 
 \ /
  Last update: 2010-03-17 19:29    [W:0.052 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site