[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200806161727.m5GHRD78003340@cmf.nrl.navy.mil>
Date: Mon, 16 Jun 2008 13:27:13 -0400
From: "chas williams - CONTRACTOR" <chas@....nrl.navy.mil>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net
Subject: [PATCH net-2.6 2/7] atm: [iphase] set drvdata before enabling interrupts
commit 80aabdc78db5888c0b968532dd7d4f4e7510d7a4
Author: Jorge Boncompte [DTI2] <jorge@...2.net>
Date: Sat Jun 14 17:08:08 2008 -0400
atm: [iphase] set drvdata before enabling interrupts
Signed-off-by: Jorge Boncompte [DTI2] <jorge@...2.net>
Signed-off-by: Chas Williams <chas@....nrl.navy.mil>
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index 5c28ca7..800c09e 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -3198,6 +3198,8 @@ static int __devinit ia_init_one(struct pci_dev *pdev,
IF_INIT(printk("dev_id = 0x%x iadev->LineRate = %d \n", (u32)dev,
iadev->LineRate);)
+ pci_set_drvdata(pdev, dev);
+
ia_dev[iadev_count] = iadev;
_ia_dev[iadev_count] = dev;
iadev_count++;
@@ -3219,8 +3221,6 @@ static int __devinit ia_init_one(struct pci_dev *pdev,
iadev->next_board = ia_boards;
ia_boards = dev;
- pci_set_drvdata(pdev, dev);
-
return 0;
err_out_deregister_dev:
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists