summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-04 03:47:09 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-04 03:47:09 +0000
commitdbf98463f81283e96c901114c0078322ff993023 (patch)
treefa2a203b14900b49b04cc19c32e78256c9ff842f /sys/dev/ic
parentbc211fa91b25bc1298db6757c3a6e7f9f4c0b349 (diff)
do not set the chip type in re_attach_common() as this is already
set in the appropriate bus-dependent front-end attach routines.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/re.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index e610bcf6a27..6d7a02afc88 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.17 2006/01/30 00:32:45 brad Exp $ */
+/* $OpenBSD: re.c,v 1.18 2006/03/04 03:47:08 brad Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -817,8 +817,6 @@ re_attach_common(struct rl_softc *sc)
/* Reset the adapter. */
re_reset(sc);
- sc->rl_type = RL_8169;
-
if (sc->rl_type == RL_8169) {
/* Set RX length mask */