git: kernel/nata: Remove common ata_via_family_setmode().

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Dec 31 13:52:38 PST 2017


commit 4b58204251eed7f1b1d86dab2912b5dfd90fc78a
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Nov 22 21:04:14 2017 +0200

    kernel/nata: Remove common ata_via_family_setmode().
    
    Just extract and use vendor specific versions.
    Note: there is some confusion about reg == 0x53 vs 0x63 for some chipsets.
    
    For now leave the previous behaviour, thus no functional change.

Summary of changes:
 sys/dev/disk/nata/ata-chipset.c         | 58 ---------------------------------
 sys/dev/disk/nata/chipsets/ata-amd.c    | 44 ++++++++++++++++++++++++-
 sys/dev/disk/nata/chipsets/ata-nvidia.c | 38 ++++++++++++++++++++-
 sys/dev/disk/nata/chipsets/ata-via.c    | 47 +++++++++++++++++++++++---
 4 files changed, 123 insertions(+), 64 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b58204251eed7f1b1d86dab2912b5dfd90fc78a


-- 
DragonFly BSD source repository



More information about the Commits mailing list