hi pyun... and all.... after a few hours i'm sorry to report that the card is visible but not usable (yet?!). here is what i have done so far:

1. got the files from http://svn.freebsd.org/viewvc/base/head/sys/dev/
2. applied the patch that pyun provided.
3. replaced if_maddr_rlock(ifp) with IF_ADDR_UNLOCK(ifp) in if_msk.c - two instances. 4. replaced the files in /usr/src/sys/dev for mii and msk with he new ones on the freebsd 7.2 machine.
5. recompiled the kernel..

here is what i get:

from dmesg at boot:

mskc0: <Marvell Yukon 88E8057 Gigabit Ethernet> port 0xde00-0xdeff mem 0xfddfc000-0xfddfffff irq 18 at device 0.0 on pci2
mskc0: unknown device: id=0xba, rev=0x00
device_attach: mskc0 attach returned 6

cant find what 6 stands for but it's not good..

pciconf -lvvv:

ms...@pci0:2:0:0: class=0x020000 card=0x51131297 chip=0x438011ab rev=0x10 hdr=0x00
   vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
   class      = network
   subclass   = ethernet


if i put if_msk_load="YES" in loader.conf dmesg says:

module_register: module msk/miibus already exists!
Module msk/miibus failed to register: 17
module_register: module mskc/msk already exists!
Module mskc/msk failed to register: 17
module_register: module pci/mskc already exists!
Module pci/mskc failed to register: 17


ifconfig doesn't see it. sysinstall does not see it.

now what?!


thanks...




Pyun YongHyeon wrote:
On Sat, Oct 24, 2009 at 02:46:40PM -0700, Pyun YongHyeon wrote:
On Fri, Oct 23, 2009 at 11:44:15PM -0400, kalin m wrote:
hi all..

does anybody here know if freebsd has a driver for Marvell 88E8057 nic chip?

according to the kernel list of drivers (7.2) marvell chips are driven by the msk driver. but it doesn't show up in pciconf, dmesg or sysinstall.... strangely enough 88E8057 is not in the list in man msk. although 88E8056 and 88E8058 are. is this just bad luck?!

I think 88E8057(Yukon Ultra 2) is the latest chipset from Marvell
and no one ever expressed his/her willingness to try experiment
patch.  I guess msk(4) in HEAD has all required features to support
88E8057.  Would you try attached patch?

The patch was generated against HEAD. If you have to use 7.2-RELEASE
copy the following files from HEAD and apply attached patch.

/usr/src/sys/dev/msk/if_msk.c
/usr/src/sys/dev/msk/if_mskreg.h
/usr/src/sys/dev/mii/miidevs
/usr/src/sys/dev/mii/e1000phy.c
/usr/src/sys/dev/mii/e1000phyreg.c
                       ^^^^^^^^^^^^^^
It should be read e1000phyreg.h
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to