[openib-general] Re: RFC: ipath ioctls and their replacements
Andrew Morton
akpm at osdl.org
Wed Jan 18 19:49:11 PST 2006
Greg KH <greg at kroah.com> wrote:
>
Sorry for sticking my head in a beehive, but. Stand back and look at it:
> Shouldn't you just open the proper chip device and port device itself?
> Why not just use mmap? What's the special needs?
> sysfs file.
> Use poll.
> Use netlink for subnet stuff.
> Use debugfs.
> Use the pci sysfs config files, don't duplicate existing functionality.
> netlink or debugfs.
For a driver-bodging interface design, this is simply nutty.
And it makes the driver developer learn a pile of extra stuff and it
introduces lots of linkages everywhere and heaven knows what the driver's
userspace interface description ends up looking like.
ioctl() would have to be pretty darn bad to be worse than all this random
stuff.
Just saying...
More information about the general
mailing list