Subject: Re: Oddity in physio()
To: None <email@example.com>
From: Ben Harris <firstname.lastname@example.org>
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 <email@example.com>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>