Fixed bug where system would lock if a user task segfaulted (forgot to sti)
[tpg/acess2.git] / Kernel / drv / pci.c
index 0519a3e..43d6d54 100644 (file)
@@ -2,7 +2,7 @@
  * AcessOS/AcessBasic v0.1\r
  * PCI Bus Driver\r
  */\r
-#define DEBUG  1\r
+#define DEBUG  0\r
 #include <common.h>\r
 #include <vfs.h>\r
 #include <fs_devfs.h>\r
@@ -468,7 +468,7 @@ int PCI_EnumDevice(Uint16 bus, Uint16 slot, Uint16 fcn, t_pciDevice *info)
        info->Name[2] = '.';\r
        info->Name[3] = '0' + slot/10;\r
        info->Name[4] = '0' + slot%10;\r
-       info->Name[5] = '.';\r
+       info->Name[5] = ':';\r
        info->Name[6] = '0' + fcn;\r
        info->Name[7] = '\0';\r
        \r

UCC git Repository :: git.ucc.asn.au