Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/dev/ata/ata-pci.h

[BACK] Up to [FreeBSD] / src / sys / dev / ata

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.109.2.22: download - view: text, markup, annotated - select for diffs
Mon Jan 16 17:31:26 2012 UTC (3 weeks, 3 days ago) by jimharris
Branches: RELENG_8
Diff to: previous 1.109.2.21: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.2.21: +1 -0 lines
SVN rev 230224 on 2012-01-16 17:31:26Z by jimharris

MFC r229671:

 Add 0x2826 device ID for C600 (Patsburg) SATA controller in RAID mode.

Sponsored by: Intel
Approved by: sbruno

Revision 1.128.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 16 17:30:00 2012 UTC (3 weeks, 3 days ago) by jimharris
Branches: RELENG_9
Diff to: previous 1.128.2.3: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.2.3: +1 -0 lines
SVN rev 230223 on 2012-01-16 17:30:00Z by jimharris

MFC r229671:

 Add 0x2826 device ID for C600 (Patsburg) SATA controller in RAID mode.

Sponsored by: Intel
Approved by: sbruno

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sun Jan 15 13:23:18 2012 UTC (3 weeks, 5 days ago) by uqs
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +1 -1 lines
SVN rev 230132 on 2012-01-15 13:23:18Z by uqs

Convert files to UTF-8

Revision 1.131: download - view: text, markup, annotated - select for diffs
Fri Jan 6 00:22:55 2012 UTC (5 weeks ago) by jimharris
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +1 -0 lines
SVN rev 229671 on 2012-01-06 00:22:55Z by jimharris

Add 0x2826 device ID for C600 (Patsburg) SATA controller in RAID mode.

Reviewed by: mav
Approved by: scottl

