lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRE: [PATCH][resubmit] HP iLO driver
From
On Tue, 24 Jun 2008 03:40:33 +0000
"Altobelli, David" <david.altobelli@hp.com> wrote:
> > -----Original Message-----
> > From: FUJITA Tomonori [mailto:fujita.tomonori@lab.ntt.co.jp]
> >
> > This driver creates the own device file and user-space applications
> > write a request data to the device file and read the response from it?
>
> Yes, though I would include that the data for the read response is
> supplied by the management processor.

It works with bsg.

bsg is designed to enable user-space applications to send a request to
something in kernel and get the response. For example, bsg is used to
implement the user-space interface to send a request to SAS hardware
and get the response.


> > Would it be better to use the existing infrastructure (block/bsg.c) to
> > do that? With bsg, you don't need to invent your fifo code to enqueue
> > and dequeue requests.
>
> I'm probably missing something, but I need that particular fifo code
> to manage the device queues.

Oops, I overlooked it. OK, even with bsg, the fifo code is necessary.
Probably bsg can make the driver simpler a bit.


\
 
 \ /
  Last update: 2008-06-24 06:21    [from the cache]
©2003-2011 Jasper Spaans