Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 13:51:10 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        mike@smith.net.au (Mike Smith)
Cc:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: new gpib driver and select/poll issues
Message-ID:  <199808282051.NAA14051@troutmask.apl.washington.edu>
In-Reply-To: <199808281335.NAA00923@dingo.cdrom.com> from Mike Smith at "Aug 28, 1998  1:35:31 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
According to Mike Smith:
> > Ladies and Gents,
> > 
> > John Galbraith has been writing a new GPIB driver.  His effort
> > appears to be targeted at a 2.2.x system.
> > 
> > I'm trying to make his stuff work under -current, and I have
> > run into a problem with the use of poll versus select in -current.
> > In particular, the changes in revision 1.34 of sys/sys/conf.h
> > have eliminated d_select_t and noselect which John uses.  The
> > d_select_t can be replaced by d_poll_t, but does one do about
> > the noselect.
> > 
> > This snippet is the part of the code in question.
> 
> Studying other drivers tends to indicate that it should become 
> 'seltrue'.
> 

Okay.  I'll see what happens.  I don't have a 2.2.x system to
compare against, but it seems to me to be some sort of negative
logic.  

seltrue ---> select is true (a select function is available for
             this device driver).

noselect --> no select function available.

-- 
Steve

finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~clesceri/kargl.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808282051.NAA14051>