* [PATCH][ATM] iphase: set drvdata before enabling interrupts
@ 2008-06-05 16:14 Jorge Boncompte [DTI2]
2008-06-14 21:22 ` Chas Williams (CONTRACTOR)
0 siblings, 1 reply; 2+ messages in thread
From: Jorge Boncompte [DTI2] @ 2008-06-05 16:14 UTC (permalink / raw)
To: netdev; +Cc: chas williams
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
---
drivers/atm/iphase.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index a51b7cb..92fce28 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -3197,6 +3197,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++;
@@ -3213,8 +3215,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:
--
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][ATM] iphase: set drvdata before enabling interrupts
2008-06-05 16:14 [PATCH][ATM] iphase: set drvdata before enabling interrupts Jorge Boncompte [DTI2]
@ 2008-06-14 21:22 ` Chas Williams (CONTRACTOR)
0 siblings, 0 replies; 2+ messages in thread
From: Chas Williams (CONTRACTOR) @ 2008-06-14 21:22 UTC (permalink / raw)
To: jorge; +Cc: netdev
In message <484810CC.7060001@dti2.net>,"Jorge Boncompte [DTI2]" writes:
>
>Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
looks good. i will submit to davem on the next batch of atm patches.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-14 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 16:14 [PATCH][ATM] iphase: set drvdata before enabling interrupts Jorge Boncompte [DTI2]
2008-06-14 21:22 ` Chas Williams (CONTRACTOR)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).