Pyun YongHyeon wrote: > Hi, > > I've written a driver for Marvell/SysKonnect Yukon II Gigabit > Ethernet controller. It supports the following GigE adapters. > o SysKonnect SK-9Sxx Yukon Gigabit Ethernet > o SysKonnect SK-9Exx Yukon Gigabit Ethernet > o Marvell Yukon 88E8021CU Gigabit Ethernet > o Marvell Yukon 88E8021 SX/LX Gigabit Ethernet > o Marvell Yukon 88E8022CU Gigabit Ethernet > o Marvell Yukon 88E8022 SX/LX Gigabit Ethernet > o Marvell Yukon 88E8061CU Gigabit Ethernet > o Marvell Yukon 88E8061 SX/LX Gigabit Ethernet > o Marvell Yukon 88E8062CU Gigabit Ethernet > o Marvell Yukon 88E8062 SX/LX Gigabit Ethernet > o Marvell Yukon 88E8035 Gigabit Ethernet > o Marvell Yukon 88E8036 Gigabit Ethernet > o Marvell Yukon 88E8038 Gigabit Ethernet > o Marvell Yukon 88E8050 Gigabit Ethernet > o Marvell Yukon 88E8052 Gigabit Ethernet > o Marvell Yukon 88E8053 Gigabit Ethernet > o Marvell Yukon 88E8055 Gigabit Ethernet > o D-Link 560T Yukon Gigabit Ethernet > > Due to lack of documentation, this driver is based on the code from > sk(4) and Marvell's myk(4) driver for FreeBSD 5.x/6.x. I've also > adopted the OpenBSD interface name, msk(4) in order to reduce naming > differences between BSDs. > After many trial and errors I now managed to work it on i386 box. At > the moment IP/TCP/UDP checksum offload for transmit and IP checksum > offload for receive is supported. Hardware VLAN tag insertion/stripping > is also supported. JUMBO frame support code is present but was not > tested at all and it may have bugs. > > The driver was tested on on-board 88E8053 PCI Express NIC and I'd > like to hear success/failure reports on other architectures such as > amd64. I don't have adapters that have TBI transceivers or dual MAC > configuration so I'd also like to know whether it works on those > adapters too. > > ** Be ware, this driver is not for production use. It may even damage > your hardware. ** > > You can get the latest msk(4) driver from the following URL. > http://people.freebsd.org/~yongari/msk/msk.HEAD.diff > > You should add "device msk" in your kernel configuration file > and rebuild/reboot or build kernel module if_msk.ko. > You need latest CURRENT to apply this diff. > > TODO: > Automatic crossover support(e1000phy(4)). > Yukon FE(Fast Ethernet) support(e1000phy(4)). > Performance tuning. > Rx TCP/UDP checksum offload. > TSO support. > 64bit DMA(DAC) support. > > Thanks. I just tried your latest -HEAD patch for msk uname: FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Nov 28 14:22:29 PST 2006 root:/usr/obj/usr/src/sys/HELLFIRE i386 pciconf: mskc0_at_pci2:0:0: class=0x020000 card=0x81421043 chip=0x436211ab rev=0x15 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8053 Yukon PCI-E Gigabit Ethernet Controller (copper)' class = network subclass = ethernet dmesg: mskc0: <Marvell Yukon 88E8053 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xdeffc000-0xdeffffff irq 17 at device 0.0 on pci2 START: try 11 msk0: <Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x01> on mskc0 msk0: Ethernet address: 00:11:2f:46:63:47 miibus0: <MII bus> on msk0 e1000phy0: <Marvell 88E1111 Gigabit PHY> on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FAST] However during ifconfig, it gives an error. Nov 28 16:00:16 kernel: msk0: link state changed to UP Nov 28 16:00:51 kernel: mskc0: Uncorrectable PCI Express error Nov 28 16:00:51 kernel: msk0: link state changed to DOWN Nov 28 16:00:54 kernel: msk0: link state changed to UP I'm not whether it's working or not yet. I wasn't clear if your e1000phy patch would tromp on the msk patch so I didn't try it.Received on Tue Nov 28 2006 - 23:32:13 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC