From owner-freebsd-hackers Sun Jan 8 16:01:36 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA14445 for hackers-outgoing; Sun, 8 Jan 1995 16:01:36 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA14429 for ; Sun, 8 Jan 1995 16:01:29 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA01169; Mon, 9 Jan 1995 10:56:23 +1100 Date: Mon, 9 Jan 1995 10:56:23 +1100 From: Bruce Evans Message-Id: <199501082356.KAA01169@godzilla.zeta.org.au> To: hsu@cs.hut.fi, terry@cs.weber.edu Subject: Re: Porting cyclades driver; sigh Cc: freebsd-hackers@freefall.cdrom.com Sender: hackers-owner@FreeBSD.org Precedence: bulk >> Odd ones: NetBSD ttioctl has got struct proc * as its last argument; when >> did this hop in NetBSD, or outa FreeBSD? Is it necessary? Well, I just >> #ifdef it out for now and see how it explodes. >I have looked at this code, and don't understand it either. I have a >theory, but it depends on an extremely partial move, which is actually >probably not the correct move. Hopefully, there are still NetBSD It's really ugly for the device driver to sometimes use the pointer passed to it and other times have to use "p = curproc;" /* XXX */" because it forgot to pass the pointer to a subroutine. Bruce