OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / linux-man9 / original / man9 / pcibios_write_config_byte.9
1 .\" -*- nroff -*-
2 .TH pcibios_write_config_byte 9 "August 5, 1997" "Linux DDI" "BIOS32 Functions"
3 .SH NAME
4 pcibios_write_config_byte \- write one byte of data to the configuration
5 space of the PCI bus
6 .SH SYNOPSIS
7 .B #include  <linux/bios32.h>
8 .sp
9 .BI "int pcibios_write_config_byte(unsigned char bus, unsigned char device_fn,\
10 unsigned char where, unsigned char value);"
11 .SH DESCRIPTION
12 The
13 .B pcibios_write_config_byte
14 function writes one byte to 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 ?.  The byte to be written to the configuration space is
22 stored in the
23 .B value
24 parameter.
25 .SH "RETURN VALUE"
26 The return value is taken from the PCI controller in a way that I'm
27 not quite sure of.
28 .PP
29 If the PCI system is unavailable, PCIBIOS_FUNC_NOT_SUPPORTED is
30 returned.
31 .SH AVAILABILITY
32 Linux 1.0?
33 .SH AUTHOR
34 Kirk Petersen (kirk@speakeasy.org)
35 .SH BUGS