Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hwinfo for openSUSE:Factory checked 
in at 2023-01-10 14:59:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hwinfo (Old)
 and      /work/SRC/openSUSE:Factory/.hwinfo.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hwinfo"

Tue Jan 10 14:59:29 2023 rev:190 rq:1057080 version:22.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes    2022-11-10 
14:19:30.177410665 +0100
+++ /work/SRC/openSUSE:Factory/.hwinfo.new.32243/hwinfo.changes 2023-01-10 
14:59:58.269257985 +0100
@@ -0,0 +1,7 @@
+--------------------------------------------------------------------
+Mon Jan 9 14:05:07 UTC 2023 - wfe...@opensuse.org
+
+- merge gh#openSUSE/hwinfo#126
+- create xen usb controller device if necessary (bsc#1204294)
+- 22.2
+

Old:
----
  hwinfo-22.1.tar.xz

New:
----
  hwinfo-22.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hwinfo.spec ++++++
--- /var/tmp/diff_new_pack.Iz6c6S/_old  2023-01-10 14:59:59.129262652 +0100
+++ /var/tmp/diff_new_pack.Iz6c6S/_new  2023-01-10 14:59:59.133262675 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hwinfo
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           hwinfo
-Version:        22.1
+Version:        22.2
 %define lname  libhd%(echo "%version" | perl -pe 's{\\D.*}{}')
 Release:        0
 Summary:        Hardware Library

++++++ hwinfo-22.1.tar.xz -> hwinfo-22.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-22.1/VERSION new/hwinfo-22.2/VERSION
--- old/hwinfo-22.1/VERSION     2022-08-09 15:46:27.000000000 +0200
+++ new/hwinfo-22.2/VERSION     2023-01-09 15:05:07.000000000 +0100
@@ -1 +1 @@
-22.1
+22.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-22.1/changelog new/hwinfo-22.2/changelog
--- old/hwinfo-22.1/changelog   2022-08-09 15:46:27.000000000 +0200
+++ new/hwinfo-22.2/changelog   2023-01-09 15:05:07.000000000 +0100
@@ -1,3 +1,7 @@
+2023-01-09:    22.2
+       - merge gh#openSUSE/hwinfo#126
+       - create xen usb controller device if necessary (bsc#1204294)
+
 2022-08-09:    22.1
        - merge gh#openSUSE/hwinfo#117
        - glibc 2.36+ includes fsconfig itself, make linux/fs.h inclusion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-22.1/src/hd/pci.c new/hwinfo-22.2/src/hd/pci.c
--- old/hwinfo-22.1/src/hd/pci.c        2022-08-09 15:46:27.000000000 +0200
+++ new/hwinfo-22.2/src/hd/pci.c        2023-01-09 15:05:07.000000000 +0100
@@ -1441,7 +1441,7 @@
 void hd_read_xen(hd_data_t *hd_data)
 {
   char *s, *xen_type, *xen_node;
-  int eth_cnt = 0, blk_cnt = 0;
+  int eth_cnt = 0, blk_cnt = 0, usb_cnt = 0;
   hd_t *hd;
   str_list_t *sf_bus, *sf_bus_e;
   char *sf_dev, *drv, *module;
@@ -1493,6 +1493,7 @@
       xen_type &&
       (
         !strcmp(xen_type, "vif") ||
+        !strcmp(xen_type, "vusb") ||
         !strcmp(xen_type, "vbd")
       )
     ) {
@@ -1513,6 +1514,13 @@
         hd->device.id = MAKE_ID(TAG_SPECIAL, u);
         str_printf(&hd->device.name, 0, "Virtual Ethernet Card %d", hd->slot);
       }
+      else if(!strcmp(xen_type, "vusb")) {     /* usb controller */
+        hd->base_class.id = bc_serial;
+        hd->sub_class.id = sc_ser_usb;
+        hd->slot = usb_cnt++;
+        hd->device.id = MAKE_ID(TAG_SPECIAL, 0x2001);
+        str_printf(&hd->device.name, 0, "Virtual USB Controller %d", hd->slot);
+      }
       else {   /* storage */
         hd->base_class.id = bc_storage;
         hd->sub_class.id = sc_sto_other;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-22.1/src/ids/src/special 
new/hwinfo-22.2/src/ids/src/special
--- old/hwinfo-22.1/src/ids/src/special 2022-08-09 15:46:27.000000000 +0200
+++ new/hwinfo-22.2/src/ids/src/special 2023-01-09 15:05:07.000000000 +0100
@@ -649,6 +649,10 @@
 &device.id             special 0x1002
 +driver.module.modprobe        xen-vbd
 
+ vendor.id             special 0x6011
+&device.id             special 0x2001
++driver.module.modprobe        xen-hcd
+
 # VirtualIron
  vendor.id             special 0x6012
 +vendor.name           VirtualIron

Reply via email to