Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 1995 10:56:23 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        hsu@cs.hut.fi, terry@cs.weber.edu
Cc:        freebsd-hackers@freefall.cdrom.com
Subject:   Re: Porting cyclades driver; sigh
Message-ID:  <199501082356.KAA01169@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 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



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