X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fsylixos-device.c;h=170ae02bf644841a25a3c2cc8e29f52a180cc95b;hb=7d23054d18402b1891343f090d3cd37d7e83c82f;hp=a23438ee15a7d2441639ea7bf7d3918a9e52e3ba;hpb=6c201b8feb920d4a8d0809278969bb7a4dbc0350;p=pciutils.git diff --git a/lib/sylixos-device.c b/lib/sylixos-device.c index a23438e..170ae02 100644 --- a/lib/sylixos-device.c +++ b/lib/sylixos-device.c @@ -1,9 +1,11 @@ /* - * The PCI Library -- Direct Configuration access via SylixOS Ports + * The PCI Library -- Direct Configuration access via SylixOS Ports * - * Copyright (c) 2018 YuJian.Gong + * Copyright (c) 2018 YuJian.Gong * - * 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 */ #define _GNU_SOURCE @@ -25,7 +27,7 @@ sylixos_scan(struct pci_access *a) for (bus = 0; bus < PCI_MAX_BUS; bus++) if (!busmap[bus]) - pci_generic_scan_bus(a, busmap, bus); + pci_generic_scan_bus(a, busmap, 0, bus); } static void