Subject: Re: WD8013 died (SMC howto fix)
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: Phil Knaack <flipk@ncremp.ag.iastate.edu>
List: port-i386
Date: 03/17/1996 22:03:07
>> All you had to do to outb() to the lpt port is
>> (1) #include <machine/pio.h>
>> (2) open("/dev/io", O_RDWR) (have to be root of course)
>> (3) outb(0x3bc, VALUE)
>> I never had to mess with i386_iopl.
>Unless I'm mistaken, this is a deprecated interface, and will cease to
>be supported at some point in the future.
>cgd
Aha! Useful information I didn't know.
I guess it sure makes sense. It has occured to me that opening /dev/io was
a little too all-or-nothing.
Cheers,
Phil
--
Phillip F Knaack flipk@iastate.edu
Database Programmer, NCREMP Student Development Group
ISU Extension Project Vincent, Iowa State University