summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_devar.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-08-09 12:50:12 +0000
committerpeter <peter@FreeBSD.org>1999-08-09 12:50:12 +0000
commita679960abbe0b437446e6e11878c24f829f2eb17 (patch)
tree336c738dfc6793a3cb6cbcfce0f161304e4ea1e6 /sys/pci/if_devar.h
parentfbeadabd153e7000a4cd147230fd7dd58ae8f8a8 (diff)
downloadFreeBSD-src-a679960abbe0b437446e6e11878c24f829f2eb17.zip
FreeBSD-src-a679960abbe0b437446e6e11878c24f829f2eb17.tar.gz
Strip __FreeBSD_version >= 300000 conditionals.
Diffstat (limited to 'sys/pci/if_devar.h')
-rw-r--r--sys/pci/if_devar.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/pci/if_devar.h b/sys/pci/if_devar.h
index 6708e37..1af0fa9 100644
--- a/sys/pci/if_devar.h
+++ b/sys/pci/if_devar.h
@@ -1,5 +1,5 @@
/* $NetBSD: if_devar.h,v 1.32 1999/04/01 14:55:25 tsubai Exp $ */
-/* $Id: if_devar.h,v 1.14 1999/07/06 19:23:25 des Exp $ */
+/* $Id: if_devar.h,v 1.15 1999/08/08 19:56:06 peter Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@@ -62,12 +62,8 @@ typedef bus_addr_t tulip_csrptr_t;
#define TULIP_PCI_CSRSIZE 8
#define TULIP_PCI_CSROFFSET 0
-#if !defined(__FreeBSD__) || __FreeBSD_version < 300000
-typedef u_long uintptr_t;
-#endif
-
#if !defined(__NetBSD__)
-#if defined(__FreeBSD__) && __FreeBSD_version >= 300000
+#if defined(__FreeBSD__)
typedef pci_port_t tulip_csrptr_t;
#else
typedef u_int16_t tulip_csrptr_t;
@@ -951,11 +947,7 @@ static void tulip_softintr(void);
#if defined(__FreeBSD__)
typedef void ifnet_ret_t;
-#if __FreeBSD_version >= 300000
typedef u_long ioctl_cmd_t;
-#else
-typedef int ioctl_cmd_t;
-#endif
#if defined(TULIP_HDR_DATA)
static tulip_softc_t *tulips[TULIP_MAX_DEVICES];
#endif
OpenPOWER on IntegriCloud