\hypertarget{pst-pci_8c_source}{}\doxysection{pst-\/pci.c}
\label{pst-pci_8c_source}\index{dev/pst/pst-\/pci.c@{dev/pst/pst-\/pci.c}}
\mbox{\hyperlink{pst-pci_8c}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/3-\/Clause}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2001,2002,2003 Søren Schmidt <sos@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer,}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00012}00012 \textcolor{comment}{ *    without modification, immediately at the beginning of the file.}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00013}00013 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00014}00014 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00015}00015 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00016}00016 \textcolor{comment}{ * 3. The name of the author may not be used to endorse or promote products}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00017}00017 \textcolor{comment}{ *    derived from this software without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00018}00018 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00019}00019 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00020}00020 \textcolor{comment}{ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00021}00021 \textcolor{comment}{ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00022}00022 \textcolor{comment}{ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00023}00023 \textcolor{comment}{ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00024}00024 \textcolor{comment}{ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00025}00025 \textcolor{comment}{ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00026}00026 \textcolor{comment}{ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00027}00027 \textcolor{comment}{ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00028}00028 \textcolor{comment}{ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00029}00029 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00030}00030 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00031}00031 \textcolor{preprocessor}{\#include <sys/cdefs.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00032}\mbox{\hyperlink{pst-pci_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{00032}} \mbox{\hyperlink{pst-pci_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\_\_FBSDID}}(\textcolor{stringliteral}{"{}\$FreeBSD\$"{}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00033}00033 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00034}00034 \textcolor{preprocessor}{\#include <sys/param.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00035}00035 \textcolor{preprocessor}{\#include <sys/systm.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00036}00036 \textcolor{preprocessor}{\#include <sys/kernel.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00037}00037 \textcolor{preprocessor}{\#include <sys/module.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00038}00038 \textcolor{preprocessor}{\#include <sys/bus.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00039}00039 \textcolor{preprocessor}{\#include <sys/bio.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00040}00040 \textcolor{preprocessor}{\#include <sys/malloc.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00041}00041 \textcolor{preprocessor}{\#include <sys/lock.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00042}00042 \textcolor{preprocessor}{\#include <sys/mutex.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00043}00043 \textcolor{preprocessor}{\#include <vm/vm.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00044}00044 \textcolor{preprocessor}{\#include <vm/pmap.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00045}00045 \textcolor{preprocessor}{\#include <machine/stdarg.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00046}00046 \textcolor{preprocessor}{\#include <machine/resource.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00047}00047 \textcolor{preprocessor}{\#include <machine/bus.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00048}00048 \textcolor{preprocessor}{\#include <sys/rman.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00049}00049 \textcolor{preprocessor}{\#include <dev/pci/pcivar.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00050}00050 \textcolor{preprocessor}{\#include <dev/pci/pcireg.h>}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00051}00051 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00052}00052 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{pst-iop_8h}{dev/pst/pst-\/iop.h}}"{}}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00054}00054 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00055}\mbox{\hyperlink{pst-pci_8c_a61f9eab456a4b27b180776504df2597b}{00055}} \mbox{\hyperlink{pst-pci_8c_a61f9eab456a4b27b180776504df2597b}{iop\_pci\_probe}}(device\_t dev)}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00056}00056 \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00057}00057     \textcolor{comment}{/* tested with actual hardware kindly donated by Promise */}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00058}00058     \textcolor{keywordflow}{if} (pci\_get\_devid(dev) == 0x19628086 \&\& pci\_get\_subvendor(dev) == 0x105a) \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00059}00059         device\_set\_desc(dev, \textcolor{stringliteral}{"{}Promise SuperTrak SX6000 ATA RAID controller"{}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00060}00060         \textcolor{keywordflow}{return} BUS\_PROBE\_DEFAULT;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00061}00061     \} }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00062}00062 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00063}00063     \textcolor{comment}{/* support the older SuperTrak 100 as well */}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00064}00064     \textcolor{keywordflow}{if} (pci\_get\_devid(dev) == 0x19608086 \&\& pci\_get\_subvendor(dev) == 0x105a) \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00065}00065         device\_set\_desc(dev, \textcolor{stringliteral}{"{}Promise SuperTrak 100 ATA RAID controller"{}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00066}00066         \textcolor{keywordflow}{return} BUS\_PROBE\_DEFAULT;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00067}00067     \} }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00068}00068 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00069}00069     \textcolor{keywordflow}{return} ENXIO;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00070}00070 \}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00071}00071 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00072}00072 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00073}\mbox{\hyperlink{pst-pci_8c_a31797db90a7710ba90055ed1a9cf3b6d}{00073}} \mbox{\hyperlink{pst-pci_8c_a31797db90a7710ba90055ed1a9cf3b6d}{iop\_pci\_attach}}(device\_t dev)}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00074}00074 \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00075}00075     \textcolor{keyword}{struct }\mbox{\hyperlink{structiop__softc}{iop\_softc}} *sc = device\_get\_softc(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00076}00076     \textcolor{keywordtype}{int} rid;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00077}00077 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00078}00078     \textcolor{comment}{/* get resources */}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00079}00079     rid = PCIR\_BAR(0);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00080}00080     sc-\/>\mbox{\hyperlink{structiop__softc_a4a4f123e7c57f95e9e4ce008bc956eba}{r\_mem}} = }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00081}00081         bus\_alloc\_resource\_any(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}}, SYS\_RES\_MEMORY, \&rid, RF\_ACTIVE);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00082}00082 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00083}00083     \textcolor{keywordflow}{if} (!sc-\/>\mbox{\hyperlink{structiop__softc_a4a4f123e7c57f95e9e4ce008bc956eba}{r\_mem}})}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00084}00084         \textcolor{keywordflow}{return} ENXIO;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00085}00085 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00086}00086     rid = 0x00;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00087}00087     sc-\/>\mbox{\hyperlink{structiop__softc_acb5f0afe60c5f6889b3675fcbaece037}{r\_irq}} = bus\_alloc\_resource\_any(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}}, SYS\_RES\_IRQ, \&rid,}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00088}00088                                        RF\_SHAREABLE | RF\_ACTIVE);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00089}00089 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00090}00090     \textcolor{comment}{/* now setup the infrastructure to talk to the device */}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00091}00091     pci\_enable\_busmaster(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00093}00093     sc-\/>\mbox{\hyperlink{structiop__softc_ae3a3ce408d0767a2a423b17d761d646b}{ibase}} = rman\_get\_virtual(sc-\/>\mbox{\hyperlink{structiop__softc_a4a4f123e7c57f95e9e4ce008bc956eba}{r\_mem}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00094}00094     sc-\/>\mbox{\hyperlink{structiop__softc_a053140def99bc1fd5546c066e6b84f75}{reg}} = (\textcolor{keyword}{struct }\mbox{\hyperlink{structi2o__registers}{i2o\_registers}} *)sc-\/>\mbox{\hyperlink{structiop__softc_ae3a3ce408d0767a2a423b17d761d646b}{ibase}};}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00095}00095     sc-\/>\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}} = dev;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00096}00096     mtx\_init(\&sc-\/>\mbox{\hyperlink{structiop__softc_adfc21bf2ae4f3c40a7bc3c88fbc9a938}{mtx}}, \textcolor{stringliteral}{"{}pst lock"{}}, NULL, MTX\_DEF);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00097}00097 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00098}00098     \textcolor{keywordflow}{if} (!\mbox{\hyperlink{pst-iop_8c_ad6a2a473c53dafe037967a3f9b335bef}{iop\_init}}(sc))}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00099}00099         \textcolor{keywordflow}{return} 0;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00100}00100     \textcolor{keywordflow}{return} bus\_generic\_attach(dev);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00101}00101 \}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00102}00102 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00103}00103 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00104}\mbox{\hyperlink{pst-pci_8c_a252789ac776ec7d89aa04db9f918b1da}{00104}} \mbox{\hyperlink{pst-pci_8c_a252789ac776ec7d89aa04db9f918b1da}{iop\_pci\_detach}}(device\_t dev)}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00105}00105 \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00106}00106     \textcolor{keyword}{struct }\mbox{\hyperlink{structiop__softc}{iop\_softc}} *sc = device\_get\_softc(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00107}00107     \textcolor{keywordtype}{int} error;}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00108}00108 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00109}00109     error = bus\_generic\_detach(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00110}00110     \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00111}00111             \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00112}00112     bus\_teardown\_intr(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}}, sc-\/>\mbox{\hyperlink{structiop__softc_acb5f0afe60c5f6889b3675fcbaece037}{r\_irq}}, sc-\/>\mbox{\hyperlink{structiop__softc_a935a9dbd759d737bb43582ffa3d636ee}{handle}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00113}00113     bus\_release\_resource(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}}, SYS\_RES\_IRQ, 0x00, sc-\/>\mbox{\hyperlink{structiop__softc_acb5f0afe60c5f6889b3675fcbaece037}{r\_irq}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00114}00114     bus\_release\_resource(\mbox{\hyperlink{structiop__softc_aa5e60e82826bc727ca3a3db18a36d6a6}{dev}}, SYS\_RES\_MEMORY, PCIR\_BAR(0), sc-\/>\mbox{\hyperlink{structiop__softc_a4a4f123e7c57f95e9e4ce008bc956eba}{r\_mem}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00115}00115     mtx\_destroy(\&sc-\/>\mbox{\hyperlink{structiop__softc_adfc21bf2ae4f3c40a7bc3c88fbc9a938}{mtx}});}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00116}00116     \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00117}00117 \}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00118}00118 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00119}\mbox{\hyperlink{pst-pci_8c_a51e7a444ee6fb599c6e8dc303763b149}{00119}} \textcolor{keyword}{static} device\_method\_t \mbox{\hyperlink{pst-pci_8c_a51e7a444ee6fb599c6e8dc303763b149}{pst\_pci\_methods}}[] = \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00120}00120     DEVMETHOD(device\_probe,             \mbox{\hyperlink{pst-pci_8c_a61f9eab456a4b27b180776504df2597b}{iop\_pci\_probe}}),}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00121}00121     DEVMETHOD(device\_attach,            \mbox{\hyperlink{pst-pci_8c_a31797db90a7710ba90055ed1a9cf3b6d}{iop\_pci\_attach}}),}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00122}00122     DEVMETHOD(device\_detach,            \mbox{\hyperlink{pst-pci_8c_a252789ac776ec7d89aa04db9f918b1da}{iop\_pci\_detach}}),}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00123}00123     \{ 0, 0 \}}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00124}00124 \};}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00125}00125 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00126}\mbox{\hyperlink{pst-pci_8c_ab6217247b46b69edd8043b190f8aa28b}{00126}} \textcolor{keyword}{static} driver\_t \mbox{\hyperlink{pst-pci_8c_ab6217247b46b69edd8043b190f8aa28b}{pst\_pci\_driver}} = \{}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00127}00127     \textcolor{stringliteral}{"{}pstpci"{}},}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00128}00128     \mbox{\hyperlink{pst-pci_8c_a51e7a444ee6fb599c6e8dc303763b149}{pst\_pci\_methods}},}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00129}00129     \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structiop__softc}{iop\_softc}}),}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00130}00130 \};}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00132}\mbox{\hyperlink{pst-pci_8c_acab20651a36b72a89b3f71c4e5d3e48f}{00132}} \textcolor{keyword}{static} devclass\_t \mbox{\hyperlink{pst-pci_8c_acab20651a36b72a89b3f71c4e5d3e48f}{pst\_pci\_devclass}};}
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00133}00133 }
\DoxyCodeLine{\Hypertarget{pst-pci_8c_source_l00134}\mbox{\hyperlink{pst-pci_8c_ac0a4227ba15a162329e266f4c8293fd1}{00134}} \mbox{\hyperlink{pst-pci_8c_ac0a4227ba15a162329e266f4c8293fd1}{DRIVER\_MODULE}}(pstpci, pci, \mbox{\hyperlink{pst-pci_8c_ab6217247b46b69edd8043b190f8aa28b}{pst\_pci\_driver}}, \mbox{\hyperlink{pst-pci_8c_acab20651a36b72a89b3f71c4e5d3e48f}{pst\_pci\_devclass}}, 0, 0);}

\end{DoxyCode}
