Date: Sun, 13 Sep 2009 20:27:10 +0400 From: Sergey Vinogradov <boogie@lazybytes.org> To: pyunyh@gmail.com Cc: freebsd-current@freebsd.org, Alex Dupre <ale@freebsd.org> Subject: alc(4) link handling [was: Re: ath(4) Atheros AR9285 support] Message-ID: <20090913202710.21762fa7@lazybytes.org> In-Reply-To: <20090908204520.GC1520@michelle.cdnetworks.com> References: <4AA65ABE.4000207@lazybytes.org> <4AA668E0.1010305@FreeBSD.org> <4AA6ACF1.3040501@lazybytes.org> <20090908204520.GC1520@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/TpjM/619N6d3CEN86ehXXhA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
=D0=92 Tue, 8 Sep 2009 13:45:20 -0700
Pyun YongHyeon <pyunyh@gmail.com> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
[snip]
=20
> Would you give more details on this? Showing me demsg(8) output
> related with alc(4) and atphy(4) would be good help.
> When I tried AR8132 sample board it had no such problems on my box.
> AR8132 uses F1 PHY even if it support only 10/100Mbps link so this
> might cause problems on your box, I guess. Does your link partner
> support only 10/100Mbps?
Sorry for the delay. Well, the 10/100 seems to be working, I've used
bad patch cord previous time. But gigabit link doesn't go up (at least
in auto-negotiate mode, I'll try to set modes manually when I'll get
to gigabit hardware again). Here is the 'pciconf -lv' outtake:
alc0@pci0:1:0:0: class=3D0x020000 card=3D0x838a1043 chip=3D0x1062196=
9 rev=3D0xc0 hdr=3D0x00
vendor =3D 'Attansic (Now owned by Atheros)'
class =3D network
subclass =3D ethernet
And the 'dmesg | egrep (alc|atphy)' with verbose boot on:
alc0: <Atheros AR8132 PCIe Fast Ethernet> port 0xec00-0xec7f mem
0xf7fc0000-0xf7ffffff irq 19 at device 0.0 on pci1 alc0: Reserved
0x40000 bytes for rid 0x10 type 3 at 0xf7fc0000 alc0: Read request
size : 512 bytes. alc0: TLP payload size : 128 bytes.
alc0: RCB 64 bytes
alc0: ASPM L1 enabled
alc0: PCI device revision : 0x00c0
alc0: Chip id/revision : 0xc002
alc0: 15872 Tx FIFO, 15360 Rx FIFO
alc0: MSIX count : 0
alc0: MSI count : 1
alc0: attempting to allocate 1 MSI vectors (1 supported)
alc0: using IRQ 256 for MSI
alc0: Using 1 MSI message(s).
miibus0: <MII bus> on alc0
atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0
atphy0: OUI 0x001374, model 0x0001, rev. 11
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX,
auto alc0: bpf attached
alc0: Ethernet address: 00:26:18:a1:f0:d0
alc0: [MPSAFE]
alc0: [FILTER]
--=20
wbr,
Boo
--Sig_/TpjM/619N6d3CEN86ehXXhA
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkqtHV4ACgkQCt8hfbw1GpbIWgCeKSupO2EuvnqJ7YJ9/sJyJtwp
ELcAnihaRGj8DsK7EFQh2nus6hodYn6e
=lY7d
-----END PGP SIGNATURE-----
--Sig_/TpjM/619N6d3CEN86ehXXhA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090913202710.21762fa7>
