Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2008 17:52:07 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Stuart Fraser <stuart@stuartfraser.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: vge(4) driver not working at 1G speeds
Message-ID:  <20080402085207.GD18494@cdnetworks.co.kr>
In-Reply-To: <48a901c8949b$d88166e0$898434a0$@net>
References:  <0fc501c893c7$dfbf99b0$9f3ecd10$@net> <20080402002729.GA18494@cdnetworks.co.kr> <483f01c89493$4b8d8b90$e2a8a2b0$@net> <20080402081643.GC18494@cdnetworks.co.kr> <48a901c8949b$d88166e0$898434a0$@net>

next in thread | previous in thread | raw e-mail | index | archive | help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Apr 02, 2008 at 09:30:40AM +0100, Stuart Fraser wrote:
 > Oops, no coffee yet, here you go.
 > 
 > pcib3: slot 0 INTA hardwired to IRQ 28
 > vge0: <VIA Networking Gigabit Ethernet> port 0xe800-0xe8ff mem
 > 0xfeaffc00-0xfeaffcff irq 28 at device 0.0 on pci3
 > vge0: Reserved 0x100 bytes for rid 0x14 type 3 at 0xfeaffc00
 > miibus0: <MII bus> on vge0
 > ukphy0: <Generic IEEE 802.3u media interface> PHY 22 on miibus0
 > ukphy0: OUI 0x0090c3, model 0x0019, rev. 0
 > ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
 > 1000baseT-FDX, auto
 > vge0: using obsoleted if_watchdog interface
 > vge0: bpf attached
 > vge0: Ethernet address: 00:40:63:f3:7e:28
 > ioapic1: routing intpin 4 (PCI IRQ 28) to vector 49
 > vge0: [MPSAFE]
 > vge0: [ITHREAD]
 > 

Thanks a lot! Try attached patch and let me know how it goes.

-- 
Regards,
Pyun YongHyeon

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ip1000phy.patch"

--- sys/dev/mii/miidevs.orig	2008-03-07 06:42:48.000000000 +0900
+++ sys/dev/mii/miidevs	2008-04-02 17:48:19.000000000 +0900
@@ -51,6 +51,7 @@
 
 oui ALTIMA			0x0010a9	Altima Communications
 oui AMD				0x00001a	Advanced Micro Devices
+oui ATHEROS			0x001374	Atheros Communications
 oui BROADCOM			0x001018	Broadcom Corporation
 oui CICADA			0x0003F1	Cicada Semiconductor
 oui DAVICOM			0x00606e	Davicom Semiconductor
@@ -112,6 +113,9 @@
 model AMD 79c978		0x0039 Am79c978 HomePNA PHY
 model xxAMD 79C873		0x0000 Am79C873/DM9101 10/100 media interface
 
+/* Atheros Communucations/Attansic PHYs. */
+model ATHEROS F1		0x0001 Atheros F1 10/100/1000 media interface
+
 /* Broadcom Corp. PHYs. */
 model BROADCOM 3C905B		0x0012 3c905B 10/100 internal PHY
 model BROADCOM 3C905C		0x0017 3c905C 10/100 internal PHY
@@ -159,6 +163,7 @@
 /* IC Plus Corp. PHYs */
 model ICPLUS IP101		0x0005 IC Plus 10/100 PHY
 model ICPLUS IP1000A		0x0008 IC Plus 10/100/1000 media interface
+model ICPLUS IP1001		0x0019 IC Plus IP1001 10/100/1000 media interface
 
 /* Intel PHYs */
 model xxINTEL I82553AB		0x0000 i83553 10/100 media interface
--- sys/dev/mii/ip1000phy.c.orig	2006-12-03 00:32:33.000000000 +0900
+++ sys/dev/mii/ip1000phy.c	2008-04-02 17:48:45.000000000 +0900
@@ -82,6 +82,7 @@
 
 static const struct mii_phydesc ip1000phys[] = {
 	MII_PHY_DESC(ICPLUS, IP1000A),
+	MII_PHY_DESC(ICPLUS, IP1001),
 	MII_PHY_END
 };
 

--zhXaljGHf11kAtnf--



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