vgahw: Don't default to standard (port space) access routines
In fact, don't default to anything; drivers must explicitly say which kind they want, and they are strongly encouraged to do MMIO if possible. This is an ABI change in that drivers that don't will crash, but drivers that are explicit will work with both old and new servers. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Tested-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
		
							parent
							
								
									30fb334d21
								
							
						
					
					
						commit
						4bd6579188
					
				|  | @ -1706,9 +1706,6 @@ vgaHWGetHWRec(ScrnInfoPtr scrp) | |||
|     hwp->MapSize = 0; | ||||
|     hwp->pScrn = scrp; | ||||
| 
 | ||||
|     /* Initialise the function pointers with the standard VGA versions */ | ||||
|     vgaHWSetStdFuncs(hwp); | ||||
| 
 | ||||
|     hwp->dev = xf86GetPciInfoForEntity(scrp->entityList[0]); | ||||
| 
 | ||||
|     return TRUE; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue