Diff for /src/sys/dev/agp/agp_amd.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 238  agp_amd_attach(device_t dev) Line 238  agp_amd_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;
           }
   
         for (;;) {          for (;;) {
                 gatt = agp_amd_alloc_gatt(dev);                  gatt = agp_amd_alloc_gatt(dev);
Line 416  static driver_t agp_amd_driver = { Line 420  static driver_t agp_amd_driver = {
 static devclass_t agp_devclass;  static devclass_t agp_devclass;
   
 DRIVER_MODULE(agp_amd, pci, agp_amd_driver, agp_devclass, 0, 0);  DRIVER_MODULE(agp_amd, pci, agp_amd_driver, agp_devclass, 0, 0);
   MODULE_DEPEND(agp_amd, agp, 1, 1, 1);
   MODULE_DEPEND(agp_amd, pci, 1, 1, 1);

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