[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting command register



Hi,
 
the BIOS will do the job for you. You won't need to set the Master enable bit yourself.
 
Anyway, you may use HalGetBusData and HalSetBusData to access PCi config space in your driver.
 
regards,
 
Peter Marek
General Director
MarekMicro GmbH
tel.: 049-9621-9732-110
fax: 049-9621-9732-199
www.marekmicro.de
----- Original Message -----
Sent: Thursday, January 31, 2002 5:26 PM
Subject: setting command register

Dear PCI friends,
 
I'm writing a Win NT Driver for my PCI board.
I've instantiated on it a PCI MegaCore Function for bus interfacing (bus mastering access to system memory).
To initialize the function a bus master has to write to the configuration register (command register) to enable memory transfers and set the MegaCore to be a Master.
Maybe the Bios does this job, but I'm not familiar with Bios enumerating process. Any idea about setting W/R configuration registers with WinNT OS?
 
Thanks for help.

Marco