mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
This commit was generated by cvs2svn to compensate for changes in r58,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=59
This commit is contained in:
parent
c38258c97a
commit
537bf0fdf6
2 changed files with 4 additions and 5 deletions
|
@ -70,7 +70,7 @@ typedef DISK_GEOMETRY *PDISK_GEOMETRY;
|
||||||
#include <internal/hal/io.h>
|
#include <internal/hal/io.h>
|
||||||
#include <internal/string.h>
|
#include <internal/string.h>
|
||||||
|
|
||||||
#define NDEBUG
|
//#define NDEBUG
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
||||||
#include "ide.h"
|
#include "ide.h"
|
||||||
|
@ -793,7 +793,7 @@ IDEGetPartitionTable(IN int CommandPort,
|
||||||
SectorBuf);
|
SectorBuf);
|
||||||
if (RC != 0)
|
if (RC != 0)
|
||||||
{
|
{
|
||||||
DbgPrint("read failed: port %04x drive %d sector %d rc %d\n",
|
DPRINT("read failed: port %04x drive %d sector %d rc %d\n",
|
||||||
CommandPort,
|
CommandPort,
|
||||||
DriveNum,
|
DriveNum,
|
||||||
Offset,
|
Offset,
|
||||||
|
@ -802,7 +802,7 @@ IDEGetPartitionTable(IN int CommandPort,
|
||||||
}
|
}
|
||||||
else if (*((WORD *)(SectorBuf + PART_MAGIC_OFFSET)) != PARTITION_MAGIC)
|
else if (*((WORD *)(SectorBuf + PART_MAGIC_OFFSET)) != PARTITION_MAGIC)
|
||||||
{
|
{
|
||||||
DbgPrint("Bad partition magic: port %04x drive %d offset %d magic %d\n",
|
DPRINT("Bad partition magic: port %04x drive %d offset %d magic %d\n",
|
||||||
CommandPort,
|
CommandPort,
|
||||||
DriveNum,
|
DriveNum,
|
||||||
Offset,
|
Offset,
|
||||||
|
@ -922,7 +922,6 @@ IDECreateDevice(IN PDRIVER_OBJECT DriverObject,
|
||||||
{
|
{
|
||||||
RtlInitAnsiString(&AnsiSymLink, Win32Alias);
|
RtlInitAnsiString(&AnsiSymLink, Win32Alias);
|
||||||
RtlAnsiStringToUnicodeString(&SymLink, &AnsiSymLink, TRUE);
|
RtlAnsiStringToUnicodeString(&SymLink, &AnsiSymLink, TRUE);
|
||||||
DbgPrint("SymbolicLink (%w -> %w)\n",SymLink.Buffer,UnicodeName.Buffer);
|
|
||||||
IoCreateSymbolicLink(&SymLink, &UnicodeName);
|
IoCreateSymbolicLink(&SymLink, &UnicodeName);
|
||||||
RtlFreeUnicodeString(&SymLink);
|
RtlFreeUnicodeString(&SymLink);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,4 +8,4 @@ ide.o: ide.c ide.h idep.h partitio.h
|
||||||
|
|
||||||
dummy:
|
dummy:
|
||||||
|
|
||||||
include ../../../rules.mak
|
include ../../rules.mak
|
||||||
|
|
Loading…
Reference in a new issue