D | alauda.c | 114 #define MEDIA_PORT(us) us->srb->device->lun argument 115 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument 121 static int init_alauda(struct us_data *us); 177 { 0x6e, 20, 8, 4, 8}, /* 1 MB */ 178 { 0xe8, 20, 8, 4, 8}, /* 1 MB */ 179 { 0xec, 20, 8, 4, 8}, /* 1 MB */ 308 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status() argument 313 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_get_media_status() 318 rc = usb_stor_ctrl_transfer(us, us->recv_ctrl_pipe, in alauda_get_media_status() 321 usb_stor_dbg(us, "Media status %02X %02X\n", data[0], data[1]); in alauda_get_media_status() [all …]
|