lkml.org 
[lkml]   [2002]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] My AMD IDE driver, v2.7
Your proposal sounds 100% ok to me...

For the details of the userspace interface (for both ATA and SCSI), my
idea was to use standard read(2) and write(2).

Any number of programs can open /dev/ata/hda/control or
/dev/scsi/sdc/control. write(2) submits requests, read(2) consumes
command responses, perhaps buffering a bit so that multiple responses
are not lost if userspace is slow.

Maybe it's a cheesy way to avoid ioctl(2), maybe not...

Jeff




-
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:24    [W:1.599 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site