From 9cc911991640f0fa36f074f8099dca97f57a8306 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 1 Apr 2020 16:22:31 +0000 Subject: [PATCH] Start the retirement process for ufm This driver hasn't been relevant in almost 15 years. It was for a product on the shelves for about 6 months in 2003/2004. I've not updated the driver since then, and have had nobody talk to me about it since maybe 2006 or 2007. It doesn't implement a standard interface, and can be better done with libusb. All the action has moved to webcamd for newer, more fully featured hardware. It makes no appearances in the nycbug dmesg archive. Relnotes: yes MFC After: 3 days --- share/man/man4/ufm.4 | 6 ++++++ sys/dev/usb/misc/ufm.c | 1 + 2 files changed, 7 insertions(+) diff --git a/share/man/man4/ufm.4 b/share/man/man4/ufm.4 index 9901fe7c6b25..47d5312f24db 100644 --- a/share/man/man4/ufm.4 +++ b/share/man/man4/ufm.4 @@ -43,6 +43,12 @@ module at boot time, place the following line in .Bd -literal -offset indent ufm_load="YES" .Ed +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 13.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/sys/dev/usb/misc/ufm.c b/sys/dev/usb/misc/ufm.c index 494158ad0469..4ee9417441e6 100644 --- a/sys/dev/usb/misc/ufm.c +++ b/sys/dev/usb/misc/ufm.c @@ -164,6 +164,7 @@ ufm_attach(device_t dev) if (error) { goto detach; } + gone_in_dev(dev, 13, "Driver no longer relevant"); return (0); /* success */ detach: