Fixed all misuse of "/rd/1" (changed to "/sys"; all except "/programs/*" and "/kernel/*")
ati2d: fixed log creation git-svn-id: svn://kolibrios.org@9583 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -625,7 +625,7 @@ uint32_t drvEntry(int action, char *cmdline)
|
||||
create_dm_list();
|
||||
print_dm_list();
|
||||
|
||||
write_device_dat("/RD/1/DRIVERS/DEVICES.DAT");
|
||||
write_device_dat("/SYS/DRIVERS/DEVICES.DAT");
|
||||
|
||||
err:
|
||||
return 0;
|
||||
|
@@ -23,9 +23,9 @@ u32_t drvEntry(int action, char *cmdline)
|
||||
if(action != 1)
|
||||
return 0;
|
||||
|
||||
if( !dbg_open("/rd/1/drivers/acpi.log") )
|
||||
if( !dbg_open("/sys/drivers/acpi.log") )
|
||||
{
|
||||
printf("Can't open /rd/1/drivers/acpi.log\nExit\n");
|
||||
printf("Can't open /sys/drivers/acpi.log\nExit\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -24,7 +24,7 @@ int main(int argc, char** argv){
|
||||
drv = _ksys_load_driver(drv_name);
|
||||
break;
|
||||
case 2 :
|
||||
drv_name = "/rd/1/drivers/c_drv.dll";
|
||||
drv_name = "/sys/drivers/c_drv.dll";
|
||||
drv = _ksys_load_pe_driver(drv_name, NULL);
|
||||
break;
|
||||
default:
|
||||
|
@@ -27,9 +27,9 @@ u32_t __stdcall drvEntry(int action)
|
||||
if(action != 1)
|
||||
return 0;
|
||||
|
||||
if(!dbg_open("/rd/1/drivers/agp.log"))
|
||||
if(!dbg_open("/sys/drivers/agp.log"))
|
||||
{
|
||||
printf("Can't open /rd/1/drivers/agp.log\nExit\n");
|
||||
printf("Can't open /sys/drivers/agp.log\nExit\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -43,9 +43,9 @@ u32_t __stdcall drvEntry(int action)
|
||||
if(action != 1)
|
||||
return 0;
|
||||
|
||||
if(!dbg_open("/bd0/2/ati2d.log"))
|
||||
if(!dbg_open("/sys/drivers/ati2d.log"))
|
||||
{
|
||||
printf("Can't open /rd/1/drivers/ati2d.log\nExit\n");
|
||||
printf("Can't open /sys/drivers/ati2d.log\nExit\n");
|
||||
return 0;
|
||||
}
|
||||
if( GetScreenBpp() != 32)
|
||||
|
@@ -767,9 +767,9 @@ int __stdcall drvEntry(int action)
|
||||
if(action != 1)
|
||||
return 0;
|
||||
|
||||
if(!dbg_open("/rd/1/drivers/ati.txt"))
|
||||
if(!dbg_open("/sys/drivers/ati.txt"))
|
||||
{
|
||||
printf("Can't open /rd/1/drivers/ati.txt\nExit\n");
|
||||
printf("Can't open /sys/drivers/ati.txt\nExit\n");
|
||||
return 0;
|
||||
}
|
||||
if(!FindPciDevice())
|
||||
|
Reference in New Issue
Block a user