On Thu, Jul 14, 2005 at 11:04:00AM -0500, John Rose wrote:
> Okay, point taken :) So for cases of base == maxbase, why would we ever
> want to return a nonzero value? What is the intended purpose of the
> second part of that conditional?
Well, just two examples (both for PCI IO limited to 16
> It was always effectual for IO where the mask is 0x.
Okay, point taken :) So for cases of base == maxbase, why would we ever
want to return a nonzero value? What is the intended purpose of the
second part of that conditional?
-
To unsubscribe from this list: send the line "unsubscribe
It was always effectual for IO where the mask is 0x.
Okay, point taken :) So for cases of base == maxbase, why would we ever
want to return a nonzero value? What is the intended purpose of the
second part of that conditional?
-
To unsubscribe from this list: send the line unsubscribe
On Thu, Jul 14, 2005 at 11:04:00AM -0500, John Rose wrote:
Okay, point taken :) So for cases of base == maxbase, why would we ever
want to return a nonzero value? What is the intended purpose of the
second part of that conditional?
Well, just two examples (both for PCI IO limited to 16 bits
On Wed, Jul 13, 2005 at 05:53:13PM -0500, John Rose wrote:
> Before a recent change, mask was a 64-bit number. The second part of
> the if statement would always resolve to true, since the 32-bit bitop
> would never equal the 64-bit mask. So the second part of the if
> statement was ineffectual
Can anyone lend an explanation of the following?
/* base == maxbase can be valid only if the BAR has
already been programmed with all 1s. */
if (base == maxbase && ((base | size) & mask) != mask) {
printk("%s: 2 returning 0\n", __FUNCTION__);
Can anyone lend an explanation of the following?
/* base == maxbase can be valid only if the BAR has
already been programmed with all 1s. */
if (base == maxbase ((base | size) mask) != mask) {
printk(%s: 2 returning 0\n, __FUNCTION__);
On Wed, Jul 13, 2005 at 05:53:13PM -0500, John Rose wrote:
Before a recent change, mask was a 64-bit number. The second part of
the if statement would always resolve to true, since the 32-bit bitop
would never equal the 64-bit mask. So the second part of the if
statement was ineffectual up
8 matches
Mail list logo