vge(4) driver not working at 1G speeds

Pyun YongHyeon pyunyh at gmail.com
Wed Apr 2 08:52:25 UTC 2008


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
-------------- next part --------------
--- 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
 };
 


More information about the freebsd-current mailing list