lkml.org 
[lkml]   [1998]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PARPORT] Re: problems with parallel port IRQ detection
Date
From
>I have no idea about the parallel port IRQ problem, but the line above
>takes the value returned from parport_pc_read_configb(pb) and extracts the
>3-bit value stored at bits 3,4, and 5:
>
>MSB 7 6 5 4 3 2 1 0 LSB
> ^ ^
> | |
> --------- takes these three bits, and stores the value (range
>will be 0-7) in irq

Thanks. I understood that much already. The problem is that I don't know how
the contents of the "configB" register is defined and I have no idea whether
the bits in question really do constitute a valid magic number to derive an
IRQ from.

p.



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.031 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site