From d2db0b5f68b3bcb9fff8a90d41a746e366eb659f Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 20 May 2012 00:06:46 +0800 Subject: [PATCH 1/1] Modules/USB MSC - Forgot a TODO --- KernelLand/Modules/USB/MSC/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.20.1