[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9295.0. "How to program I/O hardware?" by RDGENG::CHAMBERLIN (Danger! Do not Reverse Polarity) Wed Mar 26 1997 06:57

A partner is porting to Digital Unix Alpha.

They have own design hardware (ISA I/O card), and would like to know how to
access memory and I/O ports on this ISA card.

Does it need a device driver, or can something like mmap() work?

thanks,
		Ian Chamberlin
T.RTitleUserPersonal
Name
DateLines
9295.1COL01::LINNARTZWed Mar 26 1997 10:2312
    Ian,
    
    point them to the device driver documentation, start with
    tutorial and guide to write EISA device driver. 
    to mmap their device, they have to apply the xx_mmap function
    in their driver, which if you access physical hardware requires 
    some knowledge about our I/O layout. 
    I don't see a way to mmap directly, as they have no device entry
    point to open and by this won't have a fd to supply to the mmap system
    call.
    
    Pit
9295.2Thanks, I thought a driver was the only way to go.RDGENG::CHAMBERLINDanger! Do not Reverse PolarityWed Mar 26 1997 10:380