Staging: rtl8192su: remove RTL8192SU_USB_PHY_TEST ifdefs
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 3 Jul 2009 14:07:40 +0000 (16:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:38 +0000 (12:01 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192su/Makefile
drivers/staging/rtl8192su/r8192U_core.c

index 58073da4855d955c20d7d7e76fd4aef1ed07ced5..8c1cd54ccaf009a68808e43a877c497f86e9c58b 100644 (file)
@@ -12,8 +12,6 @@ EXTRA_CFLAGS += -DRTL8190_Download_Firmware_From_Header=1
 EXTRA_CFLAGS += -DRTL8192S_PREPARE_FOR_NORMAL_RELEASE
 EXTRA_CFLAGS += -DRTL8192SU_DISABLE_IQK=1
 
-EXTRA_CFLAGS += -DRTL8192SU_USB_PHY_TEST=0
-
 #EXTRA_CFLAGS += -DMUTIPLE_BULK_OUT
 
 r8192s_usb-objs :=             \
index 55aeaf6ce2da07b8fa88312b67988533fc0a9b43..48e161072b7eef25ec805d5ebc488ace7d4f23a4 100644 (file)
@@ -6683,23 +6683,6 @@ static void rtl8192SU_MacConfigAfterFwDownload(struct net_device *dev)
        tmpU1b = read_nic_byte_E(dev, 0x5C);
        write_nic_byte_E(dev, 0x5C, tmpU1b|BIT7);
 
-       //
-       // Revise USB PHY to solve the issue of Rx payload error, Rivesed by Roger,  2008-04-10
-       // Suggest by SD1 Alex.
-       //
-       // <Roger_Notes> The following operation are ONLY for USB PHY test chip.
-       // 2008.10.07.
-       //
-#if RTL8192SU_USB_PHY_TEST
-       write_nic_byte(dev, 0x41,0xf4);
-       write_nic_byte(dev, 0x40,0x00);
-       write_nic_byte(dev, 0x42,0x00);
-       write_nic_byte(dev, 0x42,0x01);
-       write_nic_byte(dev, 0x40,0x0f);
-       write_nic_byte(dev, 0x42,0x00);
-       write_nic_byte(dev, 0x42,0x01);
-#endif
-
 #if 0 //LZM 090219
        //
        // Suggested by SD1 Alex, 2008-06-14.