\hypertarget{lancevar_8h_source}{}\doxysection{lancevar.\+h}
\label{lancevar_8h_source}\index{dev/le/lancevar.h@{dev/le/lancevar.h}}
\mbox{\hyperlink{lancevar_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00001}00001 \textcolor{comment}{/*      \$NetBSD: lancevar.h,v 1.10 2005/12/11 12:21:27 christos Exp \$   */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00002}00002 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00003}00003 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00004}00004 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/NetBSD}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00005}00005 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00006}00006 \textcolor{comment}{ * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00007}00007 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00008}00008 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00009}00009 \textcolor{comment}{ * This code is derived from software contributed to The NetBSD Foundation}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00010}00010 \textcolor{comment}{ * by Charles M. Hannum and by Jason R. Thorpe of the Numerical Aerospace}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00011}00011 \textcolor{comment}{ * Simulation Facility, NASA Ames Research Center.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00012}00012 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00013}00013 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00014}00014 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00015}00015 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00016}00016 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00017}00017 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00018}00018 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00019}00019 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00020}00020 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00021}00021 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00022}00022 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00023}00023 \textcolor{comment}{ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00024}00024 \textcolor{comment}{ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00025}00025 \textcolor{comment}{ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00026}00026 \textcolor{comment}{ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00027}00027 \textcolor{comment}{ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00028}00028 \textcolor{comment}{ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00029}00029 \textcolor{comment}{ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00030}00030 \textcolor{comment}{ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00031}00031 \textcolor{comment}{ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00032}00032 \textcolor{comment}{ * POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00033}00033 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00035}00035 \textcolor{comment}{/* \$FreeBSD\$ */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00037}00037 \textcolor{preprocessor}{\#ifndef \_DEV\_LE\_LANCEVAR\_H\_}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00038}00038 \textcolor{preprocessor}{\#define \_DEV\_LE\_LANCEVAR\_H\_}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00039}00039 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00040}00040 \textcolor{keyword}{extern} devclass\_t \mbox{\hyperlink{lancevar_8h_a65e5029aef634effa5c1d0af1552bf69}{le\_devclass}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00042}\mbox{\hyperlink{structlance__softc}{00042}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} \{}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00043}\mbox{\hyperlink{structlance__softc_a9ec7f1e8d5a4e1e8a2803d7fff7ea34b}{00043}}         \textcolor{keyword}{struct }ifnet    *\mbox{\hyperlink{structlance__softc_a9ec7f1e8d5a4e1e8a2803d7fff7ea34b}{sc\_ifp}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00044}\mbox{\hyperlink{structlance__softc_a1e7ed93d181e6aa36938f8f03eb7f723}{00044}}         \textcolor{keyword}{struct }ifmedia  \mbox{\hyperlink{structlance__softc_a1e7ed93d181e6aa36938f8f03eb7f723}{sc\_media}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00045}\mbox{\hyperlink{structlance__softc_a603fc69994ade0c1719650d1a9d514f2}{00045}}         \textcolor{keyword}{struct }mtx      \mbox{\hyperlink{structlance__softc_a603fc69994ade0c1719650d1a9d514f2}{sc\_mtx}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00046}\mbox{\hyperlink{structlance__softc_a22582c0c2ea1c8c58a859d76c083ed3c}{00046}}         \textcolor{keyword}{struct }callout  \mbox{\hyperlink{structlance__softc_a22582c0c2ea1c8c58a859d76c083ed3c}{sc\_wdog\_ch}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00047}\mbox{\hyperlink{structlance__softc_aa0e19ff4d77fd93db8ba5b4c2718fc2f}{00047}}         \textcolor{keywordtype}{int}             \mbox{\hyperlink{structlance__softc_aa0e19ff4d77fd93db8ba5b4c2718fc2f}{sc\_wdog\_timer}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00048}00048 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00049}00049         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00050}00050 \textcolor{comment}{         * Memory functions:}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00051}00051 \textcolor{comment}{         *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00052}00052 \textcolor{comment}{         *      copy to/from descriptor}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00053}00053 \textcolor{comment}{         *      copy to/from buffer}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00054}00054 \textcolor{comment}{         *      zero bytes in buffer}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00055}00055 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00056}\mbox{\hyperlink{structlance__softc_a305d91bd8ad09ff74f6cedd8088ab58a}{00056}}         void    (*\mbox{\hyperlink{structlance__softc_a305d91bd8ad09ff74f6cedd8088ab58a}{sc\_copytodesc}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, int, int);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00057}\mbox{\hyperlink{structlance__softc_a9c2cc60117db4c3f9c05bcba566b7f23}{00057}}         void    (*\mbox{\hyperlink{structlance__softc_a9c2cc60117db4c3f9c05bcba566b7f23}{sc\_copyfromdesc}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, int, int);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00058}\mbox{\hyperlink{structlance__softc_af4d71d2258613d376bd5382cb6ec78a9}{00058}}         void    (*\mbox{\hyperlink{structlance__softc_af4d71d2258613d376bd5382cb6ec78a9}{sc\_copytobuf}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, int, int);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00059}\mbox{\hyperlink{structlance__softc_ad511bf6b27be072d76997a7240694433}{00059}}         void    (*\mbox{\hyperlink{structlance__softc_ad511bf6b27be072d76997a7240694433}{sc\_copyfrombuf}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, int, int);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00060}\mbox{\hyperlink{structlance__softc_ae0e633de4b5a9e6a3f2c9b6529d7cebc}{00060}}         void    (*\mbox{\hyperlink{structlance__softc_ae0e633de4b5a9e6a3f2c9b6529d7cebc}{sc\_zerobuf}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, int, int);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00061}00061 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00062}00062         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00063}00063 \textcolor{comment}{         * Machine-\/dependent functions:}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00064}00064 \textcolor{comment}{         *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00065}00065 \textcolor{comment}{         *      read/write CSR}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00066}00066 \textcolor{comment}{         *      hardware reset hook -\/ may be NULL}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00067}00067 \textcolor{comment}{         *      hardware init hook -\/ may be NULL}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00068}00068 \textcolor{comment}{         *      no carrier hook -\/ may be NULL}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00069}00069 \textcolor{comment}{         *      media change hook -\/ may be NULL}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00070}00070 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00071}\mbox{\hyperlink{structlance__softc_af2def8aa51aa1b7645ff4f0602f009c8}{00071}}         uint16\_t        (*\mbox{\hyperlink{structlance__softc_af2def8aa51aa1b7645ff4f0602f009c8}{sc\_rdcsr}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, uint16\_t);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00072}\mbox{\hyperlink{structlance__softc_a8b09b0718a3d344c9f29c26c7c4cb632}{00072}}         void    (*\mbox{\hyperlink{structlance__softc_a8b09b0718a3d344c9f29c26c7c4cb632}{sc\_wrcsr}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, uint16\_t, uint16\_t);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00073}\mbox{\hyperlink{structlance__softc_a87a5412ac88e21c8a48003acfe2d640c}{00073}}         void    (*\mbox{\hyperlink{structlance__softc_a87a5412ac88e21c8a48003acfe2d640c}{sc\_hwreset}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00074}\mbox{\hyperlink{structlance__softc_a9c761c453fda7f026e245ec6f43e8c33}{00074}}         void    (*\mbox{\hyperlink{structlance__softc_a9c761c453fda7f026e245ec6f43e8c33}{sc\_hwinit}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00075}\mbox{\hyperlink{structlance__softc_a35ddbbc9a27f8c7455c152414eae5bd9}{00075}}         int     (*\mbox{\hyperlink{structlance__softc_a35ddbbc9a27f8c7455c152414eae5bd9}{sc\_hwintr}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00076}\mbox{\hyperlink{structlance__softc_aaa6762c3007764333dfda06d3f752b64}{00076}}         void    (*\mbox{\hyperlink{structlance__softc_aaa6762c3007764333dfda06d3f752b64}{sc\_nocarrier}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00077}\mbox{\hyperlink{structlance__softc_a8e69f0ecfa8009db9ab667e32377bd99}{00077}}         int     (*\mbox{\hyperlink{structlance__softc_a8e69f0ecfa8009db9ab667e32377bd99}{sc\_mediachange}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00078}\mbox{\hyperlink{structlance__softc_a0f9cb2db9a5549d89c86e91f8a8712a0}{00078}}         void    (*\mbox{\hyperlink{structlance__softc_a0f9cb2db9a5549d89c86e91f8a8712a0}{sc\_mediastatus}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keyword}{struct }ifmediareq *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00079}00079 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00080}00080         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00081}00081 \textcolor{comment}{         * Media-\/supported by this interface.  If this is NULL,}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00082}00082 \textcolor{comment}{         * the only supported media is assumed to be "{}manual"{}.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00083}00083 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00084}\mbox{\hyperlink{structlance__softc_adeb621dc490c6a8c7e85f11c3428cfc9}{00084}}         \textcolor{keyword}{const} \textcolor{keywordtype}{int}       *\mbox{\hyperlink{structlance__softc_adeb621dc490c6a8c7e85f11c3428cfc9}{sc\_supmedia}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00085}\mbox{\hyperlink{structlance__softc_a0c35b4e9ff97b75591897451090eed45}{00085}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a0c35b4e9ff97b75591897451090eed45}{sc\_nsupmedia}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00086}\mbox{\hyperlink{structlance__softc_a1258b717297f1663220190e37173759d}{00086}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a1258b717297f1663220190e37173759d}{sc\_defaultmedia}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00087}00087 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00088}\mbox{\hyperlink{structlance__softc_a61f9338537306f5a5cd988c537087ed1}{00088}}         uint16\_t        \mbox{\hyperlink{structlance__softc_a61f9338537306f5a5cd988c537087ed1}{sc\_conf3}};       \textcolor{comment}{/* CSR3 value */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00089}00089 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00090}\mbox{\hyperlink{structlance__softc_acfd64809e628559e807248bae51c6e9e}{00090}}         \textcolor{keywordtype}{void}    *\mbox{\hyperlink{structlance__softc_acfd64809e628559e807248bae51c6e9e}{sc\_mem}};          \textcolor{comment}{/* base address of RAM -\/ CPU's view */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00091}\mbox{\hyperlink{structlance__softc_ae6892c03c1d5d88b9a082a984498f2b6}{00091}}         bus\_addr\_t      \mbox{\hyperlink{structlance__softc_ae6892c03c1d5d88b9a082a984498f2b6}{sc\_addr}}; \textcolor{comment}{/* base address of RAM -\/ LANCE's view */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00093}\mbox{\hyperlink{structlance__softc_a67fa499558dd402b7072dc2c1fda640b}{00093}}         bus\_size\_t      \mbox{\hyperlink{structlance__softc_a67fa499558dd402b7072dc2c1fda640b}{sc\_memsize}};   \textcolor{comment}{/* size of RAM */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00094}00094 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00095}\mbox{\hyperlink{structlance__softc_a655eea988755059024dba356d6856ef0}{00095}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a655eea988755059024dba356d6856ef0}{sc\_nrbuf}};       \textcolor{comment}{/* number of receive buffers */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00096}\mbox{\hyperlink{structlance__softc_a2632d593af5facb2a5adeb6a4dd957de}{00096}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a2632d593af5facb2a5adeb6a4dd957de}{sc\_ntbuf}};       \textcolor{comment}{/* number of transmit buffers */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00097}\mbox{\hyperlink{structlance__softc_a696b535a18a430fa71998b5539795705}{00097}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a696b535a18a430fa71998b5539795705}{sc\_last\_rd}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00098}\mbox{\hyperlink{structlance__softc_aa8e7e7efade016672f2eaf3573d21ee3}{00098}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_aa8e7e7efade016672f2eaf3573d21ee3}{sc\_first\_td}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00099}\mbox{\hyperlink{structlance__softc_a923fdd1afdedc6feb15924ed3b3d5cff}{00099}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a923fdd1afdedc6feb15924ed3b3d5cff}{sc\_last\_td}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00100}\mbox{\hyperlink{structlance__softc_a0c61bc10d831ad2455a2097001ca1c72}{00100}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a0c61bc10d831ad2455a2097001ca1c72}{sc\_no\_td}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00101}00101 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00102}\mbox{\hyperlink{structlance__softc_a2ac657de25260fba1a130b655352a6ff}{00102}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a2ac657de25260fba1a130b655352a6ff}{sc\_initaddr}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00103}\mbox{\hyperlink{structlance__softc_abd25db93576a3e921537a1b18fade0b8}{00103}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_abd25db93576a3e921537a1b18fade0b8}{sc\_rmdaddr}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00104}\mbox{\hyperlink{structlance__softc_a53c2f9006e4fdb60bae6791873cf8516}{00104}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a53c2f9006e4fdb60bae6791873cf8516}{sc\_tmdaddr}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00105}\mbox{\hyperlink{structlance__softc_a2713c24afb2fa7dee1bd2a2c5f5c58bc}{00105}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_a2713c24afb2fa7dee1bd2a2c5f5c58bc}{sc\_rbufaddr}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00106}\mbox{\hyperlink{structlance__softc_ada6de66a8bbf43ed04b19a1e6d64161a}{00106}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_ada6de66a8bbf43ed04b19a1e6d64161a}{sc\_tbufaddr}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00107}00107 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00108}\mbox{\hyperlink{structlance__softc_acaa7dba3bad1ca7ce3ad8b0003575748}{00108}}         uint8\_t \mbox{\hyperlink{structlance__softc_acaa7dba3bad1ca7ce3ad8b0003575748}{sc\_enaddr}}[ETHER\_ADDR\_LEN];}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00109}00109 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00110}\mbox{\hyperlink{structlance__softc_a417c6db4a12b40d89b09f71d379ba9b8}{00110}}         void    (*\mbox{\hyperlink{structlance__softc_a417c6db4a12b40d89b09f71d379ba9b8}{sc\_meminit}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00111}\mbox{\hyperlink{structlance__softc_a11ee8fcdb8b19f868f89307fd0168856}{00111}}         void    (*\mbox{\hyperlink{structlance__softc_a11ee8fcdb8b19f868f89307fd0168856}{sc\_start\_locked}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00112}00112 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00113}\mbox{\hyperlink{structlance__softc_abc841f0430d7d21d5f9881496916a12b}{00113}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{structlance__softc_abc841f0430d7d21d5f9881496916a12b}{sc\_flags}};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00114}\mbox{\hyperlink{lancevar_8h_a2c56ac1151d279f6e3f36a4e040e39a6}{00114}} \textcolor{preprocessor}{\#define LE\_ALLMULTI     (1 << 0)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00115}\mbox{\hyperlink{lancevar_8h_a7abf5d234931773f3cb3350405ac56d4}{00115}} \textcolor{preprocessor}{\#define LE\_BSWAP        (1 << 1)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00116}\mbox{\hyperlink{lancevar_8h_ab8f8b06a660ca0f2364bb96a3f127875}{00116}} \textcolor{preprocessor}{\#define LE\_CARRIER      (1 << 2)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00117}\mbox{\hyperlink{lancevar_8h_ac12c0ae93c6a60c5db585d7d72617989}{00117}} \textcolor{preprocessor}{\#define LE\_DEBUG        (1 << 3)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00118}\mbox{\hyperlink{lancevar_8h_a8d22e74111bed0c75a8a7b58d5d504c5}{00118}} \textcolor{preprocessor}{\#define LE\_PROMISC      (1 << 4)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00119}00119 \};}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00120}00120 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00121}\mbox{\hyperlink{lancevar_8h_aa1a96732abbe047c46a995d53af1db1b}{00121}} \textcolor{preprocessor}{\#define LE\_LOCK\_INIT(\_sc, \_name)                                        \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00122}00122 \textcolor{preprocessor}{        mtx\_init(\&(\_sc)-\/>sc\_mtx, \_name, MTX\_NETWORK\_LOCK, MTX\_DEF)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00123}\mbox{\hyperlink{lancevar_8h_a794901ddab06322362eb9afef746dd2a}{00123}} \textcolor{preprocessor}{\#define LE\_LOCK\_INITIALIZED(\_sc)        mtx\_initialized(\&(\_sc)-\/>sc\_mtx)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00124}\mbox{\hyperlink{lancevar_8h_a8d32120bc1a49e5eafa577065852a0b4}{00124}} \textcolor{preprocessor}{\#define LE\_LOCK(\_sc)                    mtx\_lock(\&(\_sc)-\/>sc\_mtx)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00125}\mbox{\hyperlink{lancevar_8h_aac9bd352427086e1e35c7097d97c46e0}{00125}} \textcolor{preprocessor}{\#define LE\_UNLOCK(\_sc)                  mtx\_unlock(\&(\_sc)-\/>sc\_mtx)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00126}\mbox{\hyperlink{lancevar_8h_a7bacfff9ea4bad749a3c6d5c7331cbd6}{00126}} \textcolor{preprocessor}{\#define LE\_LOCK\_ASSERT(\_sc, \_what)      mtx\_assert(\&(\_sc)-\/>sc\_mtx, (\_what))}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00127}\mbox{\hyperlink{lancevar_8h_a03eb3c1ab9b5219d72e7178bdcf138c0}{00127}} \textcolor{preprocessor}{\#define LE\_LOCK\_DESTROY(\_sc)            mtx\_destroy(\&(\_sc)-\/>sc\_mtx)}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00128}00128 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00129}00129 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00130}00130 \textcolor{comment}{ * Unfortunately, manual byte swapping is only necessary for the PCnet-\/PCI}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00131}00131 \textcolor{comment}{ * variants but not for the original LANCE or ILACC so we cannot do this}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00132}00132 \textcolor{comment}{ * with \#ifdefs resolved at compile time.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00133}00133 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00134}\mbox{\hyperlink{lancevar_8h_a43dc6596be42a602be239f43703effd5}{00134}} \textcolor{preprocessor}{\#define LE\_HTOLE16(v)   (((sc)-\/>sc\_flags \& LE\_BSWAP) ? htole16(v) : (v))}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00135}\mbox{\hyperlink{lancevar_8h_aa96c276bb1341c8eaf21aedd0df07807}{00135}} \textcolor{preprocessor}{\#define LE\_HTOLE32(v)   (((sc)-\/>sc\_flags \& LE\_BSWAP) ? htole32(v) : (v))}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00136}\mbox{\hyperlink{lancevar_8h_a0a333083244e200165acf0d5b67d8b05}{00136}} \textcolor{preprocessor}{\#define LE\_LE16TOH(v)   (((sc)-\/>sc\_flags \& LE\_BSWAP) ? le16toh(v) : (v))}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00137}\mbox{\hyperlink{lancevar_8h_a7b61c707f83d39a54d16dbd3f2596aa2}{00137}} \textcolor{preprocessor}{\#define LE\_LE32TOH(v)   (((sc)-\/>sc\_flags \& LE\_BSWAP) ? le32toh(v) : (v))}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00139}00139 \textcolor{keywordtype}{int} \mbox{\hyperlink{lancevar_8h_ad9ac561eacf465123616b6512aed804a}{lance\_config}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keyword}{const} \textcolor{keywordtype}{char}*, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00140}00140 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a6f30af18f426105129d51330443eaefd}{lance\_attach}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00141}00141 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_aa95fd8faf056dc84ef6cfe4237dbcaeb}{lance\_detach}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00142}00142 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a89fe2e5459aa130bf316e17ffd255d59}{lance\_suspend}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00143}00143 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a1fffb45342f1cf22ca14a2d23a118d60}{lance\_resume}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00144}00144 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_aa51991f3b72b67f0862b341851a46f77}{lance\_init\_locked}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00145}00145 \textcolor{keywordtype}{int} \mbox{\hyperlink{lancevar_8h_a588de8a0c67a35978b208d34641f63c6}{lance\_put}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{int}, \textcolor{keyword}{struct} mbuf *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00146}00146 \textcolor{keyword}{struct }mbuf *\mbox{\hyperlink{lancevar_8h_a7124528f8752ec3f45c2bae7b1dd446d}{lance\_get}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00147}\mbox{\hyperlink{lancevar_8h_a9feab97323171b174b549288f0b55be9}{00147}} \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a9feab97323171b174b549288f0b55be9}{lance\_setladrf}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, u\_int16\_t *);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00148}00148 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00149}00149 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00150}00150 \textcolor{comment}{ * The following functions are only useful on certain CPU/bus}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00151}00151 \textcolor{comment}{ * combinations.  They should be written in assembly language for}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00152}00152 \textcolor{comment}{ * maximum efficiency, but machine-\/independent versions are provided}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00153}00153 \textcolor{comment}{ * for drivers that have not yet been optimized.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00154}00154 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00155}00155 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a5166c68ac00e211398cd1a51407f174f}{lance\_copytobuf\_contig}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00156}00156 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a621ce3246711622df1174f42794864cf}{lance\_copyfrombuf\_contig}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00157}00157 \textcolor{keywordtype}{void} \mbox{\hyperlink{lancevar_8h_a37df967e179979c40957afe5827954d3}{lance\_zerobuf\_contig}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00158}00158 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00159}00159 \textcolor{preprocessor}{\#if 0   }\textcolor{comment}{/* Example only -\/ see lance.c */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00160}00160 \textcolor{keywordtype}{void} lance\_copytobuf\_gap2(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00161}00161 \textcolor{keywordtype}{void} lance\_copyfrombuf\_gap2(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00162}00162 \textcolor{keywordtype}{void} lance\_zerobuf\_gap2(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00163}00163 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00164}00164 \textcolor{keywordtype}{void} lance\_copytobuf\_gap16(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00165}00165 \textcolor{keywordtype}{void} lance\_copyfrombuf\_gap16(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{void} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00166}00166 \textcolor{keywordtype}{void} lance\_zerobuf\_gap16(\textcolor{keyword}{struct} \mbox{\hyperlink{structlance__softc}{lance\_softc}} *, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int});}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00167}00167 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* Example only */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00168}00168 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00169}00169 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00170}00170 \textcolor{comment}{ * Compare two Ether/802 addresses for equality, inlined and}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00171}00171 \textcolor{comment}{ * unrolled for speed.  Use this like memcmp().}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00172}00172 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00173}00173 \textcolor{comment}{ * XXX: Add <machine/inlines.h> for stuff like this?}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00174}00174 \textcolor{comment}{ * XXX: or maybe add it to libkern.h instead?}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00175}00175 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00176}00176 \textcolor{comment}{ * "{}I'd love to have an inline assembler version of this."{}}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00177}00177 \textcolor{comment}{ * XXX: Who wanted that? mycroft?  I wrote one, but this}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00178}00178 \textcolor{comment}{ * version in C is as good as hand-\/coded assembly. -\/gwr}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00179}00179 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00180}00180 \textcolor{comment}{ * Please do NOT tweak this without looking at the actual}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00181}00181 \textcolor{comment}{ * assembly code generated before and after your tweaks!}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00182}00182 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00183}00183 \textcolor{keyword}{static} \textcolor{keyword}{inline} uint16\_t}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00184}\mbox{\hyperlink{lancevar_8h_adb1bafd198c0777d4633ba284db6e7b7}{00184}} \mbox{\hyperlink{lancevar_8h_adb1bafd198c0777d4633ba284db6e7b7}{ether\_cmp}}(\textcolor{keywordtype}{void} *one, \textcolor{keywordtype}{void} *two)}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00185}00185 \{}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00186}00186         uint16\_t *a = (u\_short *)one;}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00187}00187         uint16\_t *b = (u\_short *)two;}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00188}00188         uint16\_t diff;}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00189}00189 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00190}00190 \textcolor{preprocessor}{\#ifdef  m68k}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00191}00191         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00192}00192 \textcolor{comment}{         * The post-\/increment-\/pointer form produces the best}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00193}00193 \textcolor{comment}{         * machine code for m68k.  This was carefully tuned}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00194}00194 \textcolor{comment}{         * so it compiles to just 8 short (2-\/byte) op-\/codes!}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00195}00195 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00196}00196         diff  = *a++ -\/ *b++;}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00197}00197         diff |= *a++ -\/ *b++;}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00198}00198         diff |= *a++ -\/ *b++;}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00199}00199 \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00200}00200         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00201}00201 \textcolor{comment}{         * Most modern CPUs do better with a single expression.}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00202}00202 \textcolor{comment}{         * Note that short-\/cut evaluation is NOT helpful here,}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00203}00203 \textcolor{comment}{         * because it just makes the code longer, not faster!}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00204}00204 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00205}00205         diff = (a[0] -\/ b[0]) | (a[1] -\/ b[1]) | (a[2] -\/ b[2]);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00206}00206 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00207}00207 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00208}00208         \textcolor{keywordflow}{return} (diff);}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00209}00209 \}}
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00210}00210 }
\DoxyCodeLine{\Hypertarget{lancevar_8h_source_l00211}00211 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_DEV\_LE\_LANCEVAR\_H\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
