Stanislaw Gruszka
6e9848b496
iwlegacy: s/rx_reply/hdl/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 13:12:28 +01:00
Stanislaw Gruszka
d0c72347be
iwlegacy: s/rx_handler/handler/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 13:12:24 +01:00
Stanislaw Gruszka
4d69c7521a
iwlegacy: rename REPLY_ to N_ or C_
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 13:12:21 +01:00
Stanislaw Gruszka
db7746f78c
iwlegacy: s/STATISTICS/STATS/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 13:11:50 +01:00
Stanislaw Gruszka
a6766ccdaf
iwlegacy: s/STATUS_/S_/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 13:09:01 +01:00
Stanislaw Gruszka
6bbb1370c3
iwlegacy: move iwl-3945-{,hw,fh,debugfs}.h to 3945.h
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:59:59 +01:00
Timur Tabi
0f768a7235
ASoC: fsl_ssi: properly initialize the sysfs attribute object
...
Commit 6992f533 ("sysfs: Use one lockdep class per sysfs attribute")
requires 'struct attribute' objects to be initialized with sysfs_attr_init().
Signed-off-by: Timur Tabi <timur@freescale.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2011-11-15 11:59:09 +00:00
Stanislaw Gruszka
af038f404f
iwlegacy: move iwl-4965-{,hw,debugfs,calib}.h to 4965.h
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:59:02 +01:00
Stanislaw Gruszka
8f29b456f8
iwlegacy: add accidentally removed comments
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:57:25 +01:00
Stanislaw Gruszka
ccf5533ec4
iwlegacy: rename iwl-3945-{rs,debugfs}.c to 3945-{rs,debug}.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:54:28 +01:00
Stanislaw Gruszka
f3a1b49d66
iwlegacy: rename iwl-4965-{rs,calib,debugfs}.c to 4965-{rs,calib,debug}.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:54:25 +01:00
Stanislaw Gruszka
fcb74588dc
iwlegacy: merge iwl-4965-lib.c into 4965-mac.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:54:18 +01:00
Stanislaw Gruszka
a1751b22a8
iwlegacy: merge iwl-4965-{tx,rx}.c into 4965-mac.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:50:37 +01:00
Joerg Roedel
95bdaf71cc
iommu: Fix compile error with !IOMMU_API
...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com >
2011-11-15 12:48:29 +01:00
Stanislaw Gruszka
eb3cdfb72d
iwlegacy: merge iwl-4965-sta.c into 4965-mac.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:41:56 +01:00
Stanislaw Gruszka
862d32e6db
iwlegacy: merge iwl-4965-ucode.c into 4965.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:41:53 +01:00
Stanislaw Gruszka
56e7a8cca0
iwlegacy: merge iwl-4965-eeprom.c into 4965.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:41:50 +01:00
Stanislaw Gruszka
ecce1f09e8
iwlegacy: merge iwl-3945-led.c into 3945.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:41:31 +01:00
Stanislaw Gruszka
fc19cbde0c
iwlegacy: merge iwl-4965-led.c into 4965.c
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:41:01 +01:00
Stanislaw Gruszka
61fe55f61f
iwlegacy: rename base 4965 and 3945 file names
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:40:26 +01:00
Stanislaw Gruszka
17d6e55735
iwlegacy: remove for_each_context
...
We do not support many contexts.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:31:35 +01:00
Stanislaw Gruszka
3b98c7f49b
iwlegacy: s/TABLE/TBL/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:31:32 +01:00
Stanislaw Gruszka
0c2c885200
iwlegacy: s/index/idx/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:30:17 +01:00
Stanislaw Gruszka
2d09b0624a
iwlegacy: s/INDEX/IDX/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:26:43 +01:00
Stanislaw Gruszka
2eb058162e
iwlegacy: s/IL_RATE/RATE/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:26:39 +01:00
Stanislaw Gruszka
6ce1dc4530
iwlegacy: s/window/win/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:26:33 +01:00
Stanislaw Gruszka
ebf0d90d12
iwlegacy: s/statistics/stats/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 12:26:28 +01:00
Alex Williamson
bcb71abe7d
iommu: Add option to group multi-function devices
...
The option iommu=group_mf indicates the that the iommu driver should
expose all functions of a multi-function PCI device as the same
iommu_device_group. This is useful for disallowing individual functions
being exposed as independent devices to userspace as there are often
hidden dependencies. Virtual functions are not affected by this option.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com >
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com >
2011-11-15 12:22:31 +01:00
Alex Williamson
8fbdce6595
iommu/amd: Implement iommu_device_group
...
Just use the amd_iommu_alias_table directly.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com >
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com >
2011-11-15 12:22:30 +01:00
Alex Williamson
70ae6f0d55
iommu/intel: Implement iommu_device_group
...
We generally have BDF granularity for devices, so we just need
to make sure devices aren't hidden behind PCIe-to-PCI bridges.
We can then make up a group number that's simply the concatenated
seg|bus|dev|fn so we don't have to track them (not that users
should depend on that).
Signed-off-by: Alex Williamson <alex.williamson@redhat.com >
Acked-By: David Woodhouse <David.Woodhouse@intel.com >
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com >
2011-11-15 12:22:30 +01:00
Alex Williamson
1460432cb5
iommu: Add iommu_device_group callback and iommu_group sysfs entry
...
An IOMMU group is a set of devices for which the IOMMU cannot
distinguish transactions. For PCI devices, a group often occurs
when a PCI bridge is involved. Transactions from any device
behind the bridge appear to be sourced from the bridge itself.
We leave it to the IOMMU driver to define the grouping restraints
for their platform.
Using this new interface, the group for a device can be retrieved
using the iommu_device_group() callback. Users will compare the
value returned against the value returned for other devices to
determine whether they are part of the same group. Devices with
no group are not translated by the IOMMU. There should be no
expectations about the group numbers as they may be arbitrarily
assigned by the IOMMU driver and may not be persistent across boots.
We also provide a sysfs interface to the group numbers here so
that userspace can understand IOMMU dependencies between devices
for managing safe, userspace drivers.
[Some code changes by Joerg Roedel <joerg.roedel@amd.com >]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com >
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com >
2011-11-15 12:22:23 +01:00
Haojian Zhuang
951c486f62
driver: pcmcia: replace IRQ_GPIO() with gpio_to_irq()
...
Use common gpio_to_irq() to replace machine dependant macro IRQ_GPIO().
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com >
2011-11-15 19:09:56 +08:00
Haojian Zhuang
389eda15e0
ARM: pxa: add clk support in gpio driver
...
Support clk in gpio driver. There's no gpio clock in PXA25x and PXA27x.
So use dummy clk instead. And move the gpio edge initialization into
gpio driver for arch-mmp.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com >
2011-11-15 19:09:36 +08:00
Haojian Zhuang
be24168f14
ARM: mmp: clear gpio edge detect
...
Append code to clear gpio edge detect in gpio-pxa driver.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com >
2011-11-15 19:09:10 +08:00
Haojian Zhuang
157d2644cb
ARM: pxa: change gpio to platform device
...
Remove most gpio macros and change gpio driver to platform driver.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com >
2011-11-15 19:08:27 +08:00
Wim Van Sebroeck
943ef2ec4f
watchdog: adx_wdt.c: remove driver
...
Remove the driver (that was added in v2.6.32) since the architecture
has never been merged into mainline.
Reported-by: Paul Bolle <pebolle@tiscali.nl >
Acked-by: Thierry Reding <thierry.reding@avionic-design.de >
Signed-off-by: Wim Van Sebroeck <wim@iguana.be >
2011-11-15 11:45:16 +01:00
Stanislaw Gruszka
b73bb5f13b
iwlegacy: s/il_rx_mem_buffer/il_rx_buf/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:29:24 +01:00
Stanislaw Gruszka
7c2cde2ef2
iwlegacy: partial rxon context cleanup
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:29:04 +01:00
Stanislaw Gruszka
dcae1c641a
iwlegacy: s/iwl_rx_packet/iwl_rx_pkt/
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:26:09 +01:00
Stanislaw Gruszka
d317516798
iwlegacy: rename remaining IWLs to ILs
...
Also rename config names IWLWIFI_LEGACY to IWLEGACY
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:25:42 +01:00
Stanislaw Gruszka
232913b51e
iwlegacy: remove not needed parentheses
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:23:08 +01:00
Stanislaw Gruszka
db54eb57ce
iwlegacy: rename il_{read,write}_prph
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:23:01 +01:00
Stanislaw Gruszka
0c1a94e299
iwlegacy: rename i/o direct methods
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:22:56 +01:00
Stanislaw Gruszka
1c8cae575b
iwlegacy: remove _il_{read,write}_direct32
...
Use _il_{rd,wr} instead of another name of these operations.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:22:42 +01:00
Stanislaw Gruszka
138822698f
iwlegacy: mark il_{grab,release}_nic_access as unlocked
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:22:36 +01:00
Stanislaw Gruszka
142b343f6e
iwlegacy: mark poll bit as unlocked function
...
We do not take reg_lock during poll bit, so mark it such
using underscore.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:22:28 +01:00
Stanislaw Gruszka
841b2ccac3
iwlegacy: rename il_{read,write}32 to _il_{rd,wr}
...
Introduce rule that underscore at the beginning mean unlocked I/O method.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:22:15 +01:00
Stanislaw Gruszka
b6297cd2aa
iwlegacy: remove IL_CRIT
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:22:02 +01:00
Stanislaw Gruszka
9406f79775
iwlegacy: remove il argument from IWL_ERR/INFO/WARN/CRIT
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:21:47 +01:00
Stanislaw Gruszka
58de00a464
iwlegacy: rename IL_DEBUG_ to D_
...
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com >
2011-11-15 11:21:01 +01:00