Re: [PATCH] 2.5.6-pre2 IDE cleanup 16

Jeff Garzik
2002-03-05T21:42:34Z

Vojtech Pavlik wrote:
>
> On Tue, Mar 05, 2002 at 11:37:58AM +0000, Arjan van de Ven wrote:
> > Martin Dalecki wrote:
> >
> > > - Disable configuration of the task file stuff. It is going to go away
> > > and will be replaced by a truly abstract interface based on
> > > functionality and *not* direct mess-up of hardware.
> >
> > Can we also expect a patch to remove the scb's from the scsi midlayer
> > from you ?
> > I mean, if a standard specifies a nice *common* command packet format
> > I'd expect the midlayer
> > to create such packets. Taskfile is exactly that... why removing it ?
>
> Note that taskfiles are not being removed from IDE. Just direct (and
> parsed and filtered) interface to userspace. Does the scsi midlayer
> export the SCBs directly to userspace?

It should.

I think it's a mistake to remove the taskfile interface.

It provides a way for people to directly validate the lowest level IDE
interface, without interference from upper layers. It also provides
access to userspace for important features that -should not- be in the
kernel, like SMART monitoring and security features.

Jeff

--
Jeff Garzik |
Building 1024 |
MandrakeSoft | Choose life.