Re: [PATCH] hptiop: backout ioctl mess

HighPoint Linux Team
2006-09-12T05:40:40Z

James Bottomley wrote:
> On Sun, 2006-07-30 at 19:13 +0200, Christoph Hellwig wrote:
> > The hptiop just got merged with a horrible amount of really bad ioctl
> > code that is against the standards for new scsi drivers. This patch
> > backs it out (and fixes a small bug where scsi_add_host is called to
> > early). We can re-add proper APIs once we agree on them.
>
> I'm assuming the model you want to use is megaraid_sas, which only has a
> couple of defined ioctls?
>
> > Please send this to Linus for 2.6.19 so that the ioctls don't make it
> > into a release.
>
> OK, provided you take the lead in sorting out the ioctl infrastructure
> for this driver ...
>
> James
>

Is there a suggested solution now? We just want RAID management
functions to work on this driver. Is it ok to use register_chrdev()
for the management interface like megaraid_sas?

HighPoint Linux Team