From c23dc2b24788b8e11780e647929c6c7e810a44f1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 17 Feb 2008 05:29:26 +0000 Subject: Simplify the hw revision handling by removing the use of the rl_type softc field and only relying on the sc_hwrev softc field thoughout the driver. Tested by a number of users from tech@ ok dlg@ --- sys/dev/ic/rtl81x9reg.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/dev/ic/rtl81x9reg.h') diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h index 7c65b7decfb..b0c150e14d8 100644 --- a/sys/dev/ic/rtl81x9reg.h +++ b/sys/dev/ic/rtl81x9reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9reg.h,v 1.42 2008/01/16 09:52:34 brad Exp $ */ +/* $OpenBSD: rtl81x9reg.h,v 1.43 2008/02/17 05:29:25 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -674,11 +674,6 @@ struct rl_mii_frame { #define RL_UNKNOWN 0 #define RL_8129 1 #define RL_8139 2 -#define RL_8139CPLUS 3 -#define RL_8169 4 - -#define RL_ISCPLUS(x) ((x)->rl_type == RL_8139CPLUS || \ - (x)->rl_type == RL_8169) struct rl_rxsoft { struct mbuf *rxs_mbuf; -- cgit v1.2.3