summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_devar.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-07-08 04:15:37 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-07-08 04:15:37 +0000
commit34a7bac09d857187deb62cd9c3190a650a8ea852 (patch)
tree7688797b6f5d28a813bae6018b3dc2ee02b56d0d /sys/dev/pci/if_devar.h
parentaaf9a1c1de6e91c10afca91adcfb56fd0d03f001 (diff)
print the chipset revision too.
Diffstat (limited to 'sys/dev/pci/if_devar.h')
-rw-r--r--sys/dev/pci/if_devar.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h
index 0fda63a060b..f85f3685b3c 100644
--- a/sys/dev/pci/if_devar.h
+++ b/sys/dev/pci/if_devar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_devar.h,v 1.26 2006/05/31 02:45:42 brad Exp $ */
+/* $OpenBSD: if_devar.h,v 1.27 2006/07/08 04:15:36 brad Exp $ */
/* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */
/*-
@@ -38,8 +38,6 @@
bus_space_write_1((sc)->tulip_bustag, (sc)->tulip_bushandle, (sc)->tulip_csrs.csr, (val))
#ifdef TULIP_IOMAPPED
-#define TULIP_EISA_CSRSIZE 16
-#define TULIP_EISA_CSROFFSET 0
#define TULIP_PCI_CSRSIZE 8
#define TULIP_PCI_CSROFFSET 0
#else /* TULIP_IOMAPPED */
@@ -616,22 +614,16 @@ struct _tulip_softc_t {
#define TULIP_DO_AUTOSENSE(sc) (IFM_SUBTYPE((sc)->tulip_ifmedia.ifm_media) == IFM_AUTO)
-#ifdef TULIP_DEBUG
static const char * const tulip_chipdescs[] = {
- "21040 [10Mb/s]",
-#if defined(TULIP_EISA)
- "DE425 [10Mb/s]",
-#else
+ "21040",
NULL,
-#endif
- "21041 [10Mb/s]",
- "21140 [10-100Mb/s]",
- "21140A [10-100Mb/s]",
- "21142 [10-100Mb/s]",
- "21143 [10-100Mb/s]",
- "82C168 [10-100Mb/s]",
+ "21041",
+ "21140",
+ "21140A",
+ "21142",
+ "21143",
+ "82C168",
};
-#endif
#ifdef TULIP_DEBUG
static const char * const tulip_mediums[] = {