Revision 1.109.2.21: download - view: text, markup, annotated - select for diffs
Mon Jan 2 17:31:28 2012 UTC (5 weeks, 3 days ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.20: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.20: +4 -0 lines
SVN rev 229296 on 2012-01-02 17:31:28Z by mav

MFC r228497:
Add PCI IDs for the Intel ICH9M SATA controllers.

Revision 1.128.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 2 17:30:27 2012 UTC (5 weeks, 3 days ago) by mav
Branches: RELENG_9
Diff to: previous 1.128.2.2: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.2.2: +4 -0 lines
SVN rev 229295 on 2012-01-02 17:30:27Z by mav

MFC r228497:
Add PCI IDs for the Intel ICH9M SATA controllers.

Revision 1.109.2.20: download - view: text, markup, annotated - select for diffs
Mon Jan 2 17:28:14 2012 UTC (5 weeks, 3 days ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.19: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.19: +2 -0 lines
SVN rev 229294 on 2012-01-02 17:28:14Z by mav

MFC r226680:
Some dmesg cosmetics:
 - for the legacy PCI ATA channels move channel number out of the device
description, same as it is for ahci(4), siis(4) and mvs(4);
 - add device description for the ISA ATA channels.

Revision 1.128.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 2 17:27:07 2012 UTC (5 weeks, 3 days ago) by mav
Branches: RELENG_9
Diff to: previous 1.128.2.1: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.2.1: +2 -0 lines
SVN rev 229293 on 2012-01-02 17:27:07Z by mav

MFC r226680:
Some dmesg cosmetics:
 - for the legacy PCI ATA channels move channel number out of the device
description, same as it is for ahci(4), siis(4) and mvs(4);
 - add device description for the ISA ATA channels.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Dec 14 13:12:55 2011 UTC (8 weeks, 2 days ago) by mav
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -0 lines
SVN rev 228497 on 2011-12-14 13:12:55Z by mav

Add PCI IDs for the Intel ICH9M SATA controllers.

MFC after:	2 weeks

Revision 1.128.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (3 months ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.128.2.1: preferred, colored; next MAIN 1.128.2.2: preferred, colored
Changes since revision 1.128.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Oct 24 08:47:23 2011 UTC (3 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -0 lines
SVN rev 226680 on 2011-10-24 08:47:23Z by mav

Some dmesg cosmetics:
 - for the legacy PCI ATA channels move channel number out of the device
description, same as it is for ahci(4), siis(4) and mvs(4);
 - add device description for the ISA ATA channels.

Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.109.2.19: download - view: text, markup, annotated - select for diffs
Fri Jul 29 09:58:56 2011 UTC (6 months, 1 week ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.18: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.18: +3 -0 lines
SVN rev 224490 on 2011-07-29 09:58:56Z by mav

MFC r224270:
 - Use mutex to serialize index/data register pair usage, when
accessing SATA registers. Unserialized access under heavy load caused
wrong speed reporting and potentially could cause device loss.
 - To free memory and other resources (including above), allocated
during chipinit() method call on attach, add new chipdeinit() method,
called during driver detach.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Fri Jul 22 16:37:04 2011 UTC (6 months, 2 weeks ago) by mav
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -0 lines
SVN rev 224270 on 2011-07-22 16:37:04Z by mav

 - Use mutex to serialize index/data register pair usage, when
accessing SATA registers. Unserialized access under heavy load caused
wrong speed reporting and potentially could cause device loss.
 - To free memory and other resources (including above), allocated
during chipinit() method call on attach, add new chipdeinit() method,
called during driver detach.

Submitted by:   Andrew Boyer <aboyer@averesystems.com> (initial version)
Approved by:	re (kib)
MFC after:	1 week

Revision 1.109.2.18: download - view: text, markup, annotated - select for diffs
Thu Jun 2 07:39:05 2011 UTC (8 months, 1 week ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.17: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.17: +13 -0 lines
SVN rev 222595 on 2011-06-02 07:39:05Z by mav

MFC r221789, r221794 (by jfv):
Chipset support for the new Intel Panther Point PCH, thanks
to Seth Heasley for preparing the changes.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed May 11 20:31:27 2011 UTC (9 months ago) by jfv
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +13 -0 lines
SVN rev 221789 on 2011-05-11 20:31:27Z by jfv

Chipset support for the new Intel Panther Point PCH, thanks
to Seth Heasley for preparing the changes.

Revision 1.81.2.12: download - view: text, markup, annotated - select for diffs
Thu Apr 28 19:00:48 2011 UTC (9 months, 2 weeks ago) by jhb
Branches: RELENG_7
Diff to: previous 1.81.2.11: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.11: +1 -0 lines
SVN rev 221180 on 2011-04-28 19:00:48Z by jhb

MFC 191897:
Add ID of one more SII3132 revision found on adaptec aar-1225sa rev a2.

Revision 1.109.2.17: download - view: text, markup, annotated - select for diffs
Thu Apr 28 07:34:37 2011 UTC (9 months, 2 weeks ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.16: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.16: +1 -1 lines
SVN rev 221156 on 2011-04-28 07:34:37Z by mav

MFC r220920:
 - Fix mapping of the last two SATA ports on 6-port Intel controllers.
This improves hard-reset and hot-plug on these ports.
 - Device with ID 0x29218086 is a 2-port variant of ICH9 in legacy mode.
Skip probing for nonexistent slave devices there.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Apr 21 11:44:16 2011 UTC (9 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +1 -1 lines
SVN rev 220920 on 2011-04-21 11:44:16Z by mav

 - Fix mapping of the last two SATA ports on 6-port Intel controllers.
This improves hard-reset and hot-plug on these ports.
 - Device with ID 0x29218086 is a 2-port variant of ICH9 in legacy mode.
Skip probing for nonexistent slave devices there.

Revision 1.109.2.16: download - view: text, markup, annotated - select for diffs
Tue Apr 19 16:42:07 2011 UTC (9 months, 3 weeks ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.15: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.15: +6 -0 lines
SVN rev 220849 on 2011-04-19 16:42:07Z by mav

MFC r218149 (by jfv):
Support for the new Patsburg PCH chipset:
     - SMBus Controller
     - SATA Controller
     - HD Audio Controller
     - Watchdog Controller

Revision 1.109.2.15: download - view: text, markup, annotated - select for diffs
Tue Apr 19 16:40:58 2011 UTC (9 months, 3 weeks ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.14: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.14: +1 -0 lines
SVN rev 220848 on 2011-04-19 16:40:58Z by mav

MFC r218140 (jfv):
Support for the new DH89xxCC PCH chipset including:
      - SATA controller
      - Watchdog timer
      - SMBus controller

Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Feb 1 01:05:11 2011 UTC (12 months, 1 week ago) by jfv
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +6 -0 lines
SVN rev 218149 on 2011-02-01 01:05:11Z by jfv

Support for the new Patsburg PCH chipset:
     - SMBus Controller
     - SATA Controller
     - HD Audio Controller
     - Watchdog Controller

Thanks to Seth Heasley (seth.heasley@intel.com) for providing us code.

MFC after 3 days

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Jan 31 18:41:52 2011 UTC (12 months, 1 week ago) by jfv
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +1 -0 lines
SVN rev 218140 on 2011-01-31 18:41:52Z by jfv

Support for the new DH89xxCC PCH chipset including:
      - SATA controller
      - Watchdog timer
      - SMBus controller

Revision 1.81.2.11.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.81.2.11: preferred, colored; next MAIN 1.81.2.12: preferred, colored
Changes since revision 1.81.2.11: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.109.2.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.109.2.14: preferred, colored; next MAIN 1.109.2.15: preferred, colored
Changes since revision 1.109.2.14: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.109.2.14: download - view: text, markup, annotated - select for diffs
Tue Nov 23 21:29:40 2010 UTC (14 months, 2 weeks ago) by mav
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.109.2.13: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.13: +3 -0 lines
SVN rev 215772 on 2010-11-23 21:29:40Z by mav

MFC r215428, r215431, r215462:
Add support for VIA VX900 chipset SATA controller.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Nov 17 17:52:04 2010 UTC (14 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -0 lines
SVN rev 215431 on 2010-11-17 17:52:04Z by mav

Add IDs for VIA VX900 chipset SATA controller.
(Missed part of r215428)

Revision 1.109.2.13: download - view: text, markup, annotated - select for diffs
Sat Sep 4 06:05:57 2010 UTC (17 months, 1 week ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.12: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.12: +23 -0 lines
SVN rev 212192 on 2010-09-04 06:05:57Z by mav

MFC r211920:
Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing
entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat Aug 28 07:10:51 2010 UTC (17 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +23 -0 lines
SVN rev 211920 on 2010-08-28 07:10:51Z by mav

Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing
entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers.

Submitted by:	jfv@
MFC after:	1 week

Revision 1.109.2.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.109.2.12: preferred, colored; next MAIN 1.109.2.13: preferred, colored
Changes since revision 1.109.2.12: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.109.2.12: download - view: text, markup, annotated - select for diffs
Mon May 24 11:01:56 2010 UTC (20 months, 2 weeks ago) by mav
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.109.2.11: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.11: +3 -0 lines
SVN rev 208492 on 2010-05-24 11:01:56Z by mav

MFC r208410:
Report ATA/SATA channel number to NewBus at location string.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat May 22 07:32:47 2010 UTC (20 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -0 lines
SVN rev 208410 on 2010-05-22 07:32:47Z by mav

Report ATA/SATA channel number to NewBus at location string.

Revision 1.109.2.11: download - view: text, markup, annotated - select for diffs
Wed Mar 3 19:14:05 2010 UTC (23 months, 1 week ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.10: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.10: +1 -0 lines
SVN rev 204653 on 2010-03-03 19:14:05Z by mav

MFC r204509:
- Add ALI M5228 PATA ID.
- Add missed DMA initialization for ALI SATA chips.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Mon Mar 1 07:32:49 2010 UTC (23 months, 1 week ago) by mav
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +1 -0 lines
SVN rev 204509 on 2010-03-01 07:32:49Z by mav

- Add ALI M5228 PATA ID.
- Add missed DMA initialization for ALI SATA chips.

Revision 1.109.2.10: download - view: text, markup, annotated - select for diffs
Sun Feb 14 19:28:45 2010 UTC (23 months, 3 weeks ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.9: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.9: +1 -0 lines
SVN rev 203888 on 2010-02-14 19:28:45Z by mav

MFC r203030:
Add support for SATA part of Marvell 88SE912x controllers to ahci(4).
Limit early revisions from 6Gb/s to 3Gb/s by default, or they negotiate
only 1.5Gb/s, when 3Gb/s devices connected.

Add dummy driver for PATA part of these controllers, preventing generic
driver attach them. It causes system freeze when SATA controller used after
PATA was touched.

Revision 1.81.2.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.81.2.11: preferred, colored; next MAIN 1.81.2.12: preferred, colored
Changes since revision 1.81.2.11: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Jan 26 15:25:24 2010 UTC (2 years ago) by mav
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +1 -0 lines
SVN rev 203030 on 2010-01-26 15:25:24Z by mav

Add support for SATA part of Marvell 88SE912x controllers to ahci(4).
Limit early revisions from 6Gb/s to 3Gb/s by default, or they negotiate
only 1.5Gbps, when 3Gb/s devices connected.

Add dummy driver for PATA part of these controllers, preventing generic
driver attach them. It causes system freeze when SATA controller used after
PATA was touched.

Revision 1.109.2.9: download - view: text, markup, annotated - select for diffs
Tue Jan 19 13:26:45 2010 UTC (2 years ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.8: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.8: +1 -0 lines
SVN rev 202621 on 2010-01-19 13:26:45Z by mav

MFC r200857:
Add support for Intel SCH PATA controller.

PR:             kern/140251

Revision 1.109.2.8: download - view: text, markup, annotated - select for diffs
Tue Jan 19 13:24:11 2010 UTC (2 years ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.7: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.7: +5 -0 lines
SVN rev 202619 on 2010-01-19 13:24:11Z by mav

MFC r200754:
Add VIA CX700/VX800 chipsets SATA/PATA support.

PR:             kern/121521

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Dec 22 19:48:06 2009 UTC (2 years, 1 month ago) by mav
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +1 -0 lines
SVN rev 200857 on 2009-12-22 19:48:06Z by mav

Add support for Intel SCH PATA controller.

PR:		kern/140251

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Dec 20 16:23:11 2009 UTC (2 years, 1 month ago) by mav
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -0 lines
SVN rev 200754 on 2009-12-20 16:23:11Z by mav

Add VIA CX700/VX800 chipsets SATA/PATA support.

PR:		kern/121521
Tested by:	Alex Deiter

Revision 1.109.2.7: download - view: text, markup, annotated - select for diffs
Sat Dec 12 10:37:31 2009 UTC (2 years, 1 month ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.6: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.6: +4 -3 lines
SVN rev 200432 on 2009-12-12 10:37:31Z by mav

MFC r200171, r200182, r200275, r200295, r200359:
Introduce ATA_CAM kernel option, turning ata(4) controller drivers into
cam(4) interface modules. When enabled, this option deprecates all ata(4)
peripheral drivers (ad, acd, ...) and interfaces and allows cam(4) drivers
(ada, cd, ...) and interfaces to be natively used instead.

As side effect of this, ata(4) mode setting code was completely rewritten
to make controller API more strict and permit above change. While doing
this, SATA revision was separated from PATA mode. It allows DMA-incapable
SATA devices to operate and makes hw.ata.(ata|atapi)_dma tunable work again.

Also allow ata(4) controller drivers (except some specific or broken ones)
to handle larger data transfers. Previous constraint of 64K was artificial
and is not really required by PCI ATA BM specification or hardware.

Submitted by:   nwitehorn (powerpc part)

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Dec 6 00:10:13 2009 UTC (2 years, 2 months ago) by mav
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +4 -3 lines
SVN rev 200171 on 2009-12-06 00:10:13Z by mav

MFp4:
Introduce ATA_CAM kernel option, turning ata(4) controller drivers into
cam(4) interface modules. When enabled, this options deprecates all ata(4)
peripheral drivers (ad, acd, ...) and interfaces and allows cam(4) drivers
(ada, cd, ...) and interfaces to be natively used instead.

As side effect of this, ata(4) mode setting code was completely rewritten
to make controller API more strict and permit above change. While doing
this, SATA revision was separated from PATA mode. It allows DMA-incapable
SATA devices to operate and makes hw.ata.atapi_dma tunable work again.

Also allow ata(4) controller drivers (except some specific or broken ones)
to handle larger data transfers. Previous constraint of 64K was artificial
and is not really required by PCI ATA BM specification or hardware.

Submitted by:	nwitehorn (powerpc part)

Revision 1.109.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 23 08:56:17 2009 UTC (2 years, 2 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.5: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.5: +15 -7 lines
SVN rev 199698 on 2009-11-23 08:56:17Z by mav

MFC r199259, r199262, r199322:
Change the way in which AHCI+PATA combined controllers, such as JMicron
are handled. Instead of trying to attach two different drivers to
single device, wrapping each call, make one of them (atajmicron)
attach do device solely, but create child device for AHCI driver,
passing it all required resources. It is quite easy, as none of
resources are shared, except IRQ.
Add support for AHCI SATA parts of alike SATA+PATA MArvell controllers.
Add IDs of Marvell 88SX6102, 88SX6111. 88SX6141 controllers.

As result, it:
- makes drivers operation more independent and straitforward,
- allows to use new ahci(4) driver with such devices, adding support for
new features, such as PMP and NCQ, same time keeping legacy PATA support,
- will allow to just drop old ataahci driver, when it's time come.

Revision 1.109.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 17 12:30:06 2009 UTC (2 years, 2 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.4: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.4: +4 -0 lines
SVN rev 199363 on 2009-11-17 12:30:06Z by mav

MFC r199074:

Add more ICH10 chip IDs.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Mon Nov 16 15:38:27 2009 UTC (2 years, 2 months ago) by mav
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +12 -7 lines
SVN rev 199322 on 2009-11-16 15:38:27Z by mav

Change the way in which AHCI+PATA combined controllers, such as JMicron
and Marvell handled. Instead of trying to attach two different drivers to
single device, wrapping each call, make one of them (atajmicron, atamarvell)
attach do device solely, but create child device for AHCI driver,
passing it all required resources. It is quite easy, as none of
resources are shared, except IRQ.

As result, it:
- makes drivers operation more independent and straitforward,
- allows to use new ahci(4) driver with such devices, adding support for
new features, such as PMP and NCQ, same time keeping legacy PATA support,
- will allow to just drop old ataahci driver, when it's time come.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Nov 13 22:53:49 2009 UTC (2 years, 2 months ago) by mav
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -0 lines
SVN rev 199259 on 2009-11-13 22:53:49Z by mav

Add support for SATA ports on SATA+PATA Marvell controllers.
These controllers provide combination of AHCI for SATA and legacy
PCI ATA for PATA. Use same solution as used for JMicron controllers.
Add IDs of Marvell 88SX6102, 88SX6111. 88SX6141 alike controllers

Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Nov 9 09:27:09 2009 UTC (2 years, 3 months ago) by mav
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +4 -0 lines
SVN rev 199074 on 2009-11-09 09:27:09Z by mav

Add more ICH10 chip IDs.

Submitted by:	Dmitry S. Luhtionov <mitya@cabletv.dp.ua>

Revision 1.109.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 8 14:06:15 2009 UTC (2 years, 3 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.3: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.3: +45 -1 lines
SVN rev 199047 on 2009-11-08 14:06:15Z by mav

MFC r198818:
Add IDs for nVidia MCP65/77/79/89 SATA conntrollers.

Revision 1.109.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 6 10:56:43 2009 UTC (2 years, 3 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.2: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.2: +3 -0 lines
SVN rev 198982 on 2009-11-06 10:56:43Z by mav

MFC r198700:
Add support for different request block format used by Gen-IIe Marvell SATA.
This adds support for Marvell 6042/7042 chips and Adaptec 1430SA controller.

MFC r198718:
Allow newly added controllers to use full I/O sizes.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Nov 2 19:02:31 2009 UTC (2 years, 3 months ago) by mav
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +45 -1 lines
SVN rev 198818 on 2009-11-02 19:02:31Z by mav

Add IDs for nVidia MCP65/77/79/89 SATA conntrollers.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Oct 30 20:28:49 2009 UTC (2 years, 3 months ago) by mav
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -0 lines
SVN rev 198700 on 2009-10-30 20:28:49Z by mav

Add support for different request block format used by Gen-IIe Marvell SATA.
This adds support for Marvell 6042/7042 chips and Adaptec 1430SA controller.

Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 29 10:05:08 2009 UTC (2 years, 3 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.109.2.1: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.1: +2 -0 lines
SVN rev 198576 on 2009-10-29 10:05:08Z by mav

MFC rev. 198481, 198482:
Add two more VIA SATA chip IDs.

PR:		kern/135057

Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Oct 26 10:00:59 2009 UTC (2 years, 3 months ago) by mav
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -0 lines
SVN rev 198481 on 2009-10-26 10:00:59Z by mav

Add two more VIA SATA chip IDs.

PR:		kern/135057

Revision 1.109.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.109.2.1: preferred, colored; next MAIN 1.109.2.2: preferred, colored
Changes since revision 1.109.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.81.2.11: download - view: text, markup, annotated - select for diffs
Wed Oct 21 16:12:09 2009 UTC (2 years, 3 months ago) by mav
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP
Branch point for: RELENG_7_4, RELENG_7_3
Diff to: previous 1.81.2.10: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.10: +11 -7 lines
SVN rev 198334 on 2009-10-21 16:12:09Z by mav

MFC rev. 178375:
Add HW level support for the Adaptec 1420SA controller.

Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Jun 24 15:38:17 2009 UTC (2 years, 7 months ago) by raj
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +0 -13 lines
SVN rev 194844 on 2009-06-24 15:38:17Z by raj

Move non-PCI prototypes from ata-pci.h -> ata-all.h.

This removes unnecessary PCI #includes dependency for systems with ATA
controllers living at non-PCI buses.

Submitted by:	Piotr Ziecik
Obtained from:	Semihalf

Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Jun 8 14:37:47 2009 UTC (2 years, 8 months ago) by ariff
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +1 -0 lines
SVN rev 193716 on 2009-06-08 14:37:47Z by ariff

Add another PCI id for Nvidia nForce MCP67, found in several Acer laptops.

Revision 1.81.2.10: download - view: text, markup, annotated - select for diffs
Tue May 19 15:47:42 2009 UTC (2 years, 8 months ago) by jhb
Branches: RELENG_7
Diff to: previous 1.81.2.9: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.9: +1 -0 lines
SVN rev 192387 on 2009-05-19 15:47:42Z by jhb

MFC:
- Add a void pointer to the ata-pci controller softc to allow
  chipset-specific code to attach chipset-specific data.
- Use chipset-specific data in the acard and promise chipsets rather than
  changing the ivars of ATA PCI devices.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu May 14 14:57:13 2009 UTC (2 years, 8 months ago) by jhb
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -0 lines
SVN rev 192105 on 2009-05-14 14:57:13Z by jhb

- Add a void pointer to the ata-pci controller softc to allow
  chipset-specific code to attach chipset-specific data.
- Use chipset-specific data in the acard and promise chipsets rather than
  changing the ivars of ATA PCI devices.  ivars are reserved for use by the
  parent bus driver and are _not_ available for use by devices directly.
  This fixes a panic during sysctl -a with certain Promise controllers with
  ACPI enabled.

Reviewed by:	mav
Tested by:	Magnus Kling (kingfon @ gmail) (on 7)
MFC after:	3 days

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu May 7 19:17:06 2009 UTC (2 years, 9 months ago) by mav
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +1 -0 lines
SVN rev 191897 on 2009-05-07 19:17:06Z by mav

Add ID of one more SII3132 revision found on adaptec aar-1225sa rev a2.

PR:		kern/127289

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Apr 27 17:29:51 2009 UTC (2 years, 9 months ago) by jkim
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +6 -0 lines
SVN rev 191568 on 2009-04-27 17:29:51Z by jkim

- 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.

Revision 1.81.2.9.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.81.2.9: preferred, colored; next MAIN 1.81.2.10: preferred, colored
Changes since revision 1.81.2.9: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Mar 30 22:18:38 2009 UTC (2 years, 10 months ago) by mav
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +7 -1 lines
SVN rev 190581 on 2009-03-30 22:18:38Z by mav

Integrate user/mav/ata branch:

Add ch_suspend/ch_resume methods for PCI controllers and implement them
for AHCI. Refactor AHCI channel initialization according to it.

Fix Port Multipliers operation. It is far from perfect yet, but works now.
Tested with JMicron JMB363 AHCI + SiI 3726 PMP pair.
Previous version was also tested with SiI 4726 PMP.

Hardware sponsored by: Vitsch Electronics / VEHosting.nl

Revision 1.81.2.9: download - view: text, markup, annotated - select for diffs
Wed Mar 25 14:26:38 2009 UTC (2 years, 10 months ago) by mav
Branches: RELENG_7
CVS tags: RELENG_7_2_BP
Branch point for: RELENG_7_2
Diff to: previous 1.81.2.8: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.8: +25 -0 lines
SVN rev 190414 on 2009-03-25 14:26:38Z by mav

MFC rev. 188846:

Handle nForce MCP67 and MCP73 SATA controllers as AHCI. They report
itself as ATA RAID, but generic ATAPCI driver unable to detect drives
there. AHCI driver reported to handle them fine. Linux does the same.

Submitted by:	Andrey V. Elsukov on stable@
PR:		kern/125713
Approved by:	re (kib)

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Feb 21 22:57:26 2009 UTC (2 years, 11 months ago) by mav
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +0 -10 lines
SVN rev 188903 on 2009-02-21 22:57:26Z by mav

Improve ata_reinit():
 - protect againtst recursions,
 - add new devices detection using ata_identify().

Improve ata_identify():
 - do not add duplicate device if device already exist.

Rework SATA hot-plug events handling. Instead of unsafe duplicate
implementation use common ata_reinit() to handle all state changes.

All together this gives quite stable and robust cold- and hot-plug operation,
invariant to false, lost and duplicate events.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Feb 20 08:49:56 2009 UTC (2 years, 11 months ago) by mav
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +24 -0 lines
SVN rev 188846 on 2009-02-20 08:49:56Z by mav

Handle nForce MCP67 and MCP73 SATA controllers as AHCI. They report itself
as ATA RAID, but generic ATAPCI driver unable to detect drives there. AHCI
driver reported to handle them fine. Linux does the same.

Submitted by:	Andrey V. Elsukov on stable@

Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Feb 19 00:32:55 2009 UTC (2 years, 11 months ago) by mav
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -1 lines
SVN rev 188769 on 2009-02-19 00:32:55Z by mav

Quite mechanical ch_detach implementations for all atapci subdrivers.
Some dmainit call fixes for previous commit.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Feb 18 22:17:48 2009 UTC (2 years, 11 months ago) by mav
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -4 lines
SVN rev 188765 on 2009-02-18 22:17:48Z by mav

As soon as they called in only same one place (ata_pcichannel_attach()),
join allocate() and dmainit() atapci subdriver's channel initialization
methods into single ch_attach() method.

As opposite to ch_attach() add new ch_detach() method to deallocate/disable
channel.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Feb 16 19:10:07 2009 UTC (2 years, 11 months ago) by mav
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -0 lines
SVN rev 188694 on 2009-02-16 19:10:07Z by mav

Give atapci knowledge about set of implemented AHCI ports. It is possible
to not allocate them after the recent ata channels enumeration changes.
It allows to save some resources, not bother user with unexisting hardware
and not check unimplemented ports status on every interrupt.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Feb 15 20:37:55 2009 UTC (2 years, 11 months ago) by mav
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -0 lines
SVN rev 188655 on 2009-02-15 20:37:55Z by mav

Add initial single-vector MSI support into atapci driver.
Works fine with AHCI and theoretically other MSI capable devices.

At this moment support disabled by default. To enable it, set
"hint.atapci.X.msi=1" device hint.

Revision 1.81.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 12 22:37:05 2009 UTC (3 years ago) by rpaulo
Branches: RELENG_7
Diff to: previous 1.81.2.7: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.7: +1 -0 lines
SVN rev 187119 on 2009-01-12 22:37:05Z by rpaulo

MFC r185268:

Add support for Marvell PATA M88SX6121.

PR:		129154
Submitted by:	João Barros <joao.barros at gmail.com>

Revision 1.81.2.7.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 29 01:06:11 2008 UTC (3 years, 1 month ago) by delphij
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.81.2.7.2.1: preferred, colored; branchpoint 1.81.2.7: preferred, colored; next MAIN 1.81.2.8: preferred, colored
Changes since revision 1.81.2.7.2.1: +0 -9 lines
SVN rev 186551 on 2008-12-29 01:06:11Z by delphij

Revert r184442 (ata(4) changes to support ICH10 and ITE8213F chips) to
previous state due to some late problem reports on -stable@.

Approved by:	re (kensmith)

Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Dec 16 16:04:40 2008 UTC (3 years, 1 month ago) by mav
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +1 -0 lines
SVN rev 186182 on 2008-12-16 16:04:40Z by mav

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 shows me 3%
of time spent by atapci0 on pure network load due to IRQ sharing with em0.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Dec 1 01:34:18 2008 UTC (3 years, 2 months ago) by mav
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
SVN rev 185500 on 2008-12-01 01:34:18Z by mav

Restore AHCI suspend/resume support,
broken with modularization commit (rev 183724).

Revision 1.81.2.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
Diff to: previous 1.81.2.7: preferred, colored
Changes since revision 1.81.2.7: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Nov 25 00:39:03 2008 UTC (3 years, 2 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -0 lines
SVN rev 185268 on 2008-11-25 00:39:03Z by rpaulo

Add support for Marvell PATA M88SX6121.

PR:		129154
Submitted by:	João Barros <joao.barros at gmail.com>
MFC after:	1 month

Revision 1.81.2.7: download - view: text, markup, annotated - select for diffs
Wed Oct 29 17:27:23 2008 UTC (3 years, 3 months ago) by delphij
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.81.2.6: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.6: +9 -0 lines
SVN rev 184442 on 2008-10-29 17:27:23Z by delphij

Partial MFC of recent ATA driver in order to support more new hardware.

 - r183380 (sos)

Add support for the ITE 8213 controller.
Thanks goes to ITE who provided docs and feedback and made this possible.

Minor fixups to the Intel ICH code for bugs found while doing this.
(ITE8213 is very semilar to an Intel ICH)

 - r183552 (sos)

Add ICH10 PCI id's.

Fix the number of PATA ports on newer ICHX chips, they have just 1 port
not 2.

Approved by:	re (kib)

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Oct 9 12:56:57 2008 UTC (3 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +55 -98 lines
SVN rev 183724 on 2008-10-09 12:56:57Z by sos

This is the roumored ATA modulerisation works, and it needs a little explanation.

If you just config KERNEL as usual there should be no apparent changes, you'll get all chipset support code compiled in.

However there is now a way to only compile in code for chipsets needed on a pr vendor basis. ATA now has the following "device" entries:

atacore:	ATA core functionality, always needed for any ATA setup

atacard:	CARDBUS support
atacbus:	PC98 cbus support
ataisa:		ISA bus support
atapci:		PCI bus support only generic chipset support.

ataahci:	AHCI support, also pulled in by some vendor modules.

ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasiliconimage, atasis, atavia;	Vendor support, ie atavia for VIA chipsets

atadisk:	ATA disk driver
ataraid:	ATA softraid driver

atapicd:	ATAPI cd/dvd driver
atapifd:	ATAPI floppy/flashdisk driver
atapist:	ATAPI tape driver

atausb:		ATA<>USB bridge
atapicam:	ATA<>CAM bridge

This makes it possible to config a kernel with just VIA chipset support by having the following ATA lines in the kernel config file:

device          atacore
device          atapci
device          atavia

And then you need the atadisk, atapicd etc lines in there just as usual.

If you use ATA as modules loaded at boot there is few changes except the rename of the "ata" module to "atacore", things looks just as usual.
However under atapci you now have a whole bunch of vendor specific drivers, that you can kldload individually depending on you needs. Drivers have the same names as used in the kernel config explained above.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Oct 2 19:18:28 2008 UTC (3 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +8 -0 lines
SVN rev 183552 on 2008-10-02 19:18:28Z by sos

Add ICH10 PCI id's.
Submitted by:	Xin Li

Fix the number of PATA ports on newer ICHX chips, they have just 1 port not 2.

Revision 1.49.2.19.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.49.2.19: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.19: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Sep 26 07:29:48 2008 UTC (3 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -0 lines
SVN rev 183380 on 2008-09-26 07:29:48Z by sos

Add support for the ITE 8213 controller.
Thanks goes to ITE who provided docs and feedback and made this possible.

Minor fixups to the Intel ICH code for bugs found while doing this.
(ITE8213 is very semilar to an Intel ICH)

MFC after: 1 week

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Sep 18 12:12:34 2008 UTC (3 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +4 -0 lines
SVN rev 183141 on 2008-09-18 12:12:34Z by sos

Cleanup the AHCI code a bit.
Add suspend/resume for AHCI, general methods added.

Inspired by: Andrey V. Elsukov

Revision 1.81.2.6: download - view: text, markup, annotated - select for diffs
Sat Sep 13 07:36:16 2008 UTC (3 years, 4 months ago) by mav
Branches: RELENG_7
Diff to: previous 1.81.2.5: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.5: +1 -0 lines
SVN rev 182994 on 2008-09-13 07:36:16Z by mav

MFC r182749

Add one more SII3132 chip PCI ID found on Adaptec Serial ATA II RAID 1220SA.

Submitted by:	Dmitry S. Luhtionov <mitya@cabletv.dp.ua>

Approved by:	re (kib)

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Sep 4 10:27:58 2008 UTC (3 years, 5 months ago) by mav
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -0 lines
SVN rev 182749 on 2008-09-04 10:27:58Z by mav

Add one more SII3132 chip PCI ID found on Adaptec Serial ATA II RAID 1220SA.

Submitted by:	Dmitry S. Luhtionov <mitya@cabletv.dp.ua>

Revision 1.49.2.19: download - view: text, markup, annotated - select for diffs
Sat Aug 2 12:40:12 2008 UTC (3 years, 6 months ago) by remko
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.49.2.18: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.18: +3 -2 lines
SVN rev 181172 on 2008-08-02 12:40:12Z by remko

MFC r180437

    Detect ATA controllers in the Macbook3.

    PR:           118135
    Submitted by: ed
    Approved by:  imp (mentor, implicit)
    MFC after:    1 week

Approved by:    imp (mentor, implicit)

Revision 1.49.2.18: download - view: text, markup, annotated - select for diffs
Sat Aug 2 12:38:18 2008 UTC (3 years, 6 months ago) by remko
Branches: RELENG_6
Diff to: previous 1.49.2.17: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.17: +1 -0 lines
SVN rev 181170 on 2008-08-02 12:38:18Z by remko

MFC r180383

    Add new device id for ICH8M, which supports greater than UDMA33 mode
    when it worked as generic IDE.

    PR:                   125422
    Submitted by:         Andrey V. Elsukov <bu7cher at yandex dot ru>
    Approved by:          imp (mentor, implicit)
    MFC after:            1 week

Approved by:    imp (mentor, implicit)

Revision 1.49.2.17: download - view: text, markup, annotated - select for diffs
Sat Aug 2 12:37:10 2008 UTC (3 years, 6 months ago) by remko
Branches: RELENG_6
Diff to: previous 1.49.2.16: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.16: +1 -0 lines
SVN rev 181169 on 2008-08-02 12:37:10Z by remko

MFC r180382:

    Add support for the ICH9 in non AHCI mode (RAID mode).

    Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
    Tested by:    Vitalij L. Fadeev <fvl at mail dot ru>
    Approved by:  imp (mentor, implicit)
    MFC after:    1 week

Approved by:    imp (mentor, implicit)

Revision 1.81.2.5: download - view: text, markup, annotated - select for diffs
Sat Aug 2 12:34:49 2008 UTC (3 years, 6 months ago) by remko
Branches: RELENG_7
Diff to: previous 1.81.2.4: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.4: +3 -2 lines
SVN rev 181168 on 2008-08-02 12:34:49Z by remko

MFC r180437

  Detect ATA controllers in the Macbook3.

  PR:		118135
  Submitted by:	ed
  Approved by:	imp (mentor, implicit)
  MFC after:	1 week

Approved by:	imp (mentor, implicit)

Revision 1.81.2.4: download - view: text, markup, annotated - select for diffs
Sat Aug 2 12:31:15 2008 UTC (3 years, 6 months ago) by remko
Branches: RELENG_7
Diff to: previous 1.81.2.3: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.3: +1 -0 lines
SVN rev 181165 on 2008-08-02 12:31:15Z by remko

MFC r180383

  Add new device id for ICH8M, which supports greater than UDMA33 mode
  when it worked as generic IDE.

  PR:			125422
  Submitted by:		Andrey V. Elsukov <bu7cher at yandex dot ru>
  Approved by:		imp (mentor, implicit)
  MFC after:		1 week

Approved by:	imp (mentor, implicit)

Revision 1.81.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 2 12:29:43 2008 UTC (3 years, 6 months ago) by remko
Branches: RELENG_7
Diff to: previous 1.81.2.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.2: +1 -0 lines
SVN rev 181164 on 2008-08-02 12:29:43Z by remko

MFC r180382:

  Add support for the ICH9 in non AHCI mode (RAID mode).

  Submitted by:	Andrey V. Elsukov <bu7cher at yandex dot ru>
  Tested by:	Vitalij L. Fadeev <fvl at mail dot ru>
  Approved by:	imp (mentor, implicit)
  MFC after:	1 week

Approved by:	imp (mentor, implicit)

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Jul 10 21:36:53 2008 UTC (3 years, 7 months ago) by remko
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -2 lines
SVN rev 180437 on 2008-07-10 21:36:53Z by remko

Detect ATA controllers in the Macbook3.

PR:		118135
Submitted by:	ed
Approved by:	imp (mentor, implicit)
MFC after:	1 week

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Jul 9 15:07:53 2008 UTC (3 years, 7 months ago) by remko
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +1 -0 lines
SVN rev 180383 on 2008-07-09 15:07:53Z by remko

Add new device id for ICH8M, which supports greater than UDMA33 mode
when it worked as generic IDE.

PR:			125422
Submitted by:		Andrey V. Elsukov <bu7cher at yandex dot ru>
Approved by:		imp (mentor, implicit)
MFC after:		1 week

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Jul 9 15:06:41 2008 UTC (3 years, 7 months ago) by remko
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +1 -0 lines
SVN rev 180382 on 2008-07-09 15:06:41Z by remko

Add support for the ICH9 in non AHCI mode (RAID mode).

Submitted by:	Andrey V. Elsukov <bu7cher at yandex dot ru>
Tested by:	Vitalij L. Fadeev <fvl at mail dot ru>
Approved by:	imp (mentor, implicit)
MFC after:	1 week

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:51:38 2008 UTC (3 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +11 -7 lines
Add HW level support for the Adaptec 1420SA controller.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Apr 12 17:21:22 2008 UTC (3 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +1 -0 lines
Dont call hw.status recursively.

Spotted by: Marcel Moolenaar

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Apr 10 13:05:05 2008 UTC (3 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -2 lines
Add experimental support for SATA Port Multipliers

Support is working on the Silicon Image SiI3124/3132.
Support is working on some AHCI chips but far from all.

Remember this is WIP, so test reports and (constructive) suggestions are welcome!

Revision 1.49.2.16: download - view: text, markup, annotated - select for diffs
Tue Apr 1 18:22:37 2008 UTC (3 years, 10 months ago) by remko
Branches: RELENG_6
Diff to: previous 1.49.2.15: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.15: +6 -0 lines
MFC rev 1.212 ata-chipset.c
MFC rev 1.83 ata-pci.h

  Add proper support for the SATA/AHCI part of IXP[67]00

Approved by:    imp (mentor, implicit), sos

Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 1 15:20:49 2008 UTC (3 years, 10 months ago) by remko
Branches: RELENG_7
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.1: +6 -0 lines
MFC rev 1.212 ata-chipset.c
MFC rev 1.83 ata-pci.h

  Add proper support for the SATA/AHCI part of IXP[67]00

Approved by:	imp (mentor, implicit), sos

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Mar 7 09:29:19 2008 UTC (3 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -0 lines
Add proper support for the SATA/AHCI part of IXP[67]00

Revision 1.49.2.15: download - view: text, markup, annotated - select for diffs
Thu Nov 22 07:50:36 2007 UTC (4 years, 2 months ago) by sos
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Diff to: previous 1.49.2.14: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.14: +10 -2 lines
Update with the latest fixes from -current.

Approved by: re@

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:15:00 2007 UTC (4 years, 2 months ago) by sos
Branches: RELENG_7
CVS tags: RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +10 -2 lines
Update with the latest fixes from -current.

Approved by: re@

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Nov 18 14:44:52 2007 UTC (4 years, 2 months ago) by sos
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +10 -2 lines
Add generic support for chipsets that say they support AHCI.  This should catch new chipsets that we dont know but that we should support.
Add a few new PCI id's.
Misc cleanups.

Revision 1.49.2.14: download - view: text, markup, annotated - select for diffs
Fri Nov 9 09:58:08 2007 UTC (4 years, 3 months ago) by delphij
Branches: RELENG_6
Diff to: previous 1.49.2.13: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.13: +16 -3 lines
MFC: Sync the -HEAD state of ata(4) back to RELENG_6, except interrupt filtering,
CAM MPSAFE, BIO_FLUSH and alpha support removal, which are not suitable for
RELENG_6.

This makes RELENG_6 to support the same set of ATA devices as RELENG_7 and -CURRENT
did.

Reviewed by:	sos

Revision 1.49.2.13: download - view: text, markup, annotated - select for diffs
Wed Oct 31 13:06:17 2007 UTC (4 years, 3 months ago) by phk
Branches: RELENG_6
Diff to: previous 1.49.2.12: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.12: +1 -0 lines
MFC:
	recognize AMD GeodeLX companion chip CS5536

Revision 1.49.2.12: download - view: text, markup, annotated - select for diffs
Sat Oct 27 10:51:33 2007 UTC (4 years, 3 months ago) by simon
Branches: RELENG_6
Diff to: previous 1.49.2.11: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.11: +4 -0 lines
MFC ata-chipset.c (1.199), ata-pci.h (1.78):

  Add PCI IDs for Intel ICH9.

Tested by:	pav

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Oct 9 20:15:09 2007 UTC (4 years, 4 months ago) by delphij
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -0 lines
Add PCI ID for ICH9 AHCI w/ two adapters.

Tested by:	Abdullah Ibn Hamad Al-Marri <almarrie gmail com>
Approved by:	sos
Approved by:	re (kensmith)

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Oct 4 19:17:16 2007 UTC (4 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -0 lines
Add support for the VIA 8237S
Fix the LBA28/LBA48 crossover bug.

Approved by: re@

Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Oct 4 06:21:54 2007 UTC (4 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -0 lines
Recognize the CS5536 support chip for the AMD Geode LX CPU to enable
UDMA modes.

Please notice that Soekris NET5501 bios versions before 1.32f has a bug
that prevents this from working.

Approved by:	re (gnn)
MFC:		2 weeks

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Sep 10 19:16:39 2007 UTC (4 years, 5 months ago) by simon
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -0 lines
Add PCI IDs for Intel ICH9.

PR:		kern/114473
Submitted by:	Michael Fuckner <michael@fuckner.net>
MFC after:	2 weeks
OK'ed by:	sos
Approved by:	re (bmah)

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Jun 25 08:21:21 2007 UTC (4 years, 7 months ago) by sos
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -0 lines
Add support for the nVidia MCP61 series chipset.

Approved by: re (mux@)

Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Mar 9 22:23:39 2007 UTC (4 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -0 lines
Add support for the Silicon Image SiI 3124 and SiI 3132.

HW donated by: Adriaan de Groot

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Feb 23 12:18:33 2007 UTC (4 years, 11 months ago) by piso
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -1 lines
o break newbus api: add a new argument of type driver_filter_t to
  bus_setup_intr()

o add an int return code to all fast handlers

o retire INTR_FAST/IH_FAST

For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

Reviewed by: many
Approved by: re@

Revision 1.49.2.11: download - view: text, markup, annotated - select for diffs
Sun Feb 11 23:46:45 2007 UTC (4 years, 11 months ago) by rink
Branches: RELENG_6
Diff to: previous 1.49.2.10: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.10: +4 -0 lines
MFC: Add support for the NetCell NC3000/5000 series SATA RAID cards.

Reviewed by:	sos
Approved by:	imp (mentor)

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Feb 3 20:12:00 2007 UTC (5 years ago) by rink
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -0 lines
Add support for the NetCell NC3000/5000 series SATA RAID cards.

Reviewed by:	sos
Approved by:	imp (mentor)
MFC after:	1 week

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jan 4 16:09:11 2007 UTC (5 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -2 lines
Add support for the Marvell 6101/6145 PATA chips used on many new Intel boards.

HW donated by:	Sentex

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Jan 4 07:56:12 2007 UTC (5 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -1 lines
Add new PATA only JMicron chip.

Revision 1.49.2.10: download - view: text, markup, annotated - select for diffs
Sat Sep 30 14:51:49 2006 UTC (5 years, 4 months ago) by sos
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.49.2.9: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.9: +3 -0 lines
MFC:

CF devices are ATA not ATAPI.
Add support for the ALI/ULI M5288 AHCI part
Busmaster DMA address fix in VIA 6421 case
Add support for a few more Serverworks and lookalikes chips
If current_heads or current_sectors in the disk cap page are zero, dont try to use the current_ geometry. This avoids a panic with BIOS'n that sets these to zero.
Format mask lacks one bit.

Approved by: re@

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Sep 11 19:48:30 2006 UTC (5 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -0 lines
Add support for a few more Serverworks and lookalikes chips.

Revision 1.49.2.9: download - view: text, markup, annotated - select for diffs
Sat Sep 2 17:01:32 2006 UTC (5 years, 5 months ago) by sos
Branches: RELENG_6
Diff to: previous 1.49.2.8: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.8: +37 -17 lines
MFC: Sync with -current.

Dont poll for ATA_IDLE on a detached channel in suspend.
Add support for the Serverworks HT1000 chip.
Finally fix support for the newer MCP51/MCP55 nVidia chipsets.
Add support for the ICH8 and ESB2 chips, also add a few other missing ICH7 partsUpdate JMicron support to also work with chips where the PATA and SATA
parts are on individual PCI functions.
Add support for VIA 8237A.
Add support for AHCI on the VIA VT8251.
Dont call free on non-alloc'd items.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Sep 2 12:55:42 2006 UTC (5 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -0 lines
Add support for VIA 8237A.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Aug 14 19:39:33 2006 UTC (5 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +26 -12 lines
Add support for the ICH8 and ESB2 chips, also add a few other missing ICH7 parts.

HW donated by:	JMicron

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Aug 11 21:19:29 2006 UTC (5 years, 6 months ago) by sos
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -1 lines
Unbreak nForce4 SATA support.
Hopefully I dont break something else this time.....

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Aug 5 11:41:46 2006 UTC (5 years, 6 months ago) by sos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -2 lines
Unbreak nForce3 SATA support.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jul 24 10:44:50 2006 UTC (5 years, 6 months ago) by sos
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +10 -8 lines
Finally fix support for the newer MCP51/MCP55 nVidia chipsets.
The register layout has changed since the original NV4 - sigh.
Hotplug support has been fixed for all nVidia chipsets that supports it
(including the MCP51/55).

HW donated by: Kingsley College

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Jul 4 20:36:03 2006 UTC (5 years, 7 months ago) by sos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -0 lines
Add preliminary support for the Serverworks HT1000 chip.

HW sponsored by:	Yahoo!

Revision 1.49.2.8: download - view: text, markup, annotated - select for diffs
Thu Mar 16 21:28:51 2006 UTC (5 years, 10 months ago) by sos
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.49.2.7: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.7: +3 -0 lines
MFC:

Add support for the JMicron JMB361, 365 and 366 chips.
HW and documentation kindly provided by JMicron.

Approved by: re@ (mux)

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Mar 13 14:01:37 2006 UTC (5 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -0 lines
Add support for the JMicron JMB361, 365 and 366 chips.

HW and documentation kindly provided by JMicron.

Revision 1.49.2.7: download - view: text, markup, annotated - select for diffs
Sun Feb 19 15:18:23 2006 UTC (5 years, 11 months ago) by sos
Branches: RELENG_6
Diff to: previous 1.49.2.6: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.6: +2 -0 lines
MFC:
	Add support for the JMicron JMB363 dual SATA + single PATA controller.
	Add r/w support for JMicron ATA RAID metadata.
	Add a reset of the AHCI machinery to the ICH6/ICH7 support.
	Unbreak Promise SATAII/150 controllers caused by the DMA dump changes.
	Unbreak DMA dump on Intel 31224.

Approved by:	re@ (scottl)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Feb 16 17:09:24 2006 UTC (5 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -0 lines
Add support for the JMicron JMB363 dual SATA + single PATA controller.
Documentation and HW kindly provided by JMicron.

Revision 1.49.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 30 10:32:40 2006 UTC (6 years ago) by sos
Branches: RELENG_6
Diff to: previous 1.49.2.5: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.5: +4 -0 lines
MFC:
	Add support for the JMicron JMB360 SATAII controller.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Jan 25 23:07:42 2006 UTC (6 years ago) by sos
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -0 lines
Add support for the JMicron JMB360 SATAII controller.
Thanks to JMicron for providing needed info.

HW donated by:	Ralf Folkerts

Revision 1.49.2.5: download - view: text, markup, annotated - select for diffs
Wed Jan 25 08:13:45 2006 UTC (6 years ago) by sos
Branches: RELENG_6
Diff to: previous 1.49.2.4: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.4: +47 -23 lines
MFC:
        Bring ATA up to -current standards:

Fix SiS SATA support, the SATA registers was off.
Update the ICH7 support so it deals better with chips without AHCI.
Unbreak hotplug support on the ICH6 and ICH7 chipsets.
Add support for VIA VT8251 southbridge.
Add new nVidia nForce4 chips.
Add support for the Marvell 88SX[56]0[48][01] series of SATA chips.
Fix the promise modesetting for old chips.
Get rid of the advertising clause in the copyright.
Add support for using DMA on dump, greatly speeds up the dump process.
When IOCATAGPARM is called, update the capabilities page that is stored
in the kernel and return the new values.
Fix rebuilds of arrays that got stuck.
Add dump support in ataraid.
Add support for for reading and writing SiS metadata.
Add support for writing VIA metadata.
Add support for writing Intel metadata.
Correct calculation of RAID0 sizes on VIA RAID arrays.
Update Intel MatrixRAID support to be able to pick up RAID0+1 (RAID10)

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Jan 18 13:10:17 2006 UTC (6 years ago) by sos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +15 -11 lines
Whitespace cleanup.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jan 18 09:14:55 2006 UTC (6 years ago) by sos
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -1 lines
Add support for using DMA on dump, greatly speeds up the dump process.
Add dump support in ataraid.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jan 5 21:27:19 2006 UTC (6 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -3 lines
Get rid of the advertising clause in the copyright.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Dec 27 17:09:52 2005 UTC (6 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +12 -0 lines
Add initial support for the Marvell 88SX[56]0[48][01] series of SATA chips.

Hardware donated by: Matthew Jacob
Hardware donated by: Y!

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Dec 16 08:12:13 2005 UTC (6 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +14 -9 lines
Cleanup the strings for printing chipset names, saves quite some space.

Add a couble new nVidia chips now we are here.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Dec 14 12:13:00 2005 UTC (6 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -0 lines
Add support for VIA VT8251 southbridge.
SATA support for now in compat mode, but all 4 channels usable.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Dec 2 10:13:53 2005 UTC (6 years, 2 months ago) by sos
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -0 lines
Update the ICH7 support so it deals better with chips without AHCI.

Update Intel MatrixRAID support to be able to pick up RAID0+1 (RAID10)
and RAID5 arrays without panic'ing.
This has the side effect of now also supporting multiple volumes on
MatrixRAID's now I have the metadata better understood..

HW sponsored by:	Mullet Scandinavia AB

Revision 1.49.2.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:34:50 2005 UTC (6 years, 3 months ago) by scottl
Branches: RELENG_6_0
CVS tags: RELENG_6_0_0_RELEASE
Diff to: previous 1.49.2.3: preferred, colored; next MAIN 1.49.2.4: preferred, colored
Changes since revision 1.49.2.3: +9 -0 lines
MFC: Sync the driver with RELENG_6 to pick up critical atapi-cd and ata-raid
fixes, as well as ATI support.

Submitted by:	sos
Approved by:	re

Revision 1.49.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 13 08:07:46 2005 UTC (6 years, 3 months ago) by sos
Branches: RELENG_6
Diff to: previous 1.49.2.3: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.3: +9 -0 lines
MFC:
	Add support for ATI IXP[234]00 series chipsets.

Approved by: re@ (scottl)

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Oct 12 20:00:26 2005 UTC (6 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +9 -0 lines
Add support for the ATI IXP[234]00 series chipsets.

HW donated by: sentex

Revision 1.49.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 23 18:06:10 2005 UTC (6 years, 4 months ago) by sos
Branches: RELENG_6
CVS tags: RELENG_6_0_BP
Branch point for: RELENG_6_0
Diff to: previous 1.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.2: +1 -0 lines
MFC:
	Harden the hotplug support for SATA devices.
	This also fixes a few races that was present in the timeout/detach code.
	Fix support for the VIA 6421 controller.
	Fixes the losage of some ATAPI device that reported failed probing.
	Fix problem finding the still working disk in a broken mirror on VIA.

Approved by: re@ (scottl)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Aug 29 09:01:57 2005 UTC (6 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -0 lines
Fix support for the VIA 6421 controller.

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 25 16:21:05 2005 UTC (6 years, 5 months ago) by sos
Branches: RELENG_6
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +3 -0 lines
MFC:
	Add support for working around controllers that cannot do DMA in 48bit.
	The workaround use PIO mode above ~137GB to allow using the disk.
	Add the Acer chips with rev < 0xc4 as first candidate.

	Add support for the Promise PDC4071[89] chips on the Fasttrak TX4300.
	Docs kindly provided by Promise.

	Apply fix for "pr82261 DMA-support on Sparc64 broken"

	Use the bio field instead of the driver field as intended.

	Dont set default mode to ATA_DMA_MAX on devices not capable of DMA.

Approved by: re@ (scottl)

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 23 08:53:01 2005 UTC (6 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -0 lines
Apply fix for "pr82261 DMA-support on Sparc64 broken"
The Acer chip or wiring that SUN uses has problems that this patch
tries to work around.
Original patch by Marius Strobl, hacked into shape by me..

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Aug 12 16:54:11 2005 UTC (6 years, 6 months ago) by sos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -0 lines
Add support for the Promise PDC4071[89] chips used on fx the Fasttrak TX4300.
Docs kindly provided by Promise.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 7 11:20:28 2005 UTC (6 years, 6 months ago) by sos
Branches: RELENG_6
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -0 lines
MFC:
        Remove stale struct ata_channel declaration
        Add support for the ITE IT8211F controller
        Dont limit all transfers to DEV_BSIZE (stale dbug code)
        Hide the loaded/unloaded message behind bootverbose

Approved by: re@

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Aug 5 13:14:00 2005 UTC (6 years, 6 months ago) by sos
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -0 lines
Add support for the ITE IT8211F controller.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jun 8 20:02:55 2005 UTC (6 years, 8 months ago) by sos
Branches: MAIN
CVS tags: RELENG_6_BP
Branch point for: RELENG_6
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -0 lines
Add support for the Intel 31244.
Most code by the submitters, hammered upon to get the right ATA fell by me.

Submitted by:	Olivier Houchard
Submitted by:	Jia-Shiun Li

Revision 1.32.2.5: download - view: text, markup, annotated - select for diffs
Wed Jun 1 14:39:23 2005 UTC (6 years, 8 months ago) by jhb
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.32.2.4: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.4: +1 -0 lines
Add support for the SATA controller in the ICH6 mobile part.  Note this
isn't really an MFC since support for this part was part of the ata mkIII
mega commit.

PR:		kern/80656
Submitted by:	Vlad Galu vladgalu at gmail dot com

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon May 16 13:07:27 2005 UTC (6 years, 8 months ago) by sos
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5 lines
Change the way ioctls are issue to ATA.
The most prominent part is that its now possible to issue ata_requests
directly to say acd0, instead of going through the cumbersome /dev/ata
device.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri May 13 10:25:19 2005 UTC (6 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -1 lines
Cleanup comments

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed May 11 18:29:15 2005 UTC (6 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +7 -1 lines
Add new Intel PCI ID's for the ICH7 chips (untested).

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Apr 30 16:22:07 2005 UTC (6 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -8 lines
Take newbusification one step further, ie use the device_t more consequently
all way through the code down the layers, instead of the mix'n'match that
resulted from the conversion done earlier.

Sponsored by:	pair.com

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:37:57 2005 UTC (6 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -0 lines
Add one more Promise SATAII/150 chip id.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Apr 10 10:20:25 2005 UTC (6 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -0 lines
Refine the SATA PHY code so the time consumed during probe is reduced.

Add the older nVidia nForce2 SATA chip to supported HW.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Apr 8 15:33:04 2005 UTC (6 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -2 lines
Add support for the PHY on nVidia, SiS and VIA chips
This code is done blindfolded as I dont have such HW here, so reports
of success/failure are most welcome.

More SATA PHY cleanups.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Apr 8 09:37:47 2005 UTC (6 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines
Generalise the SATA PHY handling code so it wont be duplicated for
each SATA chip.
Promise and Silicon Image are the current candidates for this.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Apr 5 14:51:43 2005 UTC (6 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -1 lines
Add firstshot support for Acer Labs Inc SATA parts
Update ALi PATA support to handle ATA133 as well

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Mar 31 06:25:14 2005 UTC (6 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Correct the PCI ID for the SiS 965, and add support for the SATA part
that was left our by accident.

Prodded by:	Patrik Backlund

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Mar 30 12:03:37 2005 UTC (6 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +308 -288 lines
This is the much rumoured ATA mkIII update that I've been working on.

o       ATA is now fully newbus'd and split into modules.
        This means that on a modern system you just load "atapci and ata"
        to get the base support, and then one or more of the device
        subdrivers "atadisk atapicd atapifd atapist ataraid".
        All can be loaded/unloaded anytime, but for obvious reasons you
        dont want to unload atadisk when you have mounted filesystems.

o       The device identify part of the probe has been rewritten to fix
        the problems with odd devices the old had, and to try to remove
        so of the long delays some HW could provoke. Also probing is done
	without the need for interrupts, making earlier probing possible.

o       SATA devices can be hot inserted/removed and devices will be created/
        removed in /dev accordingly.
	NOTE: only supported on controllers that has this feature:
	Promise and Silicon Image for now.
	On other controllers the usual atacontrol detach/attach dance is
	still needed.

o	Support for "atomic" composite ATA requests used for RAID.

o       ATA RAID support has been rewritten and and now supports these
        metadata formats:
                 "Adaptec HostRAID"
                 "Highpoint V2 RocketRAID"
                 "Highpoint V3 RocketRAID"
                 "Intel MatrixRAID"
                 "Integrated Technology Express"
                 "LSILogic V2 MegaRAID"
                 "LSILogic V3 MegaRAID"
                 "Promise FastTrak"
                 "Silicon Image Medley"
		 "FreeBSD PseudoRAID"

o       Update the ioctl API to match new RAID levels etc.

o       Update atacontrol to know about the new RAID levels etc
        NOTE: you need to recompile atacontrol with the new sys/ata.h,
        make world will take care of that.
	NOTE2: that rebuild is done differently from the old system as
	the rebuild is now done piggybacked on read requests to the
	array, so atacontrol simply starts a background "dd" to rebuild
	the array.

o       The reinit code has been worked over to be much more robust.

o       The timeout code has been overhauled for races.

o	Support of new chipsets.

o       Lots of fixes for bugs found while doing the modulerization and
        reviewing the old code.

Missing or changed features from current ATA:

o       atapi-cd no longer has support for ATAPI changers. Todays its
        much cheaper and alot faster to copy those CD images to disk
        and serve them from there. Besides they dont seem to be made
        anymore, maybe for that exact reason.

o       ATA RAID can only read metadata from all the above metadata formats,
	not write all of them (Promise and Highpoint V2 so far). This means
	that arrays can be picked up from the BIOS, but they cannot be
	created from FreeBSD. There is more to it than just the missing
	write metadata support, those formats are not unique to a given
	controller like Promise and Highpoint formats, instead they exist
	for several types, and even worse, some controllers can have
	different formats and its impossible to tell which one.
	The outcome is that we cannot reliably create the metadata of those
	formats and be sure the controller BIOS will understand it.
	However write support is needed to update/fail/rebuild the arrays
	properly so it sits fairly high on the TODO list.

o       So far atapicam is not supported with these changes. When/if this
	will change is up to the maintainer of atapi-cam so go there for
	questions.

HW donated by:  Webveveriet AS
HW donated by:  Frode Nordahl
HW donated by:  Yahoo!
HW donated by:  Sentex
Patience by:	Vife and my boys (and even the cats)

Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Wed Mar 23 05:14:11 2005 UTC (6 years, 10 months ago) by mdodd
Branches: RELENG_5
CVS tags: RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.32.2.3: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.3: +10 -2 lines
ata-chipset.c
1.98: Support should now cover all old and current products.
1.97: Update the Promise support for combo (SATA+PATA) controllers.
1.96: Compensate for off by one bugs in disk firmware for 48BIT
      addressing cutover
1.95: Update the ICH6 support so all 4 SATA channels can be used.
      We still use "normal" mode, AHCI mode is in the works still.

ata-pci.h
1.36: Add first shot on support for the new Promise SATAII chips.

Approved by:	 re

Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 23 04:40:10 2005 UTC (6 years, 10 months ago) by mdodd
Branches: RELENG_5
Diff to: previous 1.32.2.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.2: +11 -0 lines
MFC

ata-chipset.c:1.94
    ata-pci.c:1.91
    ata-pci.h:1.37

Add support for the ITE IT8212F controller.

Approved by:	 re

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 8 11:17:38 2004 UTC (7 years, 2 months ago) by sos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +11 -0 lines
Add support for the ITE IT8212F controller.

HW donated by:	Yahoo!

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 8 10:02:41 2004 UTC (7 years, 2 months ago) by sos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -2 lines
Add first shot on support for the new Promise SATAII chips.

HW donated by:	pil.dk

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 10 15:01:47 2004 UTC (7 years, 4 months ago) by sos
Branches: RELENG_5
CVS tags: RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.1: +21 -19 lines
MFC:

Pull ATA up to -current levels minus PC98 geometry changes:

Fix the serverworks modesetting code, of mask offset was wrong.
Always set half'n'half mode on ICH* chips.
Fix the PC98 lockups on boot.
Add SHARP to the pool of drives that doesn not need byteswapping.
Add support for the ICH6 in legacy mode.
Dont sleep with lock held.

Approved by:	re@ (scottl)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Oct 9 16:27:13 2004 UTC (7 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -0 lines
Add support for the ICH6 in legacy mode.
The AHCI part is not supported yet, but is in the works.

5.3 RC1 candidate

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 6 19:46:08 2004 UTC (7 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +18 -19 lines
Fix the PC98 lockups on boot.
The interchannel locking for PC98 needed to be updated to match the
rest of the locking in ATA.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 6 19:36:26 2004 UTC (7 years, 5 months ago) by sos
Branches: RELENG_5
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +16 -5 lines
Update ATA to -current level. Summary:

Fix the handling of "inflight" requests when doing reinit's.

Always pick up giant before returning from an ioctl call.

Sii_reset needs to wait up to 1 second to get slow disks with it.

Set and reset the right bit for UDMA enable/disable on the ICH* chips.

Only call dmainit() if there is a valid busmaster resource.

Workaround devices that responds with registers as *both* master & slave.

Introduce ata_udelay() that uses tsleep instead of DELAY if possible.

Properly check malloc returns.

Approved by: re@

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Sep 3 07:37:53 2004 UTC (7 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +16 -5 lines
Cleanup the defines used for various chipsets.
Add new nVidia controllers.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jun 15 11:02:09 2004 UTC (7 years, 7 months ago) by sos
Branches: MAIN
CVS tags: RELENG_5_BP
Branch point for: RELENG_5
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -0 lines
Increase robustness of SATA handling.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Apr 30 16:21:34 2004 UTC (7 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -1 lines
Spring cleanup of macros

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Apr 21 20:03:26 2004 UTC (7 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3 lines
Make the test for ATA PCI legacy addressing mode more robust.
Add code (currently ifdef'd out) to allow ATA PCI native addressing.
Fix the altio offset for ATA PCI devices.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Apr 13 09:44:20 2004 UTC (7 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -2 lines
Add support for the Promise command sequencer present on all modern Promise
controllers (PDC203** PDC206**).

This also adds preliminary support for the Promise SX4/SX4000 but *only*
as a "normal" Promise ATA controller (ATA RAID's are supported though
but only RAID0, RAID1 and RAID0+1).

This cuts off yet another 5-8% of the command overhead on promise controllers,
making them the fastest we have ever had support for.

Work is now continuing to add support for this in ATA RAID, to accellerate
ATA RAID quite a bit on these controllers, and especially the SX4/SX4000
series as they have quite a few tricks in there..

This commit also adds a few fixes to the SATA code needed for proper support.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Mar 16 16:23:28 2004 UTC (7 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -0 lines
Update the SiS support to distinguish older southbridges better.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 15 12:03:47 2004 UTC (7 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -2 lines
Add support for detaching PCI controllers.

This adds support for cardbus ATA/SATA controllers. I get roughly the
same transfer speeds as on true PCI controllers. Nice to be able to add
a couble of "real" disks to a laptop :)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Mar 11 14:08:11 2004 UTC (7 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Add yet another VIA pci id.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Feb 25 09:55:49 2004 UTC (7 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -0 lines
Add support for the sii3512 SATA chip.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Wed Feb 11 08:47:21 2004 UTC (8 years ago) by scottl
Branches: RELENG_5_2
CVS tags: RELENG_5_2_1_RELEASE
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.2: +1 -1 lines
MFC many more fixes for the ata driver.

Approved by:	re (implicit)

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Feb 2 14:05:57 2004 UTC (8 years ago) by sos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -0 lines
Fix support for the Promise TX4 on amd64.
Somehow the bridge on there shows up with another PCI id than
it does on x86, no idea why...

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 29 15:03:01 2004 UTC (8 years ago) by sos
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +0 -1 lines
Cleanups/cosmetics.

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 27 05:53:19 2004 UTC (8 years ago) by scottl
Branches: RELENG_5_2
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +5 -2 lines
Don peril-senstive goggles and update the ata driver to HEAD.

Approved by:	re

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jan 20 16:51:02 2004 UTC (8 years ago) by sos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
Update the support for the VIA 8237 southbridge.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jan 17 23:34:13 2004 UTC (8 years ago) by sos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1 lines
Add support for the Silicon Image 3114 4 channel SATA controller.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 18 21:39:38 2003 UTC (8 years, 1 month ago) by jhb
Branches: RELENG_5_2
CVS tags: RELENG_5_2_0_RELEASE
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -0 lines
MFC: Sync ata driver with head.
- Various fixes for SiI3112A.
- Support for the SiS 661 chipset.
- Fix register timings for AMD/VIA/nVidia chipsets.

Approved by:	scottl (re)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Dec 18 08:07:05 2003 UTC (8 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -0 lines
Add support for the SiS 661 chipset (using SiS 963 south).

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Nov 28 19:01:28 2003 UTC (8 years, 2 months ago) by sos
Branches: MAIN
CVS tags: RELENG_5_2_BP
Branch point for: RELENG_5_2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -0 lines
Workaround for errata on early versions of the sii3112.

Approved by: re@

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Nov 18 15:27:28 2003 UTC (8 years, 2 months ago) by sos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -6 lines
Add support for the SiS964 ATA/SATA southbridge.
This could not have been done without the support from kuriyama.

Approved by: re@

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Oct 30 13:16:21 2003 UTC (8 years, 3 months ago) by sos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -0 lines
Add support for the VIA 8237 (both PATA and SATA part).
Cleanup the SATA support a bit now we are here anyways.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 8 13:55:05 2003 UTC (8 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -0 lines
Add another ID for the SiI3112a SATA chip as used on the Adaptec 1210SA.
RAID support is still in the works, so for now just normal ATA ops.

Sponsored by:	Matt Douhan(www.fruitsalad.org)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Sep 2 21:02:46 2003 UTC (8 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -0 lines
Support the nForce3 chip found on Opteron motherboards:
	atapci0: <nVidia nForce3 UDMA133 controller>

Approved by:	sos

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 25 11:13:04 2003 UTC (8 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Cleanup the dma int/alloc/free code.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 24 09:22:26 2003 UTC (8 years, 5 months ago) by sos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -2 lines
This is a major rework of the ATA driver (ATAng)

Restructure the way ATA/ATAPI commands are processed, use a common
ata_request structure for both. This centralises the way requests
are handled so locking is much easier to handle.

The driver is now layered much more cleanly to seperate the lowlevel
HW access so it can be tailored to specific controllers without touching
the upper layers. This is needed to support some of the newer
semi-intelligent ATA controllers showing up.

The top level drivers (disk, ATAPI devices) are more or less still
the same with just corrections to use the new interface.

Pull ATA out from under Gaint now that locking can be done in a sane way.

Add support for a the National Geode SC1100. Thanks to Soekris engineering
for sponsoring a Soekris 4801 to make this support.

Fixed alot of small bugs in the chipset code for various chips now
we are around in that corner anyways.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jul 2 10:50:44 2003 UTC (8 years, 7 months ago) by sos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -3 lines
Update the SATA support code to work more correctly with
real SATA disks now that I can test it.

Add support for the SiI 3112 SATA chip using memory mapped I/O.
Update the support for the SiI 0680 to use the memio interface as well.

Sponsored by:	David Leimbach <leimy2k@mac.com> (3112 based controller)
Sponsored by:	FreeBSD Systems (www.FreeBSDsystems.com) (SATA disks)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 18 16:45:48 2003 UTC (8 years, 8 months ago) by sos
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
Support the ICH5 SATA part.
Fix HPT374 UDMA133 timing.
Fix Promise ID.
Cosmetics on probe print for Promise & HPT.

Approved by: re

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 10 14:49:19 2003 UTC (8 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -0 lines
Add a couble new Intel PCI id's

Approved by: re@

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 6 19:31:56 2003 UTC (8 years, 9 months ago) by jhb
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -0 lines
Add PCI ID's for the Intel ICH5 (82801EB) chipset.

Approved by:	re (murray)
Sponsored by:	The Weather Channel

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 1 06:20:50 2003 UTC (8 years, 9 months ago) by sos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +17 -2 lines
I'm pleased to announce that Promise is now supporting the FreeBSD
project by providing documentation (under NDA) and hardware for
testing. This commit is the first result of the cooperation, and
adds support for several of their new controllers that we didn't
support before (and probably newer would have without this arrangement).

Add support for the Promise SATA150 TX2/TX4 and the Promise TX4000
controllers. This also adds support for various motherboard fitted
Promise SATA/ATA chips.
Note that this code uses memory mapped registers to minimize overhead.
I belive FreeBSD has made another first in the Open Source world
by being able to release support for this :)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Apr 10 12:24:39 2003 UTC (8 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
Add a few more older SiS ID's.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 7 14:12:12 2003 UTC (8 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Third round of updates to the ATA driver.

More DMA cleanups, including fix for breakage on older Promise controllers.

Add more ways of getting to the ATA registers.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 29 13:37:09 2003 UTC (8 years, 10 months ago) by sos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -11 lines
Second round of updates to the ATA driver.

Clean up the DMA interface too much unneeded stuff crept in with
the busdma code back when.

Modify the ATA_IN* / ATA_OUT* macros so that resource and offset
are gotten from a table. That allows for new chipsets that doesn't
nessesarily have things ordered the good old way. This also removes
the need for the wierd PC98 resource functions.

Tested on: i386, PC98, Alpha, Sparc64

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Mar 3 11:51:08 2003 UTC (8 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
Minor cleanup of the Promise code.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 25 21:22:27 2003 UTC (8 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
Fix support for Acer chips. The UDMA enable regs wasn't set properly.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 25 12:56:37 2003 UTC (8 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Fix support for the old CMD 646 chips, interrupt setup was wrong.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 20 20:01:01 2003 UTC (8 years, 11 months ago) by sos
Branches: MAIN
First round off updates/fixes to the ATA driver.

This moves all chipset specific code to a new file 'ata-chipset.c'.
Extensive use of tables and pointers to avoid having the same switch
on chipset type in several places, and to allow substituting various
functions for different HW arch needs.
Added PIO mode setup and all DMA modes.
Support for all known SiS chipsets. Thanks to Christoph Kukulies for
sponsoring a nice ASUS P4S8X SiS648 based board for this work!

Tested on:	i386, PC98, alpha and sparc64

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options