blob: 6c111c7c8b528340fdc1defbc3401836b0ab5981 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
.\" -*- nroff -*-
.TH pcibios_write_config_byte 9 "August 5, 1997" "Linux DDI" "BIOS32 Functions"
.SH NAME
pcibios_write_config_byte \- write one byte of data to the configuration
space of the PCI bus
.SH SYNOPSIS
.B #include <linux/bios32.h>
.sp
.BI "int pcibios_write_config_byte(unsigned char bus, unsigned char device_fn,\
unsigned char where, unsigned char value);"
.SH DESCRIPTION
The
.B pcibios_write_config_byte
function writes one byte to the configuration space of the PCI bus. The
bus can be specified with the
.B bus
parameters. The
.B device_fn
paramter determines which ? to use.
.B where
is set to the ?. The byte to be written to the configuration space is
stored in the
.B value
parameter.
.SH "RETURN VALUE"
The return value is taken from the PCI controller in a way that I'm
not quite sure of.
.PP
If the PCI system is unavailable, PCIBIOS_FUNC_NOT_SUPPORTED is
returned.
.SH AVAILABILITY
Linux 1.0?
.SH AUTHOR
Kirk Petersen (kirk@speakeasy.org)
.SH BUGS
|