\hypertarget{atphyreg_8h_source}{}\doxysection{atphyreg.\+h}
\label{atphyreg_8h_source}\index{dev/mii/atphyreg.h@{dev/mii/atphyreg.h}}
\mbox{\hyperlink{atphyreg_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2008, Pyun YongHyeon}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00006}00006 \textcolor{comment}{ *              }}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00009}00009 \textcolor{comment}{ * are met:             }}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00011}00011 \textcolor{comment}{ *    notice unmodified, this list of conditions, and the following}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00012}00012 \textcolor{comment}{ *    disclaimer.  }}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00013}00013 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00014}00014 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00015}00015 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00016}00016 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00017}00017 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00018}00018 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00019}00019 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00020}00020 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00021}00021 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00022}00022 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00023}00023 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00024}00024 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00025}00025 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00026}00026 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00027}00027 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00028}00028 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00029}00029 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00030}00030 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00031}00031 }
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00032}00032 \textcolor{preprocessor}{\#ifndef \_DEV\_MII\_ATPHYREG\_H\_}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00033}00033 \textcolor{preprocessor}{\#define \_DEV\_MII\_ATPHYREG\_H\_}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00035}00035 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00036}00036 \textcolor{comment}{ * Registers for the Attansic/Atheros Gigabit PHY.}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00037}00037 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00039}00039 \textcolor{comment}{/* Special Control Register */}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00040}\mbox{\hyperlink{atphyreg_8h_a31227ddc173b998f43047ea95c1088f8}{00040}} \textcolor{preprocessor}{\#define ATPHY\_SCR                       0x10}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00041}\mbox{\hyperlink{atphyreg_8h_a0e7181e5d78fb3f5f41361b777aff8b5}{00041}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_JABBER\_DISABLE        0x0001}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00042}\mbox{\hyperlink{atphyreg_8h_ab86cc0edd98a2a885be0a2f42bf4877c}{00042}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_POLARITY\_REVERSAL     0x0002}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00043}\mbox{\hyperlink{atphyreg_8h_aa82fccb22308f96c50bc1aba28ebe8b5}{00043}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_SQE\_TEST              0x0004}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00044}\mbox{\hyperlink{atphyreg_8h_ada8861008a1649cf5f406983365de3f8}{00044}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_MAC\_PDOWN             0x0008}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00045}\mbox{\hyperlink{atphyreg_8h_a7f3344a022d59a667caffcc5b3ed30d0}{00045}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_CLK125\_DISABLE        0x0010}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00046}\mbox{\hyperlink{atphyreg_8h_aaa478cb1aad0b3f920196f9cb461c174}{00046}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_MDI\_MANUAL\_MODE       0x0000}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00047}\mbox{\hyperlink{atphyreg_8h_acb6a050f4b324ef8a4c2cbceffeea315}{00047}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_MDIX\_MANUAL\_MODE      0x0020}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00048}\mbox{\hyperlink{atphyreg_8h_adbbcb7ab51747111b7cd82f6c3070a9e}{00048}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_AUTO\_X\_1000T          0x0040}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00049}\mbox{\hyperlink{atphyreg_8h_ac6a6d0a4d85208ad649f5530b33bc71d}{00049}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_AUTO\_X\_MODE           0x0060}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00050}\mbox{\hyperlink{atphyreg_8h_a8e65666cc44b51be6500fb2de2322576}{00050}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_10BT\_EXT\_ENABLE       0x0080}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00051}\mbox{\hyperlink{atphyreg_8h_aaeaa2c5f86a581263ec029fbb7ff2768}{00051}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_MII\_5BIT\_ENABLE       0x0100}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00052}\mbox{\hyperlink{atphyreg_8h_a9a15497cbf544eadcfc8b55fcf3a0d79}{00052}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_SCRAMBLER\_DISABLE     0x0200}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00053}\mbox{\hyperlink{atphyreg_8h_acc695db71d9a96aaf503f512048b9e8e}{00053}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_FORCE\_LINK\_GOOD       0x0400}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00054}\mbox{\hyperlink{atphyreg_8h_ae6df36a8422da7673751bda780fec580}{00054}} \textcolor{preprocessor}{\#define ATPHY\_SCR\_ASSERT\_CRS\_ON\_TX      0x0800}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00055}00055 }
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00056}00056 \textcolor{comment}{/* Special Status Register. */}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00057}\mbox{\hyperlink{atphyreg_8h_afcd2fa9a61c9e68c45cd1394048c3edb}{00057}} \textcolor{preprocessor}{\#define ATPHY\_SSR                       0x11}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00058}\mbox{\hyperlink{atphyreg_8h_ad5f6c55535762424464fbf9a88ad6bc9}{00058}} \textcolor{preprocessor}{\#define ATPHY\_SSR\_SPD\_DPLX\_RESOLVED     0x0800}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00059}\mbox{\hyperlink{atphyreg_8h_af646caf3eb59928db7ff17c12ab86d05}{00059}} \textcolor{preprocessor}{\#define ATPHY\_SSR\_DUPLEX                0x2000}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00060}\mbox{\hyperlink{atphyreg_8h_af516b3b250c7a8f256469b8dffb7bde2}{00060}} \textcolor{preprocessor}{\#define ATPHY\_SSR\_SPEED\_MASK            0xC000}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00061}\mbox{\hyperlink{atphyreg_8h_a38453d69830fb16dacb97745861cfc95}{00061}} \textcolor{preprocessor}{\#define ATPHY\_SSR\_10MBS                 0x0000}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00062}\mbox{\hyperlink{atphyreg_8h_a7e4ac8785bfd3c71df39acbaf0ab7454}{00062}} \textcolor{preprocessor}{\#define ATPHY\_SSR\_100MBS                0x4000}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00063}\mbox{\hyperlink{atphyreg_8h_ab7472284f00ad33db32c762e2539bdef}{00063}} \textcolor{preprocessor}{\#define ATPHY\_SSR\_1000MBS               0x8000}}
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00064}00064 }
\DoxyCodeLine{\Hypertarget{atphyreg_8h_source_l00065}00065 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_DEV\_MII\_ATPHYREG\_H\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
