lkml.org 
[lkml]   [2003]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] DAC960 open with O_NONBLOCK
Date
> John Kamp has run across a libhd applcation from Suse that hit this bug.
> It's some kind of hardware detection application. It opens devices with
> O_NONBLOCK. But, it doesn't in fact use the DAC960 pass-through commands.

It should be checking major/minor first - rightfully or wrongly (I'd
favour wrongly) open has side effects on multiple devices.

> The difficulty is that the Mylex application is available only in binary
> form. Mylex is very secretive about its controller commands.
> It would be nice to be able to create a library that an application
> could call to perform high-level operations, and the library would
> construct the pass-through commands and pass them to the driver.
> Then, anyone could write their own GUI.

Or someone could just stick a command dumper in the driver. Thats how I
wrote ps and a few other utils for my aacraid 8)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.030 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site