From owner-freebsd-hackers Fri Nov 15 08:27:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA26441 for hackers-outgoing; Fri, 15 Nov 1996 08:27:20 -0800 (PST) Received: from Guard.PolyNet.Lviv.UA (Guard.PolyNet.Lviv.UA [194.44.138.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA26372 for ; Fri, 15 Nov 1996 08:26:40 -0800 (PST) Received: (from smap@localhost) by Guard.PolyNet.Lviv.UA (8.6.12/8.6.12) id SAA20545; Fri, 15 Nov 1996 18:26:09 +0200 Received: from netsurfer.lp.lviv.ua(192.168.0.3) by Guard.PolyNet.Lviv.UA via smap (V2.0beta) id xma020543; Fri, 15 Nov 96 18:26:08 +0200 Received: (from smap@localhost) by NetSurfer.lp.lviv.ua (8.6.12/8.6.12) id SAA23882; Fri, 15 Nov 1996 18:26:07 +0200 Received: from nova.lp.lviv.ua(192.168.0.6) by NetSurfer.lp.lviv.ua via smap (V2.0beta) id xma023879; Fri, 15 Nov 96 18:25:40 +0200 Message-ID: <328C9983.41C6@polynet.lviv.ua> Date: Fri, 15 Nov 1996 18:25:40 +0200 From: Slavik Terletsky Organization: State University "Lvivska Polytechnicka" X-Mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha) MIME-Version: 1.0 To: Andrew.Gordon@net-tel.co.uk CC: hackers@freefall.freebsd.org Subject: Re: Q: How to read hardware port ? *HELP* References: <"4893-961114184756-5C40*/G=Andrew/S=Gordon/O=NET-TEL Computer Systems Ltd/PRMD=NET-TEL/ADMD=Gold 400/C=GB/"@MHS> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andrew.Gordon@net-tel.co.uk wrote: > Does your port actually want byte-wide reads? There are other macros > in /usr/include/machine/cpufunc.h for 16-bit or 32-bit reads. no difference, the hardware just catches the trial of reading 0x443 port Say, if i am using port 0x443 and have no driver compiled for it - can i read this port at all? (without driver!) -- # Slavik Terletsky # University "Lvivska Poytechnica" # # Network Administrator # mailto:ts@polynet.lviv.ua #