OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / linux-man9 / original / man9 / pcibios_read_config_byte.9
1 .\" -*- nroff -*-
2 .TH pcibios_read_config_byte 9 "August 5, 1997" "Linux DDI" "BIOS32 Functions"
3 .SH NAME
4 pcibios_read_config_byte \- read one byte of data from the configuration
5 space of the PCI bus
6 .SH SYNOPSIS
7 .B #include  <linux/bios32.h>
8 .sp
9 .BI "int pcibios_read_config_byte (unsigned char bus, unsigned char device_fn,\
10 unsigned char where, unsigned char * value);"
11 .SH DESCRIPTION
12 The
13 .B pcibios_read_config_byte
14 function reads one byte from the configuration space of the PCI bus.  The
15 bus can be specified with the
16 .B bus
17 parameters.  The
18 .B device_fn
19 paramter determines which ? to use.
20 .B where
21 is set to the ?.  After the call is made,
22 .B value
23 points to the value that was read.
24 .SH "RETURN VALUE"
25 The return value is taken from the PCI controller in a way that I'm
26 not quite sure of.
27 .PP
28 If the PCI system is unavailable, PCIBIOS_FUNC_NOT_SUPPORTED is
29 returned.
30 .SH AVAILABILITY
31 Linux 1.0?
32 .SH AUTHOR
33 Kirk Petersen (kirk@speakeasy.org)
34 .SH BUGS
35