diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-02 17:12:50 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-02 17:12:50 +0000 |
commit | b63b067ae22803689592db482611093b33a29eef (patch) | |
tree | 7755137b262529b087c48ea533bacb6f557f3967 /physmap.c | |
parent | f93b36a6bcc3ee7a3c97554e76976e2081f8ba0f (diff) | |
download | flashrom-b63b067ae22803689592db482611093b33a29eef.tar.gz flashrom-b63b067ae22803689592db482611093b33a29eef.tar.bz2 flashrom-b63b067ae22803689592db482611093b33a29eef.zip |
Add OpenBSD support
Add a requirements section to the man page which lists the needed access
permissions for each programmer.
This feature needs my pciutils/libpci 8/16-bit write emulation patch at
http://marc.info/?l=openbsd-ports&m=127780030728045 titled
[PATCH] Fix pciutils non-32bit PCI write on OpenBSD
Corresponding to flashrom svn r1067.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stuart Henderson <sthen@openbsd.org>
Diffstat (limited to 'physmap.c')
-rw-r--r-- | physmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -229,6 +229,10 @@ void *physmap_common(const char *descr, unsigned long phys_addr, size_t len, int msg_perr("You can override CONFIG_X86_PAT at boot with the nopat kernel parameter but\n"); msg_perr("disabling the other option unfortunately requires a kernel recompile. Sorry!\n"); } +#elif defined (__OpenBSD__) + msg_perr("Please set securelevel=-1 in /etc/rc.securelevel " + "and reboot, or reboot into \n"); + msg_perr("single user mode.\n"); #endif if (!mayfail) exit(3); |