pcibios_write_config_byte

Section: BIOS32 Functions (9)
Updated: August 5, 1997
Page Index
 

NAME

pcibios_write_config_byte - write one byte of data to the configuration space of the PCI bus  

SYNOPSIS

#include <linux/bios32.h>

int pcibios_write_config_byte(unsigned char bus, unsigned char device_fn,unsigned char where, unsigned char value);  

DESCRIPTION

The pcibios_write_config_byte function writes one byte to the configuration space of the PCI bus. The bus can be specified with the bus parameters. The device_fn paramter determines which ? to use. where is set to the ?. The byte to be written to the configuration space is stored in the value parameter.  

RETURN VALUE

The return value is taken from the PCI controller in a way that I'm not quite sure of.

If the PCI system is unavailable, PCIBIOS_FUNC_NOT_SUPPORTED is returned.  

AVAILABILITY

Linux 1.0?  

AUTHOR

Kirk Petersen (kirk@speakeasy.org)  

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
AVAILABILITY
AUTHOR
BUGS
LinuxReviews : manual page archive : man9