Diff for /src/sys/bus/isa/i386/isa_compat.c between versions 1.5 and 1.6

version 1.5, 2003/11/22 19:30:55 version 1.6, 2003/11/22 19:43:25
Line 284  isa_wrap_old_drivers(void) Line 284  isa_wrap_old_drivers(void)
   
         for (i = 0, op = &old_drivers[0]; i < old_drivers_count; i++, op++) {          for (i = 0, op = &old_drivers[0]; i < old_drivers_count; i++, op++) {
                 driver_t *driver;                  driver_t *driver;
                driver = malloc(sizeof(driver_t), M_DEVBUF, M_NOWAIT);                driver = malloc(sizeof(driver_t), M_DEVBUF, M_NOWAIT | M_ZERO);
                 if (!driver)                  if (!driver)
                         continue;                          continue;
                 bzero(driver, sizeof(driver_t));  
                 driver->name = op->driver->name;                  driver->name = op->driver->name;
                 driver->methods = isa_compat_methods;                  driver->methods = isa_compat_methods;
                 driver->size = sizeof(struct isa_device);                  driver->size = sizeof(struct isa_device);

Removed from v.1.5  
changed lines
  Added in v.1.6