Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2007 21:00:08 GMT
From:      "Andy Farkas" <chuzzwassa@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/112654: [pcn] [patch] Kernel panic upon if_pcn module load on a Netfinity 5000
Message-ID:  <200712122100.lBCL08ib038720@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/112654; it has been noted by GNATS.

From: "Andy Farkas" <chuzzwassa@gmail.com>
To: bug-followup@freebsd.org, keve.mail.poliod.hu@freebsd.org
Cc:  
Subject: Re: kern/112654: [pcn] [patch] Kernel panic upon if_pcn module load on a Netfinity 5000
Date: Thu, 13 Dec 2007 06:26:18 +1000

 This patch will fix the panic when loading if_pcn. It causes mii to
 use nsphy rather than ukphy.
 
 I am running FreeBSD 7.0-BETA4 but it should apply to RELENG_6 ok.
 
 $FreeBSD: src/sys/dev/mii/nsphy.c,v 1.28 2007/01/12 22:27:46 marius Exp $
 
 --- /sys/dev/mii/nsphy.c-orig   2007-12-12 06:12:28.644008301 +1000
 +++ /sys/dev/mii/nsphy.c        2007-12-12 22:10:08.535150808 +1000
 @@ -121,6 +121,7 @@
 
  static const struct mii_phydesc nsphys[] = {
         MII_PHY_DESC(NATSEMI, DP83840),
 +       MII_PHY_DESC(NATSEMI, DP83843),
         MII_PHY_END
  };
 
 dmesg.boot now shows:
 
 pcn0: <AMD PCnet/PCI 10/100BaseTX> port 0x2180-0x219f mem
 0xfebfcc00-0xfebfcc1f irq 17 at device 9.0 on pci0
 pcn0: Chip ID 2624 (Am79C972)
 miibus0: <MII bus> on pcn0
 nsphy0: <DP83843 10/100 media interface> PHY 1 on miibus0
 nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ukphy0: <Generic IEEE 802.3u media interface> PHY 31 on miibus0
 ukphy0:  10baseT, 10baseT-FDX, auto
 pcn0: using obsoleted if_watchdog interface
 pcn0: Ethernet address: 00:06:29:57:27:70
 pcn0: [ITHREAD]
 
 ps. hope gmail doesn't mangle the patch too much.
 
 -andyf



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