From 10c974c8fceb21b7a007ddf0b51a0eb69e69fb8e Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Wed, 22 Jan 2014 23:40:31 +0000 Subject: [PATCH] NETCFG: dont list chipsets unless they are nvidia. git-svn-id: svn://kolibrios.org@4515 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/netcfg/netcfg.asm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/programs/network/netcfg/netcfg.asm b/programs/network/netcfg/netcfg.asm index a9d13ac75c..3e1003ae22 100644 --- a/programs/network/netcfg/netcfg.asm +++ b/programs/network/netcfg/netcfg.asm @@ -1,6 +1,6 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; -;; Copyright (C) KolibriOS team 2010-2013. All rights reserved. ;; +;; Copyright (C) KolibriOS team 2010-2014. All rights reserved. ;; ;; Distributed under terms of the GNU General Public License ;; ;; ;; ;; netcfg.asm - Network driver control center for KolibriOS ;; @@ -249,12 +249,14 @@ Start_Enum: @@: mcall 62 ; Read it mov [PCI_IRQ], al ; Save it - cmp byte [PCI_Class], 2 ; network controller + cmp [PCI_Class], 2 ; network controller je @f - cmp byte [PCI_Class], 6 ; bridge type device + cmp [PCI_Class], 6 ; bridge type device jne nextDev - cmp byte [PCI_SubClass], 0x80 ; PCI-other bridge (for nvidia chipset) + cmp [PCI_SubClass], 0x80 ; PCI-other bridge (for nvidia chipset) + jne nextDev + cmp [PCI_Vendor], 0x10DE ; nvidia jne nextDev @@: