Schedule the trm(4) driver for removal. It relies on Giant and thus has

required compat shims in CAM for 12 years.

Relnotes:	yes
This commit is contained in:
Scott Long 2019-11-22 18:50:53 +00:00
parent edb0ec001e
commit 8823960b8d
2 changed files with 6 additions and 1 deletions

View File

@ -48,6 +48,9 @@ module at boot time, place the following line in
.Bd -literal -offset indent
trm_load="YES"
.Ed
.Sh DEPRECATION NOTICE
This driver is scheduled for removal prior to the release of
.Fx 13.0
.Sh DESCRIPTION
The
.Nm

View File

@ -3376,7 +3376,9 @@ trm_attach(device_t dev)
PACB pACB = 0;
int rid = 0;
int unit = device_get_unit(dev);
gone_in(13, "Giant locked CAM drivers");
device_id = pci_get_devid(dev);
/*
* These cards do not allow memory mapped accesses