Print this page
3067 Typo in spelling "succssful"


 622         case INTEL_IGD_G33:
 623         case INTEL_IGD_Q33:
 624         case INTEL_IGD_GM45:
 625         case INTEL_IGD_EL:
 626         case INTEL_IGD_Q45:
 627         case INTEL_IGD_G45:
 628         case INTEL_IGD_G41:
 629         case INTEL_IGD_IGDNG_D:
 630         case INTEL_IGD_IGDNG_M:
 631         case INTEL_IGD_B43:
 632                 master_softc->agpm_dev_type = DEVICE_IS_I830;
 633                 break;
 634         default:                /* unknown id */
 635                 return (-1);
 636         }
 637 
 638         return (0);
 639 }
 640 
 641 /*
 642  * If agp master is succssfully detected, 0 is returned.
 643  * Otherwise -1 is returned.
 644  */
 645 static int
 646 detect_agp_devcice(agp_master_softc_t *master_softc,
 647     ddi_acc_handle_t acc_handle)
 648 {
 649         off_t cap;
 650 
 651         cap = agpmaster_cap_find(acc_handle);
 652         if (cap) {
 653                 master_softc->agpm_dev_type = DEVICE_IS_AGP;
 654                 master_softc->agpm_data.agpm_acaptr = cap;
 655                 return (0);
 656         } else {
 657                 return (-1);
 658         }
 659 
 660 }
 661 
 662 /*




 622         case INTEL_IGD_G33:
 623         case INTEL_IGD_Q33:
 624         case INTEL_IGD_GM45:
 625         case INTEL_IGD_EL:
 626         case INTEL_IGD_Q45:
 627         case INTEL_IGD_G45:
 628         case INTEL_IGD_G41:
 629         case INTEL_IGD_IGDNG_D:
 630         case INTEL_IGD_IGDNG_M:
 631         case INTEL_IGD_B43:
 632                 master_softc->agpm_dev_type = DEVICE_IS_I830;
 633                 break;
 634         default:                /* unknown id */
 635                 return (-1);
 636         }
 637 
 638         return (0);
 639 }
 640 
 641 /*
 642  * If agp master is successfully detected, 0 is returned.
 643  * Otherwise -1 is returned.
 644  */
 645 static int
 646 detect_agp_devcice(agp_master_softc_t *master_softc,
 647     ddi_acc_handle_t acc_handle)
 648 {
 649         off_t cap;
 650 
 651         cap = agpmaster_cap_find(acc_handle);
 652         if (cap) {
 653                 master_softc->agpm_dev_type = DEVICE_IS_AGP;
 654                 master_softc->agpm_data.agpm_acaptr = cap;
 655                 return (0);
 656         } else {
 657                 return (-1);
 658         }
 659 
 660 }
 661 
 662 /*