Git - code.swisschili.sh
code.swisschili.sh
/
bluejay
/
0d248832e9235ab390b4961eecae90b63a226948
/
.
/
src
/
kernel
/
dri
/
pci
/
pci.c
blob: 09c90568afcc25b4704cb77f7845f5b4f525bd70 [
file
] [
log
] [
blame
]
#include
<dri/pci.h>
ushort pci_config_readw
(
uchar bus
,
uchar slot
,
uchar func
,
uchar offset
)
{
struct
pci_config_address address
=
{
.
enabled
=
1
,
.
bus
=
bus
,
.
device
=
slot
,
.
function
=
func
,
.
offset
=
offset
^
0b11
,
};
}