All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jorge Boncompte [DTI2]" <jorge@dti2.net>
To: netdev@vger.kernel.org
Cc: chas williams <chas@cmf.nrl.navy.mil>
Subject: [PATCH][ATM] iphase: set drvdata before enabling interrupts
Date: Thu, 05 Jun 2008 18:14:04 +0200	[thread overview]
Message-ID: <484810CC.7060001@dti2.net> (raw)


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:
-- 


             reply	other threads:[~2008-06-05 16:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 16:14 Jorge Boncompte [DTI2] [this message]
2008-06-14 21:22 ` [PATCH][ATM] iphase: set drvdata before enabling interrupts Chas Williams (CONTRACTOR)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484810CC.7060001@dti2.net \
    --to=jorge@dti2.net \
    --cc=chas@cmf.nrl.navy.mil \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.