AHCI: Skip device permission check
authorFergus Simpson <afergs@google.com>
Tue, 18 Oct 2016 00:11:26 +0000 (17:11 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 18 Oct 2016 20:02:14 +0000 (16:02 -0400)
commite68a8934c7fd7520795a5c7a07674b3fafbfd38e
tree79b543fd30ad3a7ced13eb7e4fc9700e67324f73
parent8ec1aa9282095746afba118ee38089a82a12b1d7
AHCI: Skip device permission check

Permissions are not currently implemented in Akaros. This change simply
makes it so that devpermcheck(...) always returns before throwing an
error that would result in permission being denied. This allows the
device to actually be used while even though permissions have not been
implemented.

Change-Id: Ic2f19071803bba497d916031a22bcbc0b70e8ffd
Signed-off-by: Fergus Simpson <afergs@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/ns/dev.c