From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Benjamin Herrenschmidt To: Jerome Glisse In-Reply-To: <41CEC6B0.5020106@free.fr> References: <41CEC6B0.5020106@free.fr> Content-Type: text/plain Date: Mon, 27 Dec 2004 09:50:05 +0100 Message-Id: <1104137405.5615.17.camel@gaston> Mime-Version: 1.0 Cc: linuxppc-dev list , linuxppc64-dev Subject: Re: PATCH uninorth3 (G5) agp support List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > + if((uninorth_rev >= 0x30) && (uninorth_rev <= 0x33)) { > + /* > + * We need to to set REQ_DEPTH to 7 for U3 versions 1.0, 2.1, > + * 2.2 and 2.3, Darwin do so. > + */ > + command |= (7 << AGPSTAT_RQ_DEPTH_SHIFT); > + } > Some revs of U3 (3.x) do have some high bits sets in the version register, you should probably mask it with 0x3f ... Though on the other hand, I don't know if revisions prior to 3.x were ever used on production... Ben.