From b05f3644dc706d2372df866471b27d4a7368a78d Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 7 Nov 2008 22:53:32 +0000 Subject: When initializing the MAC put the PHY into ready state for BCM5906 chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix --- sys/dev/pci/if_bgereg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h index 8f2571d8929..153b3165ea5 100644 --- a/sys/dev/pci/if_bgereg.h +++ b/sys/dev/pci/if_bgereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bgereg.h,v 1.85 2008/07/17 19:59:44 brad Exp $ */ +/* $OpenBSD: if_bgereg.h,v 1.86 2008/11/07 22:53:31 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -1805,6 +1805,7 @@ #define BGE_MISCCFG_BOARD_ID_5788 0x00010000 #define BGE_MISCCFG_BOARD_ID_5788M 0x00018000 #define BGE_MISCCFG_BOARD_ID_MASK 0x0001e000 +#define BGE_MISCCFG_EPHY_IDDQ 0x00200000 #define BGE_MISCCFG_KEEP_GPHY_POWER 0x04000000 #define BGE_32BITTIME_66MHZ (0x41 << 1) -- cgit v1.2.3