diff options
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/controller/ehci_pci.c | 7 | ||||
| -rw-r--r-- | sys/dev/usb/usb_dev.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/wlan/if_upgt.c | 6 | ||||
| -rw-r--r-- | sys/dev/usb/wlan/if_zyd.c | 2 | 
4 files changed, 13 insertions, 4 deletions
| diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c index d7298ab89df7..9550002e3b70 100644 --- a/sys/dev/usb/controller/ehci_pci.c +++ b/sys/dev/usb/controller/ehci_pci.c @@ -88,6 +88,7 @@  #define	PCI_EHCI_VENDORID_NEC		0x1033  #define	PCI_EHCI_VENDORID_OPTI		0x1045  #define	PCI_EHCI_VENDORID_PHILIPS	0x1131 +#define	PCI_EHCI_VENDORID_REALTEK	0x10ec  #define	PCI_EHCI_VENDORID_SIS		0x1039  #define	PCI_EHCI_VENDORID_NVIDIA	0x12D2  #define	PCI_EHCI_VENDORID_NVIDIA2	0x10DE @@ -218,6 +219,9 @@ ehci_pci_match(device_t self)  	case 0x15621131:  		return "Philips ISP156x USB 2.0 controller"; +	case 0x816d10ec: +		return ("Realtek RTL811x USB 2.0 controller"); +  	case 0x70021039:  		return "SiS 968 USB 2.0 controller"; @@ -402,6 +406,9 @@ ehci_pci_attach(device_t self)  	case PCI_EHCI_VENDORID_PHILIPS:  		sprintf(sc->sc_vendor, "Philips");  		break; +	case PCI_EHCI_VENDORID_REALTEK: +		sprintf(sc->sc_vendor, "Realtek"); +		break;  	case PCI_EHCI_VENDORID_SIS:  		sprintf(sc->sc_vendor, "SiS");  		break; diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c index 293b0c72587f..e58d6a674ec0 100644 --- a/sys/dev/usb/usb_dev.c +++ b/sys/dev/usb/usb_dev.c @@ -1231,12 +1231,14 @@ static const struct filterops usb_filtops_write = {  	.f_isfd = 1,  	.f_detach = usb_filter_detach,  	.f_event = usb_filter_write, +	.f_copy = knote_triv_copy,  };  static const struct filterops usb_filtops_read = {  	.f_isfd = 1,  	.f_detach = usb_filter_detach,  	.f_event = usb_filter_read, +	.f_copy = knote_triv_copy,  };  /* ARGSUSED */ diff --git a/sys/dev/usb/wlan/if_upgt.c b/sys/dev/usb/wlan/if_upgt.c index 1ab833301b3c..a860cc3e0fa9 100644 --- a/sys/dev/usb/wlan/if_upgt.c +++ b/sys/dev/usb/wlan/if_upgt.c @@ -1174,7 +1174,7 @@ upgt_eeprom_parse_freq3(struct upgt_softc *sc, uint8_t *data, int len)  		sc->sc_eeprom_freq3[channel] = freq3[i]; -		DPRINTF(sc, UPGT_DEBUG_FW, "frequence=%d, channel=%d\n", +		DPRINTF(sc, UPGT_DEBUG_FW, "frequency=%d, channel=%d\n",  		    le16toh(sc->sc_eeprom_freq3[channel].freq), channel);  	}  } @@ -1216,7 +1216,7 @@ upgt_eeprom_parse_freq4(struct upgt_softc *sc, uint8_t *data, int len)  			sc->sc_eeprom_freq4[channel][j].pad = 0;  		} -		DPRINTF(sc, UPGT_DEBUG_FW, "frequence=%d, channel=%d\n", +		DPRINTF(sc, UPGT_DEBUG_FW, "frequency=%d, channel=%d\n",  		    le16toh(freq4_1[i].freq), channel);  	}  } @@ -1244,7 +1244,7 @@ upgt_eeprom_parse_freq6(struct upgt_softc *sc, uint8_t *data, int len)  		sc->sc_eeprom_freq6[channel] = freq6[i]; -		DPRINTF(sc, UPGT_DEBUG_FW, "frequence=%d, channel=%d\n", +		DPRINTF(sc, UPGT_DEBUG_FW, "frequency=%d, channel=%d\n",  		    le16toh(sc->sc_eeprom_freq6[channel].freq), channel);  	}  } diff --git a/sys/dev/usb/wlan/if_zyd.c b/sys/dev/usb/wlan/if_zyd.c index 7affdcdce089..b7dfc941224d 100644 --- a/sys/dev/usb/wlan/if_zyd.c +++ b/sys/dev/usb/wlan/if_zyd.c @@ -827,7 +827,7 @@ zyd_cmd(struct zyd_softc *sc, uint16_t code, const void *idata, int ilen,  	if (error)  		device_printf(sc->sc_dev, "command timeout\n");  	STAILQ_REMOVE(&sc->sc_rqh, &rq, zyd_rq, rq); -	DPRINTF(sc, ZYD_DEBUG_CMD, "finsihed cmd %p, error = %d \n", +	DPRINTF(sc, ZYD_DEBUG_CMD, "finished cmd %p, error = %d \n",  	    &rq, error);  	return (error); | 
