History log of /dragonfly/sys/dev/disk/nata/ata-chipset.c (Results 1 – 25 of 34)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2
# 878a3234 25-Nov-2017 zrj <rimvydas.jasinskas@gmail.com>

kernel/nata: Add Adaptec 1420 support.

It depends on Marwell so group it together.

While there, split out Cenatek, Micron generic chipset support to their own
drivers. Also fix up few drivers that

kernel/nata: Add Adaptec 1420 support.

It depends on Marwell so group it together.

While there, split out Cenatek, Micron generic chipset support to their own
drivers. Also fix up few drivers that cannot reliably do 64k transfers and
remove few unused ATA_AHCI_P_CMD_* defines.

Taken-from: FreeBSD

show more ...


# 43156ad7 24-Nov-2017 zrj <rimvydas.jasinskas@gmail.com>

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

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

show more ...


# 13b0cf9e 23-Nov-2017 zrj <rimvydas.jasinskas@gmail.com>

kernel/nata: Separate sata bits.

Do some cleanup of defines and headers.
Rename few ATI controllers.

While there, remove no longer used PC98 defines.


# d7ac09b9 23-Nov-2017 zrj <rimvydas.jasinskas@gmail.com>

kernel/nata: Allow disabling complicated chipset drivers.

There is no point for ATA_NO_ATI option (ati chipset setup relies on sii).
Using ATA_NO_AHCI will automatically disable these ata chipset dr

kernel/nata: Allow disabling complicated chipset drivers.

There is no point for ATA_NO_ATI option (ati chipset setup relies on sii).
Using ATA_NO_AHCI will automatically disable these ata chipset drivers:
intel, marvel, nvidia, promise, siliconimage, sis, via

Only for development until nata(4) gets updated.

show more ...


# 4b582042 22-Nov-2017 zrj <rimvydas.jasinskas@gmail.com>

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 prev

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.

show more ...


# a1917f14 22-Nov-2017 zrj <rimvydas.jasinskas@gmail.com>

kernel/nata: Split out huge ata-chipsets.c

In preparations for pseudo-modularization.
If we decide to modularizate this one, it would be just wrapping each of the
chipsets sources in its own kernel

kernel/nata: Split out huge ata-chipsets.c

In preparations for pseudo-modularization.
If we decide to modularizate this one, it would be just wrapping each of the
chipsets sources in its own kernel module. Current variant just simply includes
everything back together while still allowing to work with individual chipset.
Thus no functional change.

show more ...


Revision tags: v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1
# 8406cf70 15-Jun-2017 Sascha Wildner <saw@online.de>

kernel: Add 'static' to some function definitions.

The declarations already have it, so no functional difference.


Revision tags: v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3
# 44de7697 19-Jan-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - limit DMA for older ALI chips to 256KB

* For ancient machines using old ALI chipsets which do
not support 48-bit DMA, also limit the maximum DMA
size to 256KB.


Revision tags: v4.0.2
# 15bd3c73 25-Nov-2014 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Fix boot-time panic in NATA revealed by new callout mechanics

* The NATA driver was using spin locks in a very, very dangerous way.
They did not play nice with the new blocking callout me

kernel - Fix boot-time panic in NATA revealed by new callout mechanics

* The NATA driver was using spin locks in a very, very dangerous way.
They did not play nice with the new blocking callout mechanism.

* Replace all of NATAs spinlocks with lockmgr locks. In addition, change
all asynchronous callout_stop() calls to synchronous callout_stop_sync()
calls, and use callout_init_lk() to auto-lock ch->state_lock for the
callback, which fixes a long-time deadlock race.

Reported-by: tuxillo

show more ...


Revision tags: v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0
# ba87a4ab 24-Aug-2014 Sascha Wildner <saw@online.de>

kernel/spinlock: Add a description to struct spinlock.

And add it to spin_init() and SPINLOCK_INITIALIZER().

Submitted-by: dclink (see <http://bugs.dragonflybsd.org/issues/2714>)
OK'd-by: dill

kernel/spinlock: Add a description to struct spinlock.

And add it to spin_init() and SPINLOCK_INITIALIZER().

Submitted-by: dclink (see <http://bugs.dragonflybsd.org/issues/2714>)
OK'd-by: dillon

show more ...


Revision tags: v3.8.2, v3.8.1, v3.6.3
# f6e8a0a1 07-Jun-2014 Imre Vadasz <imre@vdsz.com>

Convert files to UTF-8

Taken-from: FreeBSD


Revision tags: v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# bec969af 13-Jan-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

MachIntrABI: intr_{config,cpuid} -> legacy_intr_{config,cpuid}

So these two functions will not be misused on MSI. No functional changes


# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


# b47b3275 04-Oct-2011 Sepherosa Ziehau <sephe@dragonflybsd.org>

resource: Per-CPU hardware resources support, step 3 of many

- Add cpuid parameter to bus_set_resource() and bus_set_resource
DEVMETHOD; Pass this parameter to resource_list_add()
- Obtain interru

resource: Per-CPU hardware resources support, step 3 of many

- Add cpuid parameter to bus_set_resource() and bus_set_resource
DEVMETHOD; Pass this parameter to resource_list_add()
- Obtain interrupt resource's owner CPU, i.e. target CPU, from
MachIntrABI and pass it to bus_set_resource(), so that the owner
CPU of the interrupt resource could be correctly setup
- Rest of types of resources, e.g. IOPORT, MEMORY and DRQ, are
shared across CPUs, so their cpuids are set to -1

show more ...


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0
# e0e6ca4b 18-Dec-2008 Hasso Tepper <hasso@estpak.ee>

Call ata_legacy() only once on attach and save it's result.

Scanning PCI configuration registers (which are not going to change) on
every interrupt looks expensive, especially when interrupt is shar

Call ata_legacy() only once on attach and save it's result.

Scanning PCI configuration registers (which are not going to change) on
every interrupt looks expensive, especially when interrupt is shared.
Profiling (in FreeBSD) shows 3% of time spent by atapci0 on pure network
load due to IRQ sharing with em0.

Obtained-from: FreeBSD

show more ...


Revision tags: v2.1.1
# b0c3cb12 02-Dec-2008 Sepherosa Ziehau <sephe@dragonflybsd.org>

Fix speed report on Intel SATA chips in compat mode.

Obtained-from: FreeBSD ata-chipset.c rev 1.210 (partial)
Tested-by: matthias@


Revision tags: v2.0.1
# 20dd6390 12-Jul-2008 Michael Neumann <mneumann@dragonflybsd.org>

* Add support for the nVidia MCP61, MCP65, MCP67, MCP73 and MCP77
series chipsets.

Obtained-from: FreeBSD
(ata-chipset.c rev 1.198 and parts of 1.204)
(ata-pci.h rev 1.77 and 1.82)

* Fix cl

* Add support for the nVidia MCP61, MCP65, MCP67, MCP73 and MCP77
series chipsets.

Obtained-from: FreeBSD
(ata-chipset.c rev 1.198 and parts of 1.204)
(ata-pci.h rev 1.77 and 1.82)

* Fix clearing of nVidia interrupts.

Obtained-from: FreeBSD
(ata-chipset.c rev 1.214)

* Add support for MCP67 (revision 0xa2) not found in FreeBSD.

show more ...


# 0afa93fa 05-Apr-2008 Matthew Dillon <dillon@dragonflybsd.org>

Fix a snafu with the last commit. Not all of the new AHCI detection support
was properly brought in, causing intel AHCI detection to panic with a
NULL pointer indirection.

Reported-by: Cristi Maghe

Fix a snafu with the last commit. Not all of the new AHCI detection support
was properly brought in, causing intel AHCI detection to panic with a
NULL pointer indirection.

Reported-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>

show more ...


# 3ec9ecbc 24-Mar-2008 Matthew Dillon <dillon@dragonflybsd.org>

Synchronize various changes from FreeBSD. This is not exhaustive but gets
the most important patches.

* Better AHCI detection and reporting.
* More robust AHCI chipinit.
* Fixes for additional chip

Synchronize various changes from FreeBSD. This is not exhaustive but gets
the most important patches.

* Better AHCI detection and reporting.
* More robust AHCI chipinit.
* Fixes for additional chipsets which do not support 64K DMA transfers
* VIA8237S support
* Hitachi detection logic.
* Vendor identification for otherwise unidentified chipsets.
* keep ivars intact on atapi-cd reinit.

show more ...


# d0b256a7 01-Jan-2008 Sascha Wildner <swildner@dragonflybsd.org>

Add PCI IDs for ICH9.

Taken-from: FreeBSD


# a6490eff 17-Dec-2007 Hasso Tepper <hasso@dragonflybsd.org>

Add ID for ICH8M in compatibility mode. This makes Thinkpad X61s report
correct HD speed.

Reviewed-by: tgen@


# 803cecd9 20-Nov-2007 Hasso Tepper <hasso@dragonflybsd.org>

Add SATA ATAPI support for AHCI controllers.

Obtained-from: FreeBSD
Reviewed-by: tgen@


# ec728f71 19-Oct-2007 Thomas E. Spanjaard <tgen@dragonflybsd.org>

Add (proper) support for ATi SB600 southbridge SATA controllers in AHCI mode.
Also, adds a catch-all to the atapci ident routine for as of yet unidentified
AHCI SATA controllers.

Tested-by: Aggelos

Add (proper) support for ATi SB600 southbridge SATA controllers in AHCI mode.
Also, adds a catch-all to the atapci ident routine for as of yet unidentified
AHCI SATA controllers.

Tested-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>

show more ...


# d79bd5e9 17-Jun-2007 Matthew Dillon <dillon@dragonflybsd.org>

Disable per-channel interrupt sources before enabling the master interrupt
in AHCI mode to try to clean out BIOS spam.


# 02d7aa4a 05-Jun-2007 Sascha Wildner <swildner@dragonflybsd.org>

Update FreeBSD ID tags.


12