Re: [PATCH 23/40] Staging: hv: storvsc: Introduce code to manage IDE devices using storvsc HBA

2011-07-01 Thread Christoph Hellwig
On Thu, Jun 30, 2011 at 09:38:34PM +, KY Srinivasan wrote: > > > +#define HV_MAX_IDE_DEVICES 4 > > > +#define HV_IDE_BASE_CHANNEL 10 > > > +#define HV_IDE0_DEV1 HV_IDE_BASE_CHANNEL > > > +#define HV_IDE0_DEV2 (HV_IDE_BASE_CHANNEL + 1) > > > +#define HV_IDE1_DE

RE: [PATCH 23/40] Staging: hv: storvsc: Introduce code to manage IDE devices using storvsc HBA

2011-06-30 Thread KY Srinivasan
g; > Abhishek Kane (Mindtree Consulting PVT LTD); Hank Janssen > Subject: Re: [PATCH 23/40] Staging: hv: storvsc: Introduce code to manage IDE > devices using storvsc HBA > > > +/* > > + * We want to manage the IDE devices using standard Linux SCSI drivers > > + * using the st

Re: [PATCH 23/40] Staging: hv: storvsc: Introduce code to manage IDE devices using storvsc HBA

2011-06-30 Thread Christoph Hellwig
> +/* > + * We want to manage the IDE devices using standard Linux SCSI drivers > + * using the storvsc driver. > + * Define special channels to support this. > + */ > + > +#define HV_MAX_IDE_DEVICES 4 > +#define HV_IDE_BASE_CHANNEL 10 > +#define HV_IDE0_DEV1 HV_IDE_BASE_CHANNEL > +#defi

[PATCH 23/40] Staging: hv: storvsc: Introduce code to manage IDE devices using storvsc HBA

2011-06-29 Thread K. Y. Srinivasan
Introduce code to manage the (potentially four) IDE devices suning the storvsc driver. To do so, we assign distinct channels to each of these devices as well as add code to probe an IDE device. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-