summaryrefslogtreecommitdiffstats
path: root/sys/dev/dc/if_dcreg.h
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-11-18 19:38:19 +0000
committeryongari <yongari@FreeBSD.org>2011-11-18 19:38:19 +0000
commit7a8f5d578296f2fddf3dadd02a52678e037cd76d (patch)
tree43a5e2c28fc8ce54392101b0054d9da85fb7deaa /sys/dev/dc/if_dcreg.h
parent97e40483cb625dbd056c37c5f6d123f0fe2f37dc (diff)
downloadFreeBSD-src-7a8f5d578296f2fddf3dadd02a52678e037cd76d.zip
FreeBSD-src-7a8f5d578296f2fddf3dadd02a52678e037cd76d.tar.gz
Partially revert r218788. r218788 removed calling dc_setcfg() for
!DC_IS_ADMTEK in dc_miibus_statchg(). This change broke link establishment of Intel 21143 with dcphy(4) where it stuck in "ability detect" state without completing auto-negotiation. Also nuke dc_if_media as it's not actually used. Submitted by: marius
Diffstat (limited to 'sys/dev/dc/if_dcreg.h')
-rw-r--r--sys/dev/dc/if_dcreg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index cbbe39f..e290881 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -760,7 +760,6 @@ struct dc_softc {
int dc_pnic_rx_bug_save;
unsigned char *dc_pnic_rx_buf;
int dc_if_flags;
- int dc_if_media;
uint32_t dc_flags;
uint32_t dc_txthresh;
uint32_t dc_eaddr[2];
OpenPOWER on IntegriCloud