From owner-freebsd-hardware Fri Aug 28 13:48:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18778 for freebsd-hardware-outgoing; Fri, 28 Aug 1998 13:48:19 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18750 for ; Fri, 28 Aug 1998 13:48:07 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.9.1/8.8.8) id NAA14051; Fri, 28 Aug 1998 13:51:10 -0700 (PDT) (envelope-from kargl) From: "Steven G. Kargl" Message-Id: <199808282051.NAA14051@troutmask.apl.washington.edu> Subject: Re: new gpib driver and select/poll issues In-Reply-To: <199808281335.NAA00923@dingo.cdrom.com> from Mike Smith at "Aug 28, 1998 1:35:31 pm" To: mike@smith.net.au (Mike Smith) Date: Fri, 28 Aug 1998 13:51:10 -0700 (PDT) Cc: freebsd-hardware@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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