]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Always force AHCI mode on a ATI/AMD SB600/700/800 SATA controller. These
authorJung-uk Kim <jkim@FreeBSD.org>
Mon, 27 Apr 2009 17:29:51 +0000 (17:29 +0000)
committerJung-uk Kim <jkim@FreeBSD.org>
Mon, 27 Apr 2009 17:29:51 +0000 (17:29 +0000)
commitf71ac6d60a2e36d89fe44f23f80aa911fe67e3ad
tree64c5c8bf60966200d0d392e41c8922c367605a21
parent950f22e38d5ea9ec2ef4ad0e43b96a0eb5206d9a
- Always force AHCI mode on a ATI/AMD SB600/700/800 SATA controller.  These
controllers may be configured as legacy IDE mode by modifying subclass and
progif without actually changing PCI device IDs.  Instead of complicating
code, we always force AHCI mode while probing.  Also we restore AHCI mode
while resuming per ATI/AMD register programming/requirement guides.
- Fix SB700/800 "combined" mode.  Unlike SB600, this PATA controller can
combine two SATA ports and emulate one PATA channel as primary or secondary
depending on BIOS configuration.  When the combined mode is disabled, this
channel disappears and it works just like SB600 PATA controller, however.
- Add more PCI device IDs for SB700/800 and adjust device descriptions.
SB800 shares the same PCI device IDs and added two more SATA IDs.
sys/dev/ata/ata-pci.h
sys/dev/ata/chipsets/ata-ahci.c
sys/dev/ata/chipsets/ata-ati.c