On Friday 14 December 2012 09:31:41 Alan Cox wrote:
> On Fri, 14 Dec 2012 03:01:24 +0000
> "Fangxiaozhi (Franko)" <fangxiao...@huawei.com> wrote:
> 
> > Dear Alan:
> > 
> >     This prevents people getting access to the storage device if they want.
> >     ----In our device, after its switching, it will keep the cdrom port 
> > together with other ports (such as modem port). So you can access the 
> > storage device too, after our switch.
> 
> Ok so the behaviour is
> 
>       plug in device
>       "I am a CD-ROM"
>       command sent
>       "I am a CD-ROM, I am a modem, I am other things"
> 
> with the newer devices ?

For such devices we should put the switching code into generic code,
not a device driver so that we have a chance to do reset_resume()
on those devices.

        Regards
                Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to