[parisc-linux] How retrieving HPA/SPA with the device node

Bruno Vidal bruno_vidal@hpfrcu03.france.hp.com
Wed, 03 Apr 2002 09:00:02 +0200


This is a multi-part message in MIME format.
--------------486CB76D115BE5E4DB39A135
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

	Thanks a lot.
It solved my pb. Now I think I'll add a function in scsi.c.
Because I need the pointer to pci_dev. And I don't think it
can be usefull at user level. 

	Many thanks for your answers.

Grant Grundler wrote:
> 
> Grant Grundler wrote:
> > Since several of the data structures are intended to be private,
> > I suggest adding a function to sd.c (or scsi.c) that finds and returns
> > the pci_dev pointer:
> 
> Well, looks like we *almost* have what we want in scsi_ioctl.c.
> scsi_ioctl_get_pci() does about the same thing.
> Maybe the right answer is to write another ioctl call that
> does what you want. I don't know.
> 
> 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
--------------486CB76D115BE5E4DB39A135
Content-Type: text/x-vcard; charset=iso-8859-1;
 name="bruno_vidal.vcf"
Content-Transfer-Encoding: base64
Content-Description: Card for Bruno Vidal
Content-Disposition: attachment;
 filename="bruno_vidal.vcf"

YmVnaW46dmNhcmQgCm46QnJ1bm87VklEQUwKdGVsO2ZheDowMS02OS04Mi02MC0xNAp0ZWw7
d29yazowMS02OS0yOS00Mi03MQp4LW1vemlsbGEtaHRtbDpUUlVFCnVybDp3d3cuZnJhbmNl
LmhwLmNvbQpvcmc6U29sdXRpb24gQ2VudGVyCnZlcnNpb246Mi4xCmVtYWlsO2ludGVybmV0
OmJydW5vX3ZpZGFsQGhwLmNvbQp0aXRsZTpFeHBlcnQgTG9naWNpZWwgRW52aXJvbm5lbWVu
dCBIYXV0ZSBEaXNwb25pYmlsaXTpCmFkcjtxdW90ZWQtcHJpbnRhYmxlOjs7SFAgRnJhbmNl
PTBEPTBBO1ouQSBkZSBDb3VydGFib2V1ZjsxIEF2LiBkdSBDYW5hZGE7OTE5NDcgTGVzIFVs
aXMgY2VkZXg7RnJhbmNlCngtbW96aWxsYS1jcHQ6OzI2MjA4CmZuOlZJREFMIEJydW5vCmVu
ZDp2Y2FyZAo=
--------------486CB76D115BE5E4DB39A135--