[PATCH] zd1211rw: Remove invalid CR write during ZD1211 phy reset

The vendor driver only does the CR123 write for non-USB devices (which
don't exist on the consumer market)

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Daniel Drake 2007-04-03 23:17:10 +01:00 committed by Jeff Garzik
parent 25ac6c2627
commit dc536a7069

View File

@ -684,17 +684,17 @@ static int zd1211_hw_reset_phy(struct zd_chip *chip)
{ CR111, 0x27 }, { CR112, 0x27 }, { CR113, 0x27 }, { CR111, 0x27 }, { CR112, 0x27 }, { CR113, 0x27 },
{ CR114, 0x27 }, { CR115, 0x26 }, { CR116, 0x24 }, { CR114, 0x27 }, { CR115, 0x26 }, { CR116, 0x24 },
{ CR117, 0xfc }, { CR118, 0xfa }, { CR120, 0x4f }, { CR117, 0xfc }, { CR118, 0xfa }, { CR120, 0x4f },
{ CR123, 0x27 }, { CR125, 0xaa }, { CR127, 0x03 }, { CR125, 0xaa }, { CR127, 0x03 }, { CR128, 0x14 },
{ CR128, 0x14 }, { CR129, 0x12 }, { CR130, 0x10 }, { CR129, 0x12 }, { CR130, 0x10 }, { CR131, 0x0C },
{ CR131, 0x0C }, { CR136, 0xdf }, { CR137, 0x40 }, { CR136, 0xdf }, { CR137, 0x40 }, { CR138, 0xa0 },
{ CR138, 0xa0 }, { CR139, 0xb0 }, { CR140, 0x99 }, { CR139, 0xb0 }, { CR140, 0x99 }, { CR141, 0x82 },
{ CR141, 0x82 }, { CR142, 0x54 }, { CR143, 0x1c }, { CR142, 0x54 }, { CR143, 0x1c }, { CR144, 0x6c },
{ CR144, 0x6c }, { CR147, 0x07 }, { CR148, 0x4c }, { CR147, 0x07 }, { CR148, 0x4c }, { CR149, 0x50 },
{ CR149, 0x50 }, { CR150, 0x0e }, { CR151, 0x18 }, { CR150, 0x0e }, { CR151, 0x18 }, { CR160, 0xfe },
{ CR160, 0xfe }, { CR161, 0xee }, { CR162, 0xaa }, { CR161, 0xee }, { CR162, 0xaa }, { CR163, 0xfa },
{ CR163, 0xfa }, { CR164, 0xfa }, { CR165, 0xea }, { CR164, 0xfa }, { CR165, 0xea }, { CR166, 0xbe },
{ CR166, 0xbe }, { CR167, 0xbe }, { CR168, 0x6a }, { CR167, 0xbe }, { CR168, 0x6a }, { CR169, 0xba },
{ CR169, 0xba }, { CR170, 0xba }, { CR171, 0xba }, { CR170, 0xba }, { CR171, 0xba },
/* Note: CR204 must lead the CR203 */ /* Note: CR204 must lead the CR203 */
{ CR204, 0x7d }, { CR204, 0x7d },
{ }, { },