FreeBSD Bugzilla – Attachment 154024 Details for
Bug 197143
[wpi] [patch]: sync with iwn / OpenBSD wpi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
(Non-functional) Break lines around 80 characters
patch-wpi18.diff (text/plain), 3.14 KB, created by
Andriy Voskoboinyk
on 2015-03-08 17:09:18 UTC
(
hide
)
Description:
(Non-functional) Break lines around 80 characters
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2015-03-08 17:09:18 UTC
Size:
3.14 KB
patch
obsolete
>Index: sys/dev/wpi/if_wpi.c >=================================================================== >--- sys/dev/wpi/if_wpi.c (revision 279775) >+++ sys/dev/wpi/if_wpi.c (working copy) >@@ -607,7 +607,8 @@ > > ieee80211_ratectl_init(vap); > /* Complete setup. */ >- ieee80211_vap_attach(vap, ieee80211_media_change, ieee80211_media_status); >+ ieee80211_vap_attach(vap, ieee80211_media_change, >+ ieee80211_media_status); > ic->ic_opmode = opmode; > return vap; > } >@@ -1299,8 +1300,8 @@ > WPI_CHK(wpi_read_prom_data(sc, WPI_EEPROM_TYPE, &sc->type, > sizeof(sc->type))); > >- DPRINTF(sc, WPI_DEBUG_EEPROM, "cap=%x rev=%x type=%x\n", sc->cap, le16toh(sc->rev), >- sc->type); >+ DPRINTF(sc, WPI_DEBUG_EEPROM, "cap=%x rev=%x type=%x\n", sc->cap, >+ le16toh(sc->rev), sc->type); > > /* Read the regulatory domain (4 ASCII characters.) */ > WPI_CHK(wpi_read_prom_data(sc, WPI_EEPROM_DOMAIN, sc->domain, >@@ -1377,7 +1378,9 @@ > c->ic_maxpower = 2*c->ic_maxregpower; > > if (n == 0) { /* 2GHz band */ >- c->ic_freq = ieee80211_ieee2mhz(chan, IEEE80211_CHAN_G); >+ c->ic_freq = ieee80211_ieee2mhz(chan, >+ IEEE80211_CHAN_G); >+ > /* G =>'s B is supported */ > c->ic_flags = IEEE80211_CHAN_B | nflags; > c = &ic->ic_channels[ic->ic_nchans++]; >@@ -1384,7 +1387,9 @@ > c[0] = c[-1]; > c->ic_flags = IEEE80211_CHAN_G | nflags; > } else { /* 5GHz band */ >- c->ic_freq = ieee80211_ieee2mhz(chan, IEEE80211_CHAN_A); >+ c->ic_freq = ieee80211_ieee2mhz(chan, >+ IEEE80211_CHAN_A); >+ > c->ic_flags = IEEE80211_CHAN_A | nflags; > } > >@@ -2307,7 +2312,8 @@ > buf->m, segs, &nsegs, BUS_DMA_NOWAIT); > if (error != 0) { > device_printf(sc->sc_dev, >- "%s: can't map mbuf (error %d)\n", __func__, error); >+ "%s: can't map mbuf (error %d)\n", __func__, >+ error); > m_freem(buf->m); > return error; > } >@@ -2532,8 +2538,8 @@ > } > > static int >-wpi_tx_data_raw(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni, >- const struct ieee80211_bpf_params *params) >+wpi_tx_data_raw(struct wpi_softc *sc, struct mbuf *m, >+ struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) > { > struct ieee80211vap *vap = ni->ni_vap; > struct ieee80211_frame *wh; >@@ -3476,7 +3482,8 @@ > sc->rxon.mode = WPI_MODE_MONITOR; > break; > default: >- device_printf(sc->sc_dev, "unknown opmode %d\n", ic->ic_opmode); >+ device_printf(sc->sc_dev, "unknown opmode %d\n", >+ ic->ic_opmode); > return EINVAL; > } > sc->rxon.filter = htole32(sc->rxon.filter); >@@ -4332,8 +4339,8 @@ > > DPRINTF(sc, WPI_DEBUG_FIRMWARE, > "Firmware Version: Major %d, Minor %d, Driver %d, \n" >- "runtime (text: %u, data: %u) init (text: %u, data %u) boot (text %u)\n", >- hdr->major, hdr->minor, le32toh(hdr->driver), >+ "runtime (text: %u, data: %u) init (text: %u, data %u) " >+ "boot (text %u)\n", hdr->major, hdr->minor, le32toh(hdr->driver), > fw->main.textsz, fw->main.datasz, > fw->init.textsz, fw->init.datasz, fw->boot.textsz); > >@@ -4443,7 +4450,8 @@ > return; > DELAY(10); > } >- device_printf(sc->sc_dev, "%s: timeout waiting for master\n", __func__); >+ device_printf(sc->sc_dev, "%s: timeout waiting for master\n", >+ __func__); > } > > static void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197143
:
152282
|
152662
|
152977
|
153911
|
153977
|
153983
|
153985
|
153999
|
154000
|
154002
|
154006
|
154007
|
154009
|
154010
|
154011
|
154013
|
154015
|
154016
|
154017
|
154019
|
154020
|
154021
|
154022
| 154024 |
154026
|
154030
|
154032
|
154033
|
154328
|
154329
|
154330
|
154332
|
154334
|
154335
|
154336
|
154337
|
154338
|
154340
|
154341
|
154343
|
154346
|
154347
|
154348
|
154349
|
154350
|
154351
|
154352
|
154353
|
154354
|
154355
|
154356
|
154357
|
154358
|
154359
|
154360
|
154361
|
154362
|
154363
|
154364
|
154365
|
154366
|
154368
|
154369
|
154370
|
154371
|
154372
|
154373
|
154374
|
154375
|
154378
|
154379
|
154380
|
154381
|
154382
|
154383
|
154384
|
155332
|
155333
|
156164
|
156165
|
156166
|
156167
|
156168
|
156169
|
156170
|
156171
|
156172
|
156173
|
156174
|
156175
|
156176
|
156177
|
156178
|
156179
|
156180
|
156181
|
156182
|
156183
|
156184
|
156185
|
156186
|
156187
|
156188
|
156189
|
156190
|
156191
|
156192
|
156193
|
156194
|
156195