Commit:     915e91d734d33ad303313e05582769dbbefff3b2
Parent:     1145d954a51df9362d7eaa2c68405fc226418f34
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 29 22:49:16 2008 +0100
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Feb 3 04:27:55 2008 -0800

    Net: e100, fix iomap mem accesses
    Patch against netdev-2.6 follows.
    writeX functions are not permitted on iomap-ped space change to iowriteX,
    also pci_unmap pci_map-ped space on exit (instead of iounmap).
    Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 drivers/net/e100.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 51cf577..9d42dd8 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1958,7 +1958,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int 
        if(restart_required) {
                // ack the rnr?
-               writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
+               iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
                e100_start_receiver(nic, nic->rx_to_clean);
@@ -2774,7 +2774,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
                struct nic *nic = netdev_priv(netdev);
-               iounmap(nic->csr);
+               pci_iounmap(pdev, nic->csr);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to