From: John Hodge Date: Sat, 19 May 2012 16:06:46 +0000 (+0800) Subject: Modules/USB MSC - Forgot a TODO X-Git-Tag: rel0.15~611^2~87 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d2db0b5f68b3bcb9fff8a90d41a746e366eb659f;p=tpg%2Facess2.git Modules/USB MSC - Forgot a TODO --- diff --git a/KernelLand/Modules/USB/MSC/main.c b/KernelLand/Modules/USB/MSC/main.c index c3509f6d..351120ea 100644 --- 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); - 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)