\hypertarget{if__auereg_8h_source}{}\doxysection{if\+\_\+auereg.\+h}
\label{if__auereg_8h_source}\index{dev/usb/net/if\_auereg.h@{dev/usb/net/if\_auereg.h}}
\mbox{\hyperlink{if__auereg_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/4-\/Clause}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 1997, 1998, 1999}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00005}00005 \textcolor{comment}{ *      Bill Paul <wpaul@ee.columbia.edu>.  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00015}00015 \textcolor{comment}{ * 3. All advertising materials mentioning features or use of this software}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00016}00016 \textcolor{comment}{ *    must display the following acknowledgement:}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00017}00017 \textcolor{comment}{ *      This product includes software developed by Bill Paul.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00018}00018 \textcolor{comment}{ * 4. Neither the name of the author nor the names of any co-\/contributors}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00019}00019 \textcolor{comment}{ *    may be used to endorse or promote products derived from this software}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00020}00020 \textcolor{comment}{ *    without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00021}00021 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00022}00022 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00023}00023 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00024}00024 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00025}00025 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00026}00026 \textcolor{comment}{ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00027}00027 \textcolor{comment}{ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00028}00028 \textcolor{comment}{ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00029}00029 \textcolor{comment}{ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00030}00030 \textcolor{comment}{ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00031}00031 \textcolor{comment}{ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00032}00032 \textcolor{comment}{ * THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00033}00033 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00034}00034 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00035}00035 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00037}00037 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00038}00038 \textcolor{comment}{ * Register definitions for ADMtek Pegasus AN986 USB to Ethernet}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00039}00039 \textcolor{comment}{ * chip. The Pegasus uses a total of four USB endpoints: the control}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00040}00040 \textcolor{comment}{ * endpoint (0), a bulk read endpoint for receiving packets (1),}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00041}00041 \textcolor{comment}{ * a bulk write endpoint for sending packets (2) and an interrupt}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00042}00042 \textcolor{comment}{ * endpoint for passing RX and TX status (3). Endpoint 0 is used}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00043}00043 \textcolor{comment}{ * to read and write the ethernet module's registers. All registers}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00044}00044 \textcolor{comment}{ * are 8 bits wide.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00045}00045 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00046}00046 \textcolor{comment}{ * Packet transfer is done in 64 byte chunks. The last chunk in a}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00047}00047 \textcolor{comment}{ * transfer is denoted by having a length less that 64 bytes. For}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00048}00048 \textcolor{comment}{ * the RX case, the data includes an optional RX status word.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00049}00049 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00050}00050 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00051}\mbox{\hyperlink{if__auereg_8h_a588b41717628087e871ca09aeed68429}{00051}} \textcolor{preprocessor}{\#define AUE\_UR\_READREG          0xF0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00052}\mbox{\hyperlink{if__auereg_8h_a610db7db3b491c1444fbfb34fa795ee4}{00052}} \textcolor{preprocessor}{\#define AUE\_UR\_WRITEREG         0xF1}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00054}\mbox{\hyperlink{if__auereg_8h_a8fb8faaed72fd96b5b3e08b68fc25ec1}{00054}} \textcolor{preprocessor}{\#define AUE\_CONFIG\_INDEX        0       }\textcolor{comment}{/* config number 1 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00055}\mbox{\hyperlink{if__auereg_8h_af96fdf497c0d30836989619d7b9a598a}{00055}} \textcolor{preprocessor}{\#define AUE\_IFACE\_IDX           0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00056}00056 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00057}00057 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00058}00058 \textcolor{comment}{ * Note that while the ADMtek technically has four endpoints, the control}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00059}00059 \textcolor{comment}{ * endpoint (endpoint 0) is regarded as special by the USB code and drivers}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00060}00060 \textcolor{comment}{ * don't have direct access to it (we access it using usbd\_do\_request()}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00061}00061 \textcolor{comment}{ * when reading/writing registers.  Consequently, our endpoint indexes}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00062}00062 \textcolor{comment}{ * don't match those in the ADMtek Pegasus manual: we consider the RX data}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00063}00063 \textcolor{comment}{ * endpoint to be index 0 and work up from there.}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00064}00064 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00065}00065 \textcolor{keyword}{enum} \{}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00066}\mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a55799fb57591fdabec532393be26dc06}{00066}}         \mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a55799fb57591fdabec532393be26dc06}{AUE\_BULK\_DT\_WR}},}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00067}\mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a9f547f6cce960f0d3e399d6ed7ee2c2a}{00067}}         \mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a9f547f6cce960f0d3e399d6ed7ee2c2a}{AUE\_BULK\_DT\_RD}},}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00068}\mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a8fb85b8e7d8bb6a6276b246f85544a4e}{00068}}         \mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a8fb85b8e7d8bb6a6276b246f85544a4e}{AUE\_INTR\_DT\_RD}},}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00069}\mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a8d5beb3f34c512b326d24e2f92b4555b}{00069}}         \mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a8d5beb3f34c512b326d24e2f92b4555b}{AUE\_N\_TRANSFER}},}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00070}00070 \};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00071}00071 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00072}\mbox{\hyperlink{if__auereg_8h_ae4dcc67c74079ec44f78653287f7a7f0}{00072}} \textcolor{preprocessor}{\#define AUE\_INTR\_PKTLEN         0x8}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00073}00073 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00074}\mbox{\hyperlink{if__auereg_8h_a0fd7075562f714a69d4f52491c57a3ee}{00074}} \textcolor{preprocessor}{\#define AUE\_CTL0                0x00}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00075}\mbox{\hyperlink{if__auereg_8h_ad9ecd35453ac456298b284981cd02587}{00075}} \textcolor{preprocessor}{\#define AUE\_CTL1                0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00076}\mbox{\hyperlink{if__auereg_8h_a63e461506ba854a071839657aa858780}{00076}} \textcolor{preprocessor}{\#define AUE\_CTL2                0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00077}\mbox{\hyperlink{if__auereg_8h_ad7cd3f9bfa377634ea7d51b696677040}{00077}} \textcolor{preprocessor}{\#define AUE\_MAR0                0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00078}\mbox{\hyperlink{if__auereg_8h_ab9d99ea30c3eaa109cd53da288a0d708}{00078}} \textcolor{preprocessor}{\#define AUE\_MAR1                0x09}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00079}\mbox{\hyperlink{if__auereg_8h_a37458a2ceafb6d39f25908191e756cad}{00079}} \textcolor{preprocessor}{\#define AUE\_MAR2                0x0A}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00080}\mbox{\hyperlink{if__auereg_8h_ac3083930303a422f38256491159f6ef9}{00080}} \textcolor{preprocessor}{\#define AUE\_MAR3                0x0B}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00081}\mbox{\hyperlink{if__auereg_8h_ae4c019544e8c7e9d2745bcb2bef38cad}{00081}} \textcolor{preprocessor}{\#define AUE\_MAR4                0x0C}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00082}\mbox{\hyperlink{if__auereg_8h_a83933db0195d9d4ef4845b142c275eb7}{00082}} \textcolor{preprocessor}{\#define AUE\_MAR5                0x0D}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00083}\mbox{\hyperlink{if__auereg_8h_aad38b96460b4778efe22cd71cee610b8}{00083}} \textcolor{preprocessor}{\#define AUE\_MAR6                0x0E}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00084}\mbox{\hyperlink{if__auereg_8h_a37b0e58a6f62d3f25adbb8fe906bf434}{00084}} \textcolor{preprocessor}{\#define AUE\_MAR7                0x0F}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00085}\mbox{\hyperlink{if__auereg_8h_a366501f98792c8ec11c47d76ac6fe5af}{00085}} \textcolor{preprocessor}{\#define AUE\_MAR                 AUE\_MAR0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00086}\mbox{\hyperlink{if__auereg_8h_a3465552b04cfb41bfd176e0fb7763cb9}{00086}} \textcolor{preprocessor}{\#define AUE\_PAR0                0x10}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00087}\mbox{\hyperlink{if__auereg_8h_a8f66ac53453ebf5e26c39440ac6fcf0d}{00087}} \textcolor{preprocessor}{\#define AUE\_PAR1                0x11}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00088}\mbox{\hyperlink{if__auereg_8h_a61dd30f9c7ab4fd188f43065886eecf7}{00088}} \textcolor{preprocessor}{\#define AUE\_PAR2                0x12}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00089}\mbox{\hyperlink{if__auereg_8h_a3d578227699aac8812b3e3aa403317ec}{00089}} \textcolor{preprocessor}{\#define AUE\_PAR3                0x13}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00090}\mbox{\hyperlink{if__auereg_8h_a0e2c8389453feefaf1d56efc8ca68552}{00090}} \textcolor{preprocessor}{\#define AUE\_PAR4                0x14}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00091}\mbox{\hyperlink{if__auereg_8h_a2937b0f7489069c7fda9c69006b7ab74}{00091}} \textcolor{preprocessor}{\#define AUE\_PAR5                0x15}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00092}\mbox{\hyperlink{if__auereg_8h_aa4b55f99e3868a2318a33ab53772f4e4}{00092}} \textcolor{preprocessor}{\#define AUE\_PAR                 AUE\_PAR0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00093}\mbox{\hyperlink{if__auereg_8h_ab1e595460b13702919b73cb3347eecb1}{00093}} \textcolor{preprocessor}{\#define AUE\_PAUSE0              0x18}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00094}\mbox{\hyperlink{if__auereg_8h_afe7b0a9281f0794d843c117af131ef02}{00094}} \textcolor{preprocessor}{\#define AUE\_PAUSE1              0x19}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00095}\mbox{\hyperlink{if__auereg_8h_a8e832039058507432a93c6017574a503}{00095}} \textcolor{preprocessor}{\#define AUE\_PAUSE               AUE\_PAUSE0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00096}\mbox{\hyperlink{if__auereg_8h_a105710320c1cd81ae5a6d2b09256e07e}{00096}} \textcolor{preprocessor}{\#define AUE\_RX\_FLOWCTL\_CNT      0x1A}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00097}\mbox{\hyperlink{if__auereg_8h_aa93ed18a240e5643f951e15a8b5f82ab}{00097}} \textcolor{preprocessor}{\#define AUE\_RX\_FLOWCTL\_FIFO     0x1B}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00098}\mbox{\hyperlink{if__auereg_8h_a4d3f3dd821510386b390c737ca146750}{00098}} \textcolor{preprocessor}{\#define AUE\_REG\_1D              0x1D}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00099}\mbox{\hyperlink{if__auereg_8h_a4b3e5ca43ad0ec49d7ead0260540e0ba}{00099}} \textcolor{preprocessor}{\#define AUE\_EE\_REG              0x20}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00100}\mbox{\hyperlink{if__auereg_8h_ad7aa1e012a8cab5e725a2d7cf7e47e97}{00100}} \textcolor{preprocessor}{\#define AUE\_EE\_DATA0            0x21}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00101}\mbox{\hyperlink{if__auereg_8h_a8252cd7bfb560156f95d86f09f605bbc}{00101}} \textcolor{preprocessor}{\#define AUE\_EE\_DATA1            0x22}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00102}\mbox{\hyperlink{if__auereg_8h_af91705bd8bfd4b8529108ce8e8b9cf9d}{00102}} \textcolor{preprocessor}{\#define AUE\_EE\_DATA             AUE\_EE\_DATA0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00103}\mbox{\hyperlink{if__auereg_8h_afdf6ee69c81576dd2eb0ab199092cde5}{00103}} \textcolor{preprocessor}{\#define AUE\_EE\_CTL              0x23}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00104}\mbox{\hyperlink{if__auereg_8h_a19030c992743614991ea9a571cc19d52}{00104}} \textcolor{preprocessor}{\#define AUE\_PHY\_ADDR            0x25}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00105}\mbox{\hyperlink{if__auereg_8h_a3819aa6c51824b7091cedf72bc87a1ba}{00105}} \textcolor{preprocessor}{\#define AUE\_PHY\_DATA0           0x26}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00106}\mbox{\hyperlink{if__auereg_8h_a1eb2dfa2420be9e984e42d6875f46bd9}{00106}} \textcolor{preprocessor}{\#define AUE\_PHY\_DATA1           0x27}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00107}\mbox{\hyperlink{if__auereg_8h_a654fffa9e2ef4e74f8e83d520b9453e9}{00107}} \textcolor{preprocessor}{\#define AUE\_PHY\_DATA            AUE\_PHY\_DATA0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00108}\mbox{\hyperlink{if__auereg_8h_ae8194a3f7cdfec03c2d7529973f845c1}{00108}} \textcolor{preprocessor}{\#define AUE\_PHY\_CTL             0x28}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00109}\mbox{\hyperlink{if__auereg_8h_a060a4e463687568d6dc38fa2329473f7}{00109}} \textcolor{preprocessor}{\#define AUE\_USB\_STS             0x2A}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00110}\mbox{\hyperlink{if__auereg_8h_ab698c8303f43c40d0b0150cf63d10bca}{00110}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0             0x2B}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00111}\mbox{\hyperlink{if__auereg_8h_a6d2573c9d69ceb22f3024c0f8ed50f78}{00111}} \textcolor{preprocessor}{\#define AUE\_TXSTAT1             0x2C}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00112}\mbox{\hyperlink{if__auereg_8h_a9d51b2a8b7a77401c4d0188b1cef540b}{00112}} \textcolor{preprocessor}{\#define AUE\_TXSTAT              AUE\_TXSTAT0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00113}\mbox{\hyperlink{if__auereg_8h_a4b1f1f3aff03efa2583503f6548f8ab4}{00113}} \textcolor{preprocessor}{\#define AUE\_RXSTAT              0x2D}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00114}\mbox{\hyperlink{if__auereg_8h_a0cebc610684a6377ede87399771cddf6}{00114}} \textcolor{preprocessor}{\#define AUE\_PKTLOST0            0x2E}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00115}\mbox{\hyperlink{if__auereg_8h_ac505413de2031abffa29ec8363cc6659}{00115}} \textcolor{preprocessor}{\#define AUE\_PKTLOST1            0x2F}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00116}\mbox{\hyperlink{if__auereg_8h_a6c0641b9a713052f841cb774f6b43964}{00116}} \textcolor{preprocessor}{\#define AUE\_PKTLOST             AUE\_PKTLOST0}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00117}00117 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00118}\mbox{\hyperlink{if__auereg_8h_a9bf26a7a53458049773ea830ad8aafe5}{00118}} \textcolor{preprocessor}{\#define AUE\_REG\_7B              0x7B}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00119}\mbox{\hyperlink{if__auereg_8h_aac7e2aa7e2ac7fe0507a7da5cad9703c}{00119}} \textcolor{preprocessor}{\#define AUE\_GPIO0               0x7E}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00120}\mbox{\hyperlink{if__auereg_8h_adccf842f97530c3bcc8f1c688af30388}{00120}} \textcolor{preprocessor}{\#define AUE\_GPIO1               0x7F}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00121}\mbox{\hyperlink{if__auereg_8h_ab5684e671aaa3fed4839a16b8a255816}{00121}} \textcolor{preprocessor}{\#define AUE\_REG\_81              0x81}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00122}00122 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00123}\mbox{\hyperlink{if__auereg_8h_a1693deac7622c1e322769101f840b70e}{00123}} \textcolor{preprocessor}{\#define AUE\_CTL0\_INCLUDE\_RXCRC  0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00124}\mbox{\hyperlink{if__auereg_8h_a16487668776ccb11e2660e85afafecdf}{00124}} \textcolor{preprocessor}{\#define AUE\_CTL0\_ALLMULTI       0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00125}\mbox{\hyperlink{if__auereg_8h_aac8cbebc829cecc6845978fa7c249158}{00125}} \textcolor{preprocessor}{\#define AUE\_CTL0\_STOP\_BACKOFF   0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00126}\mbox{\hyperlink{if__auereg_8h_af4b788270123068116ecab31dcef396f}{00126}} \textcolor{preprocessor}{\#define AUE\_CTL0\_RXSTAT\_APPEND  0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00127}\mbox{\hyperlink{if__auereg_8h_a22ba28270db6a893a481ab4d77e2ba47}{00127}} \textcolor{preprocessor}{\#define AUE\_CTL0\_WAKEON\_ENB     0x10}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00128}\mbox{\hyperlink{if__auereg_8h_aa1cffaf668600f7f13f2bc50e4c39d4d}{00128}} \textcolor{preprocessor}{\#define AUE\_CTL0\_RXPAUSE\_ENB    0x20}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00129}\mbox{\hyperlink{if__auereg_8h_a68e5df58ebf0c125dd932f6f167deae3}{00129}} \textcolor{preprocessor}{\#define AUE\_CTL0\_RX\_ENB         0x40}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00130}\mbox{\hyperlink{if__auereg_8h_ad5d40a15771eaca6d167a13ca2d182fa}{00130}} \textcolor{preprocessor}{\#define AUE\_CTL0\_TX\_ENB         0x80}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00132}\mbox{\hyperlink{if__auereg_8h_a19ff7346e14339fcdc7c9180d8dc6cb1}{00132}} \textcolor{preprocessor}{\#define AUE\_CTL1\_HOMELAN        0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00133}\mbox{\hyperlink{if__auereg_8h_ac474eb57bccd7c0f38e5dcd475b7bc80}{00133}} \textcolor{preprocessor}{\#define AUE\_CTL1\_RESETMAC       0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00134}\mbox{\hyperlink{if__auereg_8h_a34a1c21ef76b3a64ea7a354c38ad2b17}{00134}} \textcolor{preprocessor}{\#define AUE\_CTL1\_SPEEDSEL       0x10    }\textcolor{comment}{/* 0 = 10mbps, 1 = 100mbps */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00135}\mbox{\hyperlink{if__auereg_8h_a61eb838717a3e1dbc1a34f51c2f8ec2d}{00135}} \textcolor{preprocessor}{\#define AUE\_CTL1\_DUPLEX         0x20    }\textcolor{comment}{/* 0 = half, 1 = full */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00136}\mbox{\hyperlink{if__auereg_8h_a7630ee3f630919d3268fb40e9e13845c}{00136}} \textcolor{preprocessor}{\#define AUE\_CTL1\_DELAYHOME      0x40}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00137}00137 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00138}\mbox{\hyperlink{if__auereg_8h_ac7680d08c044985eef0d3c4193774ce0}{00138}} \textcolor{preprocessor}{\#define AUE\_CTL2\_EP3\_CLR        0x01    }\textcolor{comment}{/* reading EP3 clrs status regs */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00139}\mbox{\hyperlink{if__auereg_8h_afc94c835d8271c702ccda8e9b28f56bd}{00139}} \textcolor{preprocessor}{\#define AUE\_CTL2\_RX\_BADFRAMES   0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00140}\mbox{\hyperlink{if__auereg_8h_adee79302e141ebe12327ded2b59b44fa}{00140}} \textcolor{preprocessor}{\#define AUE\_CTL2\_RX\_PROMISC     0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00141}\mbox{\hyperlink{if__auereg_8h_a397db49ef6c34b2af711bf13017dff44}{00141}} \textcolor{preprocessor}{\#define AUE\_CTL2\_LOOPBACK       0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00142}\mbox{\hyperlink{if__auereg_8h_a6d71867b3678ed3c7e2d4f91717b3ef9}{00142}} \textcolor{preprocessor}{\#define AUE\_CTL2\_EEPROMWR\_ENB   0x10}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00143}\mbox{\hyperlink{if__auereg_8h_a3c6907fc2231df96c33b424a20c323cc}{00143}} \textcolor{preprocessor}{\#define AUE\_CTL2\_EEPROM\_LOAD    0x20}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00144}00144 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00145}\mbox{\hyperlink{if__auereg_8h_aba6445bc056b71937cc2f6d75ce26410}{00145}} \textcolor{preprocessor}{\#define AUE\_EECTL\_WRITE         0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00146}\mbox{\hyperlink{if__auereg_8h_a43c12f277e43bd58f1bf50d7d35c9cb7}{00146}} \textcolor{preprocessor}{\#define AUE\_EECTL\_READ          0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00147}\mbox{\hyperlink{if__auereg_8h_a4920ab3d10a4df93555f39b88dfea6ec}{00147}} \textcolor{preprocessor}{\#define AUE\_EECTL\_DONE          0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00148}00148 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00149}\mbox{\hyperlink{if__auereg_8h_a872be4d1347c923017649e40f0d787a7}{00149}} \textcolor{preprocessor}{\#define AUE\_PHYCTL\_PHYREG       0x1F}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00150}\mbox{\hyperlink{if__auereg_8h_ad8e64cd214632d36b48d6131a74cb6d5}{00150}} \textcolor{preprocessor}{\#define AUE\_PHYCTL\_WRITE        0x20}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00151}\mbox{\hyperlink{if__auereg_8h_a6a475c12c61a049abbd14df879c936a6}{00151}} \textcolor{preprocessor}{\#define AUE\_PHYCTL\_READ         0x40}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00152}\mbox{\hyperlink{if__auereg_8h_abd9ab13ae7f121d5a856889ce95e2c62}{00152}} \textcolor{preprocessor}{\#define AUE\_PHYCTL\_DONE         0x80}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00153}00153 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00154}\mbox{\hyperlink{if__auereg_8h_af42b3f884063d407a96499da7aca69cb}{00154}} \textcolor{preprocessor}{\#define AUE\_USBSTS\_SUSPEND      0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00155}\mbox{\hyperlink{if__auereg_8h_a5e27174b5114c455ac2db11bd7e6f19f}{00155}} \textcolor{preprocessor}{\#define AUE\_USBSTS\_RESUME       0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00156}00156 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00157}\mbox{\hyperlink{if__auereg_8h_add9f3c500868b5989cf6a40a6ef7d618}{00157}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0\_JABTIMO     0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00158}\mbox{\hyperlink{if__auereg_8h_aed372a55869e7eebccbe7c25a62fefda}{00158}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0\_CARLOSS     0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00159}\mbox{\hyperlink{if__auereg_8h_ac61887348cac1af25ec6549d96e4534f}{00159}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0\_NOCARRIER   0x10}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00160}\mbox{\hyperlink{if__auereg_8h_aa8c457467beab924359367a324bd972a}{00160}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0\_LATECOLL    0x20}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00161}\mbox{\hyperlink{if__auereg_8h_a6d31ac6e16c5ee3ac7dbf42cf023c6b6}{00161}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0\_EXCESSCOLL  0x40}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00162}\mbox{\hyperlink{if__auereg_8h_a81faa6039b832c95ed88f13d5b196029}{00162}} \textcolor{preprocessor}{\#define AUE\_TXSTAT0\_UNDERRUN    0x80}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00163}00163 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00164}\mbox{\hyperlink{if__auereg_8h_a8a8356494e8905cac68ef24e9dfc5a8f}{00164}} \textcolor{preprocessor}{\#define AUE\_TXSTAT1\_PKTCNT      0x0F}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00165}\mbox{\hyperlink{if__auereg_8h_a81207fc97afb6b27ff45463652d1c0e2}{00165}} \textcolor{preprocessor}{\#define AUE\_TXSTAT1\_FIFO\_EMPTY  0x40}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00166}\mbox{\hyperlink{if__auereg_8h_a1bfcf40dba17746f1615dc166fcad5e1}{00166}} \textcolor{preprocessor}{\#define AUE\_TXSTAT1\_FIFO\_FULL   0x80}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00167}00167 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00168}\mbox{\hyperlink{if__auereg_8h_aa84c4cb15e673eb79becde2c604b4950}{00168}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_OVERRUN      0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00169}\mbox{\hyperlink{if__auereg_8h_ac66905ee4c4280c623617a4360c02932}{00169}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_PAUSE        0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00170}00170 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00171}\mbox{\hyperlink{if__auereg_8h_a876138ad48ebc5b9f9ca77ecdbd63d04}{00171}} \textcolor{preprocessor}{\#define AUE\_GPIO\_IN0            0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00172}\mbox{\hyperlink{if__auereg_8h_a3fa0bf88fc3de8ba357e6f82b289fbed}{00172}} \textcolor{preprocessor}{\#define AUE\_GPIO\_OUT0           0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00173}\mbox{\hyperlink{if__auereg_8h_a0abf93a470cb556c54cc26c7cb256f91}{00173}} \textcolor{preprocessor}{\#define AUE\_GPIO\_SEL0           0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00174}\mbox{\hyperlink{if__auereg_8h_a69f36caf269a603a65abb52fa3d8615f}{00174}} \textcolor{preprocessor}{\#define AUE\_GPIO\_IN1            0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00175}\mbox{\hyperlink{if__auereg_8h_aeedec2c9f79cdcc82ddaedcff3bc78bf}{00175}} \textcolor{preprocessor}{\#define AUE\_GPIO\_OUT1           0x10}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00176}\mbox{\hyperlink{if__auereg_8h_a977a1e7e6b15e4691748dfbd1d69fdd8}{00176}} \textcolor{preprocessor}{\#define AUE\_GPIO\_SEL1           0x20}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00177}00177 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00178}\mbox{\hyperlink{if__auereg_8h_a8ad221968e7999b0e194155ef9ee4bfb}{00178}} \textcolor{preprocessor}{\#define AUE\_TIMEOUT             100     }\textcolor{comment}{/* 10*ms */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00179}\mbox{\hyperlink{if__auereg_8h_aed84231705ee90bd14731676bf5faa0b}{00179}} \textcolor{preprocessor}{\#define AUE\_MIN\_FRAMELEN        60}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00180}00180 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00181}\mbox{\hyperlink{if__auereg_8h_ac510900e5a1a37531ad9be4c860fd6ad}{00181}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_MCAST        0x01}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00182}\mbox{\hyperlink{if__auereg_8h_a66adf6800ff77f180e5485414243415f}{00182}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_GIANT        0x02}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00183}\mbox{\hyperlink{if__auereg_8h_acbfb4a2dfe20f3310d1de4e3f5bdec21}{00183}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_RUNT         0x04}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00184}\mbox{\hyperlink{if__auereg_8h_a67c3fee1690e99c966023bc906779191}{00184}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_CRCERR       0x08}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00185}\mbox{\hyperlink{if__auereg_8h_ae96ca2f6a78d2d1cb7cd9f49a7e32b46}{00185}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_DRIBBLE      0x10}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00186}\mbox{\hyperlink{if__auereg_8h_a7101d9bec8d0d30864c4fe1f65683b00}{00186}} \textcolor{preprocessor}{\#define AUE\_RXSTAT\_MASK         0x1E}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00187}00187 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00188}\mbox{\hyperlink{if__auereg_8h_adb491f9d26e8663f329b26e167f5edde}{00188}} \textcolor{preprocessor}{\#define GET\_MII(sc)             uether\_getmii(\&(sc)-\/>sc\_ue)}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00189}00189 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00190}\mbox{\hyperlink{structaue__intrpkt}{00190}} \textcolor{keyword}{struct }\mbox{\hyperlink{structaue__intrpkt}{aue\_intrpkt}} \{}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00191}\mbox{\hyperlink{structaue__intrpkt_a04b6901ae338e87d0890042c464849ae}{00191}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_a04b6901ae338e87d0890042c464849ae}{aue\_txstat0}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00192}\mbox{\hyperlink{structaue__intrpkt_aa7e55b8a1e9885c7c9a219fa5bbb306d}{00192}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_aa7e55b8a1e9885c7c9a219fa5bbb306d}{aue\_txstat1}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00193}\mbox{\hyperlink{structaue__intrpkt_a4cbb7c83bb5c8332e364b6d7b91cb12c}{00193}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_a4cbb7c83bb5c8332e364b6d7b91cb12c}{aue\_rxstat}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00194}\mbox{\hyperlink{structaue__intrpkt_af17055a65edcf99119b693783d9917c8}{00194}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_af17055a65edcf99119b693783d9917c8}{aue\_rxlostpkt0}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00195}\mbox{\hyperlink{structaue__intrpkt_a389f1761bd11067ecd6562868f926afd}{00195}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_a389f1761bd11067ecd6562868f926afd}{aue\_rxlostpkt1}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00196}\mbox{\hyperlink{structaue__intrpkt_a1075cd2f7225c99f722a0f9199726352}{00196}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_a1075cd2f7225c99f722a0f9199726352}{aue\_wakeupstat}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00197}\mbox{\hyperlink{structaue__intrpkt_a077e610def5b39f920fb68c97448c509}{00197}}         uint8\_t \mbox{\hyperlink{structaue__intrpkt_a077e610def5b39f920fb68c97448c509}{aue\_rsvd}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00198}\mbox{\hyperlink{if__auereg_8h_a8a4cdc9bfe6f795dfafb72cc059682c3}{00198}} \} \mbox{\hyperlink{if__auereg_8h_a8a4cdc9bfe6f795dfafb72cc059682c3}{\_\_packed}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00199}00199 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00200}\mbox{\hyperlink{structaue__rxpkt}{00200}} \textcolor{keyword}{struct }\mbox{\hyperlink{structaue__rxpkt}{aue\_rxpkt}} \{}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00201}\mbox{\hyperlink{structaue__rxpkt_a0f7c0717bc344850a5227f9016fb9aea}{00201}}         uint16\_t \mbox{\hyperlink{structaue__rxpkt_a0f7c0717bc344850a5227f9016fb9aea}{aue\_pktlen}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00202}\mbox{\hyperlink{structaue__rxpkt_a30588444b25a9d524eb062617b6f6f6d}{00202}}         uint8\_t \mbox{\hyperlink{structaue__rxpkt_a30588444b25a9d524eb062617b6f6f6d}{aue\_rxstat}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00203}\mbox{\hyperlink{structaue__rxpkt_a4627ae49b1a8fbdec55ed4285084cae7}{00203}}         uint8\_t \mbox{\hyperlink{structaue__rxpkt_a4627ae49b1a8fbdec55ed4285084cae7}{pad}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00204}00204 \} \mbox{\hyperlink{if__auereg_8h_a8a4cdc9bfe6f795dfafb72cc059682c3}{\_\_packed}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00205}00205 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00206}\mbox{\hyperlink{structaue__softc}{00206}} \textcolor{keyword}{struct }\mbox{\hyperlink{structaue__softc}{aue\_softc}} \{}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00207}\mbox{\hyperlink{structaue__softc_a39d2cfe0c0450decdc5edea0745efd90}{00207}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__ether}{usb\_ether}}       \mbox{\hyperlink{structaue__softc_a39d2cfe0c0450decdc5edea0745efd90}{sc\_ue}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00208}\mbox{\hyperlink{structaue__softc_aa8890c61707388a5fac0fd665c996a1a}{00208}}         \textcolor{keyword}{struct }mtx              \mbox{\hyperlink{structaue__softc_aa8890c61707388a5fac0fd665c996a1a}{sc\_mtx}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00209}\mbox{\hyperlink{structaue__softc_a3d5216f63c26902bd3533d1c2e6d4013}{00209}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__xfer}{usb\_xfer}} *\mbox{\hyperlink{structaue__softc_a3d5216f63c26902bd3533d1c2e6d4013}{sc\_xfer}}[\mbox{\hyperlink{if__auereg_8h_ae4d5251432e1a9e6803c0240cc492e18a8d5beb3f34c512b326d24e2f92b4555b}{AUE\_N\_TRANSFER}}];}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00210}00210 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00211}\mbox{\hyperlink{structaue__softc_abe72d7de9392a6a16f7b224120bd948a}{00211}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structaue__softc_abe72d7de9392a6a16f7b224120bd948a}{sc\_flags}};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00212}\mbox{\hyperlink{if__auereg_8h_a9012bce530d92a480a1fd30b4b489212}{00212}} \textcolor{preprocessor}{\#define AUE\_FLAG\_LSYS           0x0001  }\textcolor{comment}{/* use Linksys reset */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00213}\mbox{\hyperlink{if__auereg_8h_a41dc975e2247eaed70ed47b68b787907}{00213}} \textcolor{preprocessor}{\#define AUE\_FLAG\_PNA            0x0002  }\textcolor{comment}{/* has Home PNA */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00214}\mbox{\hyperlink{if__auereg_8h_a4eabd9ea4581bf28be0a0c1ed3494879}{00214}} \textcolor{preprocessor}{\#define AUE\_FLAG\_PII            0x0004  }\textcolor{comment}{/* Pegasus II chip */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00215}\mbox{\hyperlink{if__auereg_8h_a604c55572907274fa953a4cb643a87fc}{00215}} \textcolor{preprocessor}{\#define AUE\_FLAG\_LINK           0x0008  }\textcolor{comment}{/* wait for link to come up */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00216}\mbox{\hyperlink{if__auereg_8h_acb836c408e8367ee01cf40932712c7b1}{00216}} \textcolor{preprocessor}{\#define AUE\_FLAG\_VER\_2          0x0200  }\textcolor{comment}{/* chip is version 2 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00217}\mbox{\hyperlink{if__auereg_8h_adef176abea7a951ac4b8329566e987ae}{00217}} \textcolor{preprocessor}{\#define AUE\_FLAG\_DUAL\_PHY       0x0400  }\textcolor{comment}{/* chip has two transcivers */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00218}00218 \};}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00219}00219 }
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00220}\mbox{\hyperlink{if__auereg_8h_a17de0f23959a8825f7d6fb0e2076f8af}{00220}} \textcolor{preprocessor}{\#define AUE\_LOCK(\_sc)           mtx\_lock(\&(\_sc)-\/>sc\_mtx)}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00221}\mbox{\hyperlink{if__auereg_8h_a9561d6bf7b89477023adbfdb01b6714e}{00221}} \textcolor{preprocessor}{\#define AUE\_UNLOCK(\_sc)         mtx\_unlock(\&(\_sc)-\/>sc\_mtx)}}
\DoxyCodeLine{\Hypertarget{if__auereg_8h_source_l00222}\mbox{\hyperlink{if__auereg_8h_a86a311260047974df05231a52675a2c4}{00222}} \textcolor{preprocessor}{\#define AUE\_LOCK\_ASSERT(\_sc, t) mtx\_assert(\&(\_sc)-\/>sc\_mtx, t)}}

\end{DoxyCode}
