From owner-freebsd-current Tue Oct 7 01:40:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA09585 for current-outgoing; Tue, 7 Oct 1997 01:40:26 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA09579 for ; Tue, 7 Oct 1997 01:40:23 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id BAA00526; Tue, 7 Oct 1997 01:40:08 -0700 (PDT) Message-Id: <199710070840.BAA00526@rah.star-gate.com> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: freebsd-current@FreeBSD.ORG Subject: Re: how to detect different kernel code (select or poll) In-reply-to: Your message of "Tue, 07 Oct 1997 08:53:35 +0200." <19971007085335.QS46081@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Oct 1997 01:40:08 -0700 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I am not too keen on supporting driver code on freebsd xxxx vs. freebsd yyy version. It takes time and resources. If it means that we have to kludge the drivers in order to support poll vs select I rather see the core technology do it . Cheers, Amancio >From The Desk Of J Wunsch : > As Amancio Hasty wrote: > > > I think that our current problem is that the poll code is not in > > 2.2 and whoever checked in the code should have at least thought of the > > incompatibility issues . One option is not to support 2.2 > > which the poll check in so far seems to imply at least with > > respect to drivers. > > Why don't you just test for > > #if __FreeBSD__ >= 3 > > ? The bigger problem is to make it backwards compatible with older > 3.0-current systems, and/or make it cross-compilable. The above > decision is a rather rough one. > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-)