From 73df207e20567382c98b6a06c03d3586bd9ac724 Mon Sep 17 00:00:00 2001 From: deadwood Date: Mon, 25 Aug 2014 20:25:22 +0000 Subject: [PATCH] hidd/pci: move HasExtentedConfig to end of interface functions. Placing it at the beginning in interface definition causes the re-enumeration of all functions breaking compatibility. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49533 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/hidds/pci/pci.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rom/hidds/pci/pci.conf b/rom/hidds/pci/pci.conf index e23c6e2ca7..9f690d6055 100644 --- a/rom/hidds/pci/pci.conf +++ b/rom/hidds/pci/pci.conf @@ -49,7 +49,6 @@ IPTR IOBase # [..G] Offset to host IO space ##end attributelist ##begin methodlist -IPTR HasExtendedConfig(UBYTE bus, UBYTE dev, UBYTE sub) UBYTE ReadConfigByte(OOP_Object *device, UBYTE bus, UBYTE dev, UBYTE sub, UWORD reg) UWORD ReadConfigWord(OOP_Object *device, UBYTE bus, UBYTE dev, UBYTE sub, UWORD reg) ULONG ReadConfigLong(OOP_Object *device, UBYTE bus, UBYTE dev, UBYTE sub, UWORD reg) @@ -64,6 +63,7 @@ APTR AllocPCIMem(ULONG Size) VOID FreePCIMem(APTR Address) BOOL AddInterrupt(OOP_Object *device, struct Interrupt *interrupt) VOID RemoveInterrupt(OOP_Object *device, struct Interrupt *interrupt) +IPTR HasExtendedConfig(UBYTE bus, UBYTE dev, UBYTE sub) ##end methodlist ##end interface @@ -158,7 +158,6 @@ UWORD ConfigSize ##end attributelist ##begin methodlist -IPTR HasExtendedConfig() UBYTE ReadConfigByte(UWORD reg) UWORD ReadConfigWord(UWORD reg) ULONG ReadConfigLong(UWORD reg) @@ -169,6 +168,7 @@ BOOL AddInterrupt(struct Interrupt *interrupt) VOID RemoveInterrupt(struct Interrupt *interrupt) CONST_STRPTR Obtain(CONST_STRPTR owner) VOID Release() +IPTR HasExtendedConfig() ##end methodlist ##end interface @@ -202,7 +202,6 @@ classdatatype struct DrvInstData New Get .interface Hidd_PCIDriver -HasExtendedConfig ReadConfigByte ReadConfigWord ReadConfigLong @@ -217,6 +216,7 @@ AllocPCIMem FreePCIMem AddInterrupt RemoveInterrupt +HasExtendedConfig ##end methodlist ##end class @@ -236,7 +236,6 @@ New Get Set .interface Hidd_PCIDevice -HasExtendedConfig ReadConfigByte ReadConfigWord ReadConfigLong @@ -247,5 +246,6 @@ AddInterrupt RemoveInterrupt Obtain Release +HasExtendedConfig ##end methodlist ##end class -- 2.11.4.GIT