|
20 | 20 |
|
21 | 21 | This document describes how to use the gadget from user space, its |
22 | 22 | relation to mass storage function (or MSF) and different gadgets |
23 | | - using it, and how it differs from File Storage Gadget (or FSG). It |
24 | | - will talk only briefly about how to use MSF within composite |
25 | | - gadgets. |
| 23 | + using it, and how it differs from File Storage Gadget (or FSG) |
| 24 | + (which is no longer included in Linux). It will talk only briefly |
| 25 | + about how to use MSF within composite gadgets. |
26 | 26 |
|
27 | 27 | * Module parameters |
28 | 28 |
|
|
198 | 198 | The Mass Storage Function and thus the Mass Storage Gadget has been |
199 | 199 | based on the File Storage Gadget. The difference between the two is |
200 | 200 | that MSG is a composite gadget (ie. uses the composite framework) |
201 | | - while file storage gadget is a traditional gadget. From userspace |
| 201 | + while file storage gadget was a traditional gadget. From userspace |
202 | 202 | point of view this distinction does not really matter, but from |
203 | 203 | kernel hacker's point of view, this means that (i) MSG does not |
204 | 204 | duplicate code needed for handling basic USB protocol commands and |
205 | 205 | (ii) MSF can be used in any other composite gadget. |
206 | 206 |
|
207 | | - Because of that, File Storage Gadget has been deprecated and |
208 | | - scheduled to be removed in Linux 3.8. All users need to transition |
209 | | - to the Mass Storage Gadget by that time. The two gadgets behave |
210 | | - mostly the same from the outside except: |
| 207 | + Because of that, File Storage Gadget has been removed in Linux 3.8. |
| 208 | + All users need to transition to the Mass Storage Gadget. The two |
| 209 | + gadgets behave mostly the same from the outside except: |
211 | 210 |
|
212 | 211 | 1. In FSG the “removable” and “cdrom” module parameters set the flag |
213 | 212 | for all logical units whereas in MSG they accept a list of y/n |
|
0 commit comments