Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread Matthew Dharm
So how do you address a multi-LUN target if you don't encode the LUN? Matt On Mon, Jan 30, 2006 at 07:04:15PM +0100, Ren? Rebe wrote: > Hi, > > finally - I got multi target (that is a SCSI device other than ID = 0 and > more than than one) working > with the USB2Xchange. But it needs two ugly c

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread Matthew Dharm
So how do you address a multi-LUN device with the USB2Xchange? Matt On Mon, Jan 30, 2006 at 07:04:15PM +0100, Ren? Rebe wrote: > Hi, > > finally - I got multi target (that is a SCSI device other than ID = 0 and > more than than one) working > with the USB2Xchange. But it needs two ugly changes

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread René Rebe
Hi, finally - I got multi target (that is a SCSI device other than ID = 0 and more than than one) working with the USB2Xchange. But it needs two ugly changes in transport.c: The first one is only encoding the ID, no LUN: --- ../linux-2.6.15/drivers/usb/storage/transport.c 2006-01-03 04:21:

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread René Rebe
Hi, On Monday 30 January 2006 16:22, Oliver Neukum wrote: > Am Montag, 30. Januar 2006 14:22 schrieb René Rebe: > > +   /* Stop CPU */ > > +   err = usbxchange_set_reset(dev, cpureg, 1); > > +   err = usbxchange_set_reset(dev, cpureg, 1); > > +   if (err < 0) { > > +   

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread Oliver Neukum
Am Montag, 30. Januar 2006 14:22 schrieb René Rebe: > +   /* Stop CPU */ > +   err = usbxchange_set_reset(dev, cpureg, 1); > +   err = usbxchange_set_reset(dev, cpureg, 1); > +   if (err < 0) { > +   printk(KERN_ERR "%s - error stopping dongle CPU: error = > %d\n", > + 

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread Oliver Neukum
Am Montag, 30. Januar 2006 14:22 schrieb René Rebe: > +   /* Stop CPU */ > +   err = usbxchange_set_reset(dev, cpureg, 1); > +   err = usbxchange_set_reset(dev, cpureg, 1); > +   if (err < 0) { > +   printk(KERN_ERR "%s - error stopping dongle CPU: error = > %d\n", > +