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
Modules/USB MSC - Forgot a TODO
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
MSC
/
main.c
diff --git
a/KernelLand/Modules/USB/MSC/main.c
b/KernelLand/Modules/USB/MSC/main.c
index
c3509f6
..
351120e
100644
(file)
--- a/
KernelLand/Modules/USB/MSC/main.c
+++ b/
KernelLand/Modules/USB/MSC/main.c
@@
-60,7
+60,8
@@
void MSC_DeviceConnected(tUSBInterface *Dev, void *Descriptors, size_t Descripto
LOG("Device has 0x%llx blocks of 0x%x bytes",
info->BlockCount, info->BlockSize);
LOG("Device has 0x%llx blocks of 0x%x bytes",
info->BlockCount, info->BlockSize);
- LVM_AddVolume(&gMSC_SCSI_VolType, "0", Dev, info->BlockSize, info->BlockCount);
+ // TODO: Get serial number
+ LVM_AddVolume(&gMSC_SCSI_VolType, "usb0", Dev, info->BlockSize, info->BlockCount);
}
void MSC_DataIn(tUSBInterface *Dev, int EndPt, int Length, void *Data)
}
void MSC_DataIn(tUSBInterface *Dev, int EndPt, int Length, void *Data)
UCC
git Repository :: git.ucc.asn.au