devfs - Remove old debug
authorAlex Hornung <ahornung@gmail.com>
Wed, 18 Nov 2009 12:47:00 +0000 (12:47 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 18 Nov 2009 12:48:27 +0000 (12:48 +0000)
* Remove old debug/warning messages about device removal:
"devfs: Please check that only the right *** devices were
removed!"
  as they are not needed anymore.

Reported-By: Sascha Wildner, Hasso Tepper
sys/bus/cam/scsi/scsi_sa.c
sys/bus/firewire/fwdev.c
sys/dev/disk/ata/atapi-tape.c
sys/dev/disk/nata/atapi-cd.c
sys/dev/disk/nata/atapi-tape.c
sys/dev/serial/dgb/dgm.c
sys/dev/usbmisc/ucom/ucom.c
sys/dev/usbmisc/ugen/ugen.c

index 9fd3168..8866fcb 100644 (file)
@@ -1414,7 +1414,6 @@ sacleanup(struct cam_periph *periph)
 
        cam_extend_release(saperiphs, periph->unit_number);
        xpt_print(periph->path, "removing device entry\n");
-       kprintf("devfs: PLEASE check that only the right scsi sa devices were removed!!!!\n");
        dev_ops_remove_minor(&sa_ops, /*SA_UNITMASK,*/ SA_UNIT(periph->unit_number));
        kfree(softc, M_SCSISA);
 }
index adaa634..f71dad7 100644 (file)
@@ -788,7 +788,6 @@ fwdev_destroydev(struct firewire_softc *sc)
        int unit;
 
        unit = device_get_unit(sc->fc->bdev);
-       kprintf("devfs: Please check that only the right firewire devices were removed!!!!\n");
        dev_ops_remove_minor(&firewire_ops, /*FW_UNITMASK, */FW_UNIT(unit));
        return(0);
 }
index 4023a67..ab8ddac 100644 (file)
@@ -153,7 +153,6 @@ astdetach(struct ata_device *atadev)
        biodone(bio);
     }
     devstat_remove_entry(&stp->stats);
-    kprintf("devfs: Please check that only the right atapi-tape device was removed!!\n");
     dev_ops_remove_minor(&ast_ops,/* dkunitmask(), */dkmakeunit(stp->lun));
     ata_free_name(atadev);
     ata_free_lun(&ast_lun_map, stp->lun);
index 792affe..b6cd917 100644 (file)
@@ -183,7 +183,6 @@ acd_detach(device_t dev)
     ata_fail_requests(dev);
 
     /* don't leave anything behind */
-    kprintf("devfs: Please check that only the right ATA CD device was removed!!!\n");
     dev_ops_remove_minor(&acd_ops, /*dkunitmask(), */dkmakeunit(device_get_unit(dev)));
     disk_invalidate(&cdp->disk);
     disk_destroy(&cdp->disk);
index c1842e0..705ae77 100644 (file)
@@ -172,7 +172,6 @@ ast_detach(device_t dev)
     ata_fail_requests(dev);
 
     /* dont leave anything behind */
-    kprintf("devfs: Please check that only the right ata tape device was removed!!!\n");
     dev_ops_remove_minor(&ast_ops, /*dkunitmask(), */dkmakeunit(device_get_unit(dev)));
     devstat_remove_entry(&stp->stats);
     device_set_ivars(dev, NULL);
index c6455a0..97854d6 100644 (file)
@@ -902,7 +902,6 @@ dgmdetach(device_t dev)
         * and dereference any ad-hoc-created devices, but does not
         * dereference devices created via make_dev().
         */
-       kprintf("devfs: Please check that only the right dgm devices were removed!!!!\n");
        dev_ops_remove_minor(&dgm_ops/*, DGM_UNITMASK*/, DGM_UNIT(sc->unit));
 
        callout_stop(&sc->toh);
index d18cd42..3960296 100644 (file)
@@ -220,7 +220,6 @@ ucom_detach(struct ucom_softc *sc)
        crit_exit();
 
        unit = device_get_unit(sc->sc_dev);
-       kprintf("devfs: Please check that only the right ucom devices were removed!!!\n");
        dev_ops_remove_minor(&ucom_ops, /*UCOMUNIT_MASK, */unit);
 
        return (0);
index 3c748aa..8588c92 100644 (file)
@@ -925,7 +925,6 @@ ugen_detach(device_t self)
 
        /* destroy the device for the control endpoint */
        ugen_destroy_devnodes(sc);
-       kprintf("devfs: Please check that only the right ugen devices were removed !!!\n");
        dev_ops_remove_minor(&ugen_ops,
                    /*UGENUNITMASK,*/ UGENMINOR(device_get_unit(sc->sc_dev), 0));
        usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, sc->sc_dev);