From owner-freebsd-hackers Mon Jul 6 23:41:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA07328 for freebsd-hackers-outgoing; Mon, 6 Jul 1998 23:41:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (daemon@smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA07322 for ; Mon, 6 Jul 1998 23:41:29 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id XAA16311; Mon, 6 Jul 1998 23:41:28 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp01.primenet.com, id smtpd016265; Mon Jul 6 23:41:20 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id XAA02881; Mon, 6 Jul 1998 23:41:17 -0700 (MST) From: Terry Lambert Message-Id: <199807070641.XAA02881@usr06.primenet.com> Subject: Re: Object library formats To: lile@stdio.com (Larry S. Lile) Date: Tue, 7 Jul 1998 06:41:17 +0000 (GMT) Cc: sbabkin@dcn.att.com, hackers@FreeBSD.ORG In-Reply-To: from "Larry S. Lile" at Jul 6, 98 01:48:39 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-MIME-Autoconverted: from 8bit to quoted-printable by usr06.primenet.com id XAA02881 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id XAA07324 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Is Olicom part of Olivetti or something different ? > > I have no idea as to Olicom's lineage. ] Olicom A/S was founded in Denmark in 1985 and has its world headquarters ] in suburban Copenhagen. The Company’s headquarters for the Americas, ] Olicom, Inc., is located in metropolitan Dallas, Texas. ] ] LASAT Communications, a division of The Olicom Group, develops and ] markets a full line of LASAT-branded modem and ISDN products. Olicom ] maintains R&D centers in the U.S. and Europe. The Company trades on the ] NASDAQ National Market System under the symbol OLCMF and the ] Copenhagen Stock Exchange. 8-). > > A COFF binary file can be converted into a.out without much problems, > > I have even written that converter once but it was lost during a crash > > and I > > felt no urge to write it again. The problem is that this driver is > > probably > > relying on the SysV Device Driver Interface to call the kernel library > > functions that are missing in FreeBSD. For a network driver this is for > > sure because it should use the STREAMS framework which is not used > > in FreeBSD. > > It is not a network driver in and of itself, it is just the hardware > interface library. In other words, it is just enough to glue a driver > to the card. So the question still stands, can I link it into the > kernel and write a driver around it? I think you can. The worst it will expect is the DDI on top, which really means "how Larry calls into the thing" and the DKI on the bottom, which may mean "you have to support some buffer allocation routines and things like bcopy/bzero/etc.", most of which FreeBSD alreay supports, or which is pretty easy to fake using wrapper routines. > > P.S. A not stripped object file may be very useful for reverse > > engineering. > > I have no intrest in reverse engineering their code, I just want to > get a driver written for their card after I finish my driver for > the IBM shared ram token ring cards. The IBM driver is just about > to start passing packets, now that I have talked to the local network > guru about SNAP headers and the like. The real issues here are: 1) Once you link a kernel to it, can you distribute the kernel, or does everyone who wants to use it have to link it as well. 2) Is the object file redistributable, in ELF or in COFF->a,out form, such that someone with a stallion board an a token ring card can use a driver that depends on the library. In other words, mostly legal, not technical. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message