Re: finding pci_dev from scsi_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Could someone please tell me how to find the corresponding
> > "struct pci_dev *" from a given "struct scsi_device *"?
> > 
> > I've been searching through structures/header files now for
> > quite some time, but cannot find anything.
> 
> looking at my isa bus scsi controller... I'd say that that is a really
> hard question that doesn't even always have an answer ;)

umh, yes, but in this case, I'm sure I always have a pci_dev.
 
> can you share with us what you want to do with this?

I need the pci_dev to reconfigure ahci-controllers so that they look like
having been initialised by BIOS at reboot time.

kind regards,
h.rosmanith 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux