Discussion:
axe(4) for AX88772/AX88178
(too old to reply)
FUKAUMI Naoki
2010-04-03 17:22:15 UTC
Permalink
hi

I'm porting axe(4) from OpenBSD. it support AX88772(A)/AX88178 chips.

http://www.naobsd.org/porting/if_axe.c
http://www.naobsd.org/porting/if_axereg.h

this is for netbsd-5 source. for -current, it needs some changes.

axe0: vendor 0x0b95 product 0x1780, rev 2.00/0.01, addr 3
axe0: AX88178, Ethernet address **:**:**:**:**:**
ukphy0 at axe0 phy 24: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00c08f, model 0x000b, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto

if PHY is not detected correctly, please change #if 0 / #if 1 parts in
if_axe.c.

--
FUKAUMI Naoki

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Bernd Ernesti
2010-04-11 19:38:27 UTC
Permalink
Hi,
Post by FUKAUMI Naoki
hi
I'm porting axe(4) from OpenBSD. it support AX88772(A)/AX88178 chips.
http://www.naobsd.org/porting/if_axe.c
http://www.naobsd.org/porting/if_axereg.h
this is for netbsd-5 source. for -current, it needs some changes.
I replaced the files in src/sys/dev/usb and tried a AX88178 with
two different netbsd-5 systems.
* M3A78 with amd chipset
* Samsung NC10 netbook with intel chipset

Both systems show the same behaviour while attaching the axe(4) driver
and print a usbd_get_string line before the axe messages are printed:

usbd_get_string: getting lang failed, using 0
axe0 at uhub2 port 5
axe0: I-O Data ETG-US2, rev 2.00/0.01, addr 2
axe0: AX88178, Ethernet address **:**:**:**:**:**
ukphy0 at axe0 phy 24: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00c08f, model 0x000b, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

Sometimes it takes a few seconds after the 'usbd_get_string' message was
printed before the next messages show up.

The new driver works both for the AX88178 and AX88172. The AX88172 was
already supported in the old axe(4).

usbd_get_string: getting lang failed, using 0
axe0 at uhub3 port 1
axe0: Melco LUA-U2-KTX Ethernet, rev 2.00/0.01, addr 4
axe0: AX88172, Ethernet address **:**:**:**:**:**
rlphy0 at axe0 phy 3: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Btw, the axe(4) would need an update for the new supported chipset
and adapters.

Bernd


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
FUKAUMI Naoki
2010-04-18 05:26:09 UTC
Permalink
hi,
Post by Bernd Ernesti
I replaced the files in src/sys/dev/usb and tried a AX88178 with
two different netbsd-5 systems.
* M3A78 with amd chipset
* Samsung NC10 netbook with intel chipset
Both systems show the same behaviour while attaching the axe(4) driver
usbd_get_string: getting lang failed, using 0
Sometimes it takes a few seconds after the 'usbd_get_string' message was
printed before the next messages show up.
I'm using intel chipset but I didn't get such a trouble(?).
please send more detail if you(someone) get.


----
I made if_axe.c for -current.

http://www.naobsd.org/porting/if_axe.c.current

it works fine with 5.99.27 on hpcarm (WZERO3).

--
FUKAUMI Naoki

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...