\hypertarget{tdfx__pci_8h_source}{}\doxysection{tdfx\+\_\+pci.\+h}
\label{tdfx__pci_8h_source}\index{dev/tdfx/tdfx\_pci.h@{dev/tdfx/tdfx\_pci.h}}
\mbox{\hyperlink{tdfx__pci_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/4-\/Clause}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2000-\/2001 by Coleman Kane <cokane@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00015}00015 \textcolor{comment}{ * 3. All advertising materials mentioning features or use of this software}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00016}00016 \textcolor{comment}{ *    must display the following acknowledgement:}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00017}00017 \textcolor{comment}{ *      This product includes software developed by Gardner Buchanan.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00018}00018 \textcolor{comment}{ * 4. The name of Gardner Buchanan may not be used to endorse or promote}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00019}00019 \textcolor{comment}{ *    products derived from this software without specific prior written}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00020}00020 \textcolor{comment}{ *    permission.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00021}00021 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00022}00022 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00023}00023 \textcolor{comment}{ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00024}00024 \textcolor{comment}{ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00025}00025 \textcolor{comment}{ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00026}00026 \textcolor{comment}{ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00027}00027 \textcolor{comment}{ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00028}00028 \textcolor{comment}{ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00029}00029 \textcolor{comment}{ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00030}00030 \textcolor{comment}{ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00031}00031 \textcolor{comment}{ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00032}00032 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00033}00033 \textcolor{comment}{ *   \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00034}00034 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00035}00035 }
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00036}00036 \textcolor{comment}{/* tdfx\_pci.h -\/-\/ Prototypes for tdfx device methods */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00037}00037 \textcolor{comment}{/* Copyright (C) 2000-\/2001 by Coleman Kane <cokane@FreeBSD.org> */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00038}00038 \textcolor{preprocessor}{\#include <sys/proc.h>}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00039}00039 \textcolor{preprocessor}{\#include <sys/conf.h>}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00040}00040 }
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00041}00041 \textcolor{comment}{/* Driver functions */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00042}\mbox{\hyperlink{tdfx__pci_8h_a3abe8602d933703355836274adef782f}{00042}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a3abe8602d933703355836274adef782f}{tdfx\_probe}}(device\_t dev);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00043}\mbox{\hyperlink{tdfx__pci_8h_a0343208ae464a7e2a0c8236311fc2033}{00043}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a0343208ae464a7e2a0c8236311fc2033}{tdfx\_attach}}(device\_t dev);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00044}\mbox{\hyperlink{tdfx__pci_8h_a5f57244c0dccd8cc4fb6c26b3d244d55}{00044}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a5f57244c0dccd8cc4fb6c26b3d244d55}{tdfx\_setmtrr}}(device\_t dev);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00045}\mbox{\hyperlink{tdfx__pci_8h_ab4fc92533b3dcc9a36c13d2976adcc4d}{00045}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_ab4fc92533b3dcc9a36c13d2976adcc4d}{tdfx\_clrmtrr}}(device\_t dev);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00046}\mbox{\hyperlink{tdfx__pci_8h_acf6954bb9b0ef6d3d5f83c935209d3ae}{00046}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_acf6954bb9b0ef6d3d5f83c935209d3ae}{tdfx\_detach}}(device\_t dev);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00047}\mbox{\hyperlink{tdfx__pci_8h_a1add7ad336ed5a90fa0a7d6a2cca79b2}{00047}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a1add7ad336ed5a90fa0a7d6a2cca79b2}{tdfx\_shutdown}}(device\_t dev);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00048}00048 }
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00049}00049 \textcolor{comment}{/* CDEV file ops */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00050}\mbox{\hyperlink{tdfx__pci_8h_a0c4baeb322e451ec471b5f4e0b1bc73d}{00050}} \textcolor{keyword}{static} d\_open\_t \mbox{\hyperlink{tdfx__pci_8h_a0c4baeb322e451ec471b5f4e0b1bc73d}{tdfx\_open}};}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00051}\mbox{\hyperlink{tdfx__pci_8h_aff07964c9f7c14387f16acae0624716e}{00051}} \textcolor{keyword}{static} d\_close\_t \mbox{\hyperlink{tdfx__pci_8h_aff07964c9f7c14387f16acae0624716e}{tdfx\_close}};}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00052}\mbox{\hyperlink{tdfx__pci_8h_a6f8ae8c04931dcd4d6ac0a600037c8b6}{00052}} \textcolor{keyword}{static} d\_mmap\_t \mbox{\hyperlink{tdfx__pci_8h_a6f8ae8c04931dcd4d6ac0a600037c8b6}{tdfx\_mmap}};}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00053}\mbox{\hyperlink{tdfx__pci_8h_a165ec7eb7bc0c553976c8e2920eef6f4}{00053}} \textcolor{keyword}{static} d\_ioctl\_t \mbox{\hyperlink{tdfx__pci_8h_a165ec7eb7bc0c553976c8e2920eef6f4}{tdfx\_ioctl}};}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00054}00054 }
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00055}00055 \textcolor{comment}{/* Card Queries */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00056}\mbox{\hyperlink{tdfx__pci_8h_a80c472cf53b396ec9a8fda017613829b}{00056}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a80c472cf53b396ec9a8fda017613829b}{tdfx\_do\_query}}(u\_int cmd, \textcolor{keyword}{struct} \mbox{\hyperlink{structtdfx__pio__data}{tdfx\_pio\_data}} *piod);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00057}\mbox{\hyperlink{tdfx__pci_8h_a8e1a482e99ec3f039f97af705e913644}{00057}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a8e1a482e99ec3f039f97af705e913644}{tdfx\_query\_boards}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00058}\mbox{\hyperlink{tdfx__pci_8h_a821b692fb9d02633bb2337649f704c6c}{00058}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a821b692fb9d02633bb2337649f704c6c}{tdfx\_query\_fetch}}(u\_int cmd, \textcolor{keyword}{struct} \mbox{\hyperlink{structtdfx__pio__data}{tdfx\_pio\_data}} *piod);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00059}\mbox{\hyperlink{tdfx__pci_8h_a104dfc6a1fbaa3d193f384d8ac6c3fdb}{00059}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_a104dfc6a1fbaa3d193f384d8ac6c3fdb}{tdfx\_query\_update}}(u\_int cmd, \textcolor{keyword}{struct} \mbox{\hyperlink{structtdfx__pio__data}{tdfx\_pio\_data}} *piod);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00060}00060 }
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00061}00061 \textcolor{comment}{/* Card PIO funcs */}}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00062}\mbox{\hyperlink{tdfx__pci_8h_ac1c896952839c299c46d786cd28764a9}{00062}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_ac1c896952839c299c46d786cd28764a9}{tdfx\_do\_pio}}(u\_int cmd, \textcolor{keyword}{struct} \mbox{\hyperlink{structtdfx__pio__data}{tdfx\_pio\_data}} *piod);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00063}\mbox{\hyperlink{tdfx__pci_8h_ab4d65b7279b4b28f513bedeb21d93bc0}{00063}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_ab4d65b7279b4b28f513bedeb21d93bc0}{tdfx\_do\_pio\_wt}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structtdfx__pio__data}{tdfx\_pio\_data}} *piod);}
\DoxyCodeLine{\Hypertarget{tdfx__pci_8h_source_l00064}\mbox{\hyperlink{tdfx__pci_8h_afffaa1cbc6e5ef6c00939805125f5ec3}{00064}} \textcolor{keyword}{static} \textcolor{keywordtype}{int} \mbox{\hyperlink{tdfx__pci_8h_afffaa1cbc6e5ef6c00939805125f5ec3}{tdfx\_do\_pio\_rd}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structtdfx__pio__data}{tdfx\_pio\_data}} *piod);}

\end{DoxyCode}
