From 058f400b0cfecf67cb10298b348e1ad802639ab4 Mon Sep 17 00:00:00 2001 From: aaron Date: Mon, 22 May 2017 19:23:38 +0000 Subject: [PATCH] git-svn-id: https://spexeah.com:8443/svn/Asuro@198 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c --- src/driver/PCI.pas | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/driver/PCI.pas b/src/driver/PCI.pas index 0ec1afa0..807902d2 100644 --- a/src/driver/PCI.pas +++ b/src/driver/PCI.pas @@ -418,6 +418,16 @@ begin console.writestring(' '); console.writehexln(tmp.subclass_class); + if tmp.class_code = 1 then begin + console.writestringln('-Device is MASS_STORAGE_CONTROLLER '); + end; + if tmp.class_code = 2 then begin + console.writestringln('-Device is NETWORK_CONTROLLER '); + end; + if tmp.class_code = 3 then begin + console.writestringln('-Device is DISPLAY_CONTROLLER '); + end; + //psleep(300); read_device_config := tmp;