silby 2006-06-01 04:49:29 UTC FreeBSD src repository
Modified files: sys/i386/i386 busdma_machdep.c sys/amd64/amd64 busdma_machdep.c sys/ia64/ia64 busdma_machdep.c Log: After much discussion with mjacob and scottl, change bus_dmamem_alloc so that it just warns the user with a printf when it misaligns a piece of memory that was requested through a busdma tag. Some drivers (such as mpt, and probably others) were asking for alignments that could not be satisfied, but as far as driver operation was concerned, that did not matter. In the theory that other drivers will fall into this same category, we agreed that panicing or making the allocation fail will cause more hardship than is necessary. The printf should be sufficient motivation to get the driver glitch fixed. Revision Changes Path 1.77 +3 -21 src/sys/amd64/amd64/busdma_machdep.c 1.80 +3 -21 src/sys/i386/i386/busdma_machdep.c 1.41 +11 -33 src/sys/ia64/ia64/busdma_machdep.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"