Diff for /src/sys/kern/subr_bus.c between versions 1.13 and 1.14

version 1.13, 2004/03/01 16:57:44 version 1.14, 2004/03/13 14:38:22
Line 2156  bus_delete_resource(device_t dev, int ty Line 2156  bus_delete_resource(device_t dev, int ty
         BUS_DELETE_RESOURCE(device_get_parent(dev), dev, type, rid);          BUS_DELETE_RESOURCE(device_get_parent(dev), dev, type, rid);
 }  }
   
   int
   bus_child_present(device_t child)
   {
           return (BUS_CHILD_PRESENT(device_get_parent(child), child));
   }
   
   int
   bus_child_pnpinfo_str(device_t child, char *buf, size_t buflen)
   {
           device_t parent;
   
           parent = device_get_parent(child);
           if (parent == NULL) {
                   *buf = '\0';
                   return (0);
           }
           return (BUS_CHILD_PNPINFO_STR(parent, child, buf, buflen));
   }
   
   int
   bus_child_location_str(device_t child, char *buf, size_t buflen)
   {
           device_t parent;
   
           parent = device_get_parent(child);
           if (parent == NULL) {
                   *buf = '\0';
                   return (0);
           }
           return (BUS_CHILD_LOCATION_STR(parent, child, buf, buflen));
   }
   
 static int  static int
 root_print_child(device_t dev, device_t child)  root_print_child(device_t dev, device_t child)
 {  {

Removed from v.1.13  
changed lines
  Added in v.1.14