X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fi386-io-djgpp.h;h=1afb00e4a562c94face80fb93abb801427ed630e;hb=06f9ecf36e529695feea35038e15233dffe37bb7;hp=41885dbfaccf5aa793b3b60cd10069d0fa3caa26;hpb=5c5ce19215cdfa54c878e09211e3cd3bc8344b82;p=pciutils.git diff --git a/lib/i386-io-djgpp.h b/lib/i386-io-djgpp.h index 41885db..1afb00e 100644 --- a/lib/i386-io-djgpp.h +++ b/lib/i386-io-djgpp.h @@ -3,18 +3,14 @@ * * Copyright (c) 2010, 2017 Rudolf Marek * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ -#include #include -#define outb(x,y) outportb(y, x) -#define outw(x,y) outportw(y, x) -#define outl(x,y) outportl(y, x) -#define inb inportb -#define inw inportw -#define inl inportl +#include "i386-io-access.h" static int irq_enabled; @@ -24,10 +20,9 @@ intel_setup_io(struct pci_access *a UNUSED) return 1; } -static inline int +static inline void intel_cleanup_io(struct pci_access *a UNUSED) { - return 1; } static inline void intel_io_lock(void)