D | alauda.c | 116 #define MEDIA_PORT(us) us->srb->device->lun argument 117 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument 123 static int init_alauda(struct us_data *us); 179 { 0x6e, 20, 8, 4, 8}, /* 1 MB */ 180 { 0xe8, 20, 8, 4, 8}, /* 1 MB */ 181 { 0xec, 20, 8, 4, 8}, /* 1 MB */ 310 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status() argument 315 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_get_media_status() 320 rc = usb_stor_ctrl_transfer(us, us->recv_ctrl_pipe, in alauda_get_media_status() 324 usb_stor_dbg(us, "Media status %02X %02X\n", data[0], data[1]); in alauda_get_media_status() [all …]
|