MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                 pciconfigsetup(9F)



NAME
     pciconfigsetup, pciconfigteardown - setup or  tear  down
     the  resources  for  enabling  accesses to the PCI Local Bus
     Configuration space

SYNOPSIS
     #include 
      #include 



     int pciconfigsetup(devinfot *dip, ddiacchandlet *handle);


     void pciconfigteardown(ddiacchandlet *handle);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

PARAMETERS
     dip        Pointer to the device's devinfo structure.


     handle     Pointer to a data access handle.


DESCRIPTION
     pciconfigsetup() sets up the necessary resources for  ena-
     bling  subsequent data accesses to the  PCI Local Bus Confi-
     guration space. pciconfigteardown() reclaims  and  removes
     those  resources   represented  by  the  data  access handle
     returned from  pciconfigsetup().

RETURN VALUES
     pciconfigsetup() returns:

     DISUCES     Successfully setup the resources.


     DIFAILURE     Unable to allocate resources for setup.


CONTEXT
     pciconfigsetup() must be called from user or  kernel  con-
     text. pciconfigteardown() can be called from any context.

NOTES
     These functions are specific to PCI bus device drivers.  For
     drivers  using  these functions,  a single source to support
     devices with multiple bus versions may not be easy to  main-
     tain.



SunOS 5.11           Last change: 1 Jan 1997                    1






Kernel Functions for Drivers                 pciconfigsetup(9F)



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Architecture                 PCI Local Bus               
    


SEE ALSO
     attributes(5)


     IE 1275 PCI Bus Binding





































SunOS 5.11           Last change: 1 Jan 1997                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™