// === Functions ===
extern Uint64 InitRD_ReadFile(tVFS_Node *Node, Uint64 Offset, Uint64 Size, void *Buffer);
extern char *InitRD_ReadDir(tVFS_Node *Node, int ID);
-extern tVFS_Node *InitRD_FindDir(tVFS_Node *Node, char *Name);
+extern tVFS_Node *InitRD_FindDir(tVFS_Node *Node, const char *Name);
#endif
void InitRD_Unmount(tVFS_Node *Node);
Uint64 InitRD_ReadFile(tVFS_Node *Node, Uint64 Offset, Uint64 Size, void *Buffer);
char *InitRD_ReadDir(tVFS_Node *Node, int ID);
-tVFS_Node *InitRD_FindDir(tVFS_Node *Node, char *Name);
+tVFS_Node *InitRD_FindDir(tVFS_Node *Node, const char *Name);
void InitRD_DumpDir(tVFS_Node *Node, int Indent);
// === GLOBALS ===
/**
* \brief Find an element in a directory
*/
-tVFS_Node *InitRD_FindDir(tVFS_Node *Node, char *Name)
+tVFS_Node *InitRD_FindDir(tVFS_Node *Node, const char *Name)
{
int i;
tInitRD_File *dir = Node->ImplPtr;
// === CONSTANTS ===\r
const struct {\r
int ID;\r
- char *Name;\r
+ char *Name;\r
} csaVENDORS[] = {\r
{0x10EC, "Realtek"},\r
{0x1106, "VIA Technologies, Inc."},\r
\r
printf("PCI Bus Dump\n");\r
// --- Open PCI Directory\r
- dp = open("/Devices/pci", /*OPEN_FLAG_READ|*/OPENFLAG_EXEC);\r
+ dp = open("/Devices/pci", OPENFLAG_READ|OPENFLAG_EXEC);\r
if(dp == -1)\r
{\r
fprintf(stderr, "Non-Standard configuration or not running on Acess.\n");\r
{ 0x10E9, "Alps", "Alps Electronic Corp. Ltd." } ,
{ 0x10EA, "Tvia", "Tvia, Inc." } ,
{ 0x10EB, "Artist", "Artist Graphics" } ,
- { 0x10EC, "Realtek", "Realtek RTL8191SE 802.11b/g/n Wireless LAN Driver" } ,
+ { 0x10EC, "Realtek", "Realtek Corp" } ,
{ 0x10ED, "Ascii", "Ascii Corporation" } ,
{ 0x10EE, "Xilinx", "Xilinx Corporation" } ,
{ 0x10EF, "Racore", "Racore Computer Products" } ,
{ 0x10F0, "Real-Time Graphics & Video", "Curtiss-Wright Controls Embedded Computing" } ,
{ 0x10F1, "Tyan", "Tyan Computer" } ,
- { 0x10F2, "Achme", "Achme Computer Inc. - GONE !!!!" } ,
+ { 0x10F2, "Achme", "Achme Computer Inc." } ,
{ 0x10F3, "Alaris", "Alaris Inc." } ,
{ 0x10F4, "S-Mos", "S-Mos Systems" } ,
{ 0x10F5, "NKK", "NKK Corporation" } ,