[rt2x00-users] [PATCH] wireless: rt2x00: rt{2500, 73}usb.c put back duplicate id

Larry Finger Larry.Finger at lwfinger.net
Sun Apr 15 07:36:12 EST 2012


On 04/14/2012 04:00 PM, Xose Vazquez Perez wrote:
> put back 0x050d,0x7050 to rt73usb, same usb_id for two chips:
>
> K7SF5D7050A ver 2xxx is rt2500
> K7SF5D7050B ver 3xxx is rt73
>
> <http://en-us-support.belkin.com/app/answers/detail/a_id/297/kw/K7SF5D7050>
>
> Signed-off-by: Xose Vazquez Perez<xose.vazquez at gmail.com>

I did a quick look at the rt2500 driver and did not see any code that detects 
what version chip is being read. If it is possible to determine if it is ver 
2xxx and not 3xxx, then the probe routine should do that and return an error if 
the wrong driver is being loaded. A similar situation arises in the Realtek PCI 
devices. In that case, it is a PCI revision that allows a driver to reject the 
wrong hardware.

Larry




More information about the users mailing list