added hidkb driver and a simple example
[ppcskel.git] / usb / drivers / class / storage.c
index 116288d9eed96336ec91d0fd92383b0b320c2368..e0e84fd2d83ee6ece484565217f952e7c000e901 100644 (file)
@@ -119,26 +119,6 @@ void usb_storage_check()
 
 
 
-/**
- * open connection to an storage device
- */
-u8 usb_storage_open(u8 device)
-{
-       /* set configuration */
-       u8 tmp[8];
-       usb_control_msg(massstorage[device], 0x00,SET_CONFIGURATION,0x0100, 0, 0, tmp, 0);
-
-
-       /* class request */
-       usb_control_msg(massstorage[device], 0xA1,0xFE,0, 0, 1,tmp, 0);
-
-       /* wait until the stick is complete ready */
-       wait_ms(10);
-       
-       //FIXME and all other return values!!!
-       return 1;
-}
-
 u8 usb_storage_inquiry(u8 device)
 {
        /* send cwb "usbc" */