<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi guys.<br>
<br>
Im first going to explain why im doing this and what I want to
achieve before giving the problem.<br>
My main objective here is to gain access to a piece of shared
memory. The memory is shared between an FPGA and a PCI chip called a
PLX9054.<br>
I have to work through the PCI chip to gain access to the RAM.The
only way I know of In order to do that is to build a driver PCI for
Linux (Lubuntu).<br>
<br>
Now Ive looked at a couple of examples and I have taken one of the
examples and changed it quite allot. It seems like I am attaching to
the rite device because when I check the VendorId and DeviceID they
seem to be the right ones.<br>
<br>
For now im debugging in the .write() function just to see if Im
heading in the right direction at least "Latching on to RAM".Im
doing that because now I can see all my functions whenever I use "
echo 'write' > pciproto " where pciproto is the DEVICE file in
/dev/ .<br>
<br>
But I am not having any luck though. Ive been reading through
/linux/pci.h , /source/driver/pci/pci.c ,
/source/driver/dma/dma.c and allot of other source files and
headers looking for something that can help me but what I have found
doesn't seem to work. Ive tried DMA but checking DMA capability with
pci_set_dma_mask() returned a FAIL as well as pci_request_region().<br>
<br>
Im not quite sure what im suppose to use or to do to just be able to
latch onto the piece of RAM.<br>
If im going towards this all wrong please let me know and also let
me know if theres any better way to do this.<br>
<br>
Here is my CODE:<br>
<br>
[CODE]<br>
<br>
<ol style="margin: 0px; padding: 0px 0px 0px 48px; color: rgb(172,
172, 172); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
monospace, serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 21px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(248, 248, 248);">
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This program is an attempt to latch
on to the FG memory that is shared with the FPGA</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * After a data sample has been taken
the fg stores the data in this region.</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This Driver will latch on to the DEV
file named pciproto. For testing purposes the /dev/pciproto
has to be</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *created manually in the /dev folder.
The following command will create a DEV file with a maximum
number of</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *250 and a minor number of 0: mknod
pciproto c 250 0</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * There are only 3 registers:</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * STATUS: addr = BAR2 + 0</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * unused for now</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * READ_DATA: addr = BAR2 + 1</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * this register can only be read.
Each time it's read, the device</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * read a byte from his input and
return it.</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * WRITE_DATA: addr = BAR2 + 2</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * this register can only be
written. Each time it's written, the device</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * write the byte on his output.</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/kernel.h></span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/init.h></span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/module.h></span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/pci.h></span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/fs.h></span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/cdev.h> /* for cdev_ */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<asm/uaccess.h> /* for put_user */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#include
<linux/ioport.h></span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#define
MAX_DEVICE 8</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#define
DEVICE_NAME "pciproto"</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#define BAR_IO
2</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#define BAR_MEM
3</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#define
BAR_SETTINGS 2</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="co2" style="color: rgb(51, 153, 51);">#define
BAR_PHOTO_MEM 3</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">MODULE_DESCRIPTION<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="st0" style="color: rgb(255, 0, 0);">"Test PCI driver"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">MODULE_AUTHOR<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="st0" style="color: rgb(255, 0, 0);">"Gerfg "</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">MODULE_LICENSE<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="st0" style="color: rgb(255, 0, 0);">"GPL"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This table holds the list of
(VendorID,DeviceID) supported by this driver</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_device_id pci_ids<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span><span
class="Apple-converted-space"> </span>PCI_DEVICE<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="nu12" style="color: rgb(32, 128, 128);">0x10B5</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu12"
style="color: rgb(32, 128, 128);">0x9054</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This macro ...</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">MODULE_DEVICE_TABLE<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>pci_ids<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span>dev_t devno<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>major<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This structure is used to link a
pci_dev to a cdev</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev<span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>minor<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pci_dev<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>cdev<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>MAX_DEVICE<span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/* this function initialize the table
with all struct pci_cdev */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">void</span><span
class="Apple-converted-space"> </span>pci_cdev_init<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>size<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>first_minor<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev<span class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">minor</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>first_minor<span
class="sy0" style="color: rgb(51, 153, 51);">++;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev<span class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">pci_dev</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>NULL<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev<span class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">cdev</span><span
class="Apple-converted-space"> </span> <span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>NULL<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN:
pci_dev_init(-pci_cdev-,%i,%i)<span class="es1"
style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">minor</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/*</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> -1 => failed</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> others => succes</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">*/</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>pci_cdev_add<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>size<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pdev<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>res<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">-</span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">pci_dev</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">==</span><span
class="Apple-converted-space"> </span>NULL<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev<span class="br0" style="color: rgb(0,
153, 0);">[</span>i<span class="br0" style="color: rgb(0,
153, 0);">]</span>.<span class="me1" style="color: rgb(32,
32, 32);">pci_dev</span><span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pdev<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
res<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">minor</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0,
153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN:
pci_cdev_add(-pci_cdev-,%i,-dev-)<span class="es1"
style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span>size<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw2" style="color: rgb(0, 0, 0); font-weight: bold;">break</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>res<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">void</span><span
class="Apple-converted-space"> </span>pci_cdev_del<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>size<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pdev<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">pci_dev</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">==</span><span
class="Apple-converted-space"> </span>pdev<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev<span class="br0" style="color: rgb(0,
153, 0);">[</span>i<span class="br0" style="color: rgb(0,
153, 0);">]</span>.<span class="me1" style="color: rgb(32,
32, 32);">pci_dev</span><span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>NULL<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN:
pci_cdev_del(pci_cdevm,%i,dev)<span class="es1"
style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span>size<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pci_cdev_search_pci_dev<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>size<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>NULL<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">minor</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">==</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pdev<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">pci_dev</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw2" style="color: rgb(0, 0, 0); font-weight: bold;">break</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN:
pci_cdev_search_pci_dev()<span class="es1" style="color:
rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>pdev<span class="sy0"
style="color: rgb(51, 153, 51);">;</span> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pci_cdev_search_cdev<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>size<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>NULL<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">minor</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">==</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">cdev</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw2" style="color: rgb(0, 0, 0); font-weight: bold;">break</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN: pci_cdev_search_cdev()<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>cdev<span class="sy0"
style="color: rgb(51, 153, 51);">;</span> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/*</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> -1 => not found</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> others => found</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">*/</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>pci_cdev_search_minor<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_cdev pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span><span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw4" style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>size<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pdev<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>minor<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">-</span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>size<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">pci_dev</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">==</span><span
class="Apple-converted-space"> </span>pdev<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
minor<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">minor</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw2" style="color: rgb(0, 0, 0); font-weight: bold;">break</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN: pci_cdev_search_minor()<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>minor<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
device node is opened</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>pci_open<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>inode<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>inode<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>file<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>file<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>minor<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>iminor<span
class="br0" style="color: rgb(0, 153, 0);">(</span>inode<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
file<span class="sy0" style="color: rgb(51, 153, 51);">-></span>private_data<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="kw4"
style="color: rgb(153, 51, 51);">void</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span>pci_cdev_search_pci_dev<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN: pci_open()<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
device node is closed</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>pci_release<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>inode<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>inode<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>file<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>file<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
device node is read</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span>ssize_t pci_read<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>file<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>file<span
class="sy0" style="color: rgb(51, 153, 51);">,</span> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
see include/linux/fs.h */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="kw4" style="color: rgb(153, 51,
51);">char</span><span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">*</span>buffer<span
class="sy0" style="color: rgb(51, 153, 51);">,</span> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
buffer to fill with data */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="kw4" style="color: rgb(153, 51,
51);">size_t</span><span class="Apple-converted-space"> </span>length<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
length of the buffer */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
loff_t<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">*</span><span
class="Apple-converted-space"> </span>offset<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>byte_read<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">char</span><span
class="Apple-converted-space"> </span>value<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span>file<span class="sy0"
style="color: rgb(51, 153, 51);">-></span>private_data<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">long</span><span
class="Apple-converted-space"> </span>pci_io_addr<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_io_addr<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_resource_start<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>BAR_IO<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">while</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>byte_read<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);"><</span><span
class="Apple-converted-space"> </span>length<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/* read a byte from the input */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
value<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>inb<span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_io_addr<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">+</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/* write the value in the user buffer
*/</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
put_user<span class="br0" style="color: rgb(0, 153, 0);">(</span>value<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">&</span>buffer<span
class="br0" style="color: rgb(0, 153, 0);">[</span>byte_read<span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
byte_read<span class="sy0" style="color: rgb(51, 153,
51);">++;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN: pci_read()<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>byte_read<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
device node is read</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span>ssize_t pci_write<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>file<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>filp<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">const</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">char</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>buffer<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">size_t</span><span
class="Apple-converted-space"> </span>len<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>loff_t<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span><span
class="Apple-converted-space"> </span>off<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">char</span><span
class="Apple-converted-space"> </span>value<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>pdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span>filp<span class="sy0"
style="color: rgb(51, 153, 51);">-></span>private_data<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">long</span><span
class="Apple-converted-space"> </span>pci_reg_mem_addr<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>0lu<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">long</span><span
class="Apple-converted-space"> </span>pci_photo_mem_addr<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>0lu<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>dma_mask<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>test<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">2</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">const</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">char</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>MemRegionName<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>NULL<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="co1"
style="color: rgb(102, 102, 102); font-style: italic;">//uint32_t
*NEW;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="co1"
style="color: rgb(102, 102, 102); font-style: italic;">//MemRegionName
= (const char*)malloc(sizeof(const char));</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"RAN: pci_write()<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_reg_mem_addr<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_resource_start<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>BAR_SETTINGS<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_photo_mem_addr<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_resource_start<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>BAR_PHOTO_MEM<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Device VendorID = %x ,
DeviceID = %x"</span><span class="sy0" style="color: rgb(51,
153, 51);">,</span>pdev<span class="sy0" style="color:
rgb(51, 153, 51);">-></span>vendor<span class="sy0"
style="color: rgb(51, 153, 51);">,</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>device<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"DATA WRITTEN TO DEVICE:"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span>len<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/* read value on the buffer */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
value<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="kw4"
style="color: rgb(153, 51, 51);">unsigned</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">char</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span>buffer<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"%c"</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span>value<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/* write data to the device */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
outb<span class="br0" style="color: rgb(0, 153, 0);">(</span>pci_reg_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">+</span><span
class="nu0" style="color: rgb(0, 0, 221);">2</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>value<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>test<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_set_dma_mask<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>dma_mask<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);"><</span><span
class="nu0" style="color: rgb(0, 0, 221);">0</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"PCI device failed DMA
support test returned %u<span class="Apple-converted-space"> </span><span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="sy0" style="color:
rgb(51, 153, 51);">,</span>test<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">else</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"PCI Dev supports DMA<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>test<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_request_region<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>BAR_PHOTO_MEM<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>MemRegionName<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">!=</span><span
class="nu0" style="color: rgb(0, 0, 221);">0</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"request region failed:
returned %u<span class="Apple-converted-space"> </span><span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="sy0" style="color:
rgb(51, 153, 51);">,</span>test<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">else</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Request region success!<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span><span
class="Apple-converted-space"> </span> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="co1"
style="color: rgb(102, 102, 102); font-style: italic;">//NEW
= (uint32_t
*)mmap(0,0x7fffff,MAP_SHARED,0,"/dev/FGpci",BAR_PHOTO_MEM);</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
test<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>check_mem_region<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_photo_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="nu12" style="color: rgb(32, 128, 128);">0x7ffffe</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Region check returned %x<span
class="Apple-converted-space"> </span><span class="es1"
style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span>test<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
outb<span class="br0" style="color: rgb(0, 153, 0);">(</span>pci_reg_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">+</span><span
class="nu0" style="color: rgb(0, 0, 221);">4</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu6"
style="color: rgb(32, 128, 128);">0b00000111</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
outb<span class="br0" style="color: rgb(0, 153, 0);">(</span>pci_reg_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">+</span><span
class="nu0" style="color: rgb(0, 0, 221);">5</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu6"
style="color: rgb(32, 128, 128);">0b00000001</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="co1"
style="color: rgb(102, 102, 102); font-style: italic;">//prototype
pci_resource_start(*pdev,BAR);</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="st0" style="color: rgb(255, 0, 0);">"BAR_PHOTO_MEM
Starts at 0x%x and len is 0x%x"</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span>pci_resource_start<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>BAR_PHOTO_MEM<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span>pci_resource_len<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span>BAR_PHOTO_MEM<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"<span class="es1"
style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"CHILD: pci_reg_mem_addr =
%lx<span class="Apple-converted-space"> </span><span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="sy0" style="color:
rgb(51, 153, 51);">,</span>pci_reg_mem_addr<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"CHILD: pci_photo_mem_addr =
%lx<span class="Apple-converted-space"> </span><span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="sy0" style="color:
rgb(51, 153, 51);">,</span>pci_photo_mem_addr<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_INFO<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"CHILD: pci_reg_mem_addr+4 =
%lx || pci_reg_mem_addr+5 = %lx<span
class="Apple-converted-space"> </span><span class="es1"
style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_reg_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">+</span><span
class="nu0" style="color: rgb(0, 0, 221);">4</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_reg_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">+</span><span
class="nu0" style="color: rgb(0, 0, 221);">5</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
outb<span class="br0" style="color: rgb(0, 153, 0);">(</span>pci_reg_mem_addr<span
class="sy0" style="color: rgb(51, 153, 51);">+</span><span
class="nu0" style="color: rgb(0, 0, 221);">5</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu6"
style="color: rgb(32, 128, 128);">0b00000000</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>len<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This structure holds informations
about the pci node</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>file_operations
pci_ops<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">owner</span>
<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>THIS_MODULE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">read</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_read<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">write</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_write<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">open</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_open<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">release</span><span
class="Apple-converted-space"> </span> <span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_release</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when a new
pci device is associated with a driver</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * return: 0 => this driver don't
handle this device</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * 1 => this driver handle
this device</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>pci_probe<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">const</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_device_id<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>id<span class="br0"
style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>ret<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>minor<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>cdev<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_t devno<span class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
add this pci device in pci_cdev */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>minor<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev_add<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>dev<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);"><</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">goto</span><span
class="Apple-converted-space"> </span>error<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
compute major/minor number */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
devno<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>MKDEV<span class="br0"
style="color: rgb(0, 153, 0);">(</span>major<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
allocate struct cdev */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>cdev_alloc<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
initialise struct cdev */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev_init<span class="br0" style="color: rgb(0, 153, 0);">(</span>cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">&</span>pci_ops<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev<span class="sy0" style="color: rgb(51, 153, 51);">-></span>owner<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>THIS_MODULE<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
register cdev */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
ret<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>cdev_add<span
class="br0" style="color: rgb(0, 153, 0);">(</span>cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>devno<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>ret<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);"><</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_err<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Can't register character
device<span class="es1" style="color: rgb(0, 0, 153);
font-weight: bold;">\n</span>"</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">goto</span><span
class="Apple-converted-space"> </span>error<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev<span class="br0" style="color: rgb(0, 153, 0);">[</span>minor<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">cdev</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>cdev<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"%s The major device number
is %d (%d).<span class="es1" style="color: rgb(0, 0, 153);
font-weight: bold;">\n</span>"</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="st0" style="color: rgb(255, 0, 0);">"Registeration
is a success"</span><span class="sy0" style="color: rgb(51,
153, 51);">,</span><span class="Apple-converted-space"> </span>MAJOR<span
class="br0" style="color: rgb(0, 153, 0);">(</span>devno<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MINOR<span class="br0"
style="color: rgb(0, 153, 0);">(</span>devno<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"If you want to talk to the
device driver,<span class="es1" style="color: rgb(0, 0,
153); font-weight: bold;">\n</span>"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"you'll have to create a
device file.<span class="Apple-converted-space"> </span><span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"We suggest you use:<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"mknod %s c %d %d<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="sy0" style="color:
rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>DEVICE_NAME<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAJOR<span class="br0"
style="color: rgb(0, 153, 0);">(</span>devno<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MINOR<span class="br0"
style="color: rgb(0, 153, 0);">(</span>devno<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"The device file name is
important, because<span class="es1" style="color: rgb(0, 0,
153); font-weight: bold;">\n</span>"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"the ioctl program assumes
that's the<span class="es1" style="color: rgb(0, 0, 153);
font-weight: bold;">\n</span>"</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_info<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"file you'll use.<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
enable the device */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_enable_device<span class="br0" style="color: rgb(0, 153,
0);">(</span>dev<span class="br0" style="color: rgb(0, 153,
0);">)</span><span class="sy0" style="color: rgb(51, 153,
51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
'alloc' IO to talk with the card */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_request_region<span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>BAR_PHOTO_MEM<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"MEM-pci"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">==</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_err<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Can't request BAR2<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev_del<span class="br0" style="color: rgb(0, 153, 0);">(</span>cdev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">goto</span><span
class="Apple-converted-space"> </span>error<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
check that BAR_IO is *really* IO region */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_resource_flags<span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>BAR_PHOTO_MEM<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">&</span><span
class="Apple-converted-space"> </span>IORESOURCE_MEM<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">!=</span><span
class="Apple-converted-space"> </span>IORESOURCE_MEM<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
dev_err<span class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span><span
class="br0" style="color: rgb(0, 153, 0);">(</span>dev<span
class="sy0" style="color: rgb(51, 153, 51);">-></span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"BAR2 isn't an IO region<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev_del<span class="br0" style="color: rgb(0, 153, 0);">(</span>cdev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">goto</span><span
class="Apple-converted-space"> </span>error<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">error<span
class="sy0" style="color: rgb(51, 153, 51);">:</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
driver is removed</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">void</span><span
class="Apple-converted-space"> </span>pci_remove<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_dev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>dev<span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>minor<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">*</span>cdev<span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
remove associated cdev */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
minor<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev_search_minor<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>dev<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_cdev_search_cdev<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>minor<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>cdev<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">!=</span><span
class="Apple-converted-space"> </span>NULL<span class="br0"
style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev_del<span class="br0" style="color: rgb(0, 153, 0);">(</span>cdev<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
remove this device from pci_cdev */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev_del<span class="br0" style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>dev<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
release the IO region */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_release_region<span class="br0" style="color: rgb(0, 153,
0);">(</span>dev<span class="sy0" style="color: rgb(51, 153,
51);">,</span><span class="Apple-converted-space"> </span>BAR_IO<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This structure holds informations
about the pci driver</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">struct</span><span
class="Apple-converted-space"> </span>pci_driver pci_driver<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">name</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"pci"</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">id_table</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_ids<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="me1" style="color: rgb(32, 32, 32);">probe</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_probe<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> .<span
class="kw3" style="color: rgb(0, 0, 102);">remove</span><span
class="Apple-converted-space"> </span> <span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_remove<span
class="sy0" style="color: rgb(51, 153, 51);">,</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
module is loaded</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>__init pci_init_module<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">void</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>ret<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_DEBUG<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Module pci init<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
allocate (several) major number */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
ret<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>alloc_chrdev_region<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span>devno<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"buffer"</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>ret<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);"><</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_ERR<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Can't get major<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>ret<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
get major number and save it in major */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
major<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>MAJOR<span class="br0"
style="color: rgb(0, 153, 0);">(</span>devno<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
initialise pci_cdev */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_cdev_init<span class="br0" style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MINOR<span class="br0"
style="color: rgb(0, 153, 0);">(</span>devno<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
register pci driver */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
ret<span class="Apple-converted-space"> </span><span
class="sy0" style="color: rgb(51, 153, 51);">=</span><span
class="Apple-converted-space"> </span>pci_register_driver<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="sy0" style="color: rgb(51, 153, 51);">&</span>pci_driver<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>ret<span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);"><</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/* free major/minor number */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
unregister_chrdev_region<span class="br0" style="color:
rgb(0, 153, 0);">(</span>devno<span class="sy0"
style="color: rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">1</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_ERR<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"pci-driver: can't register
pci driver<span class="es1" style="color: rgb(0, 0, 153);
font-weight: bold;">\n</span>"</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span>ret<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">return</span><span
class="Apple-converted-space"> </span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;">/**</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> * This function is called when the
module is unloaded</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> *</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="coMULTI" style="color: rgb(128, 128, 128);
font-style: italic;"> */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="kw4" style="color: rgb(153, 51, 51);">static</span><span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">void</span><span
class="Apple-converted-space"> </span>pci_exit_module<span
class="br0" style="color: rgb(0, 153, 0);">(</span><span
class="kw4" style="color: rgb(153, 51, 51);">void</span><span
class="br0" style="color: rgb(0, 153, 0);">)</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw4"
style="color: rgb(153, 51, 51);">int</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
unregister pci driver */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
pci_unregister_driver<span class="br0" style="color: rgb(0,
153, 0);">(</span><span class="sy0" style="color: rgb(51,
153, 51);">&</span>pci_driver<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
unregister character device */</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="kw1"
style="color: rgb(177, 177, 0);">for</span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>i<span class="sy0"
style="color: rgb(51, 153, 51);">=</span><span class="nu0"
style="color: rgb(0, 0, 221);">0</span><span class="sy0"
style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);"><</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="sy0" style="color: rgb(51, 153, 51);">;</span><span
class="Apple-converted-space"> </span>i<span class="sy0"
style="color: rgb(51, 153, 51);">++</span><span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="kw1" style="color: rgb(177, 177, 0);">if</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">(</span>pci_cdev<span
class="br0" style="color: rgb(0, 153, 0);">[</span>i<span
class="br0" style="color: rgb(0, 153, 0);">]</span>.<span
class="me1" style="color: rgb(32, 32, 32);">pci_dev</span><span
class="Apple-converted-space"> </span><span class="sy0"
style="color: rgb(51, 153, 51);">!=</span><span
class="Apple-converted-space"> </span>NULL<span class="br0"
style="color: rgb(0, 153, 0);">)</span><span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">{</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
cdev_del<span class="br0" style="color: rgb(0,
153, 0);">(</span>pci_cdev<span class="br0" style="color:
rgb(0, 153, 0);">[</span>i<span class="br0" style="color:
rgb(0, 153, 0);">]</span>.<span class="me1" style="color:
rgb(32, 32, 32);">cdev</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
<span class="Apple-converted-space"> </span><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="br0"
style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> <span
class="Apple-converted-space"> </span><span class="coMULTI"
style="color: rgb(128, 128, 128); font-style: italic;">/*
free major/minor number */</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
unregister_chrdev_region<span class="br0" style="color: rgb(0,
153, 0);">(</span>devno<span class="sy0" style="color:
rgb(51, 153, 51);">,</span><span
class="Apple-converted-space"> </span>MAX_DEVICE<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">
printk<span class="br0" style="color: rgb(0, 153, 0);">(</span>KERN_DEBUG<span
class="Apple-converted-space"> </span><span class="st0"
style="color: rgb(255, 0, 0);">"Module pci exit<span
class="es1" style="color: rgb(0, 0, 153); font-weight:
bold;">\n</span>"</span><span class="br0" style="color:
rgb(0, 153, 0);">)</span><span class="sy0" style="color:
rgb(51, 153, 51);">;</span></div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"><span
class="br0" style="color: rgb(0, 153, 0);">}</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);"> </div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">module_init<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_init_module<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">module_exit<span
class="br0" style="color: rgb(0, 153, 0);">(</span>pci_exit_module<span
class="br0" style="color: rgb(0, 153, 0);">)</span><span
class="sy0" style="color: rgb(51, 153, 51);">;</span></div>
</li>
</ol>
<br>
<br>
[/CODE]<br>
<br>
Here is my output on " tail -f /var/log/kern.log "<br>
<br>
<ol style="margin: 0px; padding: 0px 0px 0px 48px; color: rgb(172,
172, 172); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
monospace, serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 21px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(248, 248, 248);">
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879644] Module pci init</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879659] RAN:
pci_dev_init(-pci_cdev-,8,0)</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879663] RAN:
pci_dev_init(-pci_cdev-,8,1)</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879667] RAN:
pci_dev_init(-pci_cdev-,8,2)</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879670] RAN:
pci_dev_init(-pci_cdev-,8,3)</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879673] RAN:
pci_dev_init(-pci_cdev-,8,4)</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879677] RAN:
pci_dev_init(-pci_cdev-,8,5)</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879680] RAN:
pci_dev_init(-pci_cdev-,8,6)</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879683] RAN:
pci_dev_init(-pci_cdev-,8,7)</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879742] RAN:
pci_cdev_add(-pci_cdev-,8,-dev-)</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879754] pci 0000:02:05.0:
Registeration is a success The major device number is 250 (0).</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879760] pci 0000:02:05.0:
If you want to talk to the device driver,</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879765] pci 0000:02:05.0:
you'll have to create a device file.</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879769] pci 0000:02:05.0:
We suggest you use:</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879775] pci 0000:02:05.0:
mknod FGpci c 250 0</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879780] pci 0000:02:05.0:
The device file name is important, because</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879785] pci 0000:02:05.0:
the ioctl program assumes that's the</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879790] pci 0000:02:05.0:
file you'll use.</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879807] pci 0000:02:05.0:
BAR 3: can't reserve [mem 0xe0800000-0xe0ffffff]</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:49 dcam-desktop kernel: [ 2228.879813] pci 0000:02:05.0:
Driver probe function unexpectedly returned 1</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073319] RAN: pci_open()</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073360] RAN: pci_write()</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073365] Device VendorID =
10b5 , DeviceID = 9054</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073368] DATA WRITTEN TO
DEVICE:w</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073374] ri</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073381] te</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073387]</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073392] PCI device failed
DMA support test returned 4294967291</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073411] pci 0000:02:05.0:
BAR 3: can't reserve [mem 0xe0800000-0xe0ffffff]</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073415] request region
failed: returned 4294967280</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073419] Region check
returned fffffff0</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073425] BAR_PHOTO_MEM
Starts at 0xe0800000 and len is 0x0</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073427]</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073431] CHILD:
pci_reg_mem_addr = e0201000</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073434] CHILD:
pci_photo_mem_addr = e0800000</div>
</li>
<li class="li2" style="-webkit-user-select: none;">
<div class="de2" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:00:53 dcam-desktop kernel: [ 2233.073438] CHILD:
pci_reg_mem_addr+4 = e0201004 || pci_reg_mem_addr+5 = e0201005</div>
</li>
<li class="li1" style="-webkit-user-select: none;">
<div class="de1" style="-webkit-user-select: text; padding: 0px
5px; vertical-align: top; color: rgb(0, 0, 0);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
-7px; position: relative; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans
Mono', 'Bitstream Vera Sans Mono', monospace, serif;
line-height: 21px; background: rgb(255, 255, 255);">Dec 10
09:20:35 dcam-desktop kernel: [ 3414.852735] e100 0000:02:08.0
eth0: NIC Link is Up 100 Mbps Full Duplex</div>
</li>
</ol>
<br>
<br>
</body>
</html>