git: kernel/nata: Pass interrupt function to ata_setup_interrupt().
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Sun Dec 31 13:52:42 PST 2017
commit 43156ad7e979abd3a534fd3bce2c5e6e6dc65372
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Fri Nov 24 15:08:13 2017 +0200
kernel/nata: Pass interrupt function to ata_setup_interrupt().
There is one strange change ATA_AHCI_GHC_HR 0x80000001 -> 0x00000001.
It is used for AHCI reset, all other bits are already in place so going
with the flow on this one.
Futher reduce differences with FreeBSD r183724:
* add ata_netcell_setmode() instead of relying on ata_generic_chipinit()
* add ata_promise_mio_setprd() for promise
* prepare siliconimage for port multipliers
* spray some KASSERT() here and there
* fix typo for ATA_READ_NATIVE_MAX_ADDRESS
Taken-from: FreeBSD
Summary of changes:
sys/dev/disk/nata/ata-all.c | 4 +-
sys/dev/disk/nata/ata-all.h | 2 +-
sys/dev/disk/nata/ata-chipset.c | 2 +-
sys/dev/disk/nata/ata-dma.c | 1 +
sys/dev/disk/nata/ata-pci.c | 4 +-
sys/dev/disk/nata/ata-pci.h | 2 +-
sys/dev/disk/nata/chipsets/ata-acard.c | 2 +-
sys/dev/disk/nata/chipsets/ata-acerlabs.c | 2 +-
sys/dev/disk/nata/chipsets/ata-ahci.c | 4 +-
sys/dev/disk/nata/chipsets/ata-amd.c | 2 +-
sys/dev/disk/nata/chipsets/ata-ati.c | 2 +-
sys/dev/disk/nata/chipsets/ata-cypress.c | 2 +-
sys/dev/disk/nata/chipsets/ata-cyrix.c | 17 ++--
sys/dev/disk/nata/chipsets/ata-highpoint.c | 2 +-
sys/dev/disk/nata/chipsets/ata-intel.c | 2 +-
sys/dev/disk/nata/chipsets/ata-ite.c | 2 +-
sys/dev/disk/nata/chipsets/ata-jmicron.c | 2 +-
sys/dev/disk/nata/chipsets/ata-marvell.c | 6 +-
sys/dev/disk/nata/chipsets/ata-national.c | 2 +-
sys/dev/disk/nata/chipsets/ata-netcell.c | 15 ++-
sys/dev/disk/nata/chipsets/ata-nvidia.c | 2 +-
sys/dev/disk/nata/chipsets/ata-promise.c | 45 ++++++++-
sys/dev/disk/nata/chipsets/ata-serverworks.c | 2 +-
sys/dev/disk/nata/chipsets/ata-siliconimage.c | 138 +++++++++++++++++---------
sys/dev/disk/nata/chipsets/ata-sis.c | 2 +-
sys/dev/disk/nata/chipsets/ata-via.c | 2 +-
sys/sys/nata.h | 4 +-
27 files changed, 189 insertions(+), 83 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/43156ad7e979abd3a534fd3bce2c5e6e6dc65372
--
DragonFly BSD source repository
More information about the Commits
mailing list