Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 21:06:49 +0200
From:      Marv <b@helectronics.de>
To:        freebsd-net@freebsd.org
Subject:   Re: if_msk in 6.2
Message-ID:  <20070404190649.GB986@home.bh.net>
In-Reply-To: <20070404111158.GB11525@cdnetworks.co.kr>
References:  <20070404100200.GA1167@home.bh.net> <20070404111158.GB11525@cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for your reply. I checked out the kernel source tree of RELENG_6,
applied your patch and compiled a new kernel.

The kernel boots and detects a 88E8038 Ethernet card but then hangs:

mskc0: <Marvell Yukon 88E8038 Gigabit Ethernet> irq 16 at device 0.0 on
pci2
mskc0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffff).
mskc0: unknown device: id=0xff, rev=0x0f

(doing nothing no more at this point).

Was there some kind of detection failure or is my ethernet controller
not configured properly to fit the driver?

On Wed, Apr 04, 2007 at 08:11:58PM +0900, Pyun YongHyeon wrote:
> On Wed, Apr 04, 2007 at 12:02:00PM +0200, Marv wrote:
>  > Hi,
>  > 
>  > I have a new notebook with a 'Marvell Semiconductor (Was: Galileo
>  > Technology Ltd)' internel network card. (card=0x01101025
>  > chip=0x8039104c)
>  > 
> 
> I guess you've got Marvell 88E8039.
> 
>  > I installed FreeBSD 6.2 i386 and downloaded the msk driver from
>  > http://people.freebsd.org/~yongari/msk/. I applied the patches
>  > msk.HEAD.diff and the e1000phy.diff patch. I also tried the
>  > e1000phy.20061219.fbsd62.patch but the kernel does not compile.
>  > 
>  > Does anybody know which exact steps I have to follow so that the driver
>  > works?
>  > 
> 
> You will have to update to RELENG_6 or CURRENT to get msk(4).
> But msk(4) still does not support 88E8039. I'm not sure just adding
> PCI id is enough to make it work.
> Try attached patch after updating to CURRENT.
> 
> -- 
> Regards,
> Pyun YongHyeon

> Index: if_msk.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/msk/if_msk.c,v
> retrieving revision 1.11
> diff -u -r1.11 if_msk.c
> --- if_msk.c	4 Mar 2007 03:38:07 -0000	1.11
> +++ if_msk.c	4 Apr 2007 11:08:51 -0000
> @@ -190,6 +190,8 @@
>  	    "Marvell Yukon 88E8036 Gigabit Ethernet" },
>  	{ VENDORID_MARVELL, DEVICEID_MRVL_8038,
>  	    "Marvell Yukon 88E8038 Gigabit Ethernet" },
> +	{ VENDORID_MARVELL, DEVICEID_MRVL_8039,
> +	    "Marvell Yukon 88E8039 Gigabit Ethernet" },
>  	{ VENDORID_MARVELL, DEVICEID_MRVL_4361,
>  	    "Marvell Yukon 88E8050 Gigabit Ethernet" },
>  	{ VENDORID_MARVELL, DEVICEID_MRVL_4360,
> Index: if_mskreg.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/msk/if_mskreg.h,v
> retrieving revision 1.3
> diff -u -r1.3 if_mskreg.h
> --- if_mskreg.h	29 Dec 2006 04:55:38 -0000	1.3
> +++ if_mskreg.h	4 Apr 2007 11:08:52 -0000
> @@ -130,6 +130,7 @@
>  #define DEVICEID_MRVL_8035	0x4350
>  #define DEVICEID_MRVL_8036	0x4351
>  #define DEVICEID_MRVL_8038	0x4352
> +#define DEVICEID_MRVL_8039	0x4353
>  #define DEVICEID_MRVL_4360	0x4360
>  #define DEVICEID_MRVL_4361	0x4361
>  #define DEVICEID_MRVL_4362	0x4362




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070404190649.GB986>