diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:36 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:36 +0000 |
commit | 08e4d07d7203d7db746839725d632756ede8816d (patch) | |
tree | 20f08c0a2fe93945837c4ebde26e27c41d7e9916 /src/cir_driver.c | |
parent | 2c120fef2e3e4fa5751e29e6e80e70edba6e3e7a (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
Diffstat (limited to 'src/cir_driver.c')
-rw-r--r-- | src/cir_driver.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cir_driver.c b/src/cir_driver.c index b8c2c49..737eb3f 100644 --- a/src/cir_driver.c +++ b/src/cir_driver.c @@ -11,7 +11,7 @@ * Guy DESBIEF */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c,v 1.68 2001/06/13 23:34:09 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c,v 1.69 2003/06/18 16:17:38 eich Exp $ */ /* All drivers should typically include these */ #include "xf86.h" @@ -56,8 +56,8 @@ static Bool alp_loaded = FALSE; /* * This contains the functions needed by the server after loading the - * driver module. It must be supplied, and gets added the driver list by - * the Module Setup funtion in the dynamic case. In the static case a + * driver module. It must be supplied, and gets added to the driver list by + * the Module Setup function in the dynamic case. In the static case a * reference to this is compiled in, and this requires that the name of * this DriverRec be an upper-case version of the driver name. */ @@ -102,7 +102,7 @@ PciChipsets CIRPciChipsets[] = { { PCI_CHIP_GD5464, PCI_CHIP_GD5464, RES_SHARED_VGA }, { PCI_CHIP_GD5464BD,PCI_CHIP_GD5464BD, RES_SHARED_VGA }, { PCI_CHIP_GD5465, PCI_CHIP_GD5465, RES_SHARED_VGA }, - { PCI_CHIP_GD7548, PCI_CHIP_GD7548, RES_SHARED_VGA }, + { PCI_CHIP_GD7548, PCI_CHIP_GD7548, RES_SHARED_VGA }, { -1, -1, RES_UNDEFINED} }; @@ -111,7 +111,7 @@ PciChipsets CIRPciChipsets[] = { * list is used to tell the loader that it is OK for symbols here to be * unresolved providing that it hasn't been told that they haven't been * told that they are essential via a call to xf86LoaderReqSymbols() or - * xf86LoaderReqSymLists(). The purpose is this is to avoid warnings about + * xf86LoaderReqSymLists(). The purpose of this is to avoid warnings about * unresolved symbols that are not required. */ @@ -275,10 +275,10 @@ CIRProbe(DriverPtr drv, int flags) they should be handled in this driver (as opposed to their own driver). */ pPci = xf86GetPciInfoForEntity(usedChips[i]); - if (pPci->chipType == PCI_CHIP_GD5462 || + if (pPci && (pPci->chipType == PCI_CHIP_GD5462 || pPci->chipType == PCI_CHIP_GD5464 || pPci->chipType == PCI_CHIP_GD5464BD || - pPci->chipType == PCI_CHIP_GD5465) { + pPci->chipType == PCI_CHIP_GD5465)) { if (!lg_loaded) { if (!xf86LoadDrvSubModule(drv, "cirrus_laguna")) |