freebsd-dev/sys/dev/usb
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
..
devlist2h.awk
dsbr100io.h
ehci_pci.c Enable bus mastering in the attach routine. This appears to fix the 2003-06-12 05:29:15 +00:00
ehci.c
ehcireg.h
ehcivar.h
FILES
hid.c
hid.h
if_aue.c
if_auereg.h
if_axe.c In the device attach routine, don't depend on uaa->iface being 2003-06-15 21:45:43 +00:00
if_axereg.h In the device attach routine, don't depend on uaa->iface being 2003-06-15 21:45:43 +00:00
if_cue.c Fix indentation. 2003-05-31 19:02:20 +00:00
if_cuereg.h
if_kue.c
if_kuereg.h
if_rue.c
if_ruereg.h
kue_fw.h
Makefile.usbdevs
ohci_pci.c Enable bus mastering in the attach routine. This appears to fix the 2003-06-12 05:29:15 +00:00
ohci.c
ohcireg.h
ohcivar.h
rio500_usb.h
ubsa.c
ucom.c
ucomvar.h
udbp.c
udbp.h
ufm.c
uftdi.c
uftdireg.h
ugen.c Correct the fix in rev 1.70 2003-05-29 23:47:12 +00:00
ugraphire_rdesc.h
uhci_pci.c Enable bus mastering in the attach routine. This appears to fix the 2003-06-12 05:29:15 +00:00
uhci.c
uhcireg.h
uhcivar.h
uhid.c
uhub.c
ukbd.c
ulpt.c If the device goes away during ulpt_reset(), make sure not to call 2003-06-15 11:55:50 +00:00
umass.c Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:40:08 +00:00
umodem.c
ums.c
uplcom.c
urio.c
usb_ethersubr.c
usb_ethersubr.h
usb_if.m
usb_mem.h
usb_port.h Don't define memcpy() to bcopy() and in particular not memset() to 2003-05-31 19:38:43 +00:00
usb_quirks.c
usb_quirks.h
usb_subr.c
usb.c
usb.h
usbcdc.h
usbdevs Allow the EPSON USB scanner 1250 to be recognised as a uscanner device. 2003-06-13 11:20:26 +00:00
usbdevs_data.h Regen. 2003-06-13 11:24:45 +00:00
usbdevs.h Regen. 2003-06-13 11:24:45 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c
usbdi.h
usbdivar.h
usbhid.h
uscanner.c Allow the EPSON USB scanner 1250 to be recognised as a uscanner device. 2003-06-13 11:20:26 +00:00
uvisor.c
uvscom.c