Re: [PATCH 0 of 20] [RFC] ipath - PathScale InfiniPath driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-12-30 at 16:10 -0800, Greg KH wrote:

> But we (the kernel community), don't really accept that as a valid
> reason to accept this kind of code, sorry.

Fair enough.  I'd like some guidance in that case.  Some of our ioctls
access the hardware more or less directly, while others do things like
read or reset counters.

Which of these kinds of operations are appropriate to retain as ioctls,
in your eyes, and which are best converted to sysfs or configfs
alternatives?

As an example, take a look at ipath_sma_ioctl.  It seems to me that
receiving or sending subnet management packets ought to remain as
ioctls, while getting port or node data could be turned into sysfs
attributes.  Lane identification could live in configfs.  If you think
otherwise, please let me know what's more appropriate.

The less blind I am in doing these conversions, the fewer rounds we'll
have to go in reviewing humongous driver submission patches :-)

Thanks,

	<b

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux