*BSD News Article 56334


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.OZ.AU!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!psgrain!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Seeking I/O help
Date: 7 Dec 1995 21:15:03 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <4a7lgn$jns@uriah.heep.sax.de>
References: <49jf6e$dqf@hearst.cac.psu.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

bmw107@psu.edu (Scoob) writes:
>  I would like to be able to manipulate the values of the control lines
> for my parallel port, but am having a tough time tracking down a way to
> do this. In brief: can anyone tell me how to find out out the base
> address for this port?

Where are you going to do this?

Inside the driver?  Study the driver source, and the port address will
become very obvious from the struct tag naming.

In a user-land program?  Don't do it...

-- 
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. ;-)