Date: Tue, 25 Nov 2008 14:39:16 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 153525 for review Message-ID: <200811251439.mAPEdGrq061162@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153525 Change 153525 by hselasky@hselasky_laptop001 on 2008/11/25 14:39:09 Remove misplaced USB ID. Be more verbose printing out RF version. Affected files ... .. //depot/projects/usb/src/sys/dev/usb2/wlan/if_ural2.c#19 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb2/wlan/if_ural2.c#19 (text+ko) ==== @@ -171,7 +171,6 @@ {USB_VPI(USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570, 0)}, {USB_VPI(USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570_2, 0)}, {USB_VPI(USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570_3, 0)}, - {USB_VPI(USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2573, 0)}, {USB_VPI(USB_VENDOR_SIEMENS2, USB_PRODUCT_SIEMENS2_WL54G, 0)}, {USB_VPI(USB_VENDOR_SMC, USB_PRODUCT_SMC_2862WG, 0)}, {USB_VPI(USB_VENDOR_SPHAIRON, USB_PRODUCT_SPHAIRON_UB801R, 0)}, @@ -780,8 +779,9 @@ /* retrieve MAC address and various other things from EEPROM */ ural_cfg_read_eeprom(sc); - printf("%s: MAC/BBP RT2570 (rev 0x%02x), RF %s\n", - sc->sc_name, sc->sc_asic_rev, ural_get_rf(sc->sc_rf_rev)); + printf("%s: MAC/BBP RT2570 (rev 0x%02x), RF %s (0x%02x)\n", + sc->sc_name, sc->sc_asic_rev, ural_get_rf(sc->sc_rf_rev), + sc->sc_rf_rev); mtx_unlock(&sc->sc_mtx); @@ -954,8 +954,11 @@ static const char * ural_get_rf(int rev) { + ; /* style fix */ + switch (rev) { - case RAL_RF_2522:return "RT2522"; + case RAL_RF_2522: + return "RT2522"; case RAL_RF_2523: return "RT2523"; case RAL_RF_2524:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811251439.mAPEdGrq061162>