Diff for /src/sys/dev/agp/agp_i810.c between versions 1.3 and 1.4

version 1.3, 2003/08/07 21:16:48 version 1.4, 2003/12/09 19:40:56
Line 239  agp_i810_attach(device_t dev) Line 239  agp_i810_attach(device_t dev)
         sc->bsh = rman_get_bushandle(sc->regs);          sc->bsh = rman_get_bushandle(sc->regs);
   
         sc->initial_aperture = AGP_GET_APERTURE(dev);          sc->initial_aperture = AGP_GET_APERTURE(dev);
           if (sc->initial_aperture == 0) {
                   device_printf(dev, "bad initial aperture size, disabling\n");
                   return ENXIO;
           }
   
         gatt = malloc( sizeof(struct agp_gatt), M_AGP, M_NOWAIT);          gatt = malloc( sizeof(struct agp_gatt), M_AGP, M_NOWAIT);
         if (!gatt) {          if (!gatt) {
Line 629  static driver_t agp_i810_driver = { Line 633  static driver_t agp_i810_driver = {
 static devclass_t agp_devclass;  static devclass_t agp_devclass;
   
 DRIVER_MODULE(agp_i810, pci, agp_i810_driver, agp_devclass, 0, 0);  DRIVER_MODULE(agp_i810, pci, agp_i810_driver, agp_devclass, 0, 0);
   MODULE_DEPEND(agp_i810, agp, 1, 1, 1);
   MODULE_DEPEND(agp_i810, pci, 1, 1, 1);

Removed from v.1.3  
changed lines
  Added in v.1.4