tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Another update for axe(4)



> > I will investigate later today.  My file/build server at home is down at
> > the moment, and I am at work.
> 
> in axe_attach(), axe_lock_mii() should be placed before 
> axe_cmd(AXE_CMD_READ_PHYID).
> 
> in axe_init(), lock/unlock should be added around 
> axe_cmd(AXE_178_CMD_WRITE_NODEID).

With these changes my AX88772 works:
---
axe0 at uhub4 port 2
axe0: ASIX Electronics AX88772 USB 2.0 10/100 Ethernet adapter, rev 2.00/0.01, 
addr 2
axe0: Ethernet address 00:90:cc:e8:15:7c
ukphy0 at axe0 phy 16: OUI 0x007063, model 0x0001, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
---

> I think axe_{lock,unlock}_mii() can be reduced, but it can do after 
> commit. some part that you merged from my patch (incomplete, as I said;) 
> should be fixed too, but I don't think it's critial.

I'm not sure if we need splnet()/splx() in axe_attach(),
but anyway I think it's ready to commit.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index