Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 16:18:57 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        housley@pr-comm.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Help with Linux device on FreeBSD!!]
Message-ID:  <199606260648.QAA04690@genesis.atrad.adelaide.edu.au>
In-Reply-To: <9606251504.AA4047@pr-comm.com> from "James Housley" at Jun 25, 96 10:58:57 am

next in thread | previous in thread | raw e-mail | index | archive | help
James Housley stands accused of saying:

> I have the source code for a Linux device that interfaces gdb to the
> Motorola 683xx processors BDM.  The code is fairly simple.  I would
> like to re-write it to run on FreeBSD, since I would prefer to
> install FreeBSD.  I will use Linux if I have to.

Don't! 8)

> What I am looking for is the source to /dev/lpt[x] or /dev/io.  With
> this I believe I can write the device I need.

The 'lpt' driver source is in /sys/i386/isa.lpt.c.  There is no source for
/dev/io; opening it grants your process I/O permissions, and direct I/O
operations can then be performed.  (See the macros in 
/usr/include/machine/cpufunc.c)

> I have downloaded all the s.*\.[ab][a-z] files.  I have started
> looking through them but having a hard time finding out where the
> sources are.  Are they part of this package?  Or are they part of
> some other files?  All help would be greatly appreciated.

Unpack the 'ssys.*' files; this is the kernel source.

>  E-Mail: James E. Housley <housley@pr-comm.com> |  PGP Key: pub 1024/03983B4D

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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