diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-02-17 05:29:26 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-02-17 05:29:26 +0000 |
commit | c23dc2b24788b8e11780e647929c6c7e810a44f1 (patch) | |
tree | 3da57c2f85cbba9d88ff23d603cb0a8da1769e36 /sys/dev/ic/rtl81x9reg.h | |
parent | e617ae70c4c2e2f0280137181983a957a86a9652 (diff) |
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@
Diffstat (limited to 'sys/dev/ic/rtl81x9reg.h')
-rw-r--r-- | sys/dev/ic/rtl81x9reg.h | 7 |
1 files changed, 1 insertions, 6 deletions
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; |