diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 16:56:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 16:56:39 -0400 |
commit | d3ec4844d449cf7af9e749f73ba2052fb7b72fc2 (patch) | |
tree | c515913e85f7e50878c83da2a88bc5a7269d087c /drivers/net | |
parent | 0003230e8200699860f0b10af524dc47bf8aecad (diff) | |
parent | df2e301fee3c2c2a87592151397ad7699bb14c37 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
fs: Merge split strings
treewide: fix potentially dangerous trailing ';' in #defined values/expressions
uwb: Fix misspelling of neighbourhood in comment
net, netfilter: Remove redundant goto in ebt_ulog_packet
trivial: don't touch files that are removed in the staging tree
lib/vsprintf: replace link to Draft by final RFC number
doc: Kconfig: `to be' -> `be'
doc: Kconfig: Typo: square -> squared
doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
drivers/net: static should be at beginning of declaration
drivers/media: static should be at beginning of declaration
drivers/i2c: static should be at beginning of declaration
XTENSA: static should be at beginning of declaration
SH: static should be at beginning of declaration
MIPS: static should be at beginning of declaration
ARM: static should be at beginning of declaration
rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
Update my e-mail address
PCIe ASPM: forcedly -> forcibly
gma500: push through device driver tree
...
Fix up trivial conflicts:
- arch/arm/mach-ep93xx/dma-m2p.c (deleted)
- drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
- drivers/net/r8169.c (just context changes)
Diffstat (limited to 'drivers/net')
62 files changed, 75 insertions, 76 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 6c4ef966ca58..41ea84e3f69c 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 2004 Florian Schirmer (jolt@tuxbox.org) | 5 | * Copyright (C) 2004 Florian Schirmer (jolt@tuxbox.org) |
6 | * Copyright (C) 2006 Felix Fietkau (nbd@openwrt.org) | 6 | * Copyright (C) 2006 Felix Fietkau (nbd@openwrt.org) |
7 | * Copyright (C) 2006 Broadcom Corporation. | 7 | * Copyright (C) 2006 Broadcom Corporation. |
8 | * Copyright (C) 2007 Michael Buesch <mb@bu3sch.de> | 8 | * Copyright (C) 2007 Michael Buesch <m@bues.ch> |
9 | * | 9 | * |
10 | * Distribute under GPL. | 10 | * Distribute under GPL. |
11 | */ | 11 | */ |
diff --git a/drivers/net/bcm63xx_enet.c b/drivers/net/bcm63xx_enet.c index 4753bb9731f5..1d9b9858067c 100644 --- a/drivers/net/bcm63xx_enet.c +++ b/drivers/net/bcm63xx_enet.c | |||
@@ -1647,7 +1647,7 @@ static int __devinit bcm_enet_probe(struct platform_device *pdev) | |||
1647 | if (ret) | 1647 | if (ret) |
1648 | goto out; | 1648 | goto out; |
1649 | 1649 | ||
1650 | iomem_size = res_mem->end - res_mem->start + 1; | 1650 | iomem_size = resource_size(res_mem); |
1651 | if (!request_mem_region(res_mem->start, iomem_size, "bcm63xx_enet")) { | 1651 | if (!request_mem_region(res_mem->start, iomem_size, "bcm63xx_enet")) { |
1652 | ret = -EBUSY; | 1652 | ret = -EBUSY; |
1653 | goto out; | 1653 | goto out; |
@@ -1862,7 +1862,7 @@ static int __devexit bcm_enet_remove(struct platform_device *pdev) | |||
1862 | /* release device resources */ | 1862 | /* release device resources */ |
1863 | iounmap(priv->base); | 1863 | iounmap(priv->base); |
1864 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 1864 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
1865 | release_mem_region(res->start, res->end - res->start + 1); | 1865 | release_mem_region(res->start, resource_size(res)); |
1866 | 1866 | ||
1867 | /* disable hw block clocks */ | 1867 | /* disable hw block clocks */ |
1868 | if (priv->phy_clk) { | 1868 | if (priv->phy_clk) { |
@@ -1898,7 +1898,7 @@ static int __devinit bcm_enet_shared_probe(struct platform_device *pdev) | |||
1898 | if (!res) | 1898 | if (!res) |
1899 | return -ENODEV; | 1899 | return -ENODEV; |
1900 | 1900 | ||
1901 | iomem_size = res->end - res->start + 1; | 1901 | iomem_size = resource_size(res); |
1902 | if (!request_mem_region(res->start, iomem_size, "bcm63xx_enet_dma")) | 1902 | if (!request_mem_region(res->start, iomem_size, "bcm63xx_enet_dma")) |
1903 | return -EBUSY; | 1903 | return -EBUSY; |
1904 | 1904 | ||
@@ -1916,7 +1916,7 @@ static int __devexit bcm_enet_shared_remove(struct platform_device *pdev) | |||
1916 | 1916 | ||
1917 | iounmap(bcm_enet_shared_base); | 1917 | iounmap(bcm_enet_shared_base); |
1918 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 1918 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
1919 | release_mem_region(res->start, res->end - res->start + 1); | 1919 | release_mem_region(res->start, resource_size(res)); |
1920 | return 0; | 1920 | return 0; |
1921 | } | 1921 | } |
1922 | 1922 | ||
diff --git a/drivers/net/bsd_comp.c b/drivers/net/bsd_comp.c index 6e99d80ec409..a9b759add187 100644 --- a/drivers/net/bsd_comp.c +++ b/drivers/net/bsd_comp.c | |||
@@ -201,7 +201,7 @@ extern void ppp_unregister_compressor (struct compressor *cp); | |||
201 | #define LAST 255 | 201 | #define LAST 255 |
202 | 202 | ||
203 | #define MAXCODE(b) ((1 << (b)) - 1) | 203 | #define MAXCODE(b) ((1 << (b)) - 1) |
204 | #define BADCODEM1 MAXCODE(MAX_BSD_BITS); | 204 | #define BADCODEM1 MAXCODE(MAX_BSD_BITS) |
205 | 205 | ||
206 | #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ | 206 | #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ |
207 | ^ (unsigned long)(prefix)) | 207 | ^ (unsigned long)(prefix)) |
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index a79925e72d66..09a8b86cf1ac 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -799,7 +799,7 @@ static __devinit int softing_pdev_probe(struct platform_device *pdev) | |||
799 | if (!pres) | 799 | if (!pres) |
800 | goto platform_resource_failed; | 800 | goto platform_resource_failed; |
801 | card->dpram_phys = pres->start; | 801 | card->dpram_phys = pres->start; |
802 | card->dpram_size = pres->end - pres->start + 1; | 802 | card->dpram_size = resource_size(pres); |
803 | card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size); | 803 | card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size); |
804 | if (!card->dpram) { | 804 | if (!card->dpram) { |
805 | dev_alert(&card->pdev->dev, "dpram ioremap failed\n"); | 805 | dev_alert(&card->pdev->dev, "dpram ioremap failed\n"); |
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index acef7e96c9fd..3f451e4d8361 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c | |||
@@ -1822,7 +1822,7 @@ static int __devinit davinci_emac_probe(struct platform_device *pdev) | |||
1822 | } | 1822 | } |
1823 | 1823 | ||
1824 | priv->emac_base_phys = res->start + pdata->ctrl_reg_offset; | 1824 | priv->emac_base_phys = res->start + pdata->ctrl_reg_offset; |
1825 | size = res->end - res->start + 1; | 1825 | size = resource_size(res); |
1826 | if (!request_mem_region(res->start, size, ndev->name)) { | 1826 | if (!request_mem_region(res->start, size, ndev->name)) { |
1827 | dev_err(&pdev->dev, "failed request_mem_region() for regs\n"); | 1827 | dev_err(&pdev->dev, "failed request_mem_region() for regs\n"); |
1828 | rc = -ENXIO; | 1828 | rc = -ENXIO; |
@@ -1927,7 +1927,7 @@ no_irq_res: | |||
1927 | cpdma_ctlr_destroy(priv->dma); | 1927 | cpdma_ctlr_destroy(priv->dma); |
1928 | no_dma: | 1928 | no_dma: |
1929 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 1929 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
1930 | release_mem_region(res->start, res->end - res->start + 1); | 1930 | release_mem_region(res->start, resource_size(res)); |
1931 | iounmap(priv->remap_addr); | 1931 | iounmap(priv->remap_addr); |
1932 | 1932 | ||
1933 | probe_quit: | 1933 | probe_quit: |
@@ -1961,7 +1961,7 @@ static int __devexit davinci_emac_remove(struct platform_device *pdev) | |||
1961 | cpdma_chan_destroy(priv->rxchan); | 1961 | cpdma_chan_destroy(priv->rxchan); |
1962 | cpdma_ctlr_destroy(priv->dma); | 1962 | cpdma_ctlr_destroy(priv->dma); |
1963 | 1963 | ||
1964 | release_mem_region(res->start, res->end - res->start + 1); | 1964 | release_mem_region(res->start, resource_size(res)); |
1965 | 1965 | ||
1966 | unregister_netdev(ndev); | 1966 | unregister_netdev(ndev); |
1967 | iounmap(priv->remap_addr); | 1967 | iounmap(priv->remap_addr); |
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 48ee51bb9e50..a19228563efd 100644 --- a/drivers/net/eexpress.c +++ b/drivers/net/eexpress.c | |||
@@ -365,7 +365,7 @@ static int __init do_express_probe(struct net_device *dev) | |||
365 | dev->irq = mca_irqmap[(pos1>>4)&0x7]; | 365 | dev->irq = mca_irqmap[(pos1>>4)&0x7]; |
366 | 366 | ||
367 | /* | 367 | /* |
368 | * XXX: Transciever selection is done | 368 | * XXX: Transceiver selection is done |
369 | * differently on the MCA version. | 369 | * differently on the MCA version. |
370 | * How to get it to select something | 370 | * How to get it to select something |
371 | * other than external/AUI is currently | 371 | * other than external/AUI is currently |
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index 0da6295d9da6..8abbe1d82826 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c | |||
@@ -968,7 +968,7 @@ static int __devinit ethoc_probe(struct platform_device *pdev) | |||
968 | priv = netdev_priv(netdev); | 968 | priv = netdev_priv(netdev); |
969 | priv->netdev = netdev; | 969 | priv->netdev = netdev; |
970 | priv->dma_alloc = 0; | 970 | priv->dma_alloc = 0; |
971 | priv->io_region_size = mmio->end - mmio->start + 1; | 971 | priv->io_region_size = resource_size(mmio); |
972 | 972 | ||
973 | priv->iobase = devm_ioremap_nocache(&pdev->dev, netdev->base_addr, | 973 | priv->iobase = devm_ioremap_nocache(&pdev->dev, netdev->base_addr, |
974 | resource_size(mmio)); | 974 | resource_size(mmio)); |
diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c index 381bdea97d5f..cb4416e591f1 100644 --- a/drivers/net/fec_mpc52xx.c +++ b/drivers/net/fec_mpc52xx.c | |||
@@ -871,10 +871,11 @@ static int __devinit mpc52xx_fec_probe(struct platform_device *op) | |||
871 | "Error while parsing device node resource\n" ); | 871 | "Error while parsing device node resource\n" ); |
872 | goto err_netdev; | 872 | goto err_netdev; |
873 | } | 873 | } |
874 | if ((mem.end - mem.start + 1) < sizeof(struct mpc52xx_fec)) { | 874 | if (resource_size(&mem) < sizeof(struct mpc52xx_fec)) { |
875 | printk(KERN_ERR DRIVER_NAME | 875 | printk(KERN_ERR DRIVER_NAME |
876 | " - invalid resource size (%lx < %x), check mpc52xx_devices.c\n", | 876 | " - invalid resource size (%lx < %x), check mpc52xx_devices.c\n", |
877 | (unsigned long)(mem.end - mem.start + 1), sizeof(struct mpc52xx_fec)); | 877 | (unsigned long)resource_size(&mem), |
878 | sizeof(struct mpc52xx_fec)); | ||
878 | rv = -EINVAL; | 879 | rv = -EINVAL; |
879 | goto err_netdev; | 880 | goto err_netdev; |
880 | } | 881 | } |
diff --git a/drivers/net/fs_enet/mii-bitbang.c b/drivers/net/fs_enet/mii-bitbang.c index ad2975440719..b09270b5d0a5 100644 --- a/drivers/net/fs_enet/mii-bitbang.c +++ b/drivers/net/fs_enet/mii-bitbang.c | |||
@@ -120,7 +120,7 @@ static int __devinit fs_mii_bitbang_init(struct mii_bus *bus, | |||
120 | if (ret) | 120 | if (ret) |
121 | return ret; | 121 | return ret; |
122 | 122 | ||
123 | if (res.end - res.start < 13) | 123 | if (resource_size(&res) <= 13) |
124 | return -ENODEV; | 124 | return -ENODEV; |
125 | 125 | ||
126 | /* This should really encode the pin number as well, but all | 126 | /* This should really encode the pin number as well, but all |
@@ -139,7 +139,7 @@ static int __devinit fs_mii_bitbang_init(struct mii_bus *bus, | |||
139 | return -ENODEV; | 139 | return -ENODEV; |
140 | mdc_pin = *data; | 140 | mdc_pin = *data; |
141 | 141 | ||
142 | bitbang->dir = ioremap(res.start, res.end - res.start + 1); | 142 | bitbang->dir = ioremap(res.start, resource_size(&res)); |
143 | if (!bitbang->dir) | 143 | if (!bitbang->dir) |
144 | return -ENOMEM; | 144 | return -ENOMEM; |
145 | 145 | ||
diff --git a/drivers/net/fs_enet/mii-fec.c b/drivers/net/fs_enet/mii-fec.c index 6a2e150e75bb..e0e9d6c35d83 100644 --- a/drivers/net/fs_enet/mii-fec.c +++ b/drivers/net/fs_enet/mii-fec.c | |||
@@ -136,7 +136,7 @@ static int __devinit fs_enet_mdio_probe(struct platform_device *ofdev) | |||
136 | 136 | ||
137 | snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", res.start); | 137 | snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", res.start); |
138 | 138 | ||
139 | fec->fecp = ioremap(res.start, res.end - res.start + 1); | 139 | fec->fecp = ioremap(res.start, resource_size(&res)); |
140 | if (!fec->fecp) | 140 | if (!fec->fecp) |
141 | goto out_fec; | 141 | goto out_fec; |
142 | 142 | ||
diff --git a/drivers/net/gianfar_ptp.c b/drivers/net/gianfar_ptp.c index d8e175382d1d..1c97861596f0 100644 --- a/drivers/net/gianfar_ptp.c +++ b/drivers/net/gianfar_ptp.c | |||
@@ -491,7 +491,7 @@ static int gianfar_ptp_probe(struct platform_device *dev) | |||
491 | spin_lock_init(&etsects->lock); | 491 | spin_lock_init(&etsects->lock); |
492 | 492 | ||
493 | etsects->regs = ioremap(etsects->rsrc->start, | 493 | etsects->regs = ioremap(etsects->rsrc->start, |
494 | 1 + etsects->rsrc->end - etsects->rsrc->start); | 494 | resource_size(etsects->rsrc)); |
495 | if (!etsects->regs) { | 495 | if (!etsects->regs) { |
496 | pr_err("ioremap ptp registers failed\n"); | 496 | pr_err("ioremap ptp registers failed\n"); |
497 | goto no_ioremap; | 497 | goto no_ioremap; |
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 079450fe5e96..725399ea0690 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -2770,7 +2770,7 @@ static int __devinit emac_probe(struct platform_device *ofdev) | |||
2770 | } | 2770 | } |
2771 | // TODO : request_mem_region | 2771 | // TODO : request_mem_region |
2772 | dev->emacp = ioremap(dev->rsrc_regs.start, | 2772 | dev->emacp = ioremap(dev->rsrc_regs.start, |
2773 | dev->rsrc_regs.end - dev->rsrc_regs.start + 1); | 2773 | resource_size(&dev->rsrc_regs)); |
2774 | if (dev->emacp == NULL) { | 2774 | if (dev->emacp == NULL) { |
2775 | printk(KERN_ERR "%s: Can't map device registers!\n", | 2775 | printk(KERN_ERR "%s: Can't map device registers!\n", |
2776 | np->full_name); | 2776 | np->full_name); |
diff --git a/drivers/net/irda/toim3232-sir.c b/drivers/net/irda/toim3232-sir.c index 99e1ec02a011..19ad4606b799 100644 --- a/drivers/net/irda/toim3232-sir.c +++ b/drivers/net/irda/toim3232-sir.c | |||
@@ -78,7 +78,7 @@ | |||
78 | * Target hardware: IRWave IR320ST-2 | 78 | * Target hardware: IRWave IR320ST-2 |
79 | * | 79 | * |
80 | * The IRWave IR320ST-2 is a simple dongle based on the Vishay/Temic | 80 | * The IRWave IR320ST-2 is a simple dongle based on the Vishay/Temic |
81 | * TOIM3232 SIR Endec and the Vishay/Temic TFDS4500 SIR IRDA transciever. | 81 | * TOIM3232 SIR Endec and the Vishay/Temic TFDS4500 SIR IRDA transceiver. |
82 | * It uses a hex inverter and some discrete components to buffer and | 82 | * It uses a hex inverter and some discrete components to buffer and |
83 | * line convert the RS232 down to 5V. | 83 | * line convert the RS232 down to 5V. |
84 | * | 84 | * |
diff --git a/drivers/net/macb.c b/drivers/net/macb.c index dcf6011b136c..0fcdc25699d8 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c | |||
@@ -1172,7 +1172,7 @@ static int __init macb_probe(struct platform_device *pdev) | |||
1172 | clk_enable(bp->hclk); | 1172 | clk_enable(bp->hclk); |
1173 | #endif | 1173 | #endif |
1174 | 1174 | ||
1175 | bp->regs = ioremap(regs->start, regs->end - regs->start + 1); | 1175 | bp->regs = ioremap(regs->start, resource_size(regs)); |
1176 | if (!bp->regs) { | 1176 | if (!bp->regs) { |
1177 | dev_err(&pdev->dev, "failed to map registers, aborting.\n"); | 1177 | dev_err(&pdev->dev, "failed to map registers, aborting.\n"); |
1178 | err = -ENOMEM; | 1178 | err = -ENOMEM; |
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 77dc6abe1867..259699983ca5 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -2597,7 +2597,7 @@ static int mv643xx_eth_shared_probe(struct platform_device *pdev) | |||
2597 | if (msp == NULL) | 2597 | if (msp == NULL) |
2598 | goto out; | 2598 | goto out; |
2599 | 2599 | ||
2600 | msp->base = ioremap(res->start, res->end - res->start + 1); | 2600 | msp->base = ioremap(res->start, resource_size(res)); |
2601 | if (msp->base == NULL) | 2601 | if (msp->base == NULL) |
2602 | goto out_free; | 2602 | goto out_free; |
2603 | 2603 | ||
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 60f46bc2bf64..2962cc695ce3 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c | |||
@@ -1382,7 +1382,7 @@ static int find_mii(struct net_device *dev) | |||
1382 | /* WCSR bits [0:4] [9:10] */ | 1382 | /* WCSR bits [0:4] [9:10] */ |
1383 | #define WCSR_RESET_SAVE 0x61f | 1383 | #define WCSR_RESET_SAVE 0x61f |
1384 | /* RFCR bits [20] [22] [27:31] */ | 1384 | /* RFCR bits [20] [22] [27:31] */ |
1385 | #define RFCR_RESET_SAVE 0xf8500000; | 1385 | #define RFCR_RESET_SAVE 0xf8500000 |
1386 | 1386 | ||
1387 | static void natsemi_reset(struct net_device *dev) | 1387 | static void natsemi_reset(struct net_device *dev) |
1388 | { | 1388 | { |
@@ -2920,7 +2920,7 @@ static int netdev_set_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd) | |||
2920 | 2920 | ||
2921 | /* | 2921 | /* |
2922 | * If we're ignoring the PHY then autoneg and the internal | 2922 | * If we're ignoring the PHY then autoneg and the internal |
2923 | * transciever are really not going to work so don't let the | 2923 | * transceiver are really not going to work so don't let the |
2924 | * user select them. | 2924 | * user select them. |
2925 | */ | 2925 | */ |
2926 | if (np->ignore_phy && (ecmd->autoneg == AUTONEG_ENABLE || | 2926 | if (np->ignore_phy && (ecmd->autoneg == AUTONEG_ENABLE || |
diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c index c1bb05be7a7c..1a3033d8e7ed 100644 --- a/drivers/net/pxa168_eth.c +++ b/drivers/net/pxa168_eth.c | |||
@@ -1505,7 +1505,7 @@ static int pxa168_eth_probe(struct platform_device *pdev) | |||
1505 | err = -ENODEV; | 1505 | err = -ENODEV; |
1506 | goto err_netdev; | 1506 | goto err_netdev; |
1507 | } | 1507 | } |
1508 | pep->base = ioremap(res->start, res->end - res->start + 1); | 1508 | pep->base = ioremap(res->start, resource_size(res)); |
1509 | if (pep->base == NULL) { | 1509 | if (pep->base == NULL) { |
1510 | err = -ENOMEM; | 1510 | err = -ENOMEM; |
1511 | goto err_netdev; | 1511 | goto err_netdev; |
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 4e2d1448093c..7d9c650f395e 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -694,7 +694,7 @@ struct rtl8169_private { | |||
694 | size_t size; | 694 | size_t size; |
695 | } phy_action; | 695 | } phy_action; |
696 | } *rtl_fw; | 696 | } *rtl_fw; |
697 | #define RTL_FIRMWARE_UNKNOWN ERR_PTR(-EAGAIN); | 697 | #define RTL_FIRMWARE_UNKNOWN ERR_PTR(-EAGAIN) |
698 | }; | 698 | }; |
699 | 699 | ||
700 | MODULE_AUTHOR("Realtek and the Linux r8169 crew <netdev@vger.kernel.org>"); | 700 | MODULE_AUTHOR("Realtek and the Linux r8169 crew <netdev@vger.kernel.org>"); |
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index ae3c8e79b32f..d5596926a1ef 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -967,8 +967,8 @@ struct s2io_nic { | |||
967 | u8 serial_num[VPD_STRING_LEN]; | 967 | u8 serial_num[VPD_STRING_LEN]; |
968 | }; | 968 | }; |
969 | 969 | ||
970 | #define RESET_ERROR 1; | 970 | #define RESET_ERROR 1 |
971 | #define CMD_ERROR 2; | 971 | #define CMD_ERROR 2 |
972 | 972 | ||
973 | /* OS related system calls */ | 973 | /* OS related system calls */ |
974 | #ifndef readq | 974 | #ifndef readq |
diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c index 68d50429ddf3..ea65f7ec360a 100644 --- a/drivers/net/sb1250-mac.c +++ b/drivers/net/sb1250-mac.c | |||
@@ -2597,7 +2597,7 @@ static int __devinit sbmac_probe(struct platform_device *pldev) | |||
2597 | 2597 | ||
2598 | res = platform_get_resource(pldev, IORESOURCE_MEM, 0); | 2598 | res = platform_get_resource(pldev, IORESOURCE_MEM, 0); |
2599 | BUG_ON(!res); | 2599 | BUG_ON(!res); |
2600 | sbm_base = ioremap_nocache(res->start, res->end - res->start + 1); | 2600 | sbm_base = ioremap_nocache(res->start, resource_size(res)); |
2601 | if (!sbm_base) { | 2601 | if (!sbm_base) { |
2602 | printk(KERN_ERR "%s: unable to map device registers\n", | 2602 | printk(KERN_ERR "%s: unable to map device registers\n", |
2603 | dev_name(&pldev->dev)); | 2603 | dev_name(&pldev->dev)); |
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index ade35dde5b51..be745ae8f4e3 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -46,15 +46,14 @@ | |||
46 | #include <asm/byteorder.h> | 46 | #include <asm/byteorder.h> |
47 | #include <asm/uaccess.h> | 47 | #include <asm/uaccess.h> |
48 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
49 | #include <asm/prom.h> | ||
49 | 50 | ||
50 | #ifdef CONFIG_SPARC | 51 | #ifdef CONFIG_SPARC |
51 | #include <asm/idprom.h> | 52 | #include <asm/idprom.h> |
52 | #include <asm/prom.h> | ||
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | #ifdef CONFIG_PPC_PMAC | 55 | #ifdef CONFIG_PPC_PMAC |
56 | #include <asm/pci-bridge.h> | 56 | #include <asm/pci-bridge.h> |
57 | #include <asm/prom.h> | ||
58 | #include <asm/machdep.h> | 57 | #include <asm/machdep.h> |
59 | #include <asm/pmac_feature.h> | 58 | #include <asm/pmac_feature.h> |
60 | #endif | 59 | #endif |
diff --git a/drivers/net/wan/lmc/lmc_var.h b/drivers/net/wan/lmc/lmc_var.h index 01ad45218d19..a1d202d8ad67 100644 --- a/drivers/net/wan/lmc/lmc_var.h +++ b/drivers/net/wan/lmc/lmc_var.h | |||
@@ -380,7 +380,7 @@ struct lmc___softc { | |||
380 | /* CSR6 settings */ | 380 | /* CSR6 settings */ |
381 | #define OPERATION_MODE 0x00000200 /* Full Duplex */ | 381 | #define OPERATION_MODE 0x00000200 /* Full Duplex */ |
382 | #define PROMISC_MODE 0x00000040 /* Promiscuous Mode */ | 382 | #define PROMISC_MODE 0x00000040 /* Promiscuous Mode */ |
383 | #define RECIEVE_ALL 0x40000000 /* Receive All */ | 383 | #define RECEIVE_ALL 0x40000000 /* Receive All */ |
384 | #define PASS_BAD_FRAMES 0x00000008 /* Pass Bad Frames */ | 384 | #define PASS_BAD_FRAMES 0x00000008 /* Pass Bad Frames */ |
385 | 385 | ||
386 | /* Dec control registers CSR6 as well */ | 386 | /* Dec control registers CSR6 as well */ |
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index 9f69a4c9a3f3..a2a167363dbf 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include "debug.h" | 24 | #include "debug.h" |
25 | #include "base.h" | 25 | #include "base.h" |
26 | #include "reg.h" | 26 | #include "reg.h" |
27 | #include "debug.h" | ||
28 | 27 | ||
29 | /* return bus cachesize in 4B word units */ | 28 | /* return bus cachesize in 4B word units */ |
30 | static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) | 29 | static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) |
diff --git a/drivers/net/wireless/b43/debugfs.c b/drivers/net/wireless/b43/debugfs.c index 59f59fa40334..e751fdee89b2 100644 --- a/drivers/net/wireless/b43/debugfs.c +++ b/drivers/net/wireless/b43/debugfs.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | debugfs driver debugging code | 5 | debugfs driver debugging code |
6 | 6 | ||
7 | Copyright (c) 2005-2007 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c index 0953ce1ac1b0..83cba22ac6e8 100644 --- a/drivers/net/wireless/b43/dma.c +++ b/drivers/net/wireless/b43/dma.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | DMA ringbuffer and descriptor allocation/management | 5 | DMA ringbuffer and descriptor allocation/management |
6 | 6 | ||
7 | Copyright (c) 2005, 2006 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005, 2006 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | Some code in this file is derived from the b44.c driver | 9 | Some code in this file is derived from the b44.c driver |
10 | Copyright (C) 2002 David S. Miller | 10 | Copyright (C) 2002 David S. Miller |
diff --git a/drivers/net/wireless/b43/leds.c b/drivers/net/wireless/b43/leds.c index b56ed41fc1bd..a38c1c6446ad 100644 --- a/drivers/net/wireless/b43/leds.c +++ b/drivers/net/wireless/b43/leds.c | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
7 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> | 7 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> |
8 | Copyright (c) 2005-2007 Michael Buesch <mb@bu3sch.de> | 8 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
11 | 11 | ||
diff --git a/drivers/net/wireless/b43/lo.c b/drivers/net/wireless/b43/lo.c index a3dc8bb8ca95..4c82d582a524 100644 --- a/drivers/net/wireless/b43/lo.c +++ b/drivers/net/wireless/b43/lo.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 7 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
8 | Copyright (c) 2005, 2006 Stefano Brivio <stefano.brivio@polimi.it> | 8 | Copyright (c) 2005, 2006 Stefano Brivio <stefano.brivio@polimi.it> |
9 | Copyright (c) 2005-2007 Michael Buesch <mb@bu3sch.de> | 9 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
10 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
11 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
12 | 12 | ||
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 73fbf0358f96..032d46674f6b 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> |
6 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> | 6 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> |
7 | Copyright (c) 2005-2009 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005-2009 Michael Buesch <m@bues.ch> |
8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | 10 | ||
diff --git a/drivers/net/wireless/b43/main.h b/drivers/net/wireless/b43/main.h index e4ebce9be592..8c684cd33529 100644 --- a/drivers/net/wireless/b43/main.h +++ b/drivers/net/wireless/b43/main.h | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Stefano Brivio <stefano.brivio@polimi.it> | 6 | Stefano Brivio <stefano.brivio@polimi.it> |
7 | Michael Buesch <mb@bu3sch.de> | 7 | Michael Buesch <m@bues.ch> |
8 | Danny van Dyk <kugelfang@gentoo.org> | 8 | Danny van Dyk <kugelfang@gentoo.org> |
9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | 10 | ||
diff --git a/drivers/net/wireless/b43/pcmcia.c b/drivers/net/wireless/b43/pcmcia.c index 2c8461dcf1b0..12b6b4067a39 100644 --- a/drivers/net/wireless/b43/pcmcia.c +++ b/drivers/net/wireless/b43/pcmcia.c | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | 4 | ||
5 | Copyright (c) 2007 Michael Buesch <mb@bu3sch.de> | 5 | Copyright (c) 2007 Michael Buesch <m@bues.ch> |
6 | 6 | ||
7 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/phy_a.c b/drivers/net/wireless/b43/phy_a.c index 73ace5552bad..a6c38104693d 100644 --- a/drivers/net/wireless/b43/phy_a.c +++ b/drivers/net/wireless/b43/phy_a.c | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> | 7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> |
8 | Copyright (c) 2005-2008 Michael Buesch <mb@bu3sch.de> | 8 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> |
9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
11 | 11 | ||
diff --git a/drivers/net/wireless/b43/phy_common.c b/drivers/net/wireless/b43/phy_common.c index 101957512bcc..07f009ff5ee2 100644 --- a/drivers/net/wireless/b43/phy_common.c +++ b/drivers/net/wireless/b43/phy_common.c | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> | 7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> |
8 | Copyright (c) 2005-2008 Michael Buesch <mb@bu3sch.de> | 8 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> |
9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
11 | 11 | ||
diff --git a/drivers/net/wireless/b43/phy_g.c b/drivers/net/wireless/b43/phy_g.c index 83532d19347f..8e157bc213f3 100644 --- a/drivers/net/wireless/b43/phy_g.c +++ b/drivers/net/wireless/b43/phy_g.c | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> | 7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> |
8 | Copyright (c) 2005-2008 Michael Buesch <mb@bu3sch.de> | 8 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> |
9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
11 | 11 | ||
diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c index daec1d9e4a18..f93d66b1817b 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | IEEE 802.11a/g LP-PHY driver | 4 | IEEE 802.11a/g LP-PHY driver |
5 | 5 | ||
6 | Copyright (c) 2008-2009 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2008-2009 Michael Buesch <m@bues.ch> |
7 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> | 7 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 1ae1e84cb4d1..3b46360da99b 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | IEEE 802.11n PHY support | 4 | IEEE 802.11n PHY support |
5 | 5 | ||
6 | Copyright (c) 2008 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2008 Michael Buesch <m@bues.ch> |
7 | 7 | ||
8 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/pio.c b/drivers/net/wireless/b43/pio.c index 44da620d9cc2..6e4228c3ed1b 100644 --- a/drivers/net/wireless/b43/pio.c +++ b/drivers/net/wireless/b43/pio.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | PIO data transfer | 5 | PIO data transfer |
6 | 6 | ||
7 | Copyright (c) 2005-2008 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/radio_2055.c b/drivers/net/wireless/b43/radio_2055.c index 44c6dea66882..93643f18c2b3 100644 --- a/drivers/net/wireless/b43/radio_2055.c +++ b/drivers/net/wireless/b43/radio_2055.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | IEEE 802.11n PHY and radio device data tables | 4 | IEEE 802.11n PHY and radio device data tables |
5 | 5 | ||
6 | Copyright (c) 2008 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2008 Michael Buesch <m@bues.ch> |
7 | 7 | ||
8 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/rfkill.c b/drivers/net/wireless/b43/rfkill.c index 59c3afe047af..70c2fcedd1bb 100644 --- a/drivers/net/wireless/b43/rfkill.c +++ b/drivers/net/wireless/b43/rfkill.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | RFKILL support | 4 | RFKILL support |
5 | 5 | ||
6 | Copyright (c) 2007 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2007 Michael Buesch <m@bues.ch> |
7 | 7 | ||
8 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/sdio.c b/drivers/net/wireless/b43/sdio.c index 4fd6775b8c33..80b0755ed3af 100644 --- a/drivers/net/wireless/b43/sdio.c +++ b/drivers/net/wireless/b43/sdio.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SDIO over Sonics Silicon Backplane bus glue for b43. | 4 | * SDIO over Sonics Silicon Backplane bus glue for b43. |
5 | * | 5 | * |
6 | * Copyright (C) 2009 Albert Herranz | 6 | * Copyright (C) 2009 Albert Herranz |
7 | * Copyright (C) 2009 Michael Buesch <mb@bu3sch.de> | 7 | * Copyright (C) 2009 Michael Buesch <m@bues.ch> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/sysfs.c b/drivers/net/wireless/b43/sysfs.c index f1ae4e05a32c..8e8431d4eb0c 100644 --- a/drivers/net/wireless/b43/sysfs.c +++ b/drivers/net/wireless/b43/sysfs.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | SYSFS support routines | 5 | SYSFS support routines |
6 | 6 | ||
7 | Copyright (c) 2006 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2006 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/tables.c b/drivers/net/wireless/b43/tables.c index 1ef9a6463ec6..ea288df8aee9 100644 --- a/drivers/net/wireless/b43/tables.c +++ b/drivers/net/wireless/b43/tables.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> | 6 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> |
7 | Copyright (c) 2006, 2006 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2006, 2006 Michael Buesch <m@bues.ch> |
8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | 10 | ||
diff --git a/drivers/net/wireless/b43/tables_lpphy.c b/drivers/net/wireless/b43/tables_lpphy.c index 6748c5a196e9..cff187c5616d 100644 --- a/drivers/net/wireless/b43/tables_lpphy.c +++ b/drivers/net/wireless/b43/tables_lpphy.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | IEEE 802.11a/g LP-PHY and radio device data tables | 4 | IEEE 802.11a/g LP-PHY and radio device data tables |
5 | 5 | ||
6 | Copyright (c) 2009 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2009 Michael Buesch <m@bues.ch> |
7 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> | 7 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
diff --git a/drivers/net/wireless/b43/tables_nphy.c b/drivers/net/wireless/b43/tables_nphy.c index 2de483b3d3ba..916f238a71df 100644 --- a/drivers/net/wireless/b43/tables_nphy.c +++ b/drivers/net/wireless/b43/tables_nphy.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | IEEE 802.11n PHY data tables | 4 | IEEE 802.11n PHY data tables |
5 | 5 | ||
6 | Copyright (c) 2008 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2008 Michael Buesch <m@bues.ch> |
7 | 7 | ||
8 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/wa.c b/drivers/net/wireless/b43/wa.c index 5d00d0eaf2e7..9b1a038be08b 100644 --- a/drivers/net/wireless/b43/wa.c +++ b/drivers/net/wireless/b43/wa.c | |||
@@ -5,7 +5,7 @@ | |||
5 | PHY workarounds. | 5 | PHY workarounds. |
6 | 6 | ||
7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> | 7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> |
8 | Copyright (c) 2005-2007 Michael Buesch <mbuesch@freenet.de> | 8 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
9 | 9 | ||
10 | This program is free software; you can redistribute it and/or modify | 10 | This program is free software; you can redistribute it and/or modify |
11 | it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c index 82bcf7595139..b74f25ec1ab4 100644 --- a/drivers/net/wireless/b43/xmit.c +++ b/drivers/net/wireless/b43/xmit.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> | 7 | Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> |
8 | Copyright (C) 2005 Stefano Brivio <stefano.brivio@polimi.it> | 8 | Copyright (C) 2005 Stefano Brivio <stefano.brivio@polimi.it> |
9 | Copyright (C) 2005, 2006 Michael Buesch <mb@bu3sch.de> | 9 | Copyright (C) 2005, 2006 Michael Buesch <m@bues.ch> |
10 | Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org> |
11 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
12 | 12 | ||
diff --git a/drivers/net/wireless/b43legacy/debugfs.c b/drivers/net/wireless/b43legacy/debugfs.c index f232618f2cd1..5e28ad0d6d17 100644 --- a/drivers/net/wireless/b43legacy/debugfs.c +++ b/drivers/net/wireless/b43legacy/debugfs.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | debugfs driver debugging code | 5 | debugfs driver debugging code |
6 | 6 | ||
7 | Copyright (c) 2005-2007 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43legacy/dma.c b/drivers/net/wireless/b43legacy/dma.c index 704ee62101bd..5010c477abdf 100644 --- a/drivers/net/wireless/b43legacy/dma.c +++ b/drivers/net/wireless/b43legacy/dma.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | DMA ringbuffer and descriptor allocation/management | 5 | DMA ringbuffer and descriptor allocation/management |
6 | 6 | ||
7 | Copyright (c) 2005, 2006 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005, 2006 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | Some code in this file is derived from the b44.c driver | 9 | Some code in this file is derived from the b44.c driver |
10 | Copyright (C) 2002 David S. Miller | 10 | Copyright (C) 2002 David S. Miller |
diff --git a/drivers/net/wireless/b43legacy/ilt.c b/drivers/net/wireless/b43legacy/ilt.c index a849078aea69..ee5682e54204 100644 --- a/drivers/net/wireless/b43legacy/ilt.c +++ b/drivers/net/wireless/b43legacy/ilt.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Stefano Brivio <stefano.brivio@polimi.it> | 6 | Stefano Brivio <stefano.brivio@polimi.it> |
7 | Michael Buesch <mbuesch@freenet.de> | 7 | Michael Buesch <m@bues.ch> |
8 | Danny van Dyk <kugelfang@gentoo.org> | 8 | Danny van Dyk <kugelfang@gentoo.org> |
9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | 10 | ||
diff --git a/drivers/net/wireless/b43legacy/leds.c b/drivers/net/wireless/b43legacy/leds.c index 37e9be893560..2f1bfdc44f94 100644 --- a/drivers/net/wireless/b43legacy/leds.c +++ b/drivers/net/wireless/b43legacy/leds.c | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 6 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
7 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> | 7 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> |
8 | Copyright (c) 2005-2007 Michael Buesch <mb@bu3sch.de> | 8 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
11 | 11 | ||
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index d6db6c17da4f..04c03b212a5e 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> | 5 | * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> |
6 | * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it> | 6 | * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it> |
7 | * Copyright (c) 2005, 2006 Michael Buesch <mb@bu3sch.de> | 7 | * Copyright (c) 2005, 2006 Michael Buesch <m@bues.ch> |
8 | * Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 8 | * Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
9 | * Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | * Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | * Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 10 | * Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
diff --git a/drivers/net/wireless/b43legacy/main.h b/drivers/net/wireless/b43legacy/main.h index 1f0e2e379b02..b74a058d7bac 100644 --- a/drivers/net/wireless/b43legacy/main.h +++ b/drivers/net/wireless/b43legacy/main.h | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> | 6 | Copyright (c) 2005 Stefano Brivio <stefano.brivio@polimi.it> |
7 | Copyright (c) 2005, 2006 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005, 2006 Michael Buesch <m@bues.ch> |
8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
diff --git a/drivers/net/wireless/b43legacy/phy.c b/drivers/net/wireless/b43legacy/phy.c index 28e477d01587..96faaef3661b 100644 --- a/drivers/net/wireless/b43legacy/phy.c +++ b/drivers/net/wireless/b43legacy/phy.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Stefano Brivio <stefano.brivio@polimi.it> | 6 | Stefano Brivio <stefano.brivio@polimi.it> |
7 | Michael Buesch <mbuesch@freenet.de> | 7 | Michael Buesch <m@bues.ch> |
8 | Danny van Dyk <kugelfang@gentoo.org> | 8 | Danny van Dyk <kugelfang@gentoo.org> |
9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
diff --git a/drivers/net/wireless/b43legacy/phy.h b/drivers/net/wireless/b43legacy/phy.h index ecbe409f9a94..831a7a4760e5 100644 --- a/drivers/net/wireless/b43legacy/phy.h +++ b/drivers/net/wireless/b43legacy/phy.h | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Stefano Brivio <stefano.brivio@polimi.it> | 6 | Stefano Brivio <stefano.brivio@polimi.it> |
7 | Michael Buesch <mbuesch@freenet.de> | 7 | Michael Buesch <m@bues.ch> |
8 | Danny van Dyk <kugelfang@gentoo.org> | 8 | Danny van Dyk <kugelfang@gentoo.org> |
9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
diff --git a/drivers/net/wireless/b43legacy/pio.c b/drivers/net/wireless/b43legacy/pio.c index b033b0ed4ca0..192251adf986 100644 --- a/drivers/net/wireless/b43legacy/pio.c +++ b/drivers/net/wireless/b43legacy/pio.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | PIO Transmission | 5 | PIO Transmission |
6 | 6 | ||
7 | Copyright (c) 2005 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2005 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43legacy/radio.c b/drivers/net/wireless/b43legacy/radio.c index 2df545cfad14..475eb14e665b 100644 --- a/drivers/net/wireless/b43legacy/radio.c +++ b/drivers/net/wireless/b43legacy/radio.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Stefano Brivio <stefano.brivio@polimi.it> | 6 | Stefano Brivio <stefano.brivio@polimi.it> |
7 | Michael Buesch <mbuesch@freenet.de> | 7 | Michael Buesch <m@bues.ch> |
8 | Danny van Dyk <kugelfang@gentoo.org> | 8 | Danny van Dyk <kugelfang@gentoo.org> |
9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 10 | Copyright (c) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
diff --git a/drivers/net/wireless/b43legacy/radio.h b/drivers/net/wireless/b43legacy/radio.h index ec4de2811c52..bccb3d7da682 100644 --- a/drivers/net/wireless/b43legacy/radio.h +++ b/drivers/net/wireless/b43legacy/radio.h | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, | 5 | Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, |
6 | Stefano Brivio <stefano.brivio@polimi.it> | 6 | Stefano Brivio <stefano.brivio@polimi.it> |
7 | Michael Buesch <mbuesch@freenet.de> | 7 | Michael Buesch <m@bues.ch> |
8 | Danny van Dyk <kugelfang@gentoo.org> | 8 | Danny van Dyk <kugelfang@gentoo.org> |
9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
10 | 10 | ||
diff --git a/drivers/net/wireless/b43legacy/rfkill.c b/drivers/net/wireless/b43legacy/rfkill.c index b90f223fb31c..c4559bcbc707 100644 --- a/drivers/net/wireless/b43legacy/rfkill.c +++ b/drivers/net/wireless/b43legacy/rfkill.c | |||
@@ -3,7 +3,7 @@ | |||
3 | Broadcom B43 wireless driver | 3 | Broadcom B43 wireless driver |
4 | RFKILL support | 4 | RFKILL support |
5 | 5 | ||
6 | Copyright (c) 2007 Michael Buesch <mb@bu3sch.de> | 6 | Copyright (c) 2007 Michael Buesch <m@bues.ch> |
7 | 7 | ||
8 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43legacy/sysfs.c b/drivers/net/wireless/b43legacy/sysfs.c index 56c384fa9b1f..57f8b089767c 100644 --- a/drivers/net/wireless/b43legacy/sysfs.c +++ b/drivers/net/wireless/b43legacy/sysfs.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | SYSFS support routines | 5 | SYSFS support routines |
6 | 6 | ||
7 | Copyright (c) 2006 Michael Buesch <mb@bu3sch.de> | 7 | Copyright (c) 2006 Michael Buesch <m@bues.ch> |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify | 9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/wireless/b43legacy/xmit.c b/drivers/net/wireless/b43legacy/xmit.c index 6c174f38ca3c..5188fab0b377 100644 --- a/drivers/net/wireless/b43legacy/xmit.c +++ b/drivers/net/wireless/b43legacy/xmit.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> | 7 | Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> |
8 | Copyright (C) 2005 Stefano Brivio <stefano.brivio@polimi.it> | 8 | Copyright (C) 2005 Stefano Brivio <stefano.brivio@polimi.it> |
9 | Copyright (C) 2005, 2006 Michael Buesch <mb@bu3sch.de> | 9 | Copyright (C) 2005, 2006 Michael Buesch <m@bues.ch> |
10 | Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org> |
11 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
12 | Copyright (C) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 12 | Copyright (C) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
diff --git a/drivers/net/wireless/iwlegacy/iwl-commands.h b/drivers/net/wireless/iwlegacy/iwl-commands.h index ee21210bea9c..89904054473f 100644 --- a/drivers/net/wireless/iwlegacy/iwl-commands.h +++ b/drivers/net/wireless/iwlegacy/iwl-commands.h | |||
@@ -2617,8 +2617,8 @@ struct iwl_scanstart_notification { | |||
2617 | __le32 status; | 2617 | __le32 status; |
2618 | } __packed; | 2618 | } __packed; |
2619 | 2619 | ||
2620 | #define SCAN_OWNER_STATUS 0x1; | 2620 | #define SCAN_OWNER_STATUS 0x1 |
2621 | #define MEASURE_OWNER_STATUS 0x2; | 2621 | #define MEASURE_OWNER_STATUS 0x2 |
2622 | 2622 | ||
2623 | #define IWL_PROBE_STATUS_OK 0 | 2623 | #define IWL_PROBE_STATUS_OK 0 |
2624 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) | 2624 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 5769ca5cebca..e9e9d1d1778d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2468,8 +2468,8 @@ struct iwl_scanstart_notification { | |||
2468 | __le32 status; | 2468 | __le32 status; |
2469 | } __packed; | 2469 | } __packed; |
2470 | 2470 | ||
2471 | #define SCAN_OWNER_STATUS 0x1; | 2471 | #define SCAN_OWNER_STATUS 0x1 |
2472 | #define MEASURE_OWNER_STATUS 0x2; | 2472 | #define MEASURE_OWNER_STATUS 0x2 |
2473 | 2473 | ||
2474 | #define IWL_PROBE_STATUS_OK 0 | 2474 | #define IWL_PROBE_STATUS_OK 0 |
2475 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) | 2475 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h b/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h index 72a3d5497547..ba5ff0411f0a 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h | |||
@@ -1074,10 +1074,10 @@ | |||
1074 | #define _SRL(x) (((x) & 0x3F) << 8) | 1074 | #define _SRL(x) (((x) & 0x3F) << 8) |
1075 | 1075 | ||
1076 | #define _SIFS_CCK_CTX(x) ((x) & 0xFF) | 1076 | #define _SIFS_CCK_CTX(x) ((x) & 0xFF) |
1077 | #define _SIFS_CCK_TRX(x) (((x) & 0xFF) << 8); | 1077 | #define _SIFS_CCK_TRX(x) (((x) & 0xFF) << 8) |
1078 | 1078 | ||
1079 | #define _SIFS_OFDM_CTX(x) ((x) & 0xFF) | 1079 | #define _SIFS_OFDM_CTX(x) ((x) & 0xFF) |
1080 | #define _SIFS_OFDM_TRX(x) (((x) & 0xFF) << 8); | 1080 | #define _SIFS_OFDM_TRX(x) (((x) & 0xFF) << 8) |
1081 | 1081 | ||
1082 | #define _TBTT_PROHIBIT_HOLD(x) (((x) & 0xFF) << 8) | 1082 | #define _TBTT_PROHIBIT_HOLD(x) (((x) & 0xFF) << 8) |
1083 | 1083 | ||