Modules/USB MSC - Forgot a TODO
authorJohn Hodge <[email protected]>
Sat, 19 May 2012 16:06:46 +0000 (00:06 +0800)
committerJohn Hodge <[email protected]>
Sat, 19 May 2012 16:06:46 +0000 (00:06 +0800)
KernelLand/Modules/USB/MSC/main.c

index c3509f6..351120e 100644 (file)
@@ -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)

UCC git Repository :: git.ucc.asn.au