A nice little one liner:
# ls -l /sys/block/sd* | sed 's/.*\(sd.*\) -.*\(host.*\)\/t.*/\2 => \1/'
host0 => sda
host1 => sdb
host6 => sdc
host7 => sdd
host8 => sde
host9 => sdf
therefore
host0 => ata0 => sda
Which is the same with this:
The first number in the [] brackets shows the ata number
# lsscsi --long
[0:0:0:0] disk ATA WDC WD40EZRX-00S 80.0 /dev/sda
state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
[1:0:0:0] disk ATA WDC WD40EZRX-00S 80.0 /dev/sdb
state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
[6:0:0:0] disk ATA WDC WD20EZRX-00D 80.0 /dev/sdc
state=running queue_depth=1 scsi_level=6 type=0 device_blocked=0 timeout=30
[7:0:0:0] disk ATA WDC WD20EZRX-00D 80.0 /dev/sdd
state=running queue_depth=1 scsi_level=6 type=0 device_blocked=0 timeout=30
[8:0:0:0] disk ATA SAMSUNG HD103UJ 1AA0 /dev/sde
state=running queue_depth=1 scsi_level=6 type=0 device_blocked=0 timeout=30
[9:0:0:0] disk ATA SAMSUNG HD103UJ 1AA0 /dev/sdf
state=running queue_depth=1 scsi_level=6 type=0 device_blocked=0 timeout=30