Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 00:29:30 +0900
From:      nil@mad.dog.cx
To:        freebsd-current@freebsd.org
Cc:        Park Foreman <livefreebsd@mac.com>
Subject:   Re: cPCI Hotplug support
Message-ID:  <op.ta3bzgrlx61aru@neptune.local>
In-Reply-To: <E3F46CAC-F86F-4B25-A790-931EB114BA56@mac.com>
References:  <F8B081A0-0288-4203-ADCD-DD304561FFB6@mac.com> <4621CB9B-0ECC-48D2-93ED-E7480255C20C@siliconlandmark.com> <E3F46CAC-F86F-4B25-A790-931EB114BA56@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Park,
On Wednesday 19 April 2006 18:14, Park Foreman wrote:
> System: Nokia IP330 using AMD K6 processor
> Card: Zynx ZX412 dual 10/100 card and DEC/Intel 21143 chipset
>  ifconfig:
> dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          options=8<VLAN_MTU>
>          inet 172.21.1.1 netmask 0xffff0000 broadcast 172.21.255.255
>          inet6 fe80::2c0:95ff:fee5:7d8c%dc0 prefixlen 64 scopeid 0x4
>          ether 00:c0:95:e5:12:ab
>          media: Ethernet autoselect (none)
>          status: no carrier
> dc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          options=8<VLAN_MTU>
>          inet 172.21.2.1 netmask 0xffff0000 broadcast 172.21.255.255
>          inet6 fe80::2c0:95ff:fee5:7d8d%dc1 prefixlen 64 scopeid 0x5
>          ether 00:c0:95:e5:23:cd
>          media: Ethernet autoselect (none)
>          status: no carrier
try this patch.
-- 
HIROSHI OOTA

--- sys/dev/dc/if_dc.c.orig     Fri Sep 16 11:11:51 2005
+++ sys/dev/dc/if_dc.c  Sat Sep 24 11:07:02 2005
@@ -2233,6 +2245,7 @@
                 sc->dc_pmode = tmp;
                 if (sc->dc_pmode != DC_PMODE_SIA)
                         sc->dc_pmode = DC_PMODE_SYM;
+               dc_apply_fixup(sc, sc->dc_mi->dc_media);
                 sc->dc_flags |= DC_21143_NWAY;
                 mii_phy_probe(dev, &sc->dc_miibus,
                     dc_ifmedia_upd, dc_ifmedia_sts);



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