DragonFly BSD

CVS log for src/sys/dev/disk/ata/ata-dma.c

[BACK] Up to [DragonFly] / src / sys / dev / disk / ata

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Dec 12 19:01:31 2006 UTC (7 years, 8 months ago) by dillon
Branches: MAIN
CVS tags: HEAD, DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10, DragonFly_Preview
Diff to: previous 1.30: preferred, unified
Changes since revision 1.30: +1 -0 lines
Add another ICH PCI ID.

Submitted-by: "Vlad Galu" <dudu@dudu.ro>

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Nov 14 10:54:21 2006 UTC (7 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.29: preferred, unified
Changes since revision 1.29: +2 -0 lines
Add some more PCI IDs for the SATA300 controllers of newer Intel boards.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 25 20:55:53 2006 UTC (7 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.28: preferred, unified
Changes since revision 1.28: +3 -2 lines
Do a major clean-up of the BUSDMA architecture.  A large number of
essentially machine-independant drivers use the structures and definitions
in machine-dependant directories that are really machine-independant in
nature.

Split <machine/bus_dma.h> into machine-depdendant and machine-independant parts
and make the primary access run through <sys/bus_dma.h>.

Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>.  The
optimizations related to bus_memio.h and bus_pio.h made a huge mess,
introduced machine-specific knowledge into essentially machine-independant
drivers, and required specific #include file orderings to do their job.
They may be reintroduced in some other form later on.

Move <machine/resource.h> to <sys/bus_resource.h>.  The contents of the file
is machine-independant or can be made a superset across many platforms.

Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> and
include <sys/bus.h> where necessary. Remove all #include's of
<machine/resource.h> and <machine/bus.h>.  That is, make the BUSDMA
infrastructure integral to I/O-mapped and memory-mapped accesses to devices
and remove a large chunk of machine-specific dependancies from drivers.
bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Mar 28 22:18:59 2006 UTC (8 years, 5 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6
Diff to: previous 1.27: preferred, unified
Changes since revision 1.27: +2 -0 lines
Add PCI IDs for Intel's ICH7 and ICH7M ATA/SATA hardware, used in
Core Duo.  The hardware is currently untested.

Reported-by: Gabor MICSKO <gmicsko@szintezis.hu>

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri May 27 21:12:51 2005 UTC (9 years, 3 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.26: preferred, unified
Changes since revision 1.26: +0 -4 lines
Remove DEC Alpha support.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Apr 5 22:37:16 2005 UTC (9 years, 4 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.25: preferred, unified
Changes since revision 1.25: +5 -1 lines
Add cases for the nvidia nForce3 PRO and PRO S1.  Who knows how well it
actually works.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Sep 1 14:13:55 2004 UTC (10 years ago) by asmodai
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004
Diff to: previous 1.24: preferred, unified
Changes since revision 1.24: +2 -0 lines
First stab at getting the Silicon Image (SiI) SATA controllers 3112 and
3124 working.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Jul 16 13:08:46 2004 UTC (10 years, 1 month ago) by asmodai
Branches: MAIN
Diff to: previous 1.23: preferred, unified
Changes since revision 1.23: +3 -0 lines
Add detection support for the Intel ICH6 chipset.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jun 23 16:15:24 2004 UTC (10 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +36 -13 lines
Hack in the code from FreeBSD-5 to set the timings for NVIDIA/AMD chipsets.
This seems to greatly reduce READ_BIG: ILLEGAL REQUEST problems accessing
a CD on my AMD64 box (NVidia3 chipset, secondary controller, master, PIO4).
The problem occurs at a much lower frequency in overnight tests.  Further
testing is ongoing.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jun 23 06:53:13 2004 UTC (10 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +5 -3 lines
Do a partial synch from FreeBSD-5 of the NVIDIA and NFORCE ATA setup code.
Our previous code was totally bogus.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 29 16:22:23 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +7 -3 lines
Bring in a bunch of well tested MPIPE changes.  Preallocate a minimum
number of mpipe elements when it is initialized.  Use an array to cache
free MPIPE buffers nad remove the data structure overloading that was
previously occuring on the buffer itself.  Add a deconstructor.  Separate
the blocking and non-blocking allocation APIs into their own functions.

The new code still needs Giant, but it's getting a lot closer to being
lock free.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Mar 9 21:39:59 2004 UTC (10 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +0 -3 lines
Remove a debug printf added with the last commit.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Mar 9 21:38:05 2004 UTC (10 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.18: preferred, unified
Changes since revision 1.18: +10 -1 lines
While converting ATA to use MPIPE allocations, ata_dmaalloc was changed
to allocate the DMA buffer directly without checking if it already is.
Since atapi_queue_cmd and ad_start doesn't check this and the DMA buffer
is only freed from ad_free, ad_detach and atapi_detach, the MPIPE was
exhausted very soon. The calls the ata_dmafree has been removed in revision
1.9.

This adds an additional check wether a DMA buffer is already allocated and
reuses that instead.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Mar 2 21:03:46 2004 UTC (10 years, 6 months ago) by drhodus
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +1 -0 lines
*   Add in support for the Silicon Image SATA controller.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Feb 18 04:32:40 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +0 -0 lines
ATAng stage 6: Comment-only.  Many thanks to David Rhodus for generating
a base patch set from FreeBSD-4 for all the ATANG integration work.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 18 04:12:00 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +3 -0 lines
Add experimental (as in hacked) support for the Silicon Image SATA
controller 3512.  run it like the SiI 0680 ATA133 controller for now.

It works operating as a non-raid ata device on an FN85 Shuttle (AMD64)
motherboard.  The controller is theoretically a raid controller there is
no current support for it.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Feb 18 04:08:49 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +91 -24 lines
ATAng stage 5: sync chipset changes and bug fixes.  busdma is not synched yet.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Feb 18 02:47:38 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +36 -23 lines
ATAng stage 5: sync additional function API changes from FBsd-4.  We now
have everything except the dma chipset changes and the busdma changes.
Note that we retain our MPIPE code as it is far superior to what is in 4.x and
5.x.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Feb 18 02:01:37 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +76 -66 lines
ATAng stage 4: sync additional atang from 4.x, all non-operational changes
except for one offset calculation.  pushdown API.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 18 01:35:59 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +123 -110 lines
ATAng stage 3: sync additional atang from 4.x, mostly non-opertional changes,
changes in procedure args, etc.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Feb 18 00:50:00 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +7 -4 lines
ATAng stage 2: sync part of the ata_dma*() API.  No operational changes.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 28 12:48:49 2004 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +6 -0 lines
Add support for the AMD 8111 chipset

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jan 23 15:35:13 2004 UTC (10 years, 7 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +1 -0 lines
Add detection code for the SiS 746 ATA133 controller.
This does not, for all I can quickly see, enable ATA133 on the controller.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jan 23 14:11:13 2004 UTC (10 years, 7 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +1 -0 lines
Add recognition code for the SiS 645DX.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Dec 25 07:16:35 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +1 -0 lines
Patch to make the P4S8X run in ATA100 mode.  This is a compromise, since
both the mainboard and the hard drive support ATA133 mode, but there doesn't
seem to be much difference between ATA100 and ATA133 even on FreeBSD-current.

Submitted-by: YONETANI Tomokazu <qhwt@les.ath.cx>

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Nov 30 20:14:18 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +13 -10 lines
Add the MPIPE subsystem.  This subsystem is used for 'pipelining' fixed-size
allocations.  Pipelining is used to avoid lack-of-resource deadlocks by
still allowing resource allocations to 'block' by guarenteeing that an
already in-progress operation will soon free memory that will be immediately
used to satisfy the blocked resource.

Adjust the ATAold code to use the new mechanism and remove the code that
tried to back-off into PIO mode when resources were lacking.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 26 14:24:46 2003 UTC (10 years, 9 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +1 -0 lines
Add support for the ICH 4 mobile chipset.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 27 21:12:29 2003 UTC (10 years, 10 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +10 -4 lines
Allow NVIDIA's nForce 2 chipset to use proper ATA DMA modes.

FreeBSD PR:	kern/47311
Submitted by:	Mike Hibler <mike@cs.utah.edu>

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 7 21:16:51 2003 UTC (11 years ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +3 -3 lines
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:22 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:54:04 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.35.2.31

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