X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fi386-io-sunos.h;h=3e08e737b42eccd62e4583bcbd28be2229f39022;hb=f2505ce4aac37067f644646d973eeb382d8db6ec;hp=753e2ea6076f72d216eee4503ee2adc4d7ac3006;hpb=9007a292f24685d7c1ab51506fae8df22ced007f;p=pciutils.git diff --git a/lib/i386-io-sunos.h b/lib/i386-io-sunos.h index 753e2ea..3e08e73 100644 --- a/lib/i386-io-sunos.h +++ b/lib/i386-io-sunos.h @@ -11,13 +11,13 @@ #include static int -intel_setup_io(void) +intel_setup_io(struct pci_access *a UNUSED) { return (sysi86(SI86V86, V86SC_IOPL, PS_IOPL) < 0) ? 0 : 1; } static inline int -intel_cleanup_io(void) +intel_cleanup_io(struct pci_access *a UNUSED) { /* FIXME: How to switch off I/O port access? */ return 1;