[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] [PATCH] Update driver version from 8.2.0 to 9.0.0
This is missing an update to revision.h. I'll send v2. Paul > -----Original Message----- > From: Paul Durrant [mailto:paul.durrant@xxxxxxxxxx] > Sent: 13 December 2016 09:33 > To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx > Cc: Paul Durrant <Paul.Durrant@xxxxxxxxxx> > Subject: [PATCH] Update driver version from 8.2.0 to 9.0.0 > > Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> > --- > build.py | 4 ++-- > src/xenvif.inf | 6 +++--- > src/xenvif/pdo.c | 26 +++++++++++--------------- > 3 files changed, 16 insertions(+), 20 deletions(-) > > diff --git a/build.py b/build.py > index bdb0e3c..8ebc340 100755 > --- a/build.py > +++ b/build.py > @@ -407,8 +407,8 @@ if __name__ == '__main__': > if 'PRODUCT_NAME' not in os.environ.keys(): > os.environ['PRODUCT_NAME'] = 'Xen' > > - os.environ['MAJOR_VERSION'] = '8' > - os.environ['MINOR_VERSION'] = '2' > + os.environ['MAJOR_VERSION'] = '9' > + os.environ['MINOR_VERSION'] = '0' > os.environ['MICRO_VERSION'] = '0' > > if 'BUILD_NUMBER' not in os.environ.keys(): > diff --git a/src/xenvif.inf b/src/xenvif.inf > index 03f0f53..4ba1ef5 100644 > --- a/src/xenvif.inf > +++ b/src/xenvif.inf > @@ -59,9 +59,9 @@ > xenvif_coinst_@MAJOR_VERSION@_@MINOR_VERSION@_@MICRO_VERS > ION@_@BUILD_NUMBER@.dll > ; DisplayName Section DeviceID > ; ----------- ------- -------- > > -%XenVifName% =XenVif_Inst, > XENBUS\VEN_@VENDOR_PREFIX@@VENDOR_DEVICE_ID@&DEV_ > VIF&REV_0800000B > -%XenVifName% =XenVif_Inst, > XENBUS\VEN_@VENDOR_PREFIX@0001&DEV_VIF&REV_0800000B > -%XenVifName% =XenVif_Inst, > XENBUS\VEN_@VENDOR_PREFIX@0002&DEV_VIF&REV_0800000B > +%XenVifName% =XenVif_Inst, > XENBUS\VEN_@VENDOR_PREFIX@@VENDOR_DEVICE_ID@&DEV_ > VIF&REV_09000000 > +%XenVifName% =XenVif_Inst, > XENBUS\VEN_@VENDOR_PREFIX@0001&DEV_VIF&REV_09000000 > +%XenVifName% =XenVif_Inst, > XENBUS\VEN_@VENDOR_PREFIX@0002&DEV_VIF&REV_09000000 > > [XenVif_Inst] > CopyFiles=XenVif_Copyfiles > diff --git a/src/xenvif/pdo.c b/src/xenvif/pdo.c > index 812622e..e6ffbc3 100644 > --- a/src/xenvif/pdo.c > +++ b/src/xenvif/pdo.c > @@ -572,23 +572,19 @@ PdoDumpRevisions( > ASSERT(IMPLY(Index == ARRAYSIZE(PdoRevision) - 1, > Revision->VifInterfaceVersion == > XENVIF_VIF_INTERFACE_VERSION_MAX)); > > - if (Revision->StoreInterfaceVersion == 0) { // not-supported > - ASSERT(Index != ARRAYSIZE(PdoRevision) - 1); > - goto show_revision; > + if (Revision->StoreInterfaceVersion != 0) { > + ASSERT3U(Revision->StoreInterfaceVersion, >=, > XENBUS_STORE_INTERFACE_VERSION_MIN); > + ASSERT3U(Revision->StoreInterfaceVersion, <=, > XENBUS_STORE_INTERFACE_VERSION_MAX); > + ASSERT(IMPLY(Index == ARRAYSIZE(PdoRevision) - 1, > + Revision->StoreInterfaceVersion == > XENBUS_STORE_INTERFACE_VERSION_MAX)); > } > > - ASSERT3U(Revision->StoreInterfaceVersion, >=, > XENBUS_STORE_INTERFACE_VERSION_MIN); > - ASSERT3U(Revision->StoreInterfaceVersion, <=, > XENBUS_STORE_INTERFACE_VERSION_MAX); > - ASSERT(IMPLY(Index == ARRAYSIZE(PdoRevision) - 1, > - Revision->StoreInterfaceVersion == > XENBUS_STORE_INTERFACE_VERSION_MAX)); > - > - ASSERT3U(Revision->SuspendInterfaceVersion, >=, > XENBUS_SUSPEND_INTERFACE_VERSION_MIN); > - ASSERT3U(Revision->SuspendInterfaceVersion, <=, > XENBUS_SUSPEND_INTERFACE_VERSION_MAX); > - ASSERT(IMPLY(Index == ARRAYSIZE(PdoRevision) - 1, > - Revision->SuspendInterfaceVersion == > XENBUS_SUSPEND_INTERFACE_VERSION_MAX)); > - > -show_revision: > - ASSERT3U(Revision->Number >> 24, ==, MAJOR_VERSION); > + if (Revision->SuspendInterfaceVersion != 0) { > + ASSERT3U(Revision->SuspendInterfaceVersion, >=, > XENBUS_SUSPEND_INTERFACE_VERSION_MIN); > + ASSERT3U(Revision->SuspendInterfaceVersion, <=, > XENBUS_SUSPEND_INTERFACE_VERSION_MAX); > + ASSERT(IMPLY(Index == ARRAYSIZE(PdoRevision) - 1, > + Revision->SuspendInterfaceVersion == > XENBUS_SUSPEND_INTERFACE_VERSION_MAX)); > + } > > Info("%08X -> " > "CACHE v%u " > -- > 2.5.3 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |