git: kernel/nata: Extract ad_get_geometry().

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


commit cbf684e573edb1dab5da8bbf550a52ee98d4a5aa
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Nov 26 13:02:45 2017 +0200

    kernel/nata: Extract ad_get_geometry().
    
    While there, extract ata_unit2str() too.

Summary of changes:
 sys/dev/disk/nata/ata-all.c    | 16 ++++++--
 sys/dev/disk/nata/ata-all.h    |  1 +
 sys/dev/disk/nata/ata-disk.c   | 88 +++++++++++++++++++++++-------------------
 sys/dev/disk/nata/ata-dma.c    |  4 +-
 sys/dev/disk/nata/atapi-cd.c   |  6 +--
 sys/dev/disk/nata/atapi-fd.c   |  3 +-
 sys/dev/disk/nata/atapi-tape.c |  6 +--
 7 files changed, 69 insertions(+), 55 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cbf684e573edb1dab5da8bbf550a52ee98d4a5aa


-- 
DragonFly BSD source repository


More information about the Commits mailing list