diff options
author | phk <phk@FreeBSD.org> | 2005-03-15 12:39:30 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-03-15 12:39:30 +0000 |
commit | 651dd9f4d4a917a7c02eeb49a53f99fce3295cba (patch) | |
tree | eb1cf75d4566e274fee2e2163c01b8b94dc7c404 /sys/dev/snp | |
parent | aa4d5cb8032f5c428dd361668168a32700fc273d (diff) | |
download | FreeBSD-src-651dd9f4d4a917a7c02eeb49a53f99fce3295cba.zip FreeBSD-src-651dd9f4d4a917a7c02eeb49a53f99fce3295cba.tar.gz |
Disable two users of findcdev. They do the wrong thing now and will
need to be fixed. In both cases the API should be reengineered to do
something (more) sensible.
Diffstat (limited to 'sys/dev/snp')
-rw-r--r-- | sys/dev/snp/snp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 643c6e7..bd4bcac 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -523,7 +523,11 @@ snpioctl(dev, cmd, data, flags, td) snp = dev->si_drv1; switch (cmd) { case SNPSTTY: +#if 0 tdev = findcdev(*((dev_t *)data)); +#else + tdev = NULL; +#endif if (tdev == NULL) return (snp_down(snp)); |