diff options
author | Pali Rohár <pali@kernel.org> | 2024-02-20 18:44:06 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2024-02-24 20:47:05 +0100 |
commit | 4eec2eccf3bf3ce21a0adbfe4c0e1d0e176a0abc (patch) | |
tree | fa325edca915eddbc35385e9baf0d01c5600cabb | |
parent | 0e48f9b7af7c4e9a76092db62a1a4d777f59c170 (diff) | |
download | pciutils-4eec2eccf3bf3ce21a0adbfe4c0e1d0e176a0abc.tar.gz |
libpci: i386-io-sunos.h: Implement intel_cleanup_io
Call 'sysi86(SI86V86, V86SC_IOPL, 0);' - same what is X11 and FlashROM doing.
-rw-r--r-- | lib/i386-io-sunos.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/i386-io-sunos.h b/lib/i386-io-sunos.h index 99fd576..1caefd5 100644 --- a/lib/i386-io-sunos.h +++ b/lib/i386-io-sunos.h @@ -23,7 +23,7 @@ intel_setup_io(struct pci_access *a UNUSED) static inline void intel_cleanup_io(struct pci_access *a UNUSED) { - /* FIXME: How to switch off I/O port access? */ + sysi86(SI86V86, V86SC_IOPL, 0); } static inline void intel_io_lock(void) |