summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tlreg.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-05-21 16:24:05 +0000
committerjkh <jkh@FreeBSD.org>1998-05-21 16:24:05 +0000
commit39260f01029b537e83e9ceb5f6274bc8f971cd12 (patch)
tree1a529402d3863a31f54e0e0a0d80265f27043f3b /sys/pci/if_tlreg.h
parentcae7803b332faeaa82605a30741e804ba30d9e4f (diff)
downloadFreeBSD-src-39260f01029b537e83e9ceb5f6274bc8f971cd12.zip
FreeBSD-src-39260f01029b537e83e9ceb5f6274bc8f971cd12.tar.gz
Don't use __FreeBSD_version explicitly - none of the other
drivers here do and it also blows up in building GENERIC during a release build if you try and include <osreldate.h> (which shot my SNAP dead - argh!). Use __FreeBSD__ instead.
Diffstat (limited to 'sys/pci/if_tlreg.h')
-rw-r--r--sys/pci/if_tlreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_tlreg.h b/sys/pci/if_tlreg.h
index 019f692..344ac95 100644
--- a/sys/pci/if_tlreg.h
+++ b/sys/pci/if_tlreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_tlreg.h,v 1.19 1998/05/14 16:49:24 wpaul Exp $
+ * $Id: if_tlreg.h,v 1.1 1998/05/21 03:19:56 wpaul Exp $
*/
@@ -122,7 +122,7 @@ struct tl_softc {
struct tl_list_data *tl_ldata; /* TX/RX lists and mbufs */
struct tl_chain_data tl_cdata;
int tl_txeoc;
-#if __FreeBSD_version >= 300000
+#if defined(__FreeBSD__) && __FreeBSD__ >= 3
struct callout_handle tl_stat_ch;
#endif
OpenPOWER on IntegriCloud