Diff for /src/sys/dev/agp/agp_ali.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 100  agp_ali_attach(device_t dev) Line 100  agp_ali_attach(device_t dev)
                 return error;                  return error;
   
         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;
           }
   
         for (;;) {          for (;;) {
                 gatt = agp_alloc_gatt(dev);                  gatt = agp_alloc_gatt(dev);
Line 263  static driver_t agp_ali_driver = { Line 267  static driver_t agp_ali_driver = {
 static devclass_t agp_devclass;  static devclass_t agp_devclass;
   
 DRIVER_MODULE(agp_ali, pci, agp_ali_driver, agp_devclass, 0, 0);  DRIVER_MODULE(agp_ali, pci, agp_ali_driver, agp_devclass, 0, 0);
   MODULE_DEPEND(agp_ali, agp, 1, 1, 1);
   MODULE_DEPEND(agp_ali, pci, 1, 1, 1);

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