diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:43:36 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:43:36 +0000 |
| commit | 93b628b9d85a4eff7340a652a98794bcacae3d2b (patch) | |
| tree | 3e03a4915a7645ab61e1f57df94e32ec2d2d75dc /sys | |
| parent | 38fc6c1443f0136da5a2b320c579df6d93a0b8e7 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/bwi/bwimac.c | 2 | ||||
| -rw-r--r-- | sys/dev/bwi/bwiphy.c | 3 | ||||
| -rw-r--r-- | sys/dev/bwi/bwirf.c | 2 | ||||
| -rw-r--r-- | sys/dev/bwi/if_bwi.c | 2 | ||||
| -rw-r--r-- | sys/dev/bwi/if_bwi_pci.c | 3 | ||||
| -rw-r--r-- | sys/dev/bwi/if_bwireg.h | 1 |
6 files changed, 5 insertions, 8 deletions
diff --git a/sys/dev/bwi/bwimac.c b/sys/dev/bwi/bwimac.c index f998873a713b..3e77e43004fa 100644 --- a/sys/dev/bwi/bwimac.c +++ b/sys/dev/bwi/bwimac.c @@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/linker.h> #include <sys/firmware.h> - + #include <net/if.h> #include <net/if_var.h> #include <net/if_dl.h> diff --git a/sys/dev/bwi/bwiphy.c b/sys/dev/bwi/bwiphy.c index a17735590007..291e3253f502 100644 --- a/sys/dev/bwi/bwiphy.c +++ b/sys/dev/bwi/bwiphy.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sockio.h> #include <sys/sysctl.h> #include <sys/systm.h> - + #include <net/if.h> #include <net/if_var.h> #include <net/if_dl.h> @@ -88,7 +88,6 @@ static void bwi_phy_config_agc(struct bwi_mac *); static void bwi_tbl_write_2(struct bwi_mac *mac, uint16_t, uint16_t); static void bwi_tbl_write_4(struct bwi_mac *mac, uint16_t, uint32_t); - #define SUP_BPHY(num) { .rev = num, .init = bwi_phy_init_11b_rev##num } static const struct { diff --git a/sys/dev/bwi/bwirf.c b/sys/dev/bwi/bwirf.c index dbf658d5caa7..1345c64d126a 100644 --- a/sys/dev/bwi/bwirf.c +++ b/sys/dev/bwi/bwirf.c @@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sockio.h> #include <sys/sysctl.h> #include <sys/systm.h> - + #include <net/if.h> #include <net/if_var.h> #include <net/if_dl.h> diff --git a/sys/dev/bwi/if_bwi.c b/sys/dev/bwi/if_bwi.c index 2114a9ace69b..8d0233ad51d9 100644 --- a/sys/dev/bwi/if_bwi.c +++ b/sys/dev/bwi/if_bwi.c @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/systm.h> #include <sys/taskqueue.h> - + #include <net/if.h> #include <net/if_var.h> #include <net/if_dl.h> diff --git a/sys/dev/bwi/if_bwi_pci.c b/sys/dev/bwi/if_bwi_pci.c index f95ef854ceaa..d82b7d4d60de 100644 --- a/sys/dev/bwi/if_bwi_pci.c +++ b/sys/dev/bwi/if_bwi_pci.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <sys/socket.h> - + #include <net/if.h> #include <net/if_var.h> #include <net/if_media.h> @@ -246,7 +246,6 @@ static device_method_t bwi_pci_methods[] = { DEVMETHOD(device_shutdown, bwi_pci_shutdown), DEVMETHOD(device_suspend, bwi_pci_suspend), DEVMETHOD(device_resume, bwi_pci_resume), - { 0,0 } }; static driver_t bwi_driver = { diff --git a/sys/dev/bwi/if_bwireg.h b/sys/dev/bwi/if_bwireg.h index 67c80cec9615..d1d37c491634 100644 --- a/sys/dev/bwi/if_bwireg.h +++ b/sys/dev/bwi/if_bwireg.h @@ -77,7 +77,6 @@ #define BWI_CONF_LO_REQTO_MASK __BITS(6, 4) /* request timeout */ #define BWI_CONF_LO_REQTO 3 - #define BWI_ID_LO 0xff8 #define BWI_ID_LO_BUSREV_MASK __BITS(31, 28) /* Bus revision */ |
