Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 02/15/2005 03:18:22
Module Name:	src
Committed By:	briggs
Date:		Tue Feb 15 03:18:22 UTC 2005

Modified Files:
	src/sys/dev/pci: pciide_common.c pciidereg.h

Log Message:
Move the definition of NIDEDMA_TABLES from pciidereg.h to be closer to
its only user in pciide_common.c.  Also redefine NIDEDMA_TABLES to match
the max DMA transfer size specified in the call to bus_dmamap_create()
(IDEDMA_BYTE_COUNT_MAX instead of MAXPHYS).
The macro is also redefined to handle devices that have a PAGE_SIZE greater
than sc_dma_maxsegsz (buggy revision of satalink 3112 on ibm4xx).


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/dev/pci/pciide_common.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/pciidereg.h

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