/*\r
-AcessOS/AcessBasic v0.1\r
-PCI Bus Driver\r
-*/\r
+ * AcessOS/AcessBasic v0.1\r
+ * PCI Bus Driver\r
+ */\r
+#define DEBUG 0\r
#include <common.h>\r
#include <vfs.h>\r
#include <fs_devfs.h>\r
#include <drv_pci.h>\r
\r
-#define DEBUG 0\r
#define LIST_DEVICES 1\r
\r
// === STRUCTURES ===\r
return NULL;\r
}\r
\r
- LEAVE('%s', gPCI_Devices[Pos].Name);\r
+ LEAVE('s', gPCI_Devices[Pos].Name);\r
return strdup( gPCI_Devices[Pos].Name );\r
}\r
/**\r
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