LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where does bridge driver to connect SATA-driver and SCSI subsystem reside? (https://www.linuxquestions.org/questions/linux-newbie-8/where-does-bridge-driver-to-connect-sata-driver-and-scsi-subsystem-reside-4175647506/)

ultra_reader 02-02-2019 01:25 PM

Where does bridge driver to connect SATA-driver and SCSI subsystem reside?
 
Im working myself through How linux works from Brian Ward and Im stuck trying to understand part of the SCSI subsystem.

So here's the basic SCSI scheme presented by the book:

https://imgur.com/a/EcKiI22

Part of that section states:

Quote:

To connect the SATA-specific drivers of the kernel to the SCSI subsystem, the kernel employs a bridge driver, as with the USB drives, but with a different mechanism and additional complications. The optical drive speaks ATAPI, a version of SCSI commands encoded in the ATA protocol. However, the hard disk does not use ATAPI and does not encode any SCSI commands. The Linux kernel uses part of a library called libata to reconcile SATA (and ATA) drives with the SCSI subsystem.

So ATA driver which resides inside the SCSI subsystem talks to the SATA driver (in the kernel) through libata but where's the bridge driver?

Or is libata that one bridge-driver? Im confused right here!

Any clarification will be appreciated!



edit: I guess it's a hard question :S

amishtechie 02-10-2019 06:03 PM

I do not know exactly what you are asking but maybe this will help. The SCSI standard is backwards compatible with the SATA standard but not the other way around. This has nothing to do with Linux. I have 8 SATA drives plugged into SCSI ports and they work fine.


All times are GMT -5. The time now is 05:22 AM.