Subject: Re: Oddity in physio()
To: None <firstname.lastname@example.org>
From: Ben Harris <email@example.com>
Date: 05/29/2001 14:33:56
On Tue, 29 May 2001, Ben Harris wrote:
> error = uvm_vslock(p, bp->b_data, todo,
> (flags & B_READ) ?
> VM_PROT_READ | VM_PROT_WRITE :
> Am I missing something really obvious, or is that B_READ test backwards?
Turns out I was missing something really obvious (reading from a device
means writing to memory and vice versa). Oops.
Ben Harris <firstname.lastname@example.org>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>