PERFORCE change 154039 for review

Kevin Lo kevlo at FreeBSD.org
Thu Dec 4 00:51:01 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=154039

Change 154039 by kevlo at kevlo_wsl on 2008/12/04 08:50:59

	Add missing prototypes

Affected files ...

.. //depot/projects/vap/sys/dev/usb/if_urtw.c#4 edit

Differences ...

==== //depot/projects/vap/sys/dev/usb/if_urtw.c#4 (text+ko) ====

@@ -368,6 +368,10 @@
 			    usbd_status);
 static int		urtw_tx_start(struct urtw_softc *,
 			    struct ieee80211_node *, struct mbuf *, int);
+static void		urtw_txeof_low(usbd_xfer_handle, usbd_private_handle,
+			    usbd_status);
+static void		urtw_txeof_normal(usbd_xfer_handle, 
+			    usbd_private_handle, usbd_status);
 static int		urtw_newstate(struct ieee80211vap *,
 			    enum ieee80211_state, int);
 static void		urtw_ledtask(void *);
@@ -375,6 +379,12 @@
 static void		urtw_ctxtask(void *);
 static void		urtw_task(void *);
 static void		urtw_watchdog(void *);
+static void		urtw_set_multi(void *);
+static int		urtw_isbmode(uint16_t);
+static uint16_t		urtw_rate2rtl(int);
+static uint16_t		urtw_rtl2rate(int);
+static usbd_status	urtw_set_rate(struct urtw_softc *);
+static usbd_status	urtw_update_msr(struct urtw_softc *);
 static usbd_status	urtw_read8_c(struct urtw_softc *, int, uint8_t *);
 static usbd_status	urtw_read16_c(struct urtw_softc *, int, uint16_t *);
 static usbd_status	urtw_read32_c(struct urtw_softc *, int, uint32_t *);
@@ -393,13 +403,50 @@
 static usbd_status	urtw_get_txpwr(struct urtw_softc *);
 static usbd_status	urtw_get_rfchip(struct urtw_softc *);
 static usbd_status	urtw_led_init(struct urtw_softc *);
-static usbd_status	urtw_8225_read(struct urtw_softc *, uint8_t, uint32_t *);
+static usbd_status	urtw_8185_rf_pins_enable(struct urtw_softc *);
+static usbd_status	urtw_8185_tx_antenna(struct urtw_softc *, uint8_t);
+static usbd_status	urtw_8187_write_phy(struct urtw_softc *, uint8_t, 
+			    uint32_t);
+static usbd_status	urtw_8187_write_phy_ofdm_c(struct urtw_softc *, 
+			    uint8_t, uint32_t);
+static usbd_status	urtw_8187_write_phy_cck_c(struct urtw_softc *, uint8_t, 
+			    uint32_t);
+static usbd_status	urtw_8225_setgain(struct urtw_softc *, int16_t);
+static usbd_status	urtw_8225_usb_init(struct urtw_softc *);
+static usbd_status	urtw_8225_write_c(struct urtw_softc *, uint8_t, 
+			    uint16_t);
+static usbd_status	urtw_8225_write_s16(struct urtw_softc *, uint8_t, int, 
+			    uint16_t *);
+static usbd_status	urtw_8225_read(struct urtw_softc *, uint8_t, 
+			    uint32_t *);
 static usbd_status	urtw_8225_rf_init(struct urtw_softc *);
 static usbd_status	urtw_8225_rf_set_chan(struct urtw_softc *, int);
 static usbd_status	urtw_8225_rf_set_sens(struct urtw_softc *, int);
+static usbd_status	urtw_8225_set_txpwrlvl(struct urtw_softc *, int);
 static usbd_status	urtw_8225v2_rf_init(struct urtw_softc *);
 static usbd_status	urtw_8225v2_rf_set_chan(struct urtw_softc *, int);
+static usbd_status	urtw_8225v2_set_txpwrlvl(struct urtw_softc *, int);
+static usbd_status	urtw_8225v2_setgain(struct urtw_softc *, int16_t);
+static usbd_status	urtw_8225_isv2(struct urtw_softc *, int *);
+static usbd_status	urtw_read8e(struct urtw_softc *, int, uint8_t *);
+static usbd_status	urtw_write8e(struct urtw_softc *, int, uint8_t);
+static usbd_status	urtw_8180_set_anaparam(struct urtw_softc *, uint32_t);
+static usbd_status	urtw_8185_set_anaparam2(struct urtw_softc *, uint32_t);
 static usbd_status	urtw_open_pipes(struct urtw_softc *);
+static usbd_status	urtw_close_pipes(struct urtw_softc *);
+static usbd_status	urtw_intr_enable(struct urtw_softc *);
+static usbd_status	urtw_intr_disable(struct urtw_softc *);
+static usbd_status	urtw_reset(struct urtw_softc *);
+static usbd_status	urtw_led_on(struct urtw_softc *, int);
+static usbd_status	urtw_led_ctl(struct urtw_softc *, int);
+static usbd_status	urtw_led_blink(struct urtw_softc *);
+static usbd_status	urtw_led_mode0(struct urtw_softc *, int);
+static usbd_status	urtw_led_mode1(struct urtw_softc *, int);
+static usbd_status	urtw_led_mode2(struct urtw_softc *, int);
+static usbd_status	urtw_led_mode3(struct urtw_softc *, int);
+static usbd_status	urtw_rx_setconf(struct urtw_softc *);
+static usbd_status	urtw_rx_enable(struct urtw_softc *);
+static usbd_status	urtw_tx_enable(struct urtw_softc *sc);
 
 static int
 urtw_match(device_t dev)


More information about the p4-projects mailing list