Re: cPCI Hotplug support

From: <nil_at_mad.dog.cx>
Date: Wed, 14 Jun 2006 00:29:30 +0900
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
_at__at_ -2233,6 +2245,7 _at__at_
                 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);
Received on Tue Jun 13 2006 - 13:30:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC