All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruno Vidal <bruno_vidal@hpfrcu03.france.hp.com>
To: "parisc-linux@lists.parisc-linux.org"
	<parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] How retrieving HPA/SPA with the device node
Date: Tue, 04 Jun 2002 09:57:36 +0200	[thread overview]
Message-ID: <3CFC72F0.E8767180@admin.france.hp.com> (raw)
In-Reply-To: 20020603203819.DB7084831@dsl2.external.hp.com

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

	Hi
Thanks for the answer, it's clear now. The fact is I'm able 
to retrieve the hpa for a PCI device "only". But for the lazy 
example, I can retrieve the base, but not the hpa. So it would 
be really nice if I can write something usable also on 
712/710/etc.... and not only for PCI system. So I think I'll
forget it at this time, and work only for PCI subsystem (I can still
work on a function that test the kind of scsi card, and do the
reverse job to calculate the hpa from the base, but I'm not sure that
it is the best solution).

	Thanks a lot.

Grant Grundler wrote:
> 
> Bruno Vidal wrote:
> > Can someone can explain what is the difference between the
> > "hpa" of a scsi card (pci or not) and the "base" in the structure Scsi_Host ?
> 
> hpa and base are "handles" for different views of HW.
> "hpa" doesn't have to be a physical address (though it normally is).
> On V-class, the hpa is bogus and just a reference to particular IO device.
> base could be "adjusted" (like the LASI example) or "F-extended"
> for 64-bit or whatever the platform code thinks the driver needs
> to reference the device properly.
> 
> But in practice, for the platforms we support to date, I think you
> can compare them (or compare most of the bits) to determine
> if it's the same device.
> 
> grant
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux


-- 
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	bruno_vidal@admin.france.hp.com

[-- Attachment #2: Card for Bruno Vidal --]
[-- Type: text/x-vcard, Size: 386 bytes --]

begin:vcard 
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:bruno_vidal@hp.com
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France
x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

      reply	other threads:[~2002-06-04  8:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 14:08 [parisc-linux] How retrieving HPA/SPA with the device node Bruno Vidal
2002-04-02 14:23 ` Matthew Wilcox
2002-04-02 14:36   ` Bruno Vidal
2002-04-02 16:44 ` Grant Grundler
2002-04-02 16:50   ` Grant Grundler
2002-04-03  7:00     ` Bruno Vidal
2002-05-17 14:11   ` Bruno Vidal
2002-05-17 15:36     ` Grant Grundler
2002-06-03 11:04   ` Bruno Vidal
2002-06-03 12:26     ` Matthew Wilcox
2002-06-03 20:38     ` Grant Grundler
2002-06-04  7:57       ` Bruno Vidal [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=3CFC72F0.E8767180@admin.france.hp.com \
    --to=bruno_vidal@hpfrcu03.france.hp.com \
    --cc=parisc-linux@lists.parisc-linux.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.