git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/VFS - Fixed missuse of strcmp that caused userland compilations to break
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Storage
/
ATA
/
main.c
diff --git
a/KernelLand/Modules/Storage/ATA/main.c
b/KernelLand/Modules/Storage/ATA/main.c
index
6737e44
..
94ee8a5
100644
(file)
--- a/
KernelLand/Modules/Storage/ATA/main.c
+++ b/
KernelLand/Modules/Storage/ATA/main.c
@@
-32,8
+32,7
@@
MODULE_DEFINE(0, VERSION, i386ATA, ATA_Install, NULL, "PCI", "LVM", NULL);
tLVM_VolType gATA_VolType = {
.Name = "ATA",
.Read = ATA_ReadRaw,
tLVM_VolType gATA_VolType = {
.Name = "ATA",
.Read = ATA_ReadRaw,
- .Write = ATA_WriteRaw,
- .BlockSize = 512,
+ .Write = ATA_WriteRaw
};
// === CODE ===
};
// === CODE ===
@@
-106,7
+105,7
@@
int ATA_ScanDisk(int Disk)
char name[] = "ata0";
sprintf(name, "ata%i", Disk);
char name[] = "ata0";
sprintf(name, "ata%i", Disk);
- LVM_AddVolume(&gATA_VolType, name, (void*)(Uint
*)Disk
, sector_count);
+ LVM_AddVolume(&gATA_VolType, name, (void*)(Uint
)Disk, 512
, sector_count);
#if DEBUG >= 2
{
#if DEBUG >= 2
{
UCC
git Repository :: git.ucc.asn.au