Fix hwaccess (again)

I completely forgot about NetBSD in r1638 which was broken since then.
Also, on OpenBSD use iopl again and refine the warning in case we have
insufficient privileges.
Thanks to Jonathan A. Kollasch for his help in getting the details right.

Corresponding to flashrom svn r1695.

Signed-off-by: Stefan Tauner <>
Acked-by: Carl-Daniel Hailfinger <>
1 file changed