Bill Paul 20ea6dd580 In the device attach routine, don't depend on uaa->iface being
populated. Apparently, if you use an ehci controller, it's not.
Use usbd_device2interface_handle() to retrieve the interface handle.
NOTE: uaa->iface is populated in the probe routine, so I suspect the
fact that it's NULL in the attach routine is a bug in the ehci driver.

Also, don't depend on the PHY addresses returned by the AXE_CMD_READ_PHYID
command. The address is correct for my LinkSys NIC, but a user has
reported that with a D-Link NIC, the PHYID command returns address 4
while the attached Broadcom PHY is in fact strapped for address 0.
Instead, latch onto the first PHY address that returns valid data
during a readreg operation.
2003-06-15 21:45:43 +00:00
..
2003-04-14 14:04:08 +00:00
2003-04-14 14:04:08 +00:00
2002-11-14 23:54:55 +00:00
2003-05-31 19:02:20 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2003-03-09 11:19:18 +00:00
2003-05-29 23:47:12 +00:00
2003-03-09 11:19:18 +00:00
2003-04-10 08:25:09 +00:00
2003-04-14 14:04:08 +00:00
2003-06-13 11:24:45 +00:00
2003-06-13 11:24:45 +00:00