Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 06/05/2007 04:04:15
Module Name:	src
Committed By:	briggs
Date:		Tue Jun  5 04:04:15 UTC 2007

Modified Files:
	src/sys/dev/ic: aac.c aac_tables.h aacreg.h aacvar.h ld_aac.c
	src/sys/dev/pci: aac_pci.c

Log Message:
Bring in changes from FreeBSD...
* Allocate commands on-demand.
* Update a bunch of constants and some structures.
* Use __attribute__ ((__packed__)) instead of __packed to be consistent.
* Support more commands for devices that can apparently handle them.
* Support a "new comm. interface" present in more recent Adaptec
  firmware.  This reduces the amount of PCI bus traffic in handling
  commands.
* Support larger commands going to the adapter--if the adapter can
  support them.
* Support 64-bit commands for archs where sizeof(bus_addr_t) > 4 and
  for adapters that advertise SGMAP64.
* Handle the WINDOW4G option and NO4GB quirk by excluding 2G-4G window
  unless we have the WINDOW4G capability without the NO4GB quirk.
* Ask the adapter more about its capabilities and try to use those if
  they seem sane.
* Do our bus_dmamap_sync() inside dequeue_fib instead of following,
  since we have the information that we need there.
* Provide access functions for some adapters that I haven't seen yet
  (MIPS-based "Rocket" adapters).  Not yet used.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/dev/ic/aac.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/ic/aac_tables.h
cvs rdiff -r1.8 -r1.9 src/sys/dev/ic/aacreg.h src/sys/dev/ic/aacvar.h
cvs rdiff -r1.14 -r1.15 src/sys/dev/ic/ld_aac.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/pci/aac_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.