Skip to contentSkip to conversation

How do the upper layers know a SATA drive has just been plugged in

DISCUSSION Andy Falanga (afalanga) 1 participant 1 message Jul 23, 2015 libata

lore
Share & tools
lore
#0 lore raw

I'm looking for the link between ahci.ko and the upper layers for how they know a drive has been plugged into the system. I have need, in very select circumstances, to block this notification. However, I'm not finding how the ahci driver actually does this notification. Can someone please explain it to me, or put me on the correct trail?

Thanks,
Andy