* [parisc-linux] [PATCH] e100_probe using ioremap
@ 2006-04-05 17:50 Gustavo Zacarias
0 siblings, 0 replies; only message in thread
From: Gustavo Zacarias @ 2006-04-05 17:50 UTC (permalink / raw)
To: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 136 bytes --]
e100_probe in drivers/net/e100.c is using ioremap instead of
ioremap_nocache.
Fix attached.
--
Gustavo Zacarias
Gentoo/SPARC monkey
[-- Attachment #2: e100_ioremap.diff --]
[-- Type: text/x-patch, Size: 593 bytes --]
diff -Nura linux-2.6.16-pa11/drivers/net/e100.c linux-2.6.16-pa11-e100/drivers/net/e100.c
--- linux-2.6.16-pa11/drivers/net/e100.c 2006-03-20 02:53:29.000000000 -0300
+++ linux-2.6.16-pa11-e100/drivers/net/e100.c 2006-04-05 14:48:09.000000000 -0300
@@ -2607,7 +2607,7 @@
SET_MODULE_OWNER(netdev);
SET_NETDEV_DEV(netdev, &pdev->dev);
- nic->csr = ioremap(pci_resource_start(pdev, 0), sizeof(struct csr));
+ nic->csr = ioremap_nocache(pci_resource_start(pdev, 0), sizeof(struct csr));
if(!nic->csr) {
DPRINTK(PROBE, ERR, "Cannot map device registers, aborting.\n");
err = -ENOMEM;
[-- Attachment #3: Type: text/plain, Size: 169 bytes --]
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-05 17:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-05 17:50 [parisc-linux] [PATCH] e100_probe using ioremap Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox