Re: kernel panic (mii_phy_setmedia) on mac mini A1347 (bge device unknown)

2011-12-23 Thread Wesley M.
thank's, small forget ;-)
I will try it .

On Fri, 23 Dec 2011 11:51:33 +0100, Mike Belopuhov m...@crypt.org.ru
wrote:
 On Fri, Dec 23, 2011 at 11:43 AM, Wesley M. open...@e-solutions.re
wrote:
 Hi,

 So i installed a fresh OpenBSD 4.9 to try to patch the files : brgphy.c
 and miidevs
 I have the following error when compiling :
 ...
 D_KERNEL B -c ../../../../dev/mii/brgphy.c
 ../../../../dev/mii/brgphy.c:177: error:
'MII_MODEL_xxBROADCOM3_BCM57765'
 undeclared here (not in a function)
 ../../../../dev/mii/brgphy.c:178: error: 'MII_STR_xxBROADCOM3_BCM57765'
 undeclared here (not in a function)
 *** Error code 1

 Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 92 of
 /usr/share/mk/sys.mk).

 
 you have to run make in /sys/dev/mii prior to compiling.



Re: kernel panic (mii_phy_setmedia) on mac mini A1347 (bge device unknown)

2011-12-23 Thread Wesley M.
Thank you very much. 

It works, i can now use bge0 on the mac mini.
(OpenBSD 4.9)

Wesley.