mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthieu CASTET <castet.matthieu@free.fr>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5 of 6] tpm: move nsc driver off pci_dev
Date: Thu, 27 Oct 2005 23:55:08 +0200	[thread overview]
Message-ID: <pan.2005.10.27.21.55.05.503639@free.fr> (raw)
In-Reply-To: <1130253727.4839.64.camel@localhost.localdomain>

Le Tue, 25 Oct 2005 10:22:07 -0500, Kylene Jo Hall a écrit :

> This patch changes the nsc driver from a pci driver to a platform
> driver.

> +static int __init init_nsc(void)
>  {
>  	int rc = 0;
>  	int lo, hi;
>  	int nscAddrBase = TPM_ADDR;
>  
> -
> -	if (pci_enable_device(pci_dev))
> -		return -EIO;
> +	driver_register(&nsc_drv);
>  
>  	/* select PM channel 1 */
>  	tpm_write_index(nscAddrBase,NSC_LDN_INDEX, 0x12);
Idem as tpm_atmel, you seem to write some bits before knowing if the port
isn't used.



      reply	other threads:[~2005-10-27 22:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 15:22 Kylene Jo Hall
2005-10-27 21:55 ` Matthieu CASTET [this message]

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=pan.2005.10.27.21.55.05.503639@free.fr \
    --to=castet.matthieu@free.fr \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®