kernel/nata: Deal with ATA_DEV() and atadev->unit.
commit2458a87a718a37261418254ad47f5f9adc3366d4
authorzrj <rimvydas.jasinskas@gmail.com>
Sun, 26 Nov 2017 15:53:16 +0000 (26 17:53 +0200)
committerzrj <zrj@dragonflybsd.org>
Sun, 31 Dec 2017 22:03:38 +0000 (1 00:03 +0200)
tree4e17b514ad3d0584c703c35d8c4f0910401c5271
parent37c16061abfdb4bea7b988c8c95ee1dfa5cfaab2
kernel/nata: Deal with ATA_DEV() and atadev->unit.

Hopefully I got all places correctly.

While there, some misc cleanup.
29 files changed:
sys/dev/disk/nata/ata-all.c
sys/dev/disk/nata/ata-all.h
sys/dev/disk/nata/ata-lowlevel.c
sys/dev/disk/nata/ata-raid.c
sys/dev/disk/nata/ata-sata.c
sys/dev/disk/nata/atapi-cam.c
sys/dev/disk/nata/atapi-cd.c
sys/dev/disk/nata/atapi-cd.h
sys/dev/disk/nata/atapi-fd.c
sys/dev/disk/nata/atapi-fd.h
sys/dev/disk/nata/atapi-tape.c
sys/dev/disk/nata/atapi-tape.h
sys/dev/disk/nata/chipsets/ata-acard.c
sys/dev/disk/nata/chipsets/ata-acerlabs.c
sys/dev/disk/nata/chipsets/ata-ahci.c
sys/dev/disk/nata/chipsets/ata-amd.c
sys/dev/disk/nata/chipsets/ata-ati.c
sys/dev/disk/nata/chipsets/ata-cyrix.c
sys/dev/disk/nata/chipsets/ata-highpoint.c
sys/dev/disk/nata/chipsets/ata-intel.c
sys/dev/disk/nata/chipsets/ata-ite.c
sys/dev/disk/nata/chipsets/ata-national.c
sys/dev/disk/nata/chipsets/ata-nvidia.c
sys/dev/disk/nata/chipsets/ata-promise.c
sys/dev/disk/nata/chipsets/ata-serverworks.c
sys/dev/disk/nata/chipsets/ata-siliconimage.c
sys/dev/disk/nata/chipsets/ata-sis.c
sys/dev/disk/nata/chipsets/ata-via.c
sys/dev/disk/nata/nataisa/Makefile