{"id":4182,"date":"2022-12-20T17:39:38","date_gmt":"2022-12-20T20:39:38","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pcibios_write_config_byte-man9\/"},"modified":"2022-12-20T17:39:38","modified_gmt":"2022-12-20T20:39:38","slug":"pcibios_write_config_byte-man9","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pcibios_write_config_byte-man9\/","title":{"rendered":"pcibios_write_config_byte (man9)"},"content":{"rendered":"<h1 align=\"center\">pcibios_write_config_byte<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#RETURN VALUE\">RETURN VALUE<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pcibios_write_config_byte \u2212 write one byte of data to the configuration space of the PCI bus<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>#include <linux\/bios32.h><\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>int pcibios_write_config_byte(unsigned char bus, unsigned char device_fn,unsigned char where, unsigned char value);<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>pcibios_write_config_byte<\/b> function writes one byte to the configuration space of the PCI bus. The bus can be specified with the <b>bus<\/b> parameters. The <b>device_fn<\/b> paramter determines which ? to use. <b>where<\/b> is set to the ?. The byte to be written to the configuration space is stored in the <b>value<\/b> parameter.<\/p>\n<h2>RETURN VALUE <a name=\"RETURN VALUE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The return value is taken from the PCI controller in a way that I\u2019m not quite sure of.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the PCI system is unavailable, PCIBIOS_FUNC_NOT_SUPPORTED is returned.<\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Linux 1.0?<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Kirk Petersen (kirk@speakeasy.org)<\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pcibios_write_config_byte \u2212 write one byte of data to the configuration space of the PCI bus <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1222],"tags":[1226,1223,1225,1262],"class_list":["post-4182","post","type-post","status-publish","format-standard","hentry","category-9-rutinas-del-nucleo","tag-1226","tag-kernel","tag-man9","tag-pcibios_write_config_byte"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4182"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4182\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}