Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 1998 10:10:30 -0500 (EST)
From:      "Larry S. Lile" <lile@stdio.com>
To:        hackers@FreeBSD.ORG
Subject:   PCI device question
Message-ID:  <Pine.BSF.3.96.981112100852.23437A-100000@heathers.stdio.com>

next in thread | raw e-mail | index | archive | help


I am working on PCI support for the Olicom token-ring driver, the
ISA cards are working fine now.  I need one little bit of info
for the PCI devices that I do not know how to get at.

>4.1.3 PCI configuration
>
>For PCI adapters the configuration is retrieved by the driver through PCI
>BIOS calls (or their equivalents in the OS in question). The PCI ID to
>look for is 108D0001 for OC-3136 and OC-3137. To set-up the complete
>configuration, retrieve the 64 byte configuration space header and pass
>this to TRlld: 
>
>    int TRlldPCIConfig(TRlldDriver_t * driver,
>                       TRlldAdapterConfig_t * config,
>                       char * PCIConfiguration) 
>
>    driver the driver definition block. 
>
>    config the configuration structure to set-up. 
>
>    PCIConfiguration pointer to the 64 byte PCI configuration space 
>       header. 

What is the "64 byte PCI configuration space header" and where do I get
that from (what pci_* call)

I already know the io-base address, dma-level, csn, pci slot, ... from
another call.

Thanks

Larry Lile
lile@stdio.com





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981112100852.23437A-100000>