kernel-fxtec-pro1x/drivers/net/e1000e
Arjan van de Ven e8de1481fd resource: allow MMIO exclusivity for device drivers
Device drivers that use pci_request_regions() (and similar APIs) have a
reasonable expectation that they are the only ones accessing their device.
As part of the e1000e hunt, we were afraid that some userland (X or some
bootsplash stuff) was mapping the MMIO region that the driver thought it
had exclusively via /dev/mem or via various sysfs resource mappings.

This patch adds the option for device drivers to cause their reserved
regions to the "banned from /dev/mem use" list, so now both kernel memory
and device-exclusive MMIO regions are banned.
NOTE: This is only active when CONFIG_STRICT_DEVMEM is set.

In addition to the config option, a kernel parameter iomem=relaxed is
provided for the cases where developers want to diagnose, in the field,
drivers issues from userspace.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-01-07 11:12:32 -08:00
..
82571.c e1000e: check return code from NVM accesses and fix bank detection 2008-11-21 17:02:41 -08:00
defines.h e1000e: check return code from NVM accesses and fix bank detection 2008-11-21 17:02:41 -08:00
e1000.h e1000e: fix incorrect link status when switch module pulled 2008-11-21 17:01:35 -08:00
es2lan.c drivers/net/e1000e: fix sparse warnings: make symbols static 2008-12-26 00:00:37 -08:00
ethtool.c e1000e: check return code from NVM accesses and fix bank detection 2008-11-21 17:02:41 -08:00
hw.h e1000e: sync change flow control variables with ixgbe 2008-11-21 16:57:36 -08:00
ich8lan.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-12-15 20:03:50 -08:00
lib.c e1000e: sync change flow control variables with ixgbe 2008-11-21 16:57:36 -08:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c resource: allow MMIO exclusivity for device drivers 2009-01-07 11:12:32 -08:00
param.c e1000e: fix IPMI traffic 2008-11-16 19:05:16 -08:00
phy.c e1000e: sync change flow control variables with ixgbe 2008-11-21 16:57:36 -08:00