/dev/sda to ata_host

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

 




Hello List,


Is there any way to reverse map device name  /dev/sda to a the ata_host structure the drive is attached to?

I can go with a misc driver and register ata_host at AHCI  detectation time, but I would like to get ata_host pointer
anytime I load my module.


Thanks

Cam

 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